/* 2J Finance — feuille de style
   Concept : aplats d'outremer électrique (les moments forts), encre presque noire en contrepoint,
   porcelaine pour respirer, abricot en accent rare. L'arc ouvert du logo décliné en anneaux de croissance. */
:root {
  /* Couleurs */
  --klein: #0d4a60;        /* bleu pétrole : héros, bandeaux, boutons */
  --klein-deep: #07303f;
  --klein-glow: #1f7491;
  --ink: #06202a;          /* sections sombres, noir pétrole */
  --ink-deep: #041319;     /* pied de page */
  --navy: #06202a;         /* titres et liens sur fond clair */
  --blue: #0d4a60;         /* accent sur fond clair */
  --sky: #e9f07a;          /* citron doux : accent sur fond sombre ou pétrole */
  --paper: #f4f3ef;        /* porcelaine */
  --white: #ffffff;
  --text: #06202a;
  --muted: #4d5f66;
  --line: #e2e0da;
  --on-dark: #ffffff;
  --on-dark-muted: #cfe0e4;
  --line-dark: rgba(255, 255, 255, .2);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Typographie */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-display: clamp(2.6rem, 1rem + 6.8vw, 8rem);
  --fs-h1: clamp(2.5rem, 1.3rem + 4.6vw, 5.6rem);
  --fs-h2: clamp(2rem, 1.25rem + 2.9vw, 3.75rem);
  --fs-h3: clamp(1.3rem, 1.1rem + .8vw, 1.75rem);
  --fs-lead: clamp(1.125rem, 1rem + .55vw, 1.4rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-label: .75rem;

  /* Espacements */
  --gutter: clamp(20px, 3.6vw, 72px);
  --section: clamp(88px, 6rem + 5vw, 176px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  color-scheme: light;
}

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-header:not(.is-scrolled) :focus-visible, .menu :focus-visible { outline-color: var(--sky); }
::selection { background: var(--sky); color: var(--ink); }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 16px; }

.wrap {
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* ---------- Éléments typographiques ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid currentColor; border-right-color: transparent;
  transform: rotate(-45deg); flex: none;
}
.dark .eyebrow { color: var(--sky); }
.h2 { font-size: var(--fs-h2); font-stretch: 112%; font-weight: 600; color: var(--text); }
.dark .h2 { color: var(--white); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 40ch; }
.dark .lead { color: var(--on-dark-muted); }
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Boutons et liens ---------- */
.btn {
  --btn-bg: var(--klein); --btn-fg: var(--white); --btn-hover: var(--ink);
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px; padding: 0 10px 0 26px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--body); font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1px solid var(--btn-bg);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  cursor: pointer;
}
.btn .arrow {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--btn-fg); color: var(--btn-bg); overflow: hidden; flex: none;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.btn .arrow svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn:hover .arrow { color: var(--btn-hover); }
.btn:hover .arrow svg { animation: nudge .55s var(--ease); }
@keyframes nudge { 0% { transform: translateX(0); } 45% { transform: translateX(22px); } 46% { transform: translateX(-22px); } 100% { transform: translateX(0); } }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); --btn-hover: var(--sky); }
.btn--accent { --btn-bg: var(--sky); --btn-fg: var(--ink); --btn-hover: var(--white); }
.btn--accent .arrow { background: var(--ink); color: var(--sky); }
.btn--accent:hover .arrow { background: var(--ink); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .32); padding: 0 26px; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--white); }
.btn--ghost-dark { background: transparent; color: var(--navy); border-color: var(--line); padding: 0 26px; }
.btn--ghost-dark:hover { background: var(--paper); border-color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--navy); text-decoration: none;
  padding-block: 6px; position: relative;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 30px; bottom: 2px; height: 1.5px;
  background: currentColor; transform: scaleX(.35); transform-origin: left; transition: transform .5s var(--ease);
}
.link:hover::after { transform: scaleX(1); }
.link svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link:hover svg { transform: translateX(5px); }
.link--back svg { transform: rotate(180deg); }
.link--back:hover svg { transform: rotate(180deg) translateX(5px); }
.link--back::after { left: 28px; right: 0; transform-origin: right; }
.dark .link { color: var(--white); }
.link--ext svg { transform: rotate(-45deg); }
.link--ext:hover svg { transform: rotate(-45deg) translateX(4px); }
.facts dd .link { font-size: 1.1rem; padding-block: 0; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--white);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; transition: height .4s var(--ease); }
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  color: var(--navy); box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled .bar { height: 70px; }
.site-header.is-hidden { transform: translateY(-110%); }
.brand { display: block; position: relative; width: 104px; height: 45px; flex: none; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s var(--ease); }
.brand .logo-dark { opacity: 0; }
.is-scrolled .brand .logo-dark { opacity: 1; }
.is-scrolled .brand .logo-light { opacity: 0; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav a { position: relative; text-decoration: none; font-weight: 500; font-size: .975rem; padding-block: 8px; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:not(.nav-cta):hover::after, .nav a[aria-current]:not(.nav-cta)::after { transform: scaleX(1); transform-origin: left; }
.nav .nav-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px;
  border: 1px solid currentColor; transition: background .3s var(--ease), color .3s var(--ease);
}
.site-header:not(.is-scrolled) .nav .nav-cta:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.is-scrolled .nav .nav-cta { background: var(--klein); color: var(--white); border-color: var(--klein); }
.is-scrolled .nav .nav-cta:hover { background: var(--ink); border-color: var(--ink); }
.site-header.is-scrolled { background: rgba(244, 243, 239, .86); }

.burger {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid currentColor;
  background: transparent; color: inherit; cursor: pointer; place-items: center; padding: 0;
}
.burger-lines { display: block; width: 18px; }
.burger-lines span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.burger-lines span + span { margin-top: 6px; }
.burger[aria-expanded="true"] .burger-lines span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--klein); color: var(--white);
  padding-top: calc(110px + env(safe-area-inset-top, 0px));
  padding-bottom: max(32px, env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
}
.menu[hidden] { display: none !important; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-family: var(--display); font-stretch: 108%; font-weight: 500; font-size: 1.375rem; line-height: 1.2;
  text-decoration: none; padding-block: 18px; border-bottom: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center;
}
.menu nav a[aria-current] { color: var(--sky); }
.menu .menu-foot { margin-top: 40px; display: grid; gap: 6px; color: var(--on-dark-muted); font-size: var(--fs-small); }
.menu .menu-foot a { color: var(--white); }
.menu.is-open nav a { animation: menuIn .6s var(--ease) both; }
.menu.is-open nav a:nth-child(2) { animation-delay: .05s; }
.menu.is-open nav a:nth-child(3) { animation-delay: .1s; }
.menu.is-open nav a:nth-child(4) { animation-delay: .15s; }
.menu.is-open nav a:nth-child(5) { animation-delay: .2s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(18px); } }
body.menu-open .site-header { background: transparent; box-shadow: none; color: var(--white); }
body.menu-open .site-header .logo-light { opacity: 1; }
body.menu-open .site-header .logo-dark { opacity: 0; }
body.menu-open { overflow: hidden; }

/* ---------- Anneaux (motif signature) ---------- */
.rings { position: absolute; pointer-events: none; color: var(--white); }
.rings svg { width: 100%; height: 100%; overflow: visible; }
.rings .r { fill: none; stroke: currentColor; stroke-linecap: round; }
.rings .r-main { stroke: var(--white); }
.rings .ticks { fill: none; stroke: currentColor; transform-box: view-box; transform-origin: 500px 500px; animation: spin 240s linear infinite; }
.rings .ticks.rev { animation-duration: 360s; animation-direction: reverse; }
.rings .orbit { transform-box: view-box; transform-origin: 500px 500px; animation: spin 46s linear infinite; }
.rings .orbit circle { fill: var(--sky); filter: drop-shadow(0 0 10px color-mix(in srgb, var(--sky) 90%, transparent)); }
.rings .glow { fill: url(#glow); }
.rings.draw .r { stroke-dasharray: 0 100; animation: drawArc 2.6s var(--ease) forwards; }
.rings.draw .r:nth-of-type(2) { animation-delay: .12s; }
.rings.draw .r:nth-of-type(3) { animation-delay: .24s; }
.rings.draw .r:nth-of-type(4) { animation-delay: .36s; }
.rings.draw .r:nth-of-type(5) { animation-delay: .48s; }
.rings.draw .r:nth-of-type(6) { animation-delay: .6s; }
.rings.draw .r:nth-of-type(7) { animation-delay: .72s; }
@keyframes drawArc { to { stroke-dasharray: 82 18; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Héros d'accueil ---------- */
.dark { background: var(--klein); color: var(--on-dark); }
.klein {
  background:
    radial-gradient(900px 720px at 80% 28%, var(--klein-glow), transparent 62%),
    radial-gradient(800px 640px at 0% 105%, var(--klein-deep), transparent 72%),
    var(--klein);
}
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .22; mix-blend-mode: overlay;
}
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-top: calc(clamp(150px, 18vh, 210px) + env(safe-area-inset-top, 0px));
}
.hero .rings {
  width: min(780px, 52vw); aspect-ratio: 1; right: -18vw; top: clamp(48px, 6vw, 110px); z-index: -1;
  transform: translate3d(calc(var(--mx, 0) * -22px), calc(var(--my, 0) * -22px), 0); transition: transform 1.2s var(--ease);
}
.hero-copy { position: relative; display: grid; gap: 28px; max-width: 1040px; }
.hero h1 {
  font-size: var(--fs-display); font-stretch: 118%; font-weight: 500; line-height: .95; letter-spacing: -.025em; color: var(--white);
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: inline-block; animation: rise 1.2s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero .tagline {
  font-family: var(--display); font-stretch: 112%; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.35rem); font-weight: 400; color: var(--sky);
  animation: fadeUp 1.1s .35s var(--ease) both;
}
.hero .lead { color: var(--on-dark-muted); max-width: 46ch; animation: fadeUp 1.1s .5s var(--ease) both; }
.hero .btn-row { margin-top: 8px; animation: fadeUp 1.1s .65s var(--ease) both; }
.hero .eyebrow { animation: fadeUp 1s .05s var(--ease) both; }
/* Filet de sécurité : si les animations n'ont pas pu se jouer (onglet en arrière-plan, capture), tout s'affiche */
.settled .hero h1 .line > span, .settled .hero .tagline, .settled .hero .lead, .settled .hero .btn-row, .settled .hero .eyebrow,
.settled .page-hero h1, .settled .page-hero .lead, .settled .crumbs, .settled .aiglon-hero-logo { animation: none; }
.settled .rings.draw .r { animation: none; stroke-dasharray: 82 18; }
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

.pillars {
  position: relative; margin-top: clamp(80px, 11vw, 150px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
}
.pillar { padding: 36px 36px 64px 0; display: grid; gap: 14px; align-content: start; }
.pillar + .pillar { padding-left: 36px; border-left: 1px solid var(--line-dark); }
.pillar h2, .pillar h3 { font-size: var(--fs-h3); font-stretch: 112%; font-weight: 500; color: var(--white); }
.pillar p { color: var(--on-dark-muted); max-width: 36ch; }
.icon { width: 52px; height: 52px; color: var(--sky); }
.icon .a { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 80 20; transition: stroke-dasharray .9s var(--ease); }
.icon .s { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pillar:hover .icon .a, .card:hover .icon .a { stroke-dasharray: 100 0; }

/* ---------- Héros des pages intérieures ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-top: calc(clamp(160px, 20vh, 220px) + env(safe-area-inset-top, 0px));
  padding-bottom: clamp(72px, 9vw, 128px);
}
.page-hero .rings { width: min(720px, 70vw); aspect-ratio: 1; right: -12vw; top: 50%; transform: translateY(-36%); z-index: -1; opacity: .9; }
.page-hero .inner { display: grid; gap: 24px; max-width: 980px; }
.page-hero h1 { font-size: var(--fs-h1); font-stretch: 116%; font-weight: 500; line-height: .98; letter-spacing: -.02em; color: var(--white); animation: fadeUp 1s .1s var(--ease) both; }
.page-hero .lead { animation: fadeUp 1s .25s var(--ease) both; max-width: 52ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); animation: fadeUp 1s var(--ease) both; }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-hidden] { opacity: .5; }
.crumbs [aria-current] { color: var(--sky); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: calc(var(--section) * .72); }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.section-head .stack { display: grid; gap: 20px; }
.section-head p { color: var(--muted); max-width: 50ch; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); }
.split .side { display: grid; gap: 22px; align-content: start; }
.sticky { position: sticky; top: 120px; }
.note { font-size: var(--fs-small); color: var(--muted); max-width: 38ch; }

/* Jauges : bornes dessinées à l'échelle */
.gauges { display: grid; gap: 20px; }
.gauge { background: var(--paper); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; gap: 22px; }
.section--paper .gauge { background: var(--white); }
.gauge-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.gauge-label { font-family: var(--mono); font-size: clamp(.9rem, .82rem + .3vw, 1.05rem); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.gauge-value { font-family: var(--display); font-stretch: 116%; font-weight: 500; font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1; color: var(--klein); letter-spacing: -.02em; }
.gauge-value small { font-size: .42em; font-stretch: 100%; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: .3em; }
.track { position: relative; height: 10px; border-radius: 99px; background: var(--line); }
.track .fill {
  position: absolute; top: 0; bottom: 0; left: var(--from); width: calc(var(--to) - var(--from));
  border-radius: 99px; background: var(--klein); transform-origin: left;
  transition: transform 1.4s var(--ease) .15s;
}
.track .beyond {
  position: absolute; top: 3px; height: 4px; left: var(--to); width: var(--ext);
  background: repeating-linear-gradient(90deg, var(--klein-glow) 0 6px, transparent 6px 12px); border-radius: 2px;
  transition: opacity .6s var(--ease) 1.3s;
}
.gauge.pending .fill { transform: scaleX(0); }
.gauge.pending .beyond { opacity: 0; }
.scale { position: relative; height: 18px; font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.scale span { position: absolute; transform: translateX(-50%); white-space: nowrap; font-variant-numeric: tabular-nums; }
.scale span:first-child { transform: none; }
.scale span:last-child { transform: translateX(-100%); }
.gauge-foot { font-size: var(--fs-small); color: var(--muted); }

/* Lignes critères */
.rows { display: grid; }
.row { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 8px 32px; padding-block: 24px; border-bottom: 1px solid var(--line); align-items: baseline; transition: background .3s var(--ease); }
.row:first-child { border-top: 1px solid var(--line); }
.row dt { font-family: var(--mono); font-size: clamp(.9rem, .82rem + .3vw, 1.05rem); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.row dd { font-size: clamp(1.06rem, 1rem + .35vw, 1.28rem); color: var(--text); font-weight: 500; }
.row dd .sub { display: block; font-size: var(--fs-small); color: var(--muted); font-weight: 400; margin-top: 4px; }
.rows.big .row { padding-block: 30px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); font-size: .92rem; font-weight: 500; background: var(--white); }
.dark .tag { border-color: var(--line-dark); background: transparent; color: var(--on-dark); }

/* Cartes */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px);
  display: grid; gap: 16px; align-content: start; border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(4, 11, 51, .35); border-color: transparent; }
.card .icon { color: var(--blue); }
.card h3 { font-size: var(--fs-h3); font-stretch: 110%; font-weight: 500; color: var(--navy); }
.card p { color: var(--muted); }
.card ul { display: grid; gap: 10px; margin-top: 4px; }
.card li { position: relative; padding-left: 20px; color: var(--muted); font-size: var(--fs-small); }
.card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--blue); border-right-color: transparent; transform: rotate(-45deg); }
.card li strong { color: var(--text); font-weight: 600; }

/* Participations */
.pole { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); }
.pole-side { display: grid; gap: 14px; align-content: start; }
.pole-side .kicker { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pole-side h3 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); font-stretch: 116%; font-weight: 500; color: var(--navy); letter-spacing: -.02em; }
.pole-side p { color: var(--muted); max-width: 28ch; }
.company {
  position: relative; background: var(--white); border-radius: calc(var(--radius) + 6px); overflow: hidden;
  display: grid; border: 1px solid var(--line);
  transition: box-shadow .6s var(--ease), transform .6s var(--ease);
}
.company:hover { box-shadow: 0 40px 80px -40px rgba(4, 11, 51, .4); transform: translateY(-4px); }
.company-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(24px, 3vw, 40px) clamp(24px, 3.4vw, 48px); border-bottom: 1px solid var(--line); }
.company-top img { width: 170px; height: auto; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: var(--paper); border-radius: 99px; padding: 8px 14px; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 25%, transparent); }
.company-body { padding: clamp(28px, 3.4vw, 48px); display: grid; gap: 18px; }
.company-body h4 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-stretch: 116%; font-weight: 500; color: var(--navy); }
.company-body > p { color: var(--muted); max-width: 62ch; }
.stats { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 26px clamp(20px, 3vw, 48px); display: grid; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font-family: var(--display); font-stretch: 116%; font-weight: 500; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem); line-height: 1; color: var(--navy); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: var(--fs-small); color: var(--muted); }
.company-foot { padding: 22px clamp(24px, 3.4vw, 48px); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Chronologie */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); position: relative; gap: 24px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1.5px; background: var(--line); }
.timeline::after { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 1.5px; background: var(--klein); transform-origin: left; transition: transform 1.6s var(--ease); }
.timeline.pending::after { transform: scaleX(0); }
.timeline li { position: relative; display: grid; gap: 10px; padding-top: 44px; padding-right: 16px; }
.timeline li::before { content: ""; position: absolute; top: 3px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 2px solid var(--klein); border-right-color: transparent; transform: rotate(-45deg); z-index: 1; }
.section--paper .timeline li::before { background: var(--paper); }
.timeline .year { font-family: var(--display); font-stretch: 116%; font-weight: 500; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); color: var(--navy); line-height: 1; font-variant-numeric: tabular-nums; }
.timeline p { color: var(--muted); max-width: 34ch; }
.company .timeline-wrap { padding: clamp(28px, 3.4vw, 48px); border-top: 1px solid var(--line); background: var(--paper); display: grid; gap: 28px; }
.company .timeline li::before { background: var(--paper); }

/* À propos */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 7vw, 120px); align-items: center; }
.portrait { position: relative; max-width: 440px; width: 100%; justify-self: center; }
.portrait .photo { position: relative; z-index: 1; border-radius: 999px 999px 24px 24px; overflow: hidden; aspect-ratio: 2 / 3; background: #d9dadc; }
.portrait .photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.portrait:hover .photo img { transform: scale(1); }
.portrait .halo { position: absolute; inset: -9% -14% auto -14%; aspect-ratio: 1; color: var(--blue); z-index: 0; pointer-events: none; }
.portrait .halo circle { fill: none; stroke: currentColor; stroke-linecap: round; transition: stroke-dasharray 2s var(--ease); }
.portrait.pending .halo circle { stroke-dasharray: 0 100 !important; }
.portrait .caption { position: absolute; z-index: 2; left: 50%; bottom: -22px; transform: translateX(-50%); background: var(--klein); color: var(--white); border-radius: 99px; padding: 10px 20px; white-space: nowrap; font-size: .9rem; font-weight: 600; box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--klein) 70%, transparent); }
.portrait .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--klein) 28%, transparent)); mix-blend-mode: multiply; }
.about-text { display: grid; gap: 24px; align-content: start; }
.about-text .big { font-family: var(--display); font-stretch: 104%; font-weight: 400; font-size: clamp(1.25rem, 1.05rem + .9vw, 1.8rem); line-height: 1.38; color: var(--text); letter-spacing: -.005em; }
.about-text p { color: var(--muted); max-width: 58ch; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; }

/* Bandeau contact */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(96px, 11vw, 176px); background: radial-gradient(760px 620px at 8% 55%, var(--klein-glow), transparent 66%), radial-gradient(500px 400px at 100% 0%, color-mix(in srgb, var(--sky) 12%, transparent), transparent 70%), var(--klein); }
.cta-band h2 em { font-style: normal; color: var(--sky); }
.cta-band .rings { width: min(660px, 50vw); aspect-ratio: 1; left: -15vw; top: 50%; transform: translateY(-50%) scaleX(-1); z-index: -1; opacity: .7; }
.cta-band .in { display: grid; gap: 28px; max-width: 900px; margin-left: auto; }
.cta-band h2 { font-size: clamp(2.4rem, 1.2rem + 5vw, 6rem); font-stretch: 118%; font-weight: 500; color: var(--white); line-height: .98; letter-spacing: -.025em; }
.cta-band p { color: var(--on-dark-muted); font-size: var(--fs-lead); max-width: 44ch; }
.mail-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-block: 22px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.mail {
  font-family: var(--display); font-stretch: 108%; font-weight: 400; font-size: clamp(1.25rem, .9rem + 1.8vw, 2.3rem);
  color: var(--white); text-decoration: none; overflow-wrap: anywhere; user-select: all; margin-right: auto;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1.5px no-repeat; transition: background-size .5s var(--ease);
}
.mail:hover { background-size: 100% 1.5px; }
.copy {
  min-height: 44px; padding: 0 18px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: var(--white);
  font: 600 .9rem var(--body); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .3s var(--ease), border-color .3s var(--ease);
}
.copy:hover { background: rgba(255, 255, 255, .08); border-color: var(--white); }
.copy svg { width: 16px; height: 16px; }
.copy.done { border-color: var(--sky); color: var(--sky); }
.light .copy { color: var(--navy); border-color: var(--line); }
.light .copy:hover { background: var(--paper); border-color: var(--navy); }
.light .copy.done { color: var(--blue); border-color: var(--blue); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.contact-card { border-radius: calc(var(--radius) + 6px); padding: clamp(28px, 4vw, 56px); display: grid; gap: 22px; align-content: space-between; min-height: 340px; border: 1px solid var(--line); background: var(--white); }
.contact-card.primary {
  color: var(--on-dark); border-color: var(--klein); position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(600px 480px at 85% 15%, var(--klein-glow), transparent 62%), var(--klein);
}
.contact-card.primary .rings { width: 560px; aspect-ratio: 1; right: -220px; bottom: -260px; z-index: -1; opacity: .8; }
.contact-card h2 { font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-card.primary h2 { color: var(--sky); }
.contact-card p { color: var(--muted); }
.contact-card.primary p { color: var(--on-dark-muted); }
.contact-card .mail { margin-right: 0; }
.contact-card .stack { display: grid; gap: 16px; }
.recap { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.recap div { padding: 24px 24px 0 0; display: grid; gap: 6px; }
.recap div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.recap dt { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.recap dd { font-family: var(--display); font-stretch: 112%; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 500; color: var(--navy); }

/* Aiglon */
.facts { position: sticky; top: 110px; align-self: start; border-radius: calc(var(--radius) + 6px); border: 1px solid var(--line); overflow: hidden; background: var(--white); }
.facts .logo-plate { padding: 36px; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.facts .logo-plate img { width: 220px; }
.facts dl { display: grid; }
.facts dl div { padding: 18px 32px; display: grid; gap: 2px; }
.facts dl div + div { border-top: 1px solid var(--line); }
.facts dt { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { font-family: var(--display); font-stretch: 110%; font-size: 1.35rem; font-weight: 500; color: var(--navy); }
.prose { display: grid; gap: 22px; }
.prose p { color: var(--muted); max-width: 64ch; }
.prose p.first { font-family: var(--display); font-stretch: 104%; font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem); line-height: 1.42; color: var(--text); }
.aiglon-hero-logo { background: var(--white); border-radius: 20px; padding: 22px 28px; width: fit-content; animation: fadeUp 1s var(--ease) both; }
.aiglon-hero-logo img { width: 180px; }

.page-hero--overlap { padding-bottom: calc(clamp(72px, 9vw, 128px) + clamp(56px, 6vw, 88px)); }
.hero-actions { margin-top: 8px; animation: fadeUp 1s .35s var(--ease) both; }
.settled .hero-actions { animation: none; }
.kpis { position: relative; z-index: 2; margin-top: calc(-1 * clamp(56px, 6vw, 88px)); }
.stats--card { background: var(--white); border-radius: calc(var(--radius) + 6px); border-top: 0; box-shadow: 0 30px 70px -40px rgba(6, 32, 42, .45), 0 0 0 1px var(--line); }
.stats--card .stat { padding: clamp(24px, 3vw, 40px); }
.facts-row { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts-row div { padding: 24px 24px 0 0; display: grid; gap: 8px; align-content: start; }
.facts-row div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts-row dt { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts-row dd { font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); font-weight: 500; color: var(--text); }
.facts-row .link { padding-block: 0; }

section[id], main[id] { scroll-margin-top: 72px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.company-top img { width: 190px; }
.stats--4 { --cols: 4; }
.more { border-top: 1px solid var(--line); }
.more summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 0 clamp(24px, 3.4vw, 48px); font-weight: 600; color: var(--klein);
}
.more summary::-webkit-details-marker { display: none; }
.more summary svg { width: 22px; height: 22px; transition: transform .4s var(--ease); flex: none; }
.more[open] summary svg { transform: rotate(180deg); }
.more summary:hover { background: var(--paper); }
.more-body { padding: 4px clamp(24px, 3.4vw, 48px) clamp(28px, 3.4vw, 44px); }
.more[open] .more-body { animation: fadeUp .6s var(--ease) both; }

/* Termes techniques avec bulle d'aide */
.term { position: relative; display: inline-block; }
.term button {
  font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: help;
  text-decoration: underline dotted var(--klein-glow); text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.term button:hover, .term.open button { color: var(--klein); }
.term .tip {
  position: absolute; z-index: 30; bottom: calc(100% + 12px); left: 50%;
  width: max-content; max-width: min(300px, 82vw);
  transform: translateX(calc(-50% + var(--shift, 0px))) translateY(6px);
  background: var(--ink); color: var(--white); border-radius: 12px; padding: 12px 14px;
  font-family: var(--body); font-size: .875rem; font-weight: 400; line-height: 1.45; text-align: left; letter-spacing: 0;
  box-shadow: 0 18px 40px -16px rgba(6, 32, 42, .55);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.term .tip b { display: block; margin-bottom: 4px; color: var(--sky); font-weight: 600; }
.term .tip::after {
  content: ""; position: absolute; top: 100%; left: calc(50% - var(--shift, 0px)); transform: translateX(-50%);
  border: 7px solid transparent; border-top-color: var(--ink);
}
.term:hover .tip, .term:focus-within .tip, .term.open .tip { opacity: 1; visibility: visible; transform: translateX(calc(-50% + var(--shift, 0px))) translateY(0); }

/* Investisseur actif */
.levers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lever {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 2.6vw, 36px); display: grid; gap: 12px; align-content: start;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.lever:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -30px rgba(6, 32, 42, .35); }
.lever-icon { width: 34px; height: 34px; fill: none; stroke: var(--klein); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.lever h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.45rem); font-stretch: 108%; font-weight: 500; color: var(--text); }
.lever p { color: var(--muted); }
.lever--feature { background: var(--klein); border-color: var(--klein); position: relative; overflow: hidden; isolation: isolate; }
.lever--feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px 260px at 100% 0%, var(--klein-glow), transparent 70%); }
.lever--feature h3 { color: var(--white); }
.lever--feature p { color: var(--on-dark-muted); }
.lever--feature .lever-icon { stroke: var(--sky); }

/* Mentions légales */
.legal { max-width: 760px; display: grid; gap: 18px; }
.legal h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); font-stretch: 110%; font-weight: 500; color: var(--navy); margin-top: 28px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); }
.legal a { color: var(--blue); }
.legal strong { color: var(--text); }
.updated { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--paper); color: var(--muted); border-top: 1px solid var(--line); padding-top: clamp(64px, 7vw, 104px); padding-bottom: max(32px, env(safe-area-inset-bottom, 0px)); font-size: var(--fs-small); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr); gap: 40px; }
.foot-grid .about-col { display: grid; gap: 18px; align-content: start; }
.foot-grid .about-col img { width: 112px; }
.foot-grid .about-col p { max-width: 34ch; }
.foot-grid h2 { font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--klein); margin-bottom: 16px; }
.foot-grid ul { display: grid; gap: 6px; }
.foot-grid a { color: var(--text); text-decoration: none; display: inline-block; padding-block: 4px; }
.foot-grid a:hover { color: var(--klein); }
.fine { margin-top: clamp(56px, 7vw, 96px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.fine a { color: var(--muted); text-decoration: none; }
.fine a:hover { color: var(--text); }
.fine nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Sections sombres ---------- */
.section--ink { background: var(--klein); color: var(--on-dark); position: relative; isolation: isolate; overflow: hidden; }
.section--ink::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 600px at 100% 0%, color-mix(in srgb, var(--klein-glow) 70%, transparent), transparent 65%); }
.dark .section-head p, .dark .pole-side p, .dark .pole-side .kicker { color: var(--on-dark-muted); }
.dark .pole-side h3 { color: var(--white); }
.dark .company { border-color: transparent; color: var(--text); }
.dark .company .link { color: var(--klein); }
.dark .company .eyebrow { color: var(--blue); }
.dark .company:hover { box-shadow: 0 40px 90px -30px color-mix(in srgb, var(--klein) 65%, transparent); }

/* ---------- Apparition au défilement ---------- */
.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.pending { opacity: 0; transform: translateY(32px); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ---------- Adaptatif ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: grid; }
  .split, .about, .pole, .section-head { grid-template-columns: minmax(0, 1fr); }
  .sticky, .facts { position: static; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .recap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .recap div:nth-child(3) { padding-left: 0; border-left: 0; }
  .portrait { max-width: 380px; }
  .stats--4 { --cols: 2; }
  .levers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats--4 .stat:nth-child(3) { border-left: 0; }
  .stats--4 .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats--card, .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats--card .stat:nth-child(3), .facts-row div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats--card .stat:nth-child(3) { padding-left: clamp(24px, 3vw, 40px); }
  .stats--card .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts-row div:nth-child(n+3) { padding-top: 24px; }
}
@media (max-width: 820px) {
  .pillars, .cards { grid-template-columns: minmax(0, 1fr); }
  .pillar, .pillar + .pillar { padding: 28px 0 32px; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line-dark); }
  .pillars { margin-top: 72px; padding-bottom: 24px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid .about-col { grid-column: 1 / -1; }
  .hero .rings { right: -48vw; width: 120vw; opacity: .32; top: 60px; }
  .cta-band .rings { width: 120vw; left: -70vw; }
  .page-hero .rings { right: -50vw; width: 120vw; opacity: .5; }
}
@media (max-width: 640px) {
  .hero h1 { font-stretch: 100%; font-size: clamp(2.4rem, 11.4vw, 4rem); }
  .page-hero h1 { font-stretch: 104%; }
  .row { grid-template-columns: minmax(0, 1fr); padding-block: 20px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .timeline::before, .timeline::after { left: 8px; right: auto; top: 0; bottom: 0; width: 1.5px; height: auto; }
  .timeline::after { transform-origin: top; }
  .timeline.pending::after { transform: scaleY(0); }
  .timeline li { padding: 0 0 32px 44px; }
  .timeline li::before { top: 4px; }
  .recap { grid-template-columns: minmax(0, 1fr); }
  .stats--card, .facts-row { grid-template-columns: minmax(0, 1fr); }
  .levers { grid-template-columns: minmax(0, 1fr); }
  .facts-row div, .facts-row div + div { padding: 18px 0 0; border-left: 0; }
  .recap div, .recap div + div { padding: 18px 0; border-left: 0; }
  .recap div + div { border-top: 1px solid var(--line); }
  .btn { min-height: 52px; }
  .cta-band .rings { opacity: .45; }
  .contact-card { min-height: 0; }
  .portrait { max-width: 300px; }
  .portrait .halo { inset: -6% -6% auto -6%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rings .ticks, .rings .orbit { animation: none !important; }
  .reveal.pending { opacity: 1; transform: none; }
}
