/* =========================================================================
   PPF Global Consulting — Feuille de style principale
   Design system « Deep Signal » : fond spatial, accents cyan → violet.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Tokens
   ---------------------------------------------------------------------- */
:root {
  /* Fonds */
  --bg:            #05060b;
  --bg-elevated:   #0a0c14;
  --bg-veil:       rgba(5, 6, 11, 0.72);

  /* Surfaces & bordures */
  --surface:       rgba(255, 255, 255, 0.028);
  --surface-hi:    rgba(255, 255, 255, 0.055);
  --border:        rgba(255, 255, 255, 0.085);
  --border-hi:     rgba(255, 255, 255, 0.16);

  /* Texte */
  --text:          #e9ecf4;
  --text-soft:     #b3bacb;
  --text-muted:    #7c8497;

  /* Accents */
  --cyan:          #22d3ee;
  --violet:        #8b5cf6;
  --emerald:       #34d399;
  --amber:         #fbbf24;
  --brand-grad:    linear-gradient(100deg, #22d3ee 0%, #6366f1 52%, #a855f7 100%);

  /* Typo */
  --font-display:  'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:     'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Rythme */
  --wrap:          1200px;
  --wrap-narrow:   820px;
  --gutter:        clamp(1.25rem, 4vw, 2.5rem);
  --section-y:     clamp(5rem, 11vw, 9.5rem);

  /* Formes */
  --r-sm:          10px;
  --r-md:          16px;
  --r-lg:          24px;
  --r-xl:          32px;
  --r-pill:        999px;

  /* Mouvement */
  --ease:          cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);

  /* Ombres */
  --shadow-md:     0 18px 50px -22px rgba(0, 0, 0, 0.9);
  --shadow-lg:     0 40px 90px -40px rgba(0, 0, 0, 1);
  --glow-cyan:     0 0 60px -12px rgba(34, 211, 238, 0.55);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.68;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(139, 92, 246, 0.4); color: #fff; }

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

/* Barre de défilement */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--r-pill);
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.22); }

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 999;
  padding: 0.75rem 1.5rem;
  background: var(--cyan);
  color: #04121a;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* -------------------------------------------------------------------------
   3. Utilitaires de mise en page
   ---------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }

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

/* Trait de séparation lumineux */
.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--border-hi) 18%, var(--border-hi) 82%, transparent);
}

/* -------------------------------------------------------------------------
   4. Typographie éditoriale
   ---------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section-head { max-width: 44rem; margin-bottom: clamp(2.75rem, 6vw, 4.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }

h2.title, .title {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
}
h3.title-sm, .title-sm {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  letter-spacing: -0.015em;
}

.lede {
  margin-top: 1.35rem;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.72;
  color: var(--text-soft);
}

.grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* -------------------------------------------------------------------------
   5. Boutons
   ---------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--surface-hi);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.7rem;
  border: 1px solid var(--border-hi);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-out), border-color 0.3s var(--ease), box-shadow 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.3); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; transition: transform 0.35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  border-color: transparent;
  background: var(--brand-grad);
  color: #04070f;
  font-weight: 700;
  box-shadow: 0 12px 40px -14px rgba(99, 102, 241, 0.85);
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, #67e8f9, #818cf8 52%, #c084fc);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.btn--primary:hover { box-shadow: 0 18px 55px -14px rgba(139, 92, 246, 0.95); }
.btn--primary:hover::after { opacity: 1; }

.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--surface-hi); }

.btn--lg { padding: 1.05rem 2.1rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* Lien fléché discret */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap 0.3s var(--ease-out);
}
.link-arrow:hover { gap: 0.8rem; }

/* -------------------------------------------------------------------------
   6. Décor de fond global
   ---------------------------------------------------------------------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.backdrop__grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 120% 75% at 50% 0%, #000 12%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 120% 75% at 50% 0%, #000 12%, transparent 78%);
}
.backdrop__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  will-change: transform;
}
.backdrop__aurora--a {
  width: 46vw; height: 46vw;
  min-width: 380px; min-height: 380px;
  top: -14vw; left: -8vw;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.42), transparent 66%);
  animation: drift-a 26s var(--ease) infinite alternate;
}
.backdrop__aurora--b {
  width: 42vw; height: 42vw;
  min-width: 340px; min-height: 340px;
  top: -6vw; right: -10vw;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 66%);
  animation: drift-b 32s var(--ease) infinite alternate;
}
.backdrop__noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift-a {
  to { transform: translate3d(9vw, 7vh, 0) scale(1.16); }
}
@keyframes drift-b {
  to { transform: translate3d(-8vw, 10vh, 0) scale(1.1); }
}

/* -------------------------------------------------------------------------
   7. En-tête / navigation
   ---------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: var(--bg-veil);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
  white-space: nowrap;
}
.brand__mark {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 9px;
  transition: transform 0.5s var(--ease-out);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__name b { font-weight: 700; }
.brand__name span { color: var(--text-muted); font-weight: 500; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  position: relative;
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav__link:hover { color: var(--text); background: var(--surface-hi); }
.nav__link.is-active { color: var(--text); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-grad);
}

.nav__actions { display: flex; align-items: center; gap: 0.75rem; }

/* Sélecteur de langue */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
}
.lang-switch__opt {
  padding: 0.34rem 0.7rem;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.lang-switch__opt:hover { color: var(--text); }
.lang-switch__opt.is-active {
  color: var(--text);
  background: var(--surface-hi);
  box-shadow: inset 0 0 0 1px var(--border-hi);
}

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: var(--surface-hi);
  border: 1px solid var(--border);
  border-radius: 11px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.2s linear;
}
.nav__toggle span + span { margin-top: 4.5px; }
.nav__toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Panneau mobile */
.nav__drawer {
  position: fixed;
  inset: 76px 0 auto;
  z-index: 89;
  padding: 1.5rem var(--gutter) 2.25rem;
  background: rgba(6, 8, 15, 0.97);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 0.3rem;
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s var(--ease-out), opacity 0.3s var(--ease), visibility 0.3s;
}
.nav__drawer.is-open { transform: none; opacity: 1; visibility: visible; }
.nav__drawer > a {
  padding: 0.9rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.nav__drawer .btn { margin-top: 1.4rem; }
.nav__drawer .lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}
.nav__drawer .lang-row > span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------
   8. Hero
   ---------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: center;
  padding-block: clamp(8rem, 16vw, 11rem) clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
#constellation {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}
.hero__inner { position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.42rem 0.5rem 0.42rem 0.45rem;
  border: 1px solid var(--border-hi);
  border-radius: var(--r-pill);
  background: var(--surface);
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 2rem;
}
.hero__badge b {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-pill);
  background: rgba(52, 211, 153, 0.13);
  color: var(--emerald);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pulse-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero__title {
  max-width: 17ch;
  font-size: clamp(2.7rem, 7.2vw, 5.35rem);
  font-weight: 600;
  line-height: 0.99;
  letter-spacing: -0.04em;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block;
  transform: translateY(105%);
  animation: rise 1s var(--ease-out) forwards;
}
.hero__title .line:nth-child(1) > span { animation-delay: 0.05s; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.16s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.27s; }
@keyframes rise { to { transform: none; } }

.hero__lede {
  max-width: 56ch;
  margin-top: 1.9rem;
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.68;
  color: var(--text-soft);
}
.hero__lede strong { color: var(--text); font-weight: 600; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.6rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.9rem;
  margin-top: 2.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.hero__meta li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}
.hero__meta svg { color: var(--cyan); flex: none; }
.hero__meta ul { display: contents; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero__scroll i {
  display: block;
  width: 1px; height: 42px;
  background: linear-gradient(var(--cyan), transparent);
  animation: scroll-hint 2.2s var(--ease) infinite;
}
@keyframes scroll-hint {
  0%, 100% { opacity: 0.25; transform: scaleY(0.5); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* -------------------------------------------------------------------------
   9. Bandeau défilant (domaines d'intervention)
   ---------------------------------------------------------------------- */
.marquee {
  position: relative;
  padding-block: 1.6rem;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.014);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 3.2rem;
  animation: slide 44s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 3.2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  white-space: nowrap;
}
.marquee__item::after {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.55;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* -------------------------------------------------------------------------
   10. Cartes génériques + effet projecteur
   ---------------------------------------------------------------------- */
.card {
  position: relative;
  padding: clamp(1.6rem, 2.6vw, 2.3rem);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease-out), background 0.4s var(--ease);
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.07), transparent 62%);
  transition: opacity 0.4s var(--ease);
}
.card:hover { border-color: var(--border-hi); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }

/* -------------------------------------------------------------------------
   11. Piliers de service
   ---------------------------------------------------------------------- */
.pillars {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.pillar {
  --hue: var(--cyan);
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 2.6vw, 2.4rem);
}
.pillar::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hue), transparent);
  opacity: 0.5;
  transition: opacity 0.4s var(--ease);
}
.pillar:hover::after { opacity: 1; }

.pillar__num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}
.pillar__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  margin: 1.4rem 0 1.5rem;
  border: 1px solid color-mix(in srgb, var(--hue) 34%, transparent);
  border-radius: 15px;
  background: color-mix(in srgb, var(--hue) 11%, transparent);
  color: var(--hue);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease);
}
.pillar:hover .pillar__icon {
  transform: translateY(-3px);
  box-shadow: 0 0 34px -8px color-mix(in srgb, var(--hue) 70%, transparent);
}
.pillar h3 { font-size: 1.35rem; }
.pillar > p {
  margin-top: 0.95rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.pillar__list {
  margin: 1.6rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  display: grid;
  gap: 0.7rem;
}
.pillar__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.885rem;
  color: var(--text-soft);
}
.pillar__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--hue);
  opacity: 0.75;
  transform: rotate(45deg);
}
.pillar__foot { margin-top: auto; padding-top: 1.8rem; }
.pillar__foot .link-arrow { color: var(--hue); }

/* -------------------------------------------------------------------------
   12. Chiffres / repères
   ---------------------------------------------------------------------- */
.stats {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--border);
  overflow: hidden;
}
.stat {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--bg-elevated);
  transition: background 0.4s var(--ease);
}
.stat:hover { background: #0e1119; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.035em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  margin-top: 0.85rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* -------------------------------------------------------------------------
   13. Méthode (timeline)
   ---------------------------------------------------------------------- */
.method { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); grid-template-columns: 1fr; }
@media (min-width: 940px) {
  .method { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  .method__intro { position: sticky; top: 7.5rem; }
}

.steps { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding-bottom: 2.6rem;
}
.step:last-child { padding-bottom: 0; }
.step__rail {
  position: relative;
  display: flex;
  justify-content: center;
  width: 46px;
}
.step__dot {
  position: relative;
  z-index: 1;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-hi);
  border-radius: 50%;
  background: var(--bg-elevated);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-soft);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.step:not(:last-child) .step__rail::after {
  content: '';
  position: absolute;
  top: 46px; bottom: -2.6rem;
  width: 1px;
  background: linear-gradient(var(--border-hi), transparent);
}
.step.is-visible .step__dot {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 26px -6px rgba(34, 211, 238, 0.6);
}
.step__body { padding-top: 0.55rem; }
.step h3 { font-size: 1.18rem; }
.step p { margin-top: 0.6rem; font-size: 0.93rem; color: var(--text-soft); }
.step__tag {
  display: inline-block;
  margin-top: 0.95rem;
  padding: 0.22rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* -------------------------------------------------------------------------
   14. Missions types (bento)
   ---------------------------------------------------------------------- */
.bento {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento > :nth-child(1) { grid-column: span 3; }
  .bento > :nth-child(2) { grid-column: span 3; }
  .bento > :nth-child(3) { grid-column: span 2; }
  .bento > :nth-child(4) { grid-column: span 2; }
  .bento > :nth-child(5) { grid-column: span 2; }
}
.usecase h3 { font-size: 1.1rem; }
.usecase__ctx {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.9rem;
  display: block;
}
.usecase p { margin-top: 0.8rem; font-size: 0.9rem; color: var(--text-soft); }
.usecase__out {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--border);
  font-size: 0.85rem;
  color: var(--text);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.usecase__out svg { color: var(--emerald); flex: none; margin-top: 0.22em; }

/* -------------------------------------------------------------------------
   15. Stack technique
   ---------------------------------------------------------------------- */
.stack-groups {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.stack-group h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.chip {
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 0.82rem;
  color: var(--text-soft);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.chip:hover {
  color: var(--text);
  border-color: var(--border-hi);
  background: var(--surface-hi);
}

/* -------------------------------------------------------------------------
   16. Différenciateurs
   ---------------------------------------------------------------------- */
.why {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
}
.why-card { padding: clamp(1.5rem, 2.4vw, 2rem); }
.why-card__icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface-hi);
  color: var(--cyan);
}
.why-card h3 { font-size: 1.05rem; }
.why-card p { margin-top: 0.65rem; font-size: 0.89rem; color: var(--text-soft); }

/* -------------------------------------------------------------------------
   17. FAQ
   ---------------------------------------------------------------------- */
.faq { display: grid; gap: 0.75rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.faq-item[open] { border-color: var(--border-hi); background: var(--surface-hi); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: none;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.35s var(--ease-out), border-color 0.3s var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(-135deg) translate(-3px, -3px);
  border-color: var(--cyan);
}
.faq-item__body {
  padding: 0 1.5rem 1.45rem;
  font-size: 0.93rem;
  color: var(--text-soft);
  max-width: 68ch;
}

/* -------------------------------------------------------------------------
   18. Contact
   ---------------------------------------------------------------------- */
.contact {
  position: relative;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-xl);
  background:
    radial-gradient(90% 130% at 8% 0%, rgba(99, 102, 241, 0.16), transparent 62%),
    radial-gradient(70% 110% at 100% 100%, rgba(34, 211, 238, 0.12), transparent 60%),
    var(--bg-elevated);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
@media (min-width: 900px) {
  .contact { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}
.contact__aside h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.contact__points { margin: 2rem 0 0; padding: 0; list-style: none; display: grid; gap: 1.1rem; }
.contact__points li {
  display: flex;
  gap: 0.85rem;
  font-size: 0.91rem;
  color: var(--text-soft);
}
.contact__points svg { color: var(--cyan); flex: none; margin-top: 0.2em; }
.contact__direct {
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.45rem;
}
.contact__direct span {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact__direct a {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s var(--ease);
  word-break: break-word;
}
.contact__direct a:hover { color: var(--cyan); }

/* Formulaire */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.5rem; }
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-soft);
}
.field label .req { color: var(--cyan); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-size: 0.93rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%237c8497' stroke-width='2'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}
.field select option { background: #0a0c14; color: var(--text); }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #5c6376; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: rgba(34, 211, 238, 0.55);
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12);
}
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: rgba(248, 113, 113, 0.65); }
.field__error {
  display: none;
  font-size: 0.78rem;
  color: #f87171;
}
.field.has-error .field__error { display: block; }

.form__consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.form__consent input {
  width: 17px; height: 17px;
  flex: none;
  margin-top: 0.15em;
  accent-color: var(--cyan);
  cursor: pointer;
}
.form__consent a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 2px; }

.form__note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
}
.form__status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
}
.form__status.is-shown { display: block; }
.form__status.is-ok {
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
}
.form__status.is-ko {
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.1);
  color: #fca5a5;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* -------------------------------------------------------------------------
   19. Pied de page
   ---------------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: clamp(4rem, 9vw, 7rem);
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.012);
}
.footer__top {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
@media (min-width: 860px) {
  .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
}
.footer__about { max-width: 34ch; }
.footer__about p {
  margin-top: 1.1rem;
  font-size: 0.87rem;
  color: var(--text-muted);
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.footer__col a {
  font-size: 0.88rem;
  color: var(--text-soft);
  transition: color 0.25s var(--ease);
}
.footer__col a:hover { color: var(--cyan); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__bottom a:hover { color: var(--text-soft); }

/* -------------------------------------------------------------------------
   20. Pages internes (légales)
   ---------------------------------------------------------------------- */
.page-hero {
  padding-block: clamp(8rem, 15vw, 11rem) clamp(2rem, 4vw, 3rem);
}
.prose { max-width: 72ch; }
.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.prose h3 { font-size: 1.05rem; margin-top: 1.9rem; }
.prose p, .prose li { color: var(--text-soft); font-size: 0.94rem; }
.prose p { margin-top: 1rem; }
.prose ul { margin-top: 1rem; padding-left: 1.15rem; display: grid; gap: 0.5rem; }
.prose li::marker { color: var(--cyan); }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }

/* -------------------------------------------------------------------------
   21. Révélation au défilement
   ---------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* -------------------------------------------------------------------------
   22. Responsive
   ---------------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav__drawer .btn { display: inline-flex; }
}
/* Sous 480 px, le nom complet ne tient plus à côté du sélecteur de langue
   et du bouton menu : on ne garde que le monogramme. */
@media (max-width: 480px) {
  .nav { gap: 0.75rem; }
  .brand__name span { display: none; }
}
@media (max-width: 620px) {
  .hero { min-height: auto; }
  .hero__scroll { display: none; }
  .btn { width: 100%; }
  .hero__cta { flex-direction: column; }
  .contact { padding: 1.5rem 1.25rem; }
}

/* -------------------------------------------------------------------------
   23. Préférences d'accessibilité
   ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  #constellation { display: none; }
}

@media print {
  .backdrop, .site-header, .hero__scroll, .marquee, #constellation { display: none !important; }
  body { background: #fff; color: #000; }
}
