/* ============================================================
   AUDIT PARTNERS — Design System V2
   Base claire style Apple · liquid glass · accent bleu
   Typo : Inter
   ============================================================ */

:root {
  --text: #1D1D1F;
  --text-2: #55565C;
  --text-3: #86868B;
  --bg: #FBFBFD;
  --bg-soft: #F5F5F7;
  --white: #FFFFFF;
  --ink: #1D1D1F;
  --accent: #0071E3;
  --accent-hover: #0077ED;
  --accent-soft: #E8F1FD;
  --border: rgba(0,0,0,.08);
  --glass-bg: rgba(255,255,255,.62);
  --glass-border: rgba(255,255,255,.75);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-card: 0 2px 10px rgba(0,0,0,.04), 0 18px 46px rgba(0,0,0,.07);
  --shadow-hover: 0 6px 16px rgba(0,0,0,.06), 0 30px 70px rgba(0,0,0,.12);
  --shadow-glass: 0 8px 32px rgba(0,0,0,.10);
  --ease: cubic-bezier(.22,.61,.36,1);
  --container: 1180px;
  /* compat anciennes classes */
  --gold: #0071E3;
  --gold-deep: #0071E3;
  --gold-soft: #A8C7FF;
  --grey-100: #F5F5F7;
  --grey-300: #D8D8DC;
  --grey-500: #86868B;
  --grey-700: #55565C;
  --paper: #FBFBFD;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -.028em; font-weight: 700; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Mesh gradient de fond (liquid) ---------- */
.mesh {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.mesh::before, .mesh::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: .55;
}
.mesh::before {
  width: 640px; height: 640px; top: -220px; right: -120px;
  background: radial-gradient(circle at 30% 30%, #A8C7FF, #D9C8FF 60%, transparent 75%);
  animation: blob-drift 18s ease-in-out infinite alternate;
}
.mesh::after {
  width: 520px; height: 520px; bottom: -200px; left: -140px;
  background: radial-gradient(circle at 60% 40%, #FFDDC0, #C9E4FF 65%, transparent 80%);
  animation: blob-drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes blob-drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-60px, 40px) scale(1.12); }
}

/* ---------- Kickers & titres ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px; }
.kicker.on-dark, .dark .kicker { color: #6EB4FF; }
.kicker.on-dark::before, .dark .kicker::before { background: #6EB4FF; }

.section-title { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 18px; color: var(--text); }
.section-lead { font-size: 18.5px; color: var(--text-2); max-width: 660px; }
.dark .section-lead { color: #B8BCC6; }

section { padding: 110px 0; position: relative; }
@media (max-width: 768px) { section { padding: 72px 0; } }

.center-head { text-align: center; }
.center-head .section-lead { margin-left: auto; margin-right: auto; }
.center-head .kicker { justify-content: center; }

/* ---------- Header liquid glass ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 14px 16px 0;
  transition: padding .3s var(--ease);
}
.nav {
  max-width: 1210px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 12px 0 20px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: 0 1px 1px rgba(255,255,255,.9) inset, var(--shadow-glass);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled .nav { background: rgba(255,255,255,.78); box-shadow: 0 1px 1px rgba(255,255,255,.9) inset, 0 12px 40px rgba(0,0,0,.14); }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font-weight: 700; font-size: 17.5px; letter-spacing: -.02em; color: var(--text); }
.brand-sub { display: block; font-size: 8.5px; font-weight: 600; letter-spacing: .26em; color: var(--text-3); text-transform: uppercase; line-height: 1.2; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  padding: 9px 14px; border-radius: 999px; border: 0; background: transparent;
  transition: background .2s, color .2s; cursor: pointer; font-family: inherit;
}
.nav-links > li > a:hover, .nav-links > li > button:hover,
.nav-links > li > a.active { color: var(--text); background: rgba(0,0,0,.05); }
.nav-links .chev { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.nav-links li:hover .chev, .nav-links li.open .chev { transform: rotate(180deg); }

/* Dropdowns glass */
.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(8px) scale(.98);
  min-width: 300px; padding: 10px;
  background: rgba(255,255,255,.93);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 20px;
  box-shadow: 0 1px 1px rgba(255,255,255,.9) inset, 0 24px 60px rgba(0,0,0,.16);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .22s var(--ease) .12s, transform .22s var(--ease) .12s, visibility .22s .12s;
  z-index: 100;
}
/* Pont invisible : le curseur peut glisser du bouton vers le panneau sans le fermer */
.dropdown::before {
  content: ""; position: absolute; top: -16px; left: -12px; right: -12px; height: 18px;
}
.nav-links li:hover > .dropdown, .nav-links li.open > .dropdown, .nav-links li:focus-within > .dropdown {
  transition-delay: 0s;
}
.nav-links li:hover > .dropdown, .nav-links li.open > .dropdown, .nav-links li:focus-within > .dropdown {
  opacity: 1; pointer-events: auto; visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}
.dropdown a {
  display: block; padding: 11px 14px; border-radius: 12px;
  font-size: 14.5px; font-weight: 500; color: var(--text);
  transition: background .18s;
  white-space: nowrap;
}
.dropdown a small { display: block; font-size: 12px; font-weight: 400; color: var(--text-3); margin-top: 1px; white-space: normal; }
.dropdown a:hover { background: rgba(0,0,0,.05); }
.dropdown .dd-sep { height: 1px; background: rgba(0,0,0,.07); margin: 6px 10px; }

.nav-cta { margin-left: 8px; }
.nav .btn { padding: 10px 20px; font-size: 14px; }
.nav-links > li > a.nav-cta { background: var(--accent); color: #fff; padding: 10px 20px; font-size: 14px; font-weight: 600; }
.nav-links > li > a.nav-cta:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 8px 22px rgba(0,113,227,.35); }

.burger {
  display: none; background: none; border: 0; width: 44px; height: 44px;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  border-radius: 50%;
}
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav { padding-right: 6px; }
  .nav-links {
    position: fixed; top: 92px; left: 16px; right: 16px;
    max-height: calc(100vh - 120px); overflow: auto;
    background: rgba(255,255,255,.99);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0,0,0,.2);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 14px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: .3s var(--ease);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links > li > a, .nav-links > li > button { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 16px; border-radius: 14px; }
  .dropdown, .nav-links li:hover > .dropdown, .nav-links li.open > .dropdown, .nav-links li:focus-within > .dropdown {
    position: static; transform: none; min-width: 0;
    opacity: 1; pointer-events: auto; visibility: visible;
    background: transparent; border: 0; box-shadow: none; padding: 0 8px;
    display: none;
  }
  .nav-links li.open > .dropdown { display: block; }
  .dropdown a { white-space: normal; }
  .nav-cta { margin: 10px 4px 4px; }
  .burger { display: flex; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px; border: 0;
  font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  cursor: pointer;
}
.btn:active { transform: scale(.97); }
.btn-primary, .btn-gold { background: var(--accent); color: #fff; }
.btn-primary:hover, .btn-gold:hover { background: var(--accent-hover); box-shadow: 0 12px 30px rgba(0,113,227,.35); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A2A2E; box-shadow: 0 12px 28px rgba(0,0,0,.25); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,.55); color: var(--text);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1.2px rgba(0,0,0,.14);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1.2px rgba(0,0,0,.4); transform: translateY(-1px); }
.btn-ghost.on-dark { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.2px rgba(255,255,255,.3); }
.btn-ghost.on-dark:hover { box-shadow: inset 0 0 0 1.2px #fff; }
.btn svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ---------- HERO photo + glass ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding: 150px 0 60px;
  background: var(--bg);
}
.hero-photo {
  position: absolute; inset: 0; overflow: hidden;
}
.hero-photo img, .hero-photo video {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%;
  will-change: transform;
}
.hero-photo img { animation: hero-zoom 14s var(--ease) forwards; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-inner, .hero-stats { will-change: transform, opacity; }

/* Barre de progression de lecture */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, #0071E3, #6EB4FF);
  z-index: 2000; border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(0,113,227,.5);
}

/* Parallax photos */
.photo-frame[data-parallax] img { will-change: transform; transform: scale(1.12); }
.photo-frame[data-parallax]:hover img { transform: scale(1.12); }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(251,251,253,.97) 0%, rgba(251,251,253,.88) 30%, rgba(251,251,253,.35) 62%, rgba(251,251,253,.05) 100%),
    linear-gradient(0deg, rgba(251,251,253,.9) 0%, transparent 26%);
}
@media (max-width: 860px) {
  .hero-photo::after {
    background: linear-gradient(0deg, rgba(251,251,253,.96) 22%, rgba(251,251,253,.72) 55%, rgba(251,251,253,.4) 100%);
  }
  .hero-photo img { object-position: 60% 30%; }
}
.hero-inner { position: relative; max-width: 760px; }
.hero h1 {
  font-size: clamp(42px, 6.4vw, 80px);
  letter-spacing: -.035em; margin-bottom: 24px; color: var(--text);
}
.hero h1 .accent { color: var(--accent); }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); max-width: 540px; margin-bottom: 38px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Barre stats glass flottante */
.hero-stats {
  position: relative; margin-top: 72px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 1px 1px rgba(255,255,255,.9) inset, var(--shadow-glass);
  padding: 28px 10px;
  max-width: 980px;
}
.hero-stats .stat { text-align: center; padding: 0 18px; border-right: 1px solid rgba(0,0,0,.07); }
.hero-stats .stat:last-child { border-right: 0; }
.stat .stat-num { font-size: clamp(26px, 2.8vw, 36px); font-weight: 700; letter-spacing: -.03em; color: var(--text); }
.stat .stat-num em { font-style: normal; color: var(--accent); }
.stat .stat-label { font-size: 12.5px; color: var(--text-3); margin-top: 3px; }
@media (max-width: 800px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px 0; padding: 24px 6px; }
  .hero-stats .stat:nth-child(2) { border-right: 0; }
}

/* ---------- Sections ---------- */
.dark { background: var(--ink); color: #fff; }
.dark .section-title { color: #fff; }
.tinted { background: var(--bg-soft); }

/* ---------- Cartes ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
@media (max-width: 1024px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 30px 26px; box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column; gap: 13px;
  position: relative; overflow: hidden;
  border: 1px solid rgba(0,0,0,.03);
}
.card:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--shadow-hover); }
.card-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--accent-soft); display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.card-icon svg { width: 25px; height: 25px; }
.card h3 { font-size: 18.5px; letter-spacing: -.02em; }
.card p { font-size: 14.5px; color: var(--text-2); flex: 1; }
.card .card-link { font-size: 14px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.card .card-link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }

/* Cartes glass (profils) */
.glass-band { position: relative; overflow: hidden; }
.glass-band .card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 1px 1px rgba(255,255,255,.85) inset, 0 10px 34px rgba(0,0,0,.07);
}
.glass-band .card:hover { box-shadow: 0 1px 1px rgba(255,255,255,.85) inset, var(--shadow-hover); }

/* Compat sombre */
.dark .card { background: #26262A; box-shadow: none; border: 1px solid rgba(255,255,255,.08); }
.dark .card p { color: #A9AEB9; }
.dark .card-icon { background: rgba(110,180,255,.12); color: #6EB4FF; }
.dark .card .card-link { color: #6EB4FF; }

/* ---------- Split & photos ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.photo-frame {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  box-shadow: var(--shadow-card);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo-frame:hover img { transform: scale(1.04); }
.photo-frame.ratio-45 { aspect-ratio: 4/4.6; }
.photo-frame.ratio-43 { aspect-ratio: 4/3; }

.float-badge {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px;
  background: rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 999px;
  box-shadow: 0 1px 1px rgba(255,255,255,.9) inset, 0 12px 32px rgba(0,0,0,.14);
  font-size: 14px; font-weight: 600; color: var(--text);
}
.float-badge svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* legacy figure-panel → clair */
.figure-panel {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  aspect-ratio: 4/4.6;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #EAF1FB, #F6F1EA 70%);
  box-shadow: var(--shadow-card);
}
.figure-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.figure-panel .big-a { width: 46%; opacity: .92; }

.checklist { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; color: var(--text-2); }
.checklist li strong { display: block; color: var(--text); }
.checklist .check {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.checklist .check svg { width: 13px; height: 13px; }

/* ---------- Dirigeants (cartes premium sombres) ---------- */
.partners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 56px; }
@media (max-width: 800px) { .partners-grid { grid-template-columns: 1fr; } }
.partner-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #1E2027 0%, #15161B 60%, #101116 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.partner-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 85% 0%, rgba(0,113,227,.30), transparent 65%),
    radial-gradient(ellipse 45% 45% at 0% 100%, rgba(110,180,255,.10), transparent 60%);
  opacity: .85; transition: opacity .35s var(--ease);
}
.partner-card::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg);
  padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.28), rgba(255,255,255,.05) 40%, rgba(0,113,227,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.partner-card:hover { transform: translateY(-6px); box-shadow: 0 34px 80px rgba(0,0,0,.32), 0 0 0 1px rgba(0,113,227,.25); }
.partner-card:hover::before { opacity: 1; }
.partner-card > * { position: relative; }
.partner-top { display: flex; align-items: center; gap: 18px; }
.partner-avatar {
  flex: none; width: 76px; height: 76px; border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 210deg, #0071E3, #6EB4FF, #B7D8FF, #0071E3);
  box-shadow: 0 10px 28px rgba(0,113,227,.35);
}
.partner-avatar span {
  width: 100%; height: 100%; border-radius: 50%;
  background: #101116;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 23px; letter-spacing: -.02em; color: #fff;
}
.partner-card h3 { font-size: 21px; color: #fff; margin-bottom: 4px; }
.partner-role {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #6EB4FF;
  background: rgba(0,113,227,.14);
  border: 1px solid rgba(110,180,255,.3);
  padding: 5px 12px; border-radius: 999px;
}
.partner-card p { font-size: 15px; color: rgba(255,255,255,.72); flex: 1; }
.partner-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.partner-tags li {
  font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 6px 13px; border-radius: 999px;
}
/* compat ancien markup si présent */
.partner-photo { display: none; }
.partner-body { display: contents; }

/* ---------- Journal ---------- */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
@media (max-width: 960px) { .articles-grid { grid-template-columns: 1fr; } }
.article-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  border: 1px solid rgba(0,0,0,.03);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.article-cover { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.article-card:hover .article-cover img { transform: scale(1.06); }
.article-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.article-meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--text-3); }
.article-tag {
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent);
  padding: 4px 10px; border-radius: 999px;
}
.article-body h3 { font-size: 18.5px; line-height: 1.3; letter-spacing: -.02em; }
.article-body p { font-size: 14.5px; color: var(--text-2); flex: 1; }
.read-more { font-size: 14px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.read-more svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.article-card:hover .read-more svg { transform: translateX(4px); }

/* ---------- Page article ---------- */
.article-hero {
  padding: 170px 0 60px; position: relative; overflow: hidden;
  background: var(--bg-soft); color: var(--text);
}
.article-hero h1 { font-size: clamp(30px, 4.5vw, 50px); max-width: 840px; margin: 18px 0; position: relative; }
.article-hero .article-meta { color: var(--text-3); position: relative; }
.article-hero p { position: relative; }
.prose { max-width: 720px; margin: 0 auto; padding: 64px 24px 40px; font-size: 17px; }
.prose h2 { font-size: 27px; margin: 44px 0 16px; }
.prose h3 { font-size: 20px; margin: 32px 0 12px; }
.prose p { margin-bottom: 18px; color: #3A3B40; }
.prose ul, .prose ol { margin: 0 0 18px 22px; color: #3A3B40; }
.prose li { margin-bottom: 8px; }
.prose .callout {
  background: var(--bg-soft); border-left: 3px solid var(--accent);
  padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0;
}
.prose .callout a { color: var(--accent) !important; }

/* ---------- Pages internes : hero clair ---------- */
.page-hero {
  background: var(--bg); color: var(--text);
  padding: 180px 0 80px; position: relative; overflow: hidden;
}
.page-hero .hero-bg { display: none; }
.page-hero h1 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -.035em; margin-bottom: 18px; position: relative; }
.page-hero p { position: relative; color: var(--text-2); font-size: 18.5px; max-width: 640px; }
.page-hero .text-gold, .text-gold { color: var(--accent); }
.page-hero .kicker.on-dark { color: var(--accent); }
.page-hero .kicker.on-dark::before { background: var(--accent); }

/* ---------- Simulateurs ---------- */
.sim-nav { display: flex; gap: 10px; flex-wrap: wrap; margin: 40px 0 8px; }
.sim-tab {
  padding: 11px 22px; border-radius: 999px;
  border: 1px solid rgba(0,0,0,.1);
  background: rgba(255,255,255,.6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 14px; font-weight: 600; color: var(--text-2);
  transition: .2s var(--ease);
}
.sim-tab:hover { border-color: rgba(0,0,0,.3); color: var(--text); transform: translateY(-1px); }
.sim-tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.sim-panel { display: none; margin-top: 36px; }
.sim-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
@media (max-width: 900px) { .sim-panel.active { grid-template-columns: 1fr; } }

.sim-form {
  background: var(--white); border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-card); border: 1px solid rgba(0,0,0,.03);
  display: grid; gap: 22px;
}
.sim-form h3 { font-size: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.field input[type="number"], .field select {
  padding: 13px 16px; border-radius: 13px; border: 1.5px solid rgba(0,0,0,.12);
  font-size: 16px; font-family: inherit; background: var(--bg);
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,113,227,.15);
}
.field .hint { font-size: 12.5px; color: var(--text-3); }
.seg { display: flex; border: 1.5px solid rgba(0,0,0,.12); border-radius: 13px; overflow: hidden; background: var(--bg); }
.seg button {
  flex: 1; padding: 12px 8px; border: 0; background: transparent;
  font-size: 14px; font-weight: 600; color: var(--text-2); transition: .2s;
}
.seg button.active { background: var(--ink); color: #fff; }

.sim-result {
  background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 34px;
  display: grid; gap: 20px; align-content: start;
  position: sticky; top: 110px;
  box-shadow: 0 30px 70px rgba(0,0,0,.25);
}
.sim-result h3 { font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #6EB4FF; }
.result-big { font-size: clamp(36px, 4vw, 52px); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.result-big small { font-size: 18px; font-weight: 500; color: rgba(255,255,255,.6); letter-spacing: 0; }
.result-rows { display: grid; border-top: 1px solid rgba(255,255,255,.12); }
.result-row {
  display: flex; justify-content: space-between; gap: 16px; padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14.5px;
}
.result-row span:first-child { color: rgba(255,255,255,.65); }
.result-row span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.result-row.highlight span { color: #6EB4FF; font-weight: 700; }
.sim-disclaimer { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.5; }
.sim-cta-box {
  background: rgba(110,180,255,.1); border: 1px solid rgba(110,180,255,.3);
  border-radius: var(--radius); padding: 18px 20px; font-size: 14px;
}
.sim-cta-box a { color: #6EB4FF; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.gauge { display: grid; gap: 8px; }
.gauge-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.gauge-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, #0071E3, #6EB4FF); width: 0%; transition: width .5s var(--ease); }
.gauge-legend { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.5); }

/* ---------- Newsletter glass ---------- */
.newsletter {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 72px);
}
.newsletter::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 90% at 88% 12%, rgba(0,113,227,.35), transparent 60%),
    radial-gradient(ellipse 40% 70% at 8% 95%, rgba(110,180,255,.18), transparent 60%);
}
.newsletter-inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .newsletter-inner { grid-template-columns: 1fr; } }
.newsletter h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; color: #fff; }
.newsletter p { color: rgba(255,255,255,.65); font-size: 16px; }
.newsletter-form { display: flex; gap: 12px; }
.newsletter-form input {
  flex: 1; padding: 16px 22px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08); color: #fff; font-size: 15px; font-family: inherit;
  min-width: 0;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { outline: none; border-color: #6EB4FF; box-shadow: 0 0 0 4px rgba(0,113,227,.25); }
@media (max-width: 520px) { .newsletter-form { flex-direction: column; } }
.newsletter-note { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 12px; }
.newsletter-success {
  display: none; align-items: center; gap: 12px;
  background: rgba(110,180,255,.12); border: 1px solid rgba(110,180,255,.4);
  padding: 18px 22px; border-radius: var(--radius); font-weight: 600; color: #A8CFFF;
}
.newsletter-success svg { width: 22px; height: 22px; flex: none; color: #6EB4FF; }

/* ---------- CTA final ---------- */
.final-cta { text-align: center; position: relative; overflow: hidden; }
.final-cta h2 { font-size: clamp(30px, 4.5vw, 54px); margin-bottom: 18px; position: relative; }
.final-cta p { max-width: 520px; margin: 0 auto 36px; position: relative; }
.final-cta .container { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: rgba(255,255,255,.55); font-size: 14px; margin-top: 16px; max-width: 300px; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #6EB4FF; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a, .footer-col li { font-size: 14.5px; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; color: rgba(255,255,255,.4); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Divers ---------- */
.mt-40 { margin-top: 40px; }
.center { text-align: center; }
::selection { background: var(--accent); color: #fff; }

/* Bureau (page cabinet) */
.offices { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; margin-top: 56px; align-items: stretch; }
@media (max-width: 800px) { .offices { grid-template-columns: 1fr; } }
.office-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg); padding: 40px;
  display: grid; gap: 12px; align-content: center;
  box-shadow: 0 1px 1px rgba(255,255,255,.85) inset, var(--shadow-card);
}
.office-card h3 { font-size: 26px; }
.office-card .office-city { color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.office-card p { color: var(--text-2); font-size: 15.5px; }
