/* ============================================================
   BranchAdvice — Design System v2 « Dark Cinema »
   Généré avec le skill ui-ux-pro-max
   Style : Modern Dark Cinema + Bento Grids
   Accent : #2F6BFF (bleu électrique BranchAdvice)
   Typo : Instrument Serif (display) + Inter (body)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg-deep: #030304;
  --bg: #07070a;
  --bg-2: #0c0c12;
  --bg-3: #12121a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f6;
  --muted: #a6a8b3;
  --dim: #71737f;
  --accent: #2f6bff;
  --accent-2: #6b92ff;
  --accent-3: #9db8ff;
  --accent-soft: rgba(47, 107, 255, 0.12);
  --accent-glow: rgba(47, 107, 255, 0.35);
  --success: #22c55e;
  --success-soft: rgba(34, 197, 94, 0.12);
  --warn: #f59e0b;
  --danger: #f87171;
  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 144px;
  --nav-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

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

/* ---------- Fond cinématique global ---------- */
.scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 700px at 80% -10%, rgba(47, 107, 255, 0.13), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(94, 106, 210, 0.08), transparent 55%),
    linear-gradient(180deg, #0a0a10 0%, var(--bg-deep) 100%);
}
.scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
}
#aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ---------- Utilitaires ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--space-7) 0; position: relative; }
.section-tight { padding: var(--space-6) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.h1, .h2, .h3 {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}
.h1 { font-size: clamp(44px, 7.5vw, 92px); }
.h2 { font-size: clamp(32px, 4.6vw, 56px); }
.h3 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; }
.h1 em, .h2 em, .h3 em, .serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.grad {
  background: linear-gradient(100deg, var(--accent-3) 0%, var(--accent) 55%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.lead {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--muted);
  line-height: 1.65;
  max-width: 640px;
}
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.section-head { margin-bottom: var(--space-5); }

/* ---------- Reveal on scroll (masqué uniquement si JS actif) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  min-height: 52px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: linear-gradient(135deg, #3d76ff, var(--accent) 60%, #2456d8);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 12px 40px -8px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18) inset, 0 20px 56px -8px rgba(47, 107, 255, 0.55);
}
.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background: var(--surface-2);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-lg { padding: 20px 38px; font-size: 17px; min-height: 60px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease), top 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { top: 0 !important; }
.nav.scrolled {
  background: rgba(7, 7, 10, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: var(--border);
}
.nav-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-links a.nav-ia { color: var(--accent-2); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 22px; min-height: 44px; font-size: 14.5px; }
.nav-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px var(--accent-glow);
}
.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 130;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(5, 5, 8, 0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 14px 8px;
  font-size: clamp(26px, 7vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease), color 0.25s;
  transition-delay: calc(var(--i) * 55ms);
}
.mobile-menu.open a { transform: none; opacity: 1; }
.mobile-menu a:hover { color: var(--accent-2); }
.mobile-menu .mm-num { font-family: var(--font-display); font-style: italic; font-size: 0.5em; color: var(--accent-2); margin-right: 14px; }
.mobile-menu .mm-foot { margin-top: 36px; color: var(--dim); font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.mobile-menu .mm-foot a { font-size: 15px; padding: 0; border: none; color: var(--accent-2); opacity: 1; transform: none; }

/* ---------- Livebar ---------- */
.livebar {
  position: relative;
  z-index: 90;
  background: linear-gradient(90deg, rgba(47, 107, 255, 0.16), rgba(47, 107, 255, 0.05) 50%, rgba(47, 107, 255, 0.16));
  border-bottom: 1px solid rgba(47, 107, 255, 0.25);
  font-size: 13.5px;
  color: var(--accent-3);
  text-align: center;
  padding: 9px 16px;
  font-weight: 500;
}
.livebar strong { color: #fff; font-weight: 600; }
.livebar .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  margin-right: 8px;
  box-shadow: 0 0 10px var(--success);
  animation: pulse 2s infinite;
  vertical-align: 1px;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 64px) 0 var(--space-6);
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 20%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-5);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(47, 107, 255, 0.35);
  background: var(--accent-soft);
  backdrop-filter: blur(10px);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent-3);
  margin-bottom: var(--space-3);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
  animation: pulse 2s infinite;
}
.hero h1 { margin-bottom: var(--space-3); }
.hero .lead { margin-bottom: var(--space-4); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: var(--space-5); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--border); }
.hero-trust > div { padding: 20px 32px 0 0; margin-right: 32px; }
.hero-trust .num {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.hero-trust .num em { font-family: var(--font-display); font-style: italic; color: var(--accent-2); }
.hero-trust .lbl { font-size: 13px; color: var(--dim); margin-top: 2px; }

/* Word reveal du H1 */
.wr .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.wr .w > span {
  display: inline-block;
  transform: translateY(110%);
  animation: wordUp 0.9s var(--ease) forwards;
  animation-delay: calc(var(--wi) * 70ms + 150ms);
}
@keyframes wordUp { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .wr .w > span { transform: none; animation: none; }
}

/* ---------- Carte matching (hero visual) ---------- */
.match-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 26px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(47, 107, 255, 0.06);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
}
.match-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(47, 107, 255, 0.5), transparent 35%, transparent 65%, rgba(47, 107, 255, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.mc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mc-title { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.mc-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.mc-brief {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 16px;
}
.mc-brief .role { font-weight: 600; font-size: 15.5px; margin-bottom: 8px; }
.mc-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.mc-pill {
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-3);
  border: 1px solid rgba(47, 107, 255, 0.25);
}
.mc-meta { display: flex; gap: 16px; margin-top: 10px; font-size: 12.5px; color: var(--dim); }
.mc-flow { display: flex; align-items: center; justify-content: center; padding: 6px 0 10px; color: var(--dim); }
.mc-flow svg { width: 20px; height: 20px; animation: floatY 2.4s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.mc-profiles { display: flex; flex-direction: column; gap: 10px; }
.mc-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.mc-profile:hover { transform: translateX(4px); border-color: rgba(47, 107, 255, 0.4); }
.mc-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #1e4dc7);
}
.mc-profile:nth-child(2) .mc-avatar { background: linear-gradient(135deg, #7c5cff, #4a34c4); }
.mc-profile:nth-child(3) .mc-avatar { background: linear-gradient(135deg, #00a3a3, #007a92); }
.mc-p-info { flex: 1; min-width: 0; }
.mc-p-name { font-size: 14px; font-weight: 600; }
.mc-p-role { font-size: 12px; color: var(--dim); }
.mc-check { color: var(--success); flex: none; }
.mc-check svg { width: 20px; height: 20px; }
.mc-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--dim);
}
.mc-foot strong { color: var(--accent-2); font-weight: 600; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  background: rgba(255, 255, 255, 0.015);
  position: relative;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-size: 15px;
  font-weight: 500;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
}
.marquee-track span::after { content: '✦'; color: var(--accent); font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.bento-card {
  position: relative;
  grid-column: span 4;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  padding: 34px 30px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s;
}
.bento-card:hover { transform: translateY(-5px); border-color: rgba(47, 107, 255, 0.35); }
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 107, 255, 0.14), transparent 45%);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}
.bento-card:hover::before { opacity: 1; }
.bento-6 { grid-column: span 6; }
.bento-8 { grid-column: span 8; }
.bento-12 { grid-column: span 12; }
.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(47, 107, 255, 0.3);
  color: var(--accent-2);
  margin-bottom: 20px;
}
.bento-icon svg { width: 22px; height: 22px; }
.bento-card h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.02em; margin-bottom: 10px; }
.bento-card p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.bento-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--accent-2);
  margin-bottom: 14px;
  display: block;
}
.bento-kpi { font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.bento-kpi em { font-family: var(--font-display); font-style: italic; font-weight: 400; }

/* ---------- Stats band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.stat-cell {
  text-align: center;
  padding: 44px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
}
.stat-cell .val {
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.55));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-cell .val .unit { font-family: var(--font-display); font-style: italic; font-size: 0.55em; }
.stat-cell .cap { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 260px; margin-inline: auto; }

/* ---------- VS panels ---------- */
.vs-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.vs-panel {
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}
.vs-panel.them { opacity: 0.85; }
.vs-panel.us {
  border-color: rgba(47, 107, 255, 0.4);
  background: linear-gradient(170deg, rgba(47, 107, 255, 0.1), rgba(47, 107, 255, 0.02));
  box-shadow: 0 24px 80px -30px var(--accent-glow);
  position: relative;
  overflow: hidden;
}
.vs-panel.us::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.25), transparent 65%);
  pointer-events: none;
}
.vs-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.vs-panel.them .vs-tag { background: var(--surface); color: var(--dim); border: 1px solid var(--border); }
.vs-panel.us .vs-tag { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -6px var(--accent-glow); }
.vs-panel h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 20px; }
.vs-panel ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.vs-panel li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); line-height: 1.55; }
.vs-panel li svg { width: 19px; height: 19px; flex: none; margin-top: 3px; }
.vs-panel.them li svg { color: var(--danger); }
.vs-panel.us li { color: var(--text); }
.vs-panel.us li svg { color: var(--success); }

/* ---------- Timeline / méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  padding: 30px 26px;
  transition: transform 0.45s var(--ease), border-color 0.45s;
}
.step-card:hover { transform: translateY(-5px); border-color: rgba(47, 107, 255, 0.35); }
.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(47, 107, 255, 0.65);
  margin-bottom: 18px;
}
.step-card h3 { font-size: 17.5px; font-weight: 650; margin-bottom: 8px; letter-spacing: -0.015em; }
.step-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.step-eta {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-2);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(47, 107, 255, 0.25);
}

/* ---------- Expertise cards ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.exp-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  padding: 30px 28px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s;
  display: block;
}
.exp-card:hover { transform: translateY(-5px); border-color: rgba(47, 107, 255, 0.4); }
.exp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(47, 107, 255, 0.13), transparent 45%);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}
.exp-card:hover::before { opacity: 1; }
.exp-idx { font-family: var(--font-display); font-style: italic; font-size: 14px; color: var(--accent-2); display: block; margin-bottom: 16px; }
.exp-card h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.02em; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.exp-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.exp-new {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #1e4dc7);
  padding: 4px 10px;
  border-radius: 999px;
}
.exp-more { margin-top: 18px; font-size: 13.5px; font-weight: 600; color: var(--accent-2); display: inline-flex; align-items: center; gap: 6px; }
.exp-card:hover .exp-more { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Skill pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: border-color 0.25s, color 0.25s;
}
.pill:hover { border-color: rgba(47, 107, 255, 0.45); color: var(--text); }

/* ---------- Table TJM ---------- */
.tjm-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tjm-table th, .tjm-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.tjm-table th { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.tjm-table td:last-child { text-align: right; font-weight: 600; color: var(--accent-2); white-space: nowrap; }
.tjm-table tr:last-child td { border-bottom: none; }
.tjm-table tbody tr { transition: background 0.25s; }
.tjm-table tbody tr:hover { background: rgba(255, 255, 255, 0.03); }

/* ---------- Équipe ---------- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.team-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  padding: 34px;
  display: flex;
  gap: 26px;
  align-items: flex-start;
  transition: transform 0.45s var(--ease), border-color 0.45s;
}
.team-card:hover { transform: translateY(-5px); border-color: rgba(47, 107, 255, 0.35); }
.team-photo {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  flex: none;
  border: 1px solid var(--border-strong);
  filter: saturate(0.9);
}
.team-card h3 { font-size: 20px; letter-spacing: -0.02em; }
.team-role { font-size: 13px; font-weight: 600; color: var(--accent-2); margin: 4px 0 12px; }
.team-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.5;
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  margin-top: 12px;
}
.team-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--accent-2); }
.team-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.team-link svg { width: 16px; height: 16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(47, 107, 255, 0.4); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .fx {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--accent-2);
  transition: transform 0.35s var(--ease), background 0.3s;
}
.faq-item[open] summary .fx { transform: rotate(45deg); background: var(--accent-soft); }
.faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.faq-body strong { color: var(--text); }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(47, 107, 255, 0.35);
  background:
    radial-gradient(900px 420px at 50% -20%, rgba(47, 107, 255, 0.28), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  padding: clamp(52px, 8vw, 96px) 32px;
  text-align: center;
  overflow: hidden;
}
.cta-final::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, black, transparent 75%);
  pointer-events: none;
}
.cta-final > * { position: relative; z-index: 1; }
.cta-final h2 { margin-bottom: 16px; }
.cta-final .lead { margin: 0 auto var(--space-4); }
.cta-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-note { margin-top: 22px; font-size: 13.5px; color: var(--dim); }

/* ---------- Formulaires ---------- */
.form-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  padding: clamp(28px, 4vw, 44px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.form-field label .req { color: var(--accent-2); }
.form-field input, .form-field select, .form-field textarea {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
  min-height: 50px;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field select {
  color: #ffffff;
  color-scheme: dark;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a6a8b3' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-field select option { background: #12121a; color: #ffffff; }
.form-hint { font-size: 12.5px; color: var(--dim); }
.form-status { margin-top: 16px; font-size: 14.5px; display: none; padding: 14px 18px; border-radius: 12px; }
.form-status.ok { display: block; background: var(--success-soft); color: var(--success); border: 1px solid rgba(34, 197, 94, 0.3); }
.form-status.err { display: block; background: rgba(248, 113, 113, 0.1); color: var(--danger); border: 1px solid rgba(248, 113, 113, 0.3); }

/* ---------- Contact info cards ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 18px; align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 20px 22px;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}
.contact-item:hover { border-color: rgba(47, 107, 255, 0.4); transform: translateY(-3px); }
.contact-item .ci-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(47, 107, 255, 0.3);
  color: var(--accent-2);
}
.contact-item .ci-icon svg { width: 19px; height: 19px; }
.contact-item h3 { font-size: 15.5px; margin-bottom: 3px; }
.contact-item p { font-size: 14px; color: var(--muted); }
.contact-item a { color: var(--accent-2); font-weight: 500; }
.contact-item a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(47, 107, 255, 0.04));
  padding: var(--space-6) 0 var(--space-4);
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: var(--space-5);
}
.footer-brand img { height: 34px; margin-bottom: 18px; }
.footer-brand p { font-size: 14px; color: var(--muted); max-width: 300px; line-height: 1.65; }
.footer h4 { font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: 14.5px; color: var(--muted); transition: color 0.25s; }
.footer ul a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--dim);
}
.footer-bottom a { color: var(--dim); }
.footer-bottom a:hover { color: var(--text); }
.footer .container { container-type: inline-size; }
.footer-giant {
  font-weight: 800;
  /* Dimensionné sur la largeur réelle du conteneur : ne peut pas déborder */
  font-size: clamp(40px, 9.2vw, 140px);
  font-size: clamp(40px, 12.2cqw, 165px);
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13) 10%, rgba(255, 255, 255, 0.02) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  pointer-events: none;
  margin: var(--space-4) 0 0;
  padding-bottom: 4px;
}

/* ---------- Page hero (pages internes) ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 96px) 0 var(--space-5);
  position: relative;
}
.page-hero .h1 { font-size: clamp(38px, 6vw, 72px); margin-bottom: var(--space-3); }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; letter-spacing: -0.02em; margin: var(--space-5) 0 var(--space-2); }
.prose h3 { font-size: 19px; margin: var(--space-3) 0 var(--space-1); }
.prose p, .prose li { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 12px; }
.prose ul { padding-left: 22px; }
.prose a { color: var(--accent-2); }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .match-card { max-width: 520px; }
  .bento-card, .bento-6, .bento-8 { grid-column: span 6; }
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .livebar { display: none; }
  .nav { top: 0 !important; }
  .section { padding: var(--space-6) 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .burger { display: flex; }
  .bento-card, .bento-6, .bento-8 { grid-column: span 12; }
  .exp-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; }
  .vs-wrap { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-trust > div { padding-right: 20px; margin-right: 20px; }
  .hero-trust .num { font-size: 24px; }
}
@media (max-width: 480px) {
  .nav-cta { display: none; }
  .hero-ctas .btn { width: 100%; }
  .cta-ctas .btn { width: 100%; }
  /* Bouton "Réserver un brief technique 45 min" : la phrase peut être
     plus longue que le bouton en pill nowrap -> on autorise le retour à
     la ligne et on ajuste le gabarit pour que le texte tienne dedans. */
  .cta-ctas .btn-lg {
    white-space: normal;
    padding: 16px 24px;
    font-size: 15.5px;
    line-height: 1.35;
    min-height: 58px;
    border-radius: 20px;
  }
}

/* Team of three: keep cards readable on desktop and stacked on smaller screens. */
.team-grid-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.team-grid-trio .team-card { flex-direction: column; min-width: 0; }
.team-initials { display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-2); font-size: 32px; font-weight: 700; }
@media (max-width: 900px) {
  .team-grid-trio { grid-template-columns: 1fr; }
}

/* Crop the supplied circular portrait inside the same full photo frame. */
.team-photo-said { overflow: hidden; }
.team-photo-said img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.4); transform-origin: 50% 35%; }

/* ===== Vidéo de présentation (accueil) ===== */
.video-frame {
  max-width: 1000px; margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-strong); background: var(--bg-deep);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px var(--accent-soft);
}
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Editorial clarity and concrete evaluation examples */
.hero { padding-top: calc(var(--nav-h) + 44px); padding-bottom: 48px; }
.hero .h1 { font-size: clamp(42px, 5.4vw, 72px); }
.hero .lead { font-size: 18px; max-width: 610px; margin-bottom: 24px; }
.hero-ctas { margin-bottom: 26px; }
.hero-ctas .btn { font-size: 14px; padding: 16px 22px; }
.hero-trust > div { padding-right: 20px; margin-right: 20px; }
.hero-trust .lbl, .mc-foot, .mc-meta, .mc-p-role { color: var(--muted); }
.promise-note { color: var(--muted); font-size: 12px; line-height: 1.65; margin-top: 16px; max-width: 600px; }
.mc-foot { flex-wrap: wrap; gap: 12px; }
.mc-foot a, .inline-link { color: var(--accent-3); text-decoration: underline; text-underline-offset: 4px; }
#dossier-candidat, #evaluation { scroll-margin-top: 110px; }
.evidence-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 32px; align-items: start; }
.dossier-card { border: 1px solid var(--border); border-radius: 24px; padding: clamp(24px, 3vw, 40px); background: var(--surface); }
.dossier-top { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.dossier-top .eyebrow { margin: 0; }
.example-label { color: var(--accent-3); font-size: 12px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 100px; }
.dossier-card h3, .evidence-aside h3 { font-size: clamp(23px, 2.5vw, 30px); letter-spacing: -.025em; line-height: 1.25; }
.evidence-caption { font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 16px; }
.dossier-fields { margin: 26px 0 0; }
.dossier-fields > div { border-top: 1px solid var(--border); padding: 18px 0; }
.dossier-fields > div:last-child { padding-bottom: 0; }
.dossier-fields dt { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.dossier-fields dd { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.evidence-aside { padding: 28px 12px; }
.evidence-list { list-style: none; padding: 0; margin: 30px 0; counter-reset: evidence; }
.evidence-list li { counter-increment: evidence; position: relative; padding: 0 0 26px 46px; }
.evidence-list li::before { content: '0' counter(evidence); position: absolute; left: 0; color: var(--accent-3); font-size: 14px; }
.evidence-list strong { font-size: 16px; }
.evidence-list p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-top: 8px; }
.evaluation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.evaluation-grid .evidence-observation { margin-top: 18px; }
.evaluation-grid strong { color: var(--text); }
@media (max-width: 900px) { .evidence-grid, .evaluation-grid { grid-template-columns: 1fr; } .evidence-aside { padding: 12px 4px; } }
@media (max-width: 600px) { .hero { padding-top: calc(var(--nav-h) + 28px); } .hero-trust > div { margin-right: 12px; padding-right: 8px; } .hero-trust .lbl { font-size: 11px; } .hero .h1 { font-size: clamp(38px, 10vw, 48px); } .hero .lead { font-size: 16px; } .mc-foot { font-size: 11px; } }

