/* ============================================================
   BM DATA — Design System
   Palette : #6677ff (periwinkle) → #2bd48f (vert lumineux)
   Inspirée du branding bmdata.fr — dark premium
   Police : Inter (system-ui fallback)
   ============================================================ */

/* ─── IMPORTS ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

/* ─── VARIABLES ─── */
:root {
  /* Couleurs principales — palette bmdata.fr */
  --color-navy:       #080b14;   /* fond ultra-dark premium */
  --color-navy-mid:   #0a0f1e;   /* surfaces sombres */
  --color-navy-light: #0f1a32;   /* relief */
  --color-gold:       #2bd48f;   /* vert lumineux signature bmdata.fr */
  --color-gold-light: #34d399;   /* vert clair */
  --color-gold-pale:  #d1fae5;   /* vert très pâle */
  --color-teal:       #1db99a;   /* teal transition bleu→vert */
  --color-blue:       #6677ff;   /* periwinkle blue signature bmdata.fr */
  --color-blue-light: #818cf8;   /* bleu clair */
  --color-blue-pale:  #eef2ff;   /* bleu très pâle */

  /* Neutres */
  --color-white:   #ffffff;
  --color-cream:   #fafaf9;
  --color-gray-50: #f8fafc;
  --color-gray-100:#f1f5f9;
  --color-gray-200:#e2e8f0;
  --color-gray-300:#cbd5e1;
  --color-gray-400:#94a3b8;
  --color-gray-500:#64748b;
  --color-gray-600:#475569;
  --color-gray-700:#334155;
  --color-gray-800:#1e293b;
  --color-gray-900:#0f172a;

  /* Sémantique */
  --color-success: #059669;
  --color-error:   #dc2626;
  --color-warning: #f59e0b;

  /* Typographie */
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  /* Espacements */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  /* Rayons */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Ombres */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.12);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.16);
  --shadow-gold: 0 4px 24px rgba(43,212,143,.30);
  --shadow-blue: 0 4px 24px rgba(102,119,255,.30);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --header-height: 72px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background-color: var(--color-white);
  color: var(--color-navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ─── SKIP LINK (ACCESSIBILITÉ) ─── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-blue);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 1rem; }

/* ─── CONTAINER ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.container--wide { max-width: var(--container-wide); }

/* ─── TYPOGRAPHIE ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-navy);
}
.font-serif { font-family: var(--font-serif); }

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { line-height: 1.75; color: var(--color-gray-600); }

.text-xs   { font-size: var(--text-xs); }
.text-sm   { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg   { font-size: var(--text-lg); }
.text-xl   { font-size: var(--text-xl); }
.text-2xl  { font-size: var(--text-2xl); }
.text-3xl  { font-size: var(--text-3xl); }
.text-4xl  { font-size: var(--text-4xl); }

.font-light   { font-weight: 300; }
.font-normal  { font-weight: 400; }
.font-medium  { font-weight: 500; }
.font-semibold{ font-weight: 600; }
.font-bold    { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

.text-white    { color: var(--color-white); }
.text-navy     { color: var(--color-navy); }
.text-gold     { color: var(--color-gold); }
.text-blue     { color: var(--color-blue); }
.text-muted    { color: var(--color-gray-500); }

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
}

/* ─── BOUTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  transition: all var(--transition-base);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--color-blue);
  color: var(--color-white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: #4f5fe8;
  transform: translateY(-1px);
  box-shadow: 0 6px 32px rgba(102,119,255,.42);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-white);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: #1db97a;
  transform: translateY(-1px);
  box-shadow: 0 6px 32px rgba(43,212,143,.40);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-gray-300);
}
.btn-outline:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
  background: var(--color-blue-pale);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.8);
}

.btn-ghost {
  background: transparent;
  color: var(--color-blue);
  padding: 0;
}
.btn-ghost:hover { text-decoration: underline; }

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--text-xs);
}
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: var(--text-base);
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ─── NAVIGATION ─── */

/* Ligne d'accent dégradée animée en haut du header */
.site-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    var(--color-blue) 0%,
    #818cf8 25%,
    var(--color-gold) 50%,
    var(--color-teal) 75%,
    var(--color-blue) 100%);
  background-size: 300% 100%;
  animation: accentBarShift 10s ease infinite;
  z-index: 1;
}
@keyframes accentBarShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1060;
  height: var(--header-height);
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,.055);
  transition: box-shadow .35s ease, border-color .35s ease, background .35s ease;
}
.site-header.scrolled {
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 4px 32px rgba(15,23,42,.1), 0 1px 8px rgba(15,23,42,.04);
  border-color: rgba(0,0,0,.08);
  background: rgba(255,255,255,.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-6);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.site-logo:hover { transform: scale(1.02); }
.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-gold));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: var(--text-sm);
  letter-spacing: -0.03em;
}
.logo-text {
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-navy);
  letter-spacing: -0.02em;
}
.logo-text span { color: var(--color-blue); }

/* Nav links — desktop */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 7px 15px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--color-gray-600);
  border-radius: var(--radius-md);
  transition: color .2s ease, background .2s ease;
  position: relative;
  white-space: nowrap;
  letter-spacing: .01em;
}

/* Underline animée du centre vers les bords */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-blue), #818cf8, var(--color-gold));
  border-radius: var(--radius-full);
  transition: left .26s cubic-bezier(.4,0,.2,1), right .26s cubic-bezier(.4,0,.2,1), opacity .2s ease;
  opacity: 0;
}
.nav-link:hover {
  color: var(--color-navy);
  background: rgba(99,102,241,.06);
}
.nav-link:hover::after {
  left: 15px;
  right: 15px;
  opacity: 1;
}
.nav-link.active {
  color: var(--color-navy);
  font-weight: 600;
  background: rgba(99,102,241,.08);
}
.nav-link.active:not(.nav-cta) {
  color: var(--color-blue);
  background: rgba(99,102,241,.1);
}
.nav-link.active::after {
  left: 15px;
  right: 15px;
  opacity: 1;
}
.nav-link.active:not(.nav-cta)::after {
  box-shadow: 0 0 8px rgba(99,102,241,.5);
}
/* Dot indicateur sur lien actif */
.nav-link.active:not(.nav-cta)::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 3px;
  background: var(--color-blue);
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(99,102,241,.7);
}

/* CTA — dégradé riche avec shimmer */
/* Pulsation douce sur le CTA desktop */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 2px 16px rgba(99,102,241,.32), 0 0 0 0 rgba(99,102,241,0); }
  55%       { box-shadow: 0 2px 20px rgba(99,102,241,.42), 0 0 0 7px rgba(99,102,241,0); }
}

.nav-link.nav-cta {
  background: linear-gradient(135deg, var(--color-blue) 0%, #818cf8 55%, #9b8cfc 100%);
  color: white;
  padding: 8px 22px;
  font-weight: 600;
  box-shadow: 0 2px 16px rgba(99,102,241,.32), 0 0 0 0 rgba(99,102,241,.25);
  transition: box-shadow .25s ease, transform .18s ease, filter .2s ease;
  overflow: hidden;
  animation: ctaPulse 3.5s ease-in-out 2s infinite;
}
.nav-link.nav-cta:hover { animation: none; }
/* Shimmer overlay sur le CTA */
.nav-link.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 25%, rgba(255,255,255,.22) 50%, transparent 75%);
  background-size: 200% 100%;
  background-position: 200% 0;
  transition: background-position .52s ease;
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover {
  color: white;
  box-shadow: 0 6px 28px rgba(99,102,241,.5), 0 0 0 4px rgba(99,102,241,.12);
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.nav-link.nav-cta:hover::before {
  background-position: -200% 0;
}
.nav-link.nav-cta.active {
  color: white;
  background: linear-gradient(135deg, var(--color-blue) 0%, #818cf8 55%, #9b8cfc 100%);
}

/* Actions desktop : hub + burger */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* Hub icon */
.nav-hub {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  color: var(--color-gray-500);
  border: 1.5px solid var(--color-gray-200);
  transition: color .22s ease, border-color .22s ease, background .22s ease, transform .18s ease, box-shadow .22s ease;
  position: relative;
  text-decoration: none;
}
.nav-hub svg { width: 18px; height: 18px; }
.nav-hub:hover {
  color: var(--color-blue);
  border-color: rgba(99,102,241,.35);
  background: rgba(99,102,241,.07);
  transform: translateY(-2px) rotate(4deg);
  box-shadow: 0 4px 18px rgba(99,102,241,.18);
}
/* Tooltip */
.nav-hub[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  bottom: auto;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--color-navy);
  color: white;
  font-size: .6875rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  letter-spacing: .02em;
  box-shadow: 0 4px 14px rgba(15,23,42,.2);
  z-index: 10;
}
.nav-hub[data-tooltip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 0 10px;
  transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.nav-toggle:hover {
  border-color: rgba(99,102,241,.35);
  background: rgba(99,102,241,.05);
  box-shadow: 0 2px 10px rgba(99,102,241,.1);
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-gray-700);
  border-radius: 2px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  transform-origin: center;
}
.nav-toggle span:nth-child(3) { width: 70%; }
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 100%; }

/* Backdrop mobile — opacity seul (pas de display:none pour garder la transition) */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.52);
  z-index: 1040;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile-only nav elements : cachés sur desktop */
.nav-mobile-divider,
.nav-mobile-hub { display: none; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 75% 25%, rgba(102,119,255,.22) 0%, transparent 60%),
    radial-gradient(ellipse 55% 55% at 18% 75%, rgba(43,212,143,.14) 0%, transparent 58%),
    radial-gradient(ellipse 40% 50% at 50% 100%, rgba(29,185,154,.08) 0%, transparent 55%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: var(--space-20) 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-5);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
}
.hero-title {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: rgba(255,255,255,.75);
  margin-bottom: var(--space-10);
  max-width: 600px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.65);
}
.hero-trust-item::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: rgba(5,150,105,.18);
  color: var(--color-gold-light);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── SECTIONS ─── */
.section {
  padding: var(--space-24) 0;
}
.section-sm { padding: var(--space-16) 0; }
.section-lg { padding: var(--space-32) 0; }

.section--light { background: var(--color-gray-50); }
.section--dark  { background: var(--color-navy); }
.section--navy  { background: var(--color-navy-mid); }
.section--cream { background: var(--color-cream); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-16);
}
.section-header .section-eyebrow { display: block; margin-bottom: var(--space-2); }
.section-header h2 { margin-bottom: var(--space-4); }
.section-header p   { font-size: var(--text-lg); color: var(--color-gray-500); }

.section--dark .section-header h2,
.section--dark h2 { color: var(--color-white); }
.section--dark p  { color: rgba(255,255,255,.65); }

/* ─── STATS BAND ─── */
.stats-band {
  background: var(--color-navy);
  padding: var(--space-16) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-8);
}
.stat-item {
  text-align: center;
  padding: var(--space-6);
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  display: block;
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-gold-light);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  font-weight: 500;
}

/* ─── CARDS ─── */
.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-100);
  overflow: hidden;
  transition: all var(--transition-base);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-blue-light);
}
.card-body { padding: var(--space-8); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  background: var(--color-blue-pale);
}
.card-icon svg { width: 24px; height: 24px; color: var(--color-blue); }
.card h3 { margin-bottom: var(--space-3); font-size: var(--text-xl); }
.card p  { color: var(--color-gray-500); font-size: var(--text-sm); line-height: 1.7; }

/* Service card */
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-100);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
}
.service-card:hover {
  border-color: var(--color-blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.service-number {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-size: var(--text-xs);
  font-weight: 800;
  color: var(--color-gray-200);
  letter-spacing: 0.05em;
}
.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-blue-pale), #dbeafe);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}
.service-icon svg { width: 28px; height: 28px; color: var(--color-blue); }
.service-card h3 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.service-card .subtitle {
  font-size: var(--text-sm);
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.service-card p { font-size: var(--text-sm); margin-bottom: var(--space-5); }

/* ─── REALISATION CARD ─── */
.realisation-card {
  position: relative;
  background: var(--color-white);
  border-radius: 14px;
  border: 1px solid var(--color-gray-100);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 280ms cubic-bezier(.22,1,.36,1),
    box-shadow 280ms ease,
    border-color 280ms ease;
}

.realisation-card:hover {
  transform: translateY(-4px);
  border-color: rgba(102,119,255,.16);
  box-shadow:
    0 2px 4px rgba(0,0,0,.03),
    0 12px 32px rgba(0,0,0,.08),
    0 0 0 1px rgba(102,119,255,.08);
}

/* ── Zone visuelle ── */
.rc-visual {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(140deg, #0c1526 0%, #162038 55%, #0a1830 100%);
  flex-shrink: 0;
}
.rc-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(.22,1,.36,1);
  display: block;
}
.realisation-card:hover .rc-visual img { transform: scale(1.04); }

.rc-visual__bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.rc-visual__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(102,119,255,.10) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 55%, rgba(43,212,143,.05) 0%, transparent 55%);
  pointer-events: none;
}
.rc-visual__icon {
  color: rgba(255,255,255,.15);
  width: 48px;
  height: 48px;
  position: relative;
  z-index: 1;
  transition: color 280ms ease;
}
.realisation-card:hover .rc-visual__icon {
  color: rgba(255,255,255,.22);
}

/* ── Badge "Projet phare" ── */
.rc-featured-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.8);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}

/* ── Corps ── */
.rc-body {
  padding: 1.375rem 1.5rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.rc-eyebrow {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin: 0;
  opacity: .85;
}
.rc-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0;
}
.rc-desc {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* ── Outils ── */
.rc-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 0.25rem;
}
.rc-tool {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-gray-500);
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-100);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* ── CTA ── */
.rc-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.5rem;
  border-top: 1px solid var(--color-gray-100);
  text-decoration: none;
  transition: background 250ms ease, border-color 250ms ease;
}
.realisation-card:hover .rc-cta {
  background: rgba(102,119,255,.025);
  border-color: rgba(102,119,255,.1);
}
.rc-cta__label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-gray-300);
}
.rc-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-gray-500);
  transition: color 220ms ease;
}
.rc-cta__link svg {
  transition: transform 250ms cubic-bezier(.22,1,.36,1);
}
.realisation-card:hover .rc-cta__link {
  color: var(--color-navy);
}
.realisation-card:hover .rc-cta__link svg {
  transform: translateX(4px);
}

/* Testimonial card */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-gray-100);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 6rem;
  color: var(--color-blue-pale);
  line-height: .8;
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-5);
}
.testimonial-stars span { color: var(--color-gold); font-size: var(--text-sm); }
.testimonial-quote {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-gray-700);
  font-style: italic;
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: var(--space-3); }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-navy);
}
.testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-gray-400);
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--color-gray-100);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) 0;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-navy);
  text-align: left;
  cursor: pointer;
  gap: var(--space-4);
  background: none;
  border: none;
  transition: color var(--transition-fast);
}
.faq-question:hover { color: var(--color-blue); }
.faq-chevron {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
}
.faq-chevron svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-base);
}
.faq-item.open .faq-chevron {
  background: var(--color-blue);
  color: white;
}
.faq-item.open .faq-chevron svg { transform: rotate(180deg); }
.faq-answer {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding-bottom: 0;
  color: var(--color-gray-600);
  line-height: 1.75;
  max-width: 780px;
  transition: max-height 0.42s cubic-bezier(0.4,0,0.2,1), padding-bottom 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 600px;
  padding-bottom: var(--space-6);
}

/* ─── GRILLES ─── */
.grid { display: grid; gap: var(--space-8); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ─── PROBLÈMES SECTION ─── */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}
.problem-card {
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-100);
  background: var(--color-white);
  transition: all var(--transition-base);
}
.problem-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 4px 20px rgba(5,150,105,.12);
}
.problem-icon {
  width: 48px;
  height: 48px;
  background: var(--color-gold-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.problem-icon svg { width: 22px; height: 22px; color: var(--color-gold); }
.problem-card h3 { font-size: var(--text-base); margin-bottom: var(--space-2); }
.problem-card p  { font-size: var(--text-sm); color: var(--color-gray-500); }

/* ─── PROCESS / TIMELINE ─── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-8);
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(10% + 1rem);
  right: calc(10% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--color-blue) 0%, var(--color-gold) 100%);
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-light));
  color: white;
  font-weight: 800;
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  box-shadow: var(--shadow-blue);
}
.process-step h3 { font-size: var(--text-base); margin-bottom: var(--space-2); }
.process-step p { font-size: var(--text-sm); color: var(--color-gray-500); }

/* ─── CTA BANNERS ─── */
.cta-banner {
  background: var(--color-navy-mid);
  border-radius: var(--radius-2xl);
  padding: var(--space-16) var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 10% 110%, rgba(102,119,255,.22), transparent 60%),
    radial-gradient(ellipse 60% 80% at 90% 110%, rgba(43,212,143,.18), transparent 58%);
}
.cta-banner * { position: relative; z-index: 1; }
.cta-banner h2 { color: white; margin-bottom: var(--space-4); font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl)); }
.cta-banner p  { color: rgba(255,255,255,.7); font-size: var(--text-lg); max-width: 580px; margin: 0 auto var(--space-8); }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
}

/* CTA accent avec gradient bleu→vert */
.cta-banner--gold {
  background: linear-gradient(135deg, #2d1f6e 0%, var(--color-blue) 40%, var(--color-gold) 100%);
}
.cta-banner--gold::before {
  background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(255,255,255,.1), transparent 70%);
}

/* ─── BLOG ─── */
.post-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-gray-100);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.post-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-blue-pale), var(--color-blue-light));
}
.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.post-card:hover .post-card__image img { transform: scale(1.04); }
.post-card__body { padding: var(--space-6); flex: 1; display: flex; flex-direction: column; }
.post-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-gray-400);
}
.post-category {
  background: var(--color-blue-pale);
  color: var(--color-blue);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.post-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); line-height: 1.35; }
.post-card h3 a { color: var(--color-navy); }
.post-card h3 a:hover { color: var(--color-blue); }
.post-card p { font-size: var(--text-sm); color: var(--color-gray-500); flex: 1; }
.post-card__footer {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.post-read-time { font-size: var(--text-xs); color: var(--color-gray-400); }

/* ═══════════════════════════════════════════════
   ARTICLE / POST SINGLE — Design premium vivant
   ═══════════════════════════════════════════════ */

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Reading progress bar ── */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 9999;
  pointer-events: none;
}
.reading-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-blue) 0%, var(--color-teal) 50%, var(--color-gold) 100%);
  transition: width 80ms linear;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(43,212,143,.55);
  position: relative;
  overflow: hidden;
}
.reading-progress__bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.25) 50%, transparent 100%);
  transform: translateX(-100%);
  will-change: transform;
  animation: progress-shine 2.5s ease-in-out infinite;
}
@keyframes progress-shine {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

/* ── Post Hero ── */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.post-hero {
  position: relative;
  background: var(--color-navy);
  padding: calc(var(--header-height) + var(--space-16)) 0 0;
  overflow: hidden;
}

/* Noise + mesh */
.post-hero__noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px; pointer-events: none; z-index: 0;
}
.post-hero__mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(102,119,255,.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(43,212,143,.09) 0%, transparent 55%);
  pointer-events: none; z-index: 0;
}
.post-hero__inner { position: relative; z-index: 1; }

/* Hero entrance animations */
.post-hero__breadcrumb {
  color: rgba(255,255,255,.4);
  margin-bottom: var(--space-10);
  will-change: transform, opacity;
  animation: hero-fade-up .6s cubic-bezier(.22,1,.36,1) .1s both;
}
.post-hero__breadcrumb a { color: rgba(255,255,255,.5); }
.post-hero__breadcrumb a:hover { color: var(--color-gold); transition: color var(--transition-fast); }
.post-hero__breadcrumb .breadcrumb-sep { color: rgba(255,255,255,.25); }

.post-hero__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
  padding-bottom: var(--space-16);
}
.post-hero__body:has(.post-hero__right) { grid-template-columns: 1fr 440px; }

.post-hero__eyebrow {
  display: flex; align-items: center; gap: var(--space-3);
  margin-bottom: var(--space-6);
  will-change: transform, opacity;
  animation: hero-fade-up .6s cubic-bezier(.22,1,.36,1) .2s both;
}
.post-hero__category-pill {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: linear-gradient(135deg, rgba(43,212,143,.18), rgba(102,119,255,.18));
  border: 1px solid rgba(43,212,143,.30);
  color: var(--color-gold-light);
  font-size: var(--text-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .3rem .9rem; border-radius: var(--radius-full);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.post-hero__readtime {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: var(--text-xs); color: rgba(255,255,255,.45); font-weight: 500;
}

.post-hero__title {
  font-family: var(--font-serif);
  color: var(--color-white);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  line-height: 1.15; letter-spacing: -.02em;
  margin-bottom: var(--space-6); max-width: 700px;
  will-change: transform, opacity;
  animation: hero-fade-up .7s cubic-bezier(.22,1,.36,1) .3s both;
}

.post-hero__excerpt {
  font-size: var(--text-lg); line-height: 1.7;
  color: rgba(255,255,255,.58); max-width: 640px;
  margin-bottom: var(--space-10);
  will-change: transform, opacity;
  animation: hero-fade-up .7s cubic-bezier(.22,1,.36,1) .4s both;
}

.post-hero__footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-5);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,.08);
  will-change: transform, opacity;
  animation: hero-fade-up .6s cubic-bezier(.22,1,.36,1) .5s both;
}
.post-hero__author { display: flex; align-items: center; gap: var(--space-3); }
.post-hero__avatar {
  width: 44px; height: 44px; border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-blue), var(--color-gold));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .75rem; color: white; letter-spacing: .02em; flex-shrink: 0;
}
.post-hero__author-info { display: flex; flex-direction: column; gap: .15rem; }
.post-hero__author-name { font-size: var(--text-sm); font-weight: 600; color: rgba(255,255,255,.85); }
.post-hero__date { font-size: var(--text-xs); color: rgba(255,255,255,.38); }

.post-hero__quick-share { display: flex; align-items: center; gap: var(--space-2); }
.post-hero__quick-share-label {
  font-size: var(--text-xs); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(255,255,255,.35); margin-right: var(--space-1);
}
.post-qshare-btn {
  width: 34px; height: 34px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; color: white;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.post-qshare-btn:hover { transform: translateY(-2px); }
.post-qshare-btn--li  { background: #0a66c2; box-shadow: 0 2px 12px rgba(10,102,194,.35); }
.post-qshare-btn--li:hover { box-shadow: 0 4px 20px rgba(10,102,194,.5); }
.post-qshare-btn--x   { background: #000; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 2px 12px rgba(0,0,0,.35); }
.post-qshare-btn--x:hover { box-shadow: 0 4px 20px rgba(0,0,0,.5); }

.post-hero__right { position: relative; animation: hero-fade-up .8s cubic-bezier(.22,1,.36,1) .35s both; }
.post-hero__img-frame {
  position: relative; border-radius: var(--radius-2xl); overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
}
.post-hero__img-frame img { width: 100%; height: 340px; object-fit: cover; display: block; }
.post-hero__img-glow {
  position: absolute; inset: -30px;
  background: radial-gradient(ellipse at center, rgba(102,119,255,.22) 0%, transparent 70%);
  pointer-events: none; z-index: -1;
}

/* Wave */
.post-hero-wave { background: var(--color-navy); line-height: 0; margin-top: -1px; }
.post-hero-wave svg { width: 100%; height: 60px; display: block; }

/* ── Article layout ── */
.post-article { padding: var(--space-16) 0 var(--space-20); }

.post-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-12);
  align-items: start;
  max-width: 1060px;
  margin: 0 auto;
}

/* ── Sidebar sticky ── */
.post-sidebar__sticky {
  position: sticky;
  top: calc(var(--header-height) + var(--space-8));
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* ── Table des matières ── */
.post-toc--hidden { display: none; }

.post-toc {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}
.post-toc:hover { box-shadow: var(--shadow-md); }

.post-toc__header {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-xs); font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--color-gray-400);
  border-bottom: 1px solid var(--color-gray-100);
}

.post-toc__list {
  list-style: none;
  padding: var(--space-3) 0;
  margin: 0;
  max-height: 55vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gray-200) transparent;
}
.post-toc__list::-webkit-scrollbar { width: 4px; background: transparent; }
.post-toc__list::-webkit-scrollbar-track { background: transparent; }
.post-toc__list::-webkit-scrollbar-thumb { background: var(--color-gray-200); border-radius: 4px; }
.post-toc__list::-webkit-scrollbar-thumb:hover { background: var(--color-gray-300); }

.post-toc__item { position: relative; }
.post-toc__item--sub .post-toc__link { padding-left: var(--space-8); font-size: .8rem; color: var(--color-gray-400); }

.post-toc__link {
  display: block;
  padding: .4rem var(--space-5);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gray-500);
  line-height: 1.45;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
  position: relative;
}
.post-toc__link:hover {
  color: var(--color-blue);
  background: var(--color-blue-pale);
  border-left-color: rgba(102,119,255,.4);
}
.post-toc__link.is-active {
  color: var(--color-blue);
  font-weight: 700;
  border-left-color: var(--color-blue);
  background: linear-gradient(90deg, rgba(102,119,255,.07), transparent);
}

/* ── Sidebar share ── */
.post-sidebar-share {
  padding: var(--space-4) var(--space-5);
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-xl);
}
.post-sidebar-share__label {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--color-gray-400);
  margin-bottom: var(--space-3);
}
.post-sidebar-share__btns { display: flex; gap: var(--space-2); }
.post-sidebar-share__btn {
  flex: 1;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: white; border: none; cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}
.post-sidebar-share__btn:hover { transform: translateY(-2px); }
.post-sidebar-share__btn--li  { background: #0a66c2; box-shadow: 0 2px 10px rgba(10,102,194,.3); }
.post-sidebar-share__btn--li:hover { box-shadow: 0 4px 16px rgba(10,102,194,.45); }
.post-sidebar-share__btn--x   { background: #000; border: 1px solid var(--color-gray-200); color: #111; }
.post-sidebar-share__btn--x:hover { color: white; background: #111; }
.post-sidebar-share__btn--copy {
  background: var(--color-blue-pale);
  color: var(--color-blue);
  border: 1px solid rgba(102,119,255,.2);
}
.post-sidebar-share__btn--copy:hover { background: var(--color-blue); color: white; }
.post-sidebar-share__btn--copy.is-copied { background: var(--color-gold-pale); color: var(--color-teal); }

/* ── Post content ── */
.post-content {
  min-width: 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--color-gray-700);
}

/* Drop cap */
.post-content > p:first-of-type::first-letter {
  font-family: var(--font-serif); font-size: 3.4em; font-weight: 700;
  float: left; line-height: .85; margin-right: .08em; margin-top: .05em;
  background: linear-gradient(135deg, var(--color-blue), var(--color-gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* H2 — accent animé */
.post-content h2 {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--color-navy);
  margin: var(--space-14) 0 var(--space-5);
  letter-spacing: -.02em;
  line-height: 1.25;
  padding-bottom: var(--space-4);
  position: relative;
}
.post-content h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 100%;
  background: var(--color-gray-100);
}
/* Accent gradient animé via scaleX (GPU, pas de Layout) */
.post-content h2::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 42%;
  background: linear-gradient(90deg, var(--color-blue), var(--color-gold));
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  transition: transform .65s cubic-bezier(.22,1,.36,1);
  z-index: 1;
}
.post-content h2.is-visible::before {
  transform: scaleX(1);
}

.post-content h3 {
  font-size: var(--text-xl); font-weight: 700; color: var(--color-navy);
  margin: var(--space-10) 0 var(--space-4); line-height: 1.3;
}
.post-content h4 {
  font-size: var(--text-lg); font-weight: 700; color: var(--color-gray-700);
  margin: var(--space-8) 0 var(--space-3);
}
.post-content p { margin-bottom: var(--space-5); }
.post-content ul, .post-content ol { padding-left: var(--space-6); margin-bottom: var(--space-5); }
.post-content ul { list-style: none; padding-left: 0; }
.post-content ul li {
  position: relative; padding-left: var(--space-6);
  margin-bottom: var(--space-3); color: var(--color-gray-600);
}
.post-content ul li::before {
  content: '';
  position: absolute; left: 0; top: .65em;
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), var(--color-gold));
}
.post-content ol { list-style: decimal; }
.post-content ol li { margin-bottom: var(--space-3); color: var(--color-gray-600); }
.post-content strong { color: var(--color-navy); font-weight: 700; }
.post-content em { font-style: italic; }
.post-content a {
  color: var(--color-blue);
  text-decoration: underline;
  text-decoration-color: rgba(102,119,255,.3);
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}
.post-content a:hover { color: var(--color-teal); text-decoration-color: var(--color-teal); }

/* Blockquote */
.post-content blockquote {
  position: relative; border: none;
  margin: var(--space-10) 0;
  padding: var(--space-6) var(--space-8) var(--space-6) calc(var(--space-8) + 4px);
  background: linear-gradient(135deg, var(--color-blue-pale), rgba(209,250,229,.35));
  border-radius: var(--radius-xl);
  border-left: 3px solid var(--color-blue);
  font-size: var(--text-lg); font-style: italic;
  color: var(--color-navy); line-height: 1.65;
}
.post-content blockquote::before {
  content: '\201C';
  position: absolute; top: -8px; left: var(--space-6);
  font-size: 5rem; font-family: var(--font-serif);
  color: var(--color-blue); opacity: .2; line-height: 1;
}
.post-content blockquote p { margin: 0; }

/* Code */
.post-content code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: .875em; background: var(--color-gray-100); color: var(--color-blue);
  padding: .15em .45em; border-radius: var(--radius-sm); border: 1px solid var(--color-gray-200);
}
.post-content pre {
  background: var(--color-navy); border-radius: var(--radius-xl);
  padding: var(--space-6); margin: var(--space-8) 0; overflow-x: auto;
  border: 1px solid rgba(255,255,255,.06); box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.post-content pre code {
  background: none; border: none; padding: 0;
  color: rgba(255,255,255,.85); font-size: .875rem; line-height: 1.7;
}

/* Images */
.post-content img {
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 40px rgba(0,0,0,.1);
  margin: var(--space-8) 0; width: 100%;
  transition: box-shadow var(--transition-slow);
}
.post-content img:hover { box-shadow: 0 16px 60px rgba(0,0,0,.16); }

/* Tables */
.post-content table {
  width: 100%; border-collapse: collapse; margin: var(--space-8) 0;
  font-size: var(--text-sm);
}
.post-content th {
  background: var(--color-navy); color: white;
  padding: var(--space-3) var(--space-4); text-align: left;
  font-weight: 600; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .06em;
}
.post-content td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-gray-100);
  color: var(--color-gray-600);
}
.post-content tr:hover td { background: var(--color-gray-50); }

/* ── Tags ── */
.post-tags {
  display: flex; align-items: flex-start; gap: var(--space-4); flex-wrap: wrap;
  margin-top: var(--space-12); padding-top: var(--space-8); border-top: 1px solid var(--color-gray-100);
}
.post-tags__label {
  display: flex; align-items: center; gap: .3rem;
  font-size: var(--text-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--color-gray-400); white-space: nowrap; padding-top: .2rem;
}
.post-tags__list { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.post-tag {
  font-size: var(--text-xs); font-weight: 600;
  background: var(--color-gray-100); color: var(--color-gray-600);
  padding: .3rem .85rem; border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  cursor: default;
}
.post-tag:hover { background: var(--color-blue-pale); color: var(--color-blue); border-color: rgba(102,119,255,.2); }

/* ── Share CTA inline ── */
.post-share-cta {
  display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap;
  margin: var(--space-10) 0;
  padding: var(--space-6) var(--space-7);
  background: linear-gradient(135deg, rgba(102,119,255,.06) 0%, rgba(43,212,143,.06) 100%);
  border: 1px solid rgba(102,119,255,.15);
  border-radius: var(--radius-2xl); position: relative; overflow: hidden;
}
.post-share-cta::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(43,212,143,.07), transparent 70%);
  pointer-events: none;
}
.post-share-cta__icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-teal));
  border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center;
  color: white; flex-shrink: 0; box-shadow: var(--shadow-blue);
}
.post-share-cta__copy { flex: 1; min-width: 160px; }
.post-share-cta__copy strong { display: block; font-size: var(--text-base); color: var(--color-navy); margin-bottom: .2rem; }
.post-share-cta__copy p { font-size: var(--text-sm); color: var(--color-gray-500); margin: 0; }
.post-share-cta__actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.post-share-cta__btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.1rem; border-radius: var(--radius-full);
  font-size: var(--text-sm); font-weight: 600; border: none; cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none; white-space: nowrap;
}
.post-share-cta__btn:hover { transform: translateY(-2px); }
.post-share-cta__btn--li  { background: #0a66c2; color: white; box-shadow: 0 2px 12px rgba(10,102,194,.3); }
.post-share-cta__btn--li:hover { box-shadow: 0 4px 20px rgba(10,102,194,.45); }
.post-share-cta__btn--x   { background: var(--color-navy); color: white; box-shadow: 0 2px 12px rgba(8,11,20,.25); }
.post-share-cta__btn--x:hover { box-shadow: 0 4px 18px rgba(8,11,20,.4); }
.post-share-cta__btn--copy { background: var(--color-blue-pale); color: var(--color-blue); border: 1px solid rgba(102,119,255,.2); }
.post-share-cta__btn--copy:hover { background: var(--color-blue); color: white; }
.post-share-cta__btn--copy.is-copied { background: var(--color-gold-pale); color: var(--color-teal); }

/* ── Author card ── */
.post-author-card {
  display: flex; gap: var(--space-5); align-items: flex-start;
  margin-top: var(--space-10); padding: var(--space-7);
  background: var(--color-gray-50); border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-2xl); position: relative; overflow: hidden;
  transition: box-shadow var(--transition-base);
}
.post-author-card:hover { box-shadow: var(--shadow-lg); }
.post-author-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-gold));
}
.post-author-card__avatar {
  width: 64px; height: 64px; border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-blue), var(--color-gold));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .875rem; color: white; letter-spacing: .04em;
  flex-shrink: 0; box-shadow: var(--shadow-blue);
}
.post-author-card__body { flex: 1; min-width: 0; }
.post-author-card__header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--space-4); margin-bottom: var(--space-3); flex-wrap: wrap;
}
.post-author-card__name { font-size: var(--text-base); font-weight: 700; color: var(--color-navy); }
.post-author-card__role { font-size: var(--text-xs); color: var(--color-gray-400); margin-top: .15rem; font-weight: 500; }
.post-author-card__bio { font-size: var(--text-sm); color: var(--color-gray-600); line-height: 1.65; margin: 0; }
.post-author-card__cta { flex-shrink: 0; }

/* ── Post CTA wrap ── */
.post-cta-wrap { max-width: 900px; margin: var(--space-16) auto 0; }

/* ── Back to top ── */
.back-to-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-navy);
  border: 1px solid rgba(255,255,255,.08);
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  cursor: pointer;
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--transition-base), transform var(--transition-base), box-shadow var(--transition-fast);
  z-index: 900;
  pointer-events: none;
}
.back-to-top.is-visible {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--color-blue);
  box-shadow: 0 6px 24px rgba(102,119,255,.4);
  transform: translateY(-2px);
}

/* ─── FORMULAIRE CONTACT ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-16);
  align-items: start;
}
.contact-info-block h3 { font-size: var(--text-2xl); margin-bottom: var(--space-6); }
.contact-info-list { display: flex; flex-direction: column; gap: var(--space-5); }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--color-blue-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; color: var(--color-blue); }
.contact-info-item strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-navy);
  margin-bottom: 2px;
}
.contact-info-item span { font-size: var(--text-sm); color: var(--color-gray-500); }

.form-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-gray-100);
}
.form-group { margin-bottom: var(--space-5); }
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}
.form-label .required { color: var(--color-error); margin-left: 2px; }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-navy);
  background: var(--color-white);
  transition: all var(--transition-fast);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(102,119,255,.18);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-privacy {
  font-size: var(--text-xs);
  color: var(--color-gray-400);
  margin-top: var(--space-4);
  line-height: 1.6;
}
.form-privacy a { color: var(--color-blue); text-decoration: underline; }

/* ─── ABOUT ─── */
.about-intro-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-16);
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  border-radius: var(--radius-2xl);
  width: 100%;
  box-shadow: var(--shadow-xl);
}
.about-image-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.about-image-badge .badge-num {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-blue);
  line-height: 1;
}
.about-image-badge .badge-label {
  font-size: var(--text-xs);
  color: var(--color-gray-500);
  font-weight: 500;
}
.about-text p { margin-bottom: var(--space-5); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-6);
}
.skill-category {
  background: var(--color-gray-50);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid var(--color-gray-100);
}
.skill-category h4 {
  font-size: var(--text-sm);
  color: var(--color-blue);
  margin-bottom: var(--space-4);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.skill-tag {
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.75rem;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-gray-700);
}

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: grid;
  grid-template-columns: 90px 1px 1fr;
  gap: 0 var(--space-6);
  padding-bottom: var(--space-8);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year {
  text-align: right;
  font-weight: 700;
  color: var(--color-blue);
  font-size: var(--text-sm);
  padding-top: 2px;
}
.timeline-line {
  width: 1px;
  background: var(--color-gray-200);
  position: relative;
}
.timeline-line::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-blue);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--color-blue-light);
}
.timeline-content h4 { font-size: var(--text-base); margin-bottom: var(--space-1); }
.timeline-content p { font-size: var(--text-sm); color: var(--color-gray-500); }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,.75);
  padding: var(--space-20) 0 0;
  position: relative;
  overflow: hidden;
}

/* Ligne signature dégradée animée en haut */
.footer-top-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-blue) 20%,
    #818cf8 40%,
    var(--color-gold) 60%,
    var(--color-teal) 80%,
    transparent 100%);
  background-size: 300% 100%;
  animation: footerLineShift 12s ease infinite;
}
@keyframes footerLineShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Orbes lumineux d'ambiance */
.footer-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  opacity: .09;
}
.footer-glow--left  { background: var(--color-blue); top: -80px; left: -140px; }
.footer-glow--right { background: var(--color-gold); bottom: 40px; right: -140px; }

.footer-inner { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: var(--space-12);
  padding-bottom: var(--space-16);
}

/* ── Brand ── */
.footer-brand .logo-text { color: white; }

.footer-tagline {
  font-size: var(--text-base);
  font-weight: 700;
  margin-top: var(--space-5);
  background: linear-gradient(135deg, var(--color-blue-light) 0%, #a5b4fc 40%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.01em;
}

.footer-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.44);
  margin-top: var(--space-3);
  line-height: 1.8;
  max-width: 280px;
}

/* Badge disponibilité animé */
.footer-availability {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  background: rgba(43,212,143,.07);
  border: 1px solid rgba(43,212,143,.22);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: var(--text-xs);
  color: var(--color-gold);
  font-weight: 500;
}
.availability-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold);
  flex-shrink: 0;
  position: relative;
}
.availability-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-gold);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%   { transform: scale(1);   opacity: .6; }
  55%  { transform: scale(2.8); opacity: 0;  }
  100% { transform: scale(1);   opacity: .6; }
}

/* Contacts */
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.45);
  transition: color .2s ease, gap .2s ease;
}
.footer-contact-link:hover {
  color: white;
  gap: var(--space-3);
}
.footer-contact-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--color-blue-light);
  transition: color .2s ease;
}
.footer-contact-link:hover svg { color: var(--color-gold); }

/* Social */
.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255,255,255,.55);
  transition: background .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease, transform .18s ease;
}
.footer-social-link:hover {
  background: rgba(99,102,241,.18);
  border-color: rgba(99,102,241,.4);
  color: white;
  box-shadow: 0 4px 20px rgba(99,102,241,.25);
  transform: translateY(-2px);
}
.footer-social-link svg { width: 14px; height: 14px; }

/* ── Colonnes nav ── */
.footer-col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,.38);
  margin-bottom: var(--space-5);
  position: relative;
  padding-bottom: var(--space-3);
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 24px; height: 2px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-blue), var(--color-gold));
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--space-3); list-style: none; }
.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.48);
  display: inline-flex;
  align-items: center;
  gap: 0;
  transition: color .2s ease, gap .2s ease;
}
.footer-col a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-gold));
  border-radius: var(--radius-full);
  transition: width .2s ease, margin-right .2s ease;
  flex-shrink: 0;
}
.footer-col a:hover { color: white; gap: var(--space-2); }
.footer-col a:hover::before { width: 12px; margin-right: var(--space-1); }

/* Mini carte CTA dans le footer */
.footer-cta-card {
  margin-top: var(--space-8);
  background: linear-gradient(135deg, rgba(102,119,255,.12), rgba(43,212,143,.08));
  border: 1px solid rgba(102,119,255,.22);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.footer-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(102,119,255,.1), transparent 70%);
  pointer-events: none;
}
.footer-cta-card:hover {
  border-color: rgba(102,119,255,.38);
  box-shadow: 0 8px 32px rgba(102,119,255,.14);
}
.footer-cta-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.5);
  margin-bottom: var(--space-3);
  font-weight: 600;
  letter-spacing: .02em;
  position: relative;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  justify-content: center;
  position: relative;
}
.footer-cta-btn svg { width: 13px; height: 13px; transition: transform .18s ease; }
.footer-cta-btn:hover svg { transform: translateX(4px); }

/* ── Bottom bar ── */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  position: relative;
}
.footer-bottom::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 120px; height: 1px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-gold), transparent);
  border-radius: var(--radius-full);
}
.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.28);
}
.footer-dot  { font-size: var(--text-xs); color: rgba(255,255,255,.15); }
.footer-made {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.28);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* ─── PAGE HERO ─── */
.page-hero {
  background: var(--color-navy);
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 80% at 85% 40%, rgba(102,119,255,.15), transparent 55%),
    radial-gradient(ellipse 45% 60% at 10% 80%, rgba(43,212,143,.10), transparent 55%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: white; max-width: 700px; }
.page-hero p { color: rgba(255,255,255,.7); max-width: 580px; font-size: var(--text-xl); }

/* ─── FEATURED QUOTE ─── */
.featured-quote {
  background: var(--color-blue-pale);
  border-left: 4px solid var(--color-blue);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  padding: var(--space-8) var(--space-10);
}
.featured-quote blockquote {
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-navy);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}
.featured-quote cite {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  font-style: normal;
}

/* ─── MENTIONS LÉGALES / POLITIQUE ─── */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-6);
}
.legal-content h2 { margin-top: var(--space-10); margin-bottom: var(--space-4); font-size: var(--text-xl); }
.legal-content h3 { margin-top: var(--space-8); margin-bottom: var(--space-3); font-size: var(--text-lg); }
.legal-content p, .legal-content li { color: var(--color-gray-600); margin-bottom: var(--space-4); }
.legal-content ul { padding-left: var(--space-6); }

/* ─── 404 ─── */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--color-navy);
}
.error-code {
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-blue-light), var(--color-teal), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.error-page h1 { color: white; margin-bottom: var(--space-4); }
.error-page p { color: rgba(255,255,255,.65); margin-bottom: var(--space-8); font-size: var(--text-lg); }

/* ─── BADGES / TAGS ─── */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
}
.badge-blue { background: var(--color-blue-pale); color: var(--color-blue); }
.badge-gold { background: var(--color-gold-pale); color: var(--color-gold); }
.badge-gray { background: var(--color-gray-100); color: var(--color-gray-600); }

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.5);
  margin-bottom: var(--space-5);
}
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: white; }
.breadcrumb-sep { opacity: .4; }

/* ─── DIVIDERS ─── */
.divider { height: 1px; background: var(--color-gray-100); margin: var(--space-16) 0; }

/* ─── ANIMATIONS ─── */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* Décalages en cascade */
  .fade-up.delay-1 { transition-delay: 0.1s; }
  .fade-up.delay-2 { transition-delay: 0.2s; }
  .fade-up.delay-3 { transition-delay: 0.3s; }
  .fade-up.delay-4 { transition-delay: 0.4s; }
  .fade-up.delay-5 { transition-delay: 0.5s; }
}

/* ─── UTILITAIRES ─── */
.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;
}
.hidden { display: none !important; }
.mt-auto { margin-top: auto; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.w-full { width: 100%; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .contact-layout,
  .about-intro-layout {
    grid-template-columns: 1fr;
  }
  .about-image-wrap { max-width: 500px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  :root { --header-height: 64px; }
  .container { padding: 0 var(--space-4); }

  .site-nav { display: none; }
  .nav-hub   { display: none; }
  .nav-toggle { display: flex; }

  /* Drawer mobile — slide depuis la droite, thème dark premium */
  .site-nav.nav-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 86vw);
    background: var(--color-navy);
    padding: calc(var(--header-height) + var(--space-5)) var(--space-4) var(--space-8);
    gap: 3px;
    overflow-y: auto;
    z-index: 1050;
    box-shadow: -24px 0 80px rgba(0,0,0,.4), -1px 0 0 rgba(99,102,241,.15);
    animation: navSlideIn .28s cubic-bezier(.4,0,.2,1) forwards;
  }
  @keyframes navSlideIn {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
  }

  /* Label de section "Menu" */
  .site-nav.nav-open::before {
    content: 'Navigation';
    display: block;
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.25);
    padding: 0 var(--space-4) var(--space-1);
    margin-bottom: var(--space-2);
  }

  /* Animation cascade des items au slide-in */
  @keyframes drawerItemIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  .site-nav.nav-open .nav-link,
  .site-nav.nav-open .nav-mobile-hub {
    animation: drawerItemIn 0.24s ease both;
  }
  .site-nav.nav-open .nav-link:nth-child(1) { animation-delay: 0.08s; }
  .site-nav.nav-open .nav-link:nth-child(2) { animation-delay: 0.12s; }
  .site-nav.nav-open .nav-link:nth-child(3) { animation-delay: 0.16s; }
  .site-nav.nav-open .nav-link:nth-child(4) { animation-delay: 0.20s; }
  .site-nav.nav-open .nav-link:nth-child(5) { animation-delay: 0.24s; }
  .site-nav.nav-open .nav-link:nth-child(6) { animation-delay: 0.28s; }
  .site-nav.nav-open .nav-link:nth-child(7) { animation-delay: 0.32s; }
  .site-nav.nav-open .nav-mobile-hub        { animation-delay: 0.36s; }

  .site-nav.nav-open .nav-link {
    padding: 13px var(--space-4);
    font-size: .9375rem;
    border-radius: var(--radius-lg);
    color: rgba(255,255,255,.65);
    font-weight: 500;
    background: transparent;
    border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .18s ease;
  }
  /* Désactiver effets desktop dans le drawer */
  .site-nav.nav-open .nav-link::after,
  .site-nav.nav-open .nav-link::before { display: none; }

  .site-nav.nav-open .nav-link:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.08);
    color: white;
    transform: translateX(5px);
  }
  .site-nav.nav-open .nav-link.active {
    color: var(--color-blue-light);
    background: rgba(99,102,241,.12);
    border-color: rgba(99,102,241,.2);
    font-weight: 600;
  }

  /* CTA dans le drawer — pleine largeur, dégradé */
  .site-nav.nav-open .nav-link.nav-cta {
    text-align: center;
    justify-content: center;
    margin-top: var(--space-4);
    background: linear-gradient(135deg, var(--color-blue), #818cf8, #9b8cfc);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(99,102,241,.35);
    font-weight: 600;
    overflow: hidden;
    transform: none;
    filter: none;
  }
  .site-nav.nav-open .nav-link.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 26px rgba(99,102,241,.45);
    filter: brightness(1.07);
    border-color: transparent;
  }

  /* Séparateur + Hub dans le drawer */
  .nav-mobile-divider {
    display: block;
    height: 1px;
    background: rgba(255,255,255,.07);
    margin: var(--space-3) 0 var(--space-1);
  }
  .nav-mobile-hub {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 11px var(--space-4);
    border-radius: var(--radius-lg);
    color: rgba(255,255,255,.45);
    font-size: .875rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,.07);
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .18s ease;
  }
  .nav-mobile-hub svg { width: 16px; height: 16px; flex-shrink: 0; }
  .nav-mobile-hub-ext { margin-left: auto; opacity: .3; }
  .nav-mobile-hub:hover {
    color: var(--color-blue-light);
    border-color: rgba(99,102,241,.25);
    background: rgba(99,102,241,.08);
    transform: translateX(5px);
  }

  .hero-content { padding: var(--space-12) 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .section { padding: var(--space-16) 0; }
  .section-header { margin-bottom: var(--space-10); }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  .cta-banner { padding: var(--space-10) var(--space-6); }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-desc { max-width: 100%; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: var(--space-6); }

  .rc-metrics { flex-wrap: wrap; }
  .rc-metric { min-width: 28%; }

  .timeline-item { grid-template-columns: 70px 1px 1fr; }

  /* Post responsive — tablet */
  .post-hero__body:has(.post-hero__right) { grid-template-columns: 1fr; }
  .post-hero__right { display: none; }
  .post-hero__title { font-size: var(--text-3xl); }
  .post-hero__excerpt { font-size: var(--text-base); }

  /* Sidebar → masquée, le sommaire s'affiche en inline avant le contenu */
  .post-layout { grid-template-columns: 1fr; gap: var(--space-8); }
  .post-sidebar { display: none; }

  /* Sommaire mobile : version compacte inline */
  .post-toc--mobile {
    display: block;
    margin-bottom: var(--space-8);
  }

  .post-share-cta { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .post-author-card { flex-direction: column; }
  .post-author-card__header { flex-direction: column; align-items: flex-start; gap: var(--space-3); }

  /* Back to top — repositionner */
  .back-to-top { bottom: var(--space-6); right: var(--space-5); }
}

@media (max-width: 480px) {
  .hero-title { font-size: var(--text-3xl); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }

  /* Post responsive — mobile */
  .post-hero__footer { flex-direction: column; align-items: flex-start; }
  .post-hero__quick-share { display: none; }
  .post-hero__title { font-size: var(--text-2xl); }
  .post-share-cta__actions { flex-wrap: wrap; }
  .post-content { font-size: var(--text-base); }
}

/* ─── FOCUS VISIBLE ─── */
:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}

/* ─── PRINT ─── */
@media print {
  .site-header, .site-footer, .cta-banner, .hero-actions { display: none; }
  body { color: black; }
  a { color: black; text-decoration: underline; }
}

/* ============================================================
   EFFETS PREMIUM — Modern / Vivant / UI/UX
   ============================================================ */

/* ─── BARRE DE PROGRESSION SCROLL ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-blue), var(--color-teal), var(--color-gold));
  z-index: 9998;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  transition: width 60ms linear;
  box-shadow: 0 0 8px rgba(102,119,255,.5);
}

/* ─── HERO — ORBES ANIMÉS ─── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
  z-index: 0;
}
.hero-orb-1 {
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(102,119,255,.22) 0%, transparent 68%);
  top: -200px;
  right: -120px;
  animation: orbFloat1 16s ease-in-out infinite;
}
.hero-orb-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(43,212,143,.18) 0%, transparent 68%);
  bottom: -80px;
  left: 25%;
  animation: orbFloat2 11s ease-in-out infinite;
}
.hero-orb-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(29,185,154,.2) 0%, transparent 68%);
  top: 35%;
  left: -60px;
  animation: orbFloat3 13s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%       { transform: translate(-40px, 50px) scale(1.07); }
  70%       { transform: translate(20px, -20px) scale(0.96); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(50px, -35px) scale(0.93); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  45%       { transform: translate(25px, 30px) scale(1.08); }
}

/* ─── HERO — GRADIENT ANIMÉ SUR L'ACCENT ─── */
.hero-title .accent {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold), var(--color-teal), var(--color-gold-light));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ─── HERO — INDICATEUR SCROLL ─── */
.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  z-index: 1;
  opacity: 0;
  animation: scrollHintFade 1s ease 2s forwards;
}
.hero-scroll-hint span {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-scroll-hint .scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 11px;
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-scroll-hint .scroll-wheel {
  width: 3px;
  height: 6px;
  background: rgba(255,255,255,.5);
  border-radius: var(--radius-full);
  margin-top: 5px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%, 100% { transform: translateY(0); opacity: 1; }
  80%       { transform: translateY(8px); opacity: 0; }
}
@keyframes scrollHintFade {
  to { opacity: 1; }
}

/* ─── BOUTONS — SHIMMER AU HOVER ─── */
.btn-primary,
.btn-gold {
  position: relative;
  overflow: hidden;
}
.btn-primary::after,
.btn-gold::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -80%;
  width: 55%;
  height: 220%;
  background: linear-gradient(
    108deg,
    transparent 20%,
    rgba(255,255,255,.28) 50%,
    transparent 80%
  );
  transform: skewX(-22deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-primary:hover::after,
.btn-gold:hover::after {
  left: 130%;
}

/* ─── LOGO — HOVER ANIMÉ ─── */
.logo-mark {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.site-logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.12);
  box-shadow: 0 6px 24px rgba(102,119,255,.45);
}

/* ─── CARDS — GLOW AMÉLIORÉ ─── */
.service-card:hover {
  box-shadow: 0 20px 60px rgba(102,119,255,.14), 0 0 0 1px rgba(102,119,255,.25);
}
.problem-card:hover {
  box-shadow: 0 10px 32px rgba(43,212,143,.12), 0 0 0 1px rgba(43,212,143,.2);
}
/* realisation-card hover — géré dans le bloc principal */

/* ─── TESTIMONIAL — HOVER ─── */
.testimonial-card {
  transition: all var(--transition-base);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-blue-light);
}

/* ─── PROCESS — NUMÉROS PULSANTS ─── */
@media (prefers-reduced-motion: no-preference) {
  .process-number {
    animation: numberGlow 3s ease-in-out infinite;
  }
  @keyframes numberGlow {
    0%, 100% { box-shadow: 0 4px 24px rgba(102,119,255,.30); }
    50%       { box-shadow: 0 4px 24px rgba(102,119,255,.30), 0 0 0 10px rgba(102,119,255,.09); }
  }
}

/* ─── STATS — HIGHLIGHT AU COMPTAGE ─── */
.stat-value {
  display: block;
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-gold-light);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--space-2);
  transition: transform 0.2s ease;
}
.stat-value.counting {
  transform: scale(1.05);
}

/* ─── SECTION EYEBROW — POINT PULSANT ─── */
.section-eyebrow::before,
.hero-eyebrow::before {
  flex-shrink: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .section-eyebrow {
    position: relative;
  }
}

/* ─── CURSOR SPOTLIGHT (sections sombres) ─── */
.cursor-spotlight {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(102,119,255,.07) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}
.cursor-spotlight.active {
  opacity: 1;
}

/* ─── BADGE / PILL — ENTRÉE ANIMÉE ─── */
@media (prefers-reduced-motion: no-preference) {
  .hero-eyebrow {
    animation: slideInLeft 0.8s cubic-bezier(0.4,0,0.2,1) both;
  }
  .hero-title {
    animation: slideInUp 0.9s cubic-bezier(0.4,0,0.2,1) 0.15s both;
  }
  .hero-subtitle {
    animation: slideInUp 0.9s cubic-bezier(0.4,0,0.2,1) 0.28s both;
  }
  .hero-actions {
    animation: slideInUp 0.9s cubic-bezier(0.4,0,0.2,1) 0.42s both;
  }
  .hero-trust {
    animation: slideInUp 0.9s cubic-bezier(0.4,0,0.2,1) 0.55s both;
  }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── FOOTER — SOCIAL HOVER ─── */
.footer-social a {
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.footer-social a:hover {
  background: var(--color-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(102,119,255,.35);
}

/* ─── SECTION HEADER — UNDERLINE DÉCORATIF ─── */
.section-header h2 {
  position: relative;
  display: inline-block;
}

/* ─── FORM — FOCUS AMÉLIORÉ ─── */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(102,119,255,.14);
  transform: translateY(-1px);
}

/* ─── BREADCRUMB LINK ─── */
.breadcrumb a {
  transition: color var(--transition-fast);
}

/* realisation badge hover — supprimé, remplacé par rc-category-badge */

/* ─── POST CARD — CATEGORY BADGE HOVER ─── */
.post-card:hover .post-category {
  background: var(--color-blue);
  color: white;
  transition: all var(--transition-fast);
}

/* ─── SKILL TAG — HOVER ─── */
.skill-tag {
  transition: all var(--transition-fast);
}
.skill-tag:hover {
  border-color: var(--color-blue);
  color: var(--color-blue);
  background: var(--color-blue-pale);
}

/* ─── CTA BANNER — SHIMMER DE FOND ─── */
@media (prefers-reduced-motion: no-preference) {
  .cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      135deg,
      transparent 0%,
      rgba(255,255,255,.03) 50%,
      transparent 100%
    );
    background-size: 200% 200%;
    animation: ctaShimmer 6s ease infinite;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
  }
  @keyframes ctaShimmer {
    0%   { background-position: 200% 200%; }
    100% { background-position: -200% -200%; }
  }
}

/* ─── TIMELINE — DOT ANIMÉ ─── */
@media (prefers-reduced-motion: no-preference) {
  .timeline-line::before {
    animation: dotPulse 2.5s ease-in-out infinite;
  }
  @keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 2px var(--color-blue-light); }
    50%       { box-shadow: 0 0 0 5px rgba(102,119,255,.18); }
  }
}

/* ─── RESPONSIVE — Désactiver effets lourds sur mobile ─── */
@media (max-width: 768px) {
  .hero-orb-1 { width: 320px; height: 320px; }
  .hero-orb-2 { width: 240px; height: 240px; }
  .hero-orb-3 { display: none; }
  .cursor-spotlight { display: none; }
  .hero-scroll-hint { display: none; }
}


/* ════════════════════════════════════════════════════════════
   PORTFOLIO — CASE STUDY
   ────────────────────────────────────────────────────────────
   Couleurs : --color-blue (#6677ff) / --color-gold (#2bd48f)
   ════════════════════════════════════════════════════════════ */

/* ─── FILTRES RÉALISATIONS ─── */
.filter-btn.active { background: var(--color-blue); color: white; border-color: var(--color-blue); }

/* ─── NOT FOUND ─── */
.pc-notfound {
  padding: var(--space-32) 0;
  text-align: center;
}
.pc-notfound__msg {
  color: rgba(255,255,255,.5);
  margin-bottom: var(--space-6);
}

/* ─── HERO ─── */
.pc-hero {
  background: var(--color-navy);
  padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}
.pc-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pc-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .1;
}
.pc-hero__glow--blue {
  width: 600px; height: 600px;
  background: var(--color-blue);
  top: -200px; left: -150px;
}
.pc-hero__glow--green {
  width: 400px; height: 400px;
  background: var(--color-gold);
  bottom: -100px; right: -100px;
}
/* Grille de points subtile */
.pc-hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.pc-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

/* Breadcrumb */
.pc-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}
.pc-breadcrumb__link {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
  transition: color var(--transition-fast);
}
.pc-breadcrumb__link:hover { color: rgba(255,255,255,.8); }
.pc-breadcrumb__sep { font-size: var(--text-xs); color: rgba(255,255,255,.2); }
.pc-breadcrumb__current { font-size: var(--text-xs); color: rgba(255,255,255,.55); }

/* Badges */
.pc-hero__badges {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}
.pc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.pc-badge--sector {
  background: rgba(102,119,255,.12);
  border: 1px solid rgba(102,119,255,.3);
  color: var(--color-blue-light);
}
.pc-badge--category {
  background: rgba(43,212,143,.1);
  border: 1px solid rgba(43,212,143,.25);
  color: var(--color-gold);
}
.pc-badge--featured {
  background: linear-gradient(135deg, rgba(102,119,255,.2), rgba(43,212,143,.15));
  border: 1px solid rgba(255,255,255,.15);
  color: white;
}

/* Titre hero */
.pc-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

/* Chips outils */
.pc-hero__tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}
.pc-tool-chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

/* Divider décoratif bas du hero */
.pc-hero__divider {
  height: 1px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-gold), transparent);
  max-width: 300px;
}


/* ─── LAYOUT PRINCIPAL ─── */
.pc-layout {
  background: var(--color-navy-mid);
  padding: var(--space-16) 0 var(--space-20);
}
.pc-layout__inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-10);
  align-items: start;
}


/* ─── BLOCS CONTENU ─── */
.pc-block {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
  transition: border-color var(--transition-slow);
}
.pc-block:last-child { margin-bottom: 0; }
.pc-block:hover { border-color: rgba(255,255,255,.12); }

/* Entête de bloc */
.pc-block__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.pc-block__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pc-block__icon-wrap svg { width: 20px; height: 20px; }

/* Variantes couleur des icônes */
.pc-block__icon-wrap--challenge {
  background: rgba(102,119,255,.12);
  border: 1px solid rgba(102,119,255,.2);
  color: var(--color-blue-light);
}
.pc-block__icon-wrap--solution {
  background: rgba(43,212,143,.1);
  border: 1px solid rgba(43,212,143,.2);
  color: var(--color-gold);
}
.pc-block__icon-wrap--results {
  background: rgba(43,212,143,.1);
  border: 1px solid rgba(43,212,143,.2);
  color: var(--color-gold);
}

.pc-block__eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.3);
  margin-bottom: var(--space-1);
}
.pc-block__title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: white;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

/* Corps du bloc */
.pc-block__body { }
.pc-block__text {
  font-size: var(--text-base);
  color: rgba(255,255,255,.65);
  line-height: 1.8;
}

/* ─── ÉTAPES ─── */
.pc-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,.06);
}
.pc-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.pc-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-blue), var(--color-gold));
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.pc-step__text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.7);
  line-height: 1.7;
}

/* ─── RÉSULTATS ─── */
.pc-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.pc-result-card {
  background: linear-gradient(135deg, rgba(102,119,255,.08), rgba(43,212,143,.05));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.pc-result-card:hover {
  border-color: rgba(43,212,143,.2);
  transform: translateY(-2px);
}
.pc-result-card__value {
  font-size: var(--text-lg);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-blue-light), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.pc-result-card__label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.45);
  line-height: 1.4;
}

/* ─── CITATION ─── */
.pc-block--quote {
  background: linear-gradient(135deg, rgba(102,119,255,.08), rgba(43,212,143,.04));
  border-color: rgba(102,119,255,.2);
}
.pc-quote {
  position: relative;
  padding-left: var(--space-5);
}
.pc-quote__icon {
  width: 28px;
  height: 28px;
  color: var(--color-blue);
  opacity: .35;
  margin-bottom: var(--space-4);
}
.pc-quote__text {
  font-size: var(--text-lg);
  font-style: italic;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
}
.pc-quote__author {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.4);
}

/* ─── SIDEBAR ─── */
.pc-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.pc-card {
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  border: 1px solid rgba(255,255,255,.08);
}

/* Fiche projet */
.pc-card--info {
  background: rgba(255,255,255,.03);
}
.pc-card__title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.3);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.pc-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.pc-info-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
}
.pc-info-item dt {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,.35);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
  padding-top: 1px;
}
.pc-info-item dt svg { color: var(--color-blue-light); opacity: .6; }
.pc-info-item dd {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.75);
}
.pc-info-item--tools { grid-template-columns: auto 1fr; align-items: start; }
.pc-info-tools {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}
.pc-info-tool {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(102,119,255,.1);
  border: 1px solid rgba(102,119,255,.15);
  font-size: 0.7rem;
  color: var(--color-blue-light);
  font-weight: 500;
}

/* CTA card */
.pc-card--cta {
  background: linear-gradient(135deg, rgba(102,119,255,.12), rgba(43,212,143,.08));
  border-color: rgba(102,119,255,.2);
  position: relative;
  overflow: hidden;
}
.pc-card__cta-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  background: var(--color-blue);
  border-radius: 50%;
  filter: blur(60px);
  opacity: .12;
  top: -40px;
  right: -40px;
  pointer-events: none;
}
.pc-card__cta-eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  margin-bottom: var(--space-3);
  position: relative;
}
.pc-card__cta-text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: var(--space-5);
  position: relative;
}
.pc-card__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  margin-bottom: var(--space-3);
  position: relative;
}
.pc-card__cta-btn svg { transition: transform var(--transition-fast); }
.pc-card__cta-btn:hover svg { transform: translateX(3px); }
.pc-card__audit-link {
  display: block;
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255,255,255,.35);
  transition: color var(--transition-fast);
  position: relative;
}
.pc-card__audit-link:hover { color: rgba(255,255,255,.7); }

/* Lien retour */
.pc-back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.35);
  transition: color var(--transition-fast), gap var(--transition-fast);
}
.pc-back-link:hover { color: rgba(255,255,255,.7); gap: var(--space-3); }
.pc-back-mobile { display: none; margin-top: var(--space-8); }


/* ─── RESPONSIVE PORTFOLIO ─── */
@media (max-width: 1024px) {
  .pc-layout__inner {
    grid-template-columns: 1fr;
  }
  .pc-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    align-items: start;
  }
  .pc-back-desktop { display: none; }
  .pc-back-mobile { display: block; }
  .pc-sidebar .pc-back-link { display: none; }
}

@media (max-width: 768px) {
  .pc-hero {
    padding-top: calc(var(--header-height) + var(--space-8));
    padding-bottom: var(--space-10);
  }
  .pc-hero__title { font-size: 1.625rem; }
  .pc-block { padding: var(--space-6); }
  .pc-block__header { flex-direction: column; gap: var(--space-3); }
  .pc-results { grid-template-columns: 1fr; }
  .pc-sidebar { grid-template-columns: 1fr; }
  .pc-hero__glow--blue { width: 300px; height: 300px; }
  .pc-hero__glow--green { width: 200px; height: 200px; }
}
