/* ===========================================
   KDM ID — Styles globaux
   Charte groupe KDM : bleu marine (nom KDM) + les 4 pétales du trèfle
   bleu électrique (IT) · orange (OR) · violet (ID, identité de ce site) · turquoise
   =========================================== */

/* ---------- VARIABLES ---------- */
:root {
  --bg: #f4f6fb;            /* blanc cassé froid (fond global) */
  --bg-elev: #ffffff;       /* fond des cartes */
  --ink: #0b1b33;           /* marine très profond (texte) */
  --ink-soft: #16294a;
  --muted: #5a6680;
  --line: #dde3ef;
  --accent: #7c3aed;        /* violet KDM ID (pétale du logo) */
  --accent-dark: #6527d4;
  --lime: #3fd0c0;          /* turquoise clair KDM (emphase, surlignages ; nom de variable conservé) */
  --cta: #ff7a00;           /* orange KDM : boutons d'action */
  --cta-dark: #e86a00;
  --blue: #0a4bff;          /* bleu électrique KDM : liens, chiffres */
  --turq: #00b3a4;          /* turquoise KDM */
  --dark: #0f3460;           /* bleu marine KDM */
  --dark-soft: #163f73;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1240px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  --shadow-md: 0 10px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --t: 0.25s cubic-bezier(.2, .7, .2, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { padding: 0; margin: 0; list-style: none; }

/* ---------- CONTAINER ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.container--narrow { max-width: 880px; }

/* ---------- TYPO ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -0.01em; }
h4 { font-size: 1.3rem; letter-spacing: -0.01em; }
em { font-style: italic; color: var(--accent); }
strong { font-weight: 600; }
code {
  font-family: var(--font-mono);
  font-size: .9em;
  background: rgba(0,0,0,.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 20px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.section-tag {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}
.section-tag--light { color: rgba(255,255,255,.6); }

.section-title { margin-bottom: 18px; }
.section-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 48px;
  line-height: 1.55;
}
.section-dark .section-lead { color: rgba(255,255,255,.7); }

.big-text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
}
.big-text--light { color: #fff; }

/* Surlignages */
.hl {
  background: linear-gradient(180deg, transparent 60%, var(--lime) 60%);
  padding: 0 4px;
}
.hl-strike {
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  font-style: normal;
  color: var(--ink);
}

/* ---------- LOGO (SVG officiel KDM ID + signature « Identité Digitale ») ---------- */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: var(--ink);
}
.logo__img {
  height: 36px;
  width: auto;
  display: block;
}
.footer .logo__img { height: 44px; }

/* Signature sous le logo : ID = Identité Digitale.
   Décalée pour démarrer sous « KDM » (le texte commence à 89/76 de la hauteur du logo). */
.logo__tagline {
  display: block;
  margin-top: 3px;
  padding-left: calc(36px * 89 / 76);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .24em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}
.logo__tagline b { color: var(--accent); font-weight: 700; }
.footer .logo__tagline {
  padding-left: calc(44px * 89 / 76);
  margin-top: 5px;
  font-size: 10.5px;
  color: rgba(255,255,255,.6);
}
.footer .logo__tagline b { color: #a78bfa; }
.logo--light .logo__img { /* la version light a déjà le wordmark en blanc */ }

/* ---------- Motif récurrent : le trèfle KDM (symbole du logo) ---------- */
/* Watermark décoratif en arrière-plan */
.o-watermark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-image: url('/assets/images/logo-kdm-groupe-symbole.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.05;
}
.o-watermark--light {
  background-image: url('/assets/images/logo-kdm-groupe-symbole-negatif.svg');
  opacity: 0.04;
}
/* Tailles standards */
.o-watermark--xl { width: 540px; height: 540px; }
.o-watermark--lg { width: 320px; height: 320px; }
.o-watermark--md { width: 180px; height: 180px; }

/* Accent inline : un mini O à côté d'un titre */
.o-accent {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  background-image: url('/assets/images/logo-kdmid-symbole.svg');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: -0.08em;
  margin-right: 0.15em;
}
.o-accent--light {
  background-image: url('/assets/images/logo-kdmid-symbole-negatif.svg');
}

/* Le trèfle du groupe KDM dans le ticker (séparateur) */
.ticker__o {
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url('/assets/images/logo-kdm-groupe-symbole-negatif.svg');
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: -5px;
  flex-shrink: 0;
}

/* Le hero a besoin de position relative pour accueillir le watermark */
.hero { position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }

/* Le manifesto + cta-final / prefooter accueillent aussi un watermark */
.manifesto { position: relative; overflow: hidden; }
.manifesto > .container { position: relative; z-index: 1; }

.prefooter { position: relative; overflow: hidden; }
.prefooter > .container { position: relative; z-index: 1; }

.section-dark { position: relative; overflow: hidden; }
.section-dark > .container { position: relative; z-index: 1; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -0.005em;
  transition: transform var(--t), background var(--t), color var(--t), box-shadow var(--t), border-color var(--t);
  border: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--cta); color: #fff; }
.btn--primary:hover {
  background: var(--cta-dark);
  box-shadow: 0 8px 24px rgba(255,122,0,.35);
}

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.section-dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.section-dark .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--sm { padding: 10px 16px; font-size: .9rem; }
.btn--lg { padding: 17px 28px; font-size: 1.05rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  color: inherit;
  border-bottom: 2px solid currentColor;
  padding-bottom: 4px;
  transition: gap var(--t);
}
.link-arrow:hover { gap: 14px; }
.link-arrow--inline {
  border-bottom-width: 1px;
  padding-bottom: 2px;
  margin-left: 8px;
  color: var(--accent);
  font-size: .95rem;
}

/* ---------- HEADER ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244,246,251,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Bloc actions à droite du header : login + CTA */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .92rem;
  color: var(--muted);
  border-radius: 999px;
  transition: color var(--t), background var(--t);
}
.header__login:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, .04);
}
.mobile-nav__login {
  padding: 14px 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.nav { display: flex; gap: 6px; }
.nav__link {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  transition: background var(--t), color var(--t);
}
.nav__link:hover { background: var(--ink); color: #fff; }
.nav__link.is-active { background: var(--ink); color: #fff; }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--t), opacity var(--t);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 28px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-nav a {
  padding: 14px 4px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.mobile-nav__cta {
  margin-top: 12px;
  text-align: center;
  border: none;
  border-radius: 999px;
}

.header.is-open .mobile-nav { display: flex; }

/* ---------- HERO ---------- */
.hero { padding: 80px 0 120px; }
.hero__title {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.02;
  margin: 0 0 28px;
  max-width: 1100px;
}
.hero__lead {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 40px;
  line-height: 1.5;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 80px; }
.hero__proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.proof-item { display: flex; flex-direction: column; gap: 4px; }
.proof-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.proof-lbl { color: var(--muted); font-size: .95rem; }

/* ---------- TICKER ---------- */
.ticker {
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  padding: 18px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.ticker__track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: tick 50s linear infinite;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.ticker__track span { flex-shrink: 0; }
.ticker__sep { color: var(--accent); }
@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- ZERO EFFORT (section signature) ---------- */
.zero-effort {
  padding: 120px 0;
  background: var(--bg);
}
.zero-effort__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 56px;
}
.zero-effort__col {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.zero-effort__col h3 {
  font-size: 1.35rem;
  margin-bottom: 24px;
}
.zero-effort__col ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.zero-effort__col li {
  position: relative;
  padding-left: 32px;
  font-size: 1rem;
  line-height: 1.5;
}
.zero-effort__col--no { background: var(--bg-elev); }
.zero-effort__col--no li::before {
  content: "✗";
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}
.zero-effort__col--no li { color: var(--muted); }
.zero-effort__col--yes {
  background: var(--lime);
  border-color: var(--ink);
}
.zero-effort__col--yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
}
.zero-effort__quote {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-style: italic;
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.4;
}

/* ---------- MANIFESTO ---------- */
.manifesto { padding: 120px 0; }
.manifesto__body {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 20px;
  line-height: 1.6;
}

/* ---------- DARK SECTION (méthode) ---------- */
.section-dark {
  background: var(--dark);
  color: #fff;
  padding: 120px 0;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.section-dark .section-tag { color: rgba(255,255,255,.55); }
.section-dark em { color: var(--lime); }
.section-dark a { color: var(--lime); }
.section-dark .link-arrow { color: #fff; }
/* Chiffres sur fond foncé : bleu électrique clair de la charte KDM (lisible sur marine) */
.section-dark .step__num, .section-dark .explain__num, .section-dark .card__num,
.section-dark [class*="__num"] { color: #5b8cff; }

/* ---------- STEPS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 48px 0 56px;
}
.step {
  padding: 32px 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  transition: background var(--t), transform var(--t);
}
.step:hover {
  background: rgba(255,255,255,.07);
  transform: translateY(-3px);
}
.step__num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--blue);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1;
}
.step h3 { color: #fff; margin-bottom: 12px; }
.step p {
  color: rgba(255,255,255,.7);
  font-size: .98rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- IDENTITÉ DIGITALE (le « ID » de KDM ID) ---------- */
.identity { padding: 120px 0; background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.identity__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
}
.identity__head .section-title { margin-bottom: 0; }
.identity__head .section-lead { margin: 0; }
.identity .section-tag b { color: var(--accent); }
.identity__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.identity__item {
  position: relative;
  padding: 30px 28px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--c);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.identity__item::after { /* filet de couleur qui apparaît au survol */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.identity__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c); }
.identity__item:hover::after { transform: scaleX(1); }
.identity__icon { width: 44px; height: 44px; margin-bottom: 20px; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.identity__item:hover .identity__icon { transform: rotate(-12deg); }
.identity__item h3 { margin: 0 0 10px; color: var(--ink); font-size: 1.25rem; }
.identity__item p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.55; }
.identity__foot {
  margin: 48px 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--muted);
}
.identity__foot strong { color: var(--ink); }
@media (max-width: 920px) {
  .identity { padding: 88px 0; }
  .identity__head { grid-template-columns: 1fr; gap: 20px; }
  .identity__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .identity__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .identity__item, .identity__item::after, .identity__icon { transition: none; }
}

/* ---------- UNIVERS : galerie « du grunge à l'ultra-classe » ---------- */
.universes { padding: 120px 0; background: var(--ink); color: #fff; }
.universes__head { max-width: 760px; }
.universes .section-lead { color: rgba(255,255,255,.72); }
.universes__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.universe {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 0;
  background: #0f3460;
  isolation: isolate;
}
.universe img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s;
}
.universe::after { /* dégradé pour la légende */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(11,27,51,.55) 62%, rgba(11,27,51,.94) 100%);
  pointer-events: none;
}
.universe:hover img { transform: scale(1.05); }
.universe figcaption {
  position: absolute; left: 20px; right: 20px; bottom: 16px;
  z-index: 1;
  display: flex; flex-direction: column; gap: 2px;
}
.universe__style {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(11,27,51,.6);
}
.universe__metier {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
}
.universes__note {
  margin: 36px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.universes__note .link-arrow { font-size: 1rem; color: #fff; }
@media (max-width: 920px) {
  .universes { padding: 88px 0; }
  .universes__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .universes__grid, .universes__grid[data-count="6"] { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(150px, 30vw, 240px); }
}
@media (max-width: 560px) {
  .universes__grid, .universes__grid[data-count="6"] { grid-auto-rows: 210px; }
  .universes__grid[data-count="9"] .universe.is-first { grid-row: span 1; }
  .universes__grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .universe img { transition: none; }
  .universe:hover img { transform: none; }
}

/* ---------- VITRINE À FILTRES (pétales du trèfle KDM) ---------- */
.universes { position: relative; overflow: hidden; }
.universes__glow { /* halo coloré qui suit la catégorie active */
  position: absolute; width: 760px; height: 760px; right: -220px; top: -260px;
  border-radius: 50%; background: var(--glow, #0a4bff); opacity: .16; filter: blur(120px);
  transition: background .8s ease; pointer-events: none;
}
.showcase__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.showcase__chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.78);
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.showcase__chip:hover { border-color: var(--c); color: #fff; transform: translateY(-1px); }
.showcase__chip[aria-pressed="true"] { background: var(--c); border-color: var(--c); color: #fff; }
.showcase__chip[aria-pressed="true"] .trefle path { fill: #fff; }
.showcase__chip .trefle { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.showcase__chip[aria-pressed="true"] .trefle { transform: rotate(-20deg); }
.showcase__count { font-size: .78rem; opacity: .7; font-weight: 500; }
.universes__grid { margin-top: 28px; grid-auto-rows: clamp(150px, 13.5vw, 196px); }
/* Mise en page selon le nombre de visuels du filtre actif (pas de trou dans la grille) */
.universes__grid[data-count="6"] { grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(170px, 18vw, 260px); }
.universes__grid[data-count="9"] .universe.is-first { grid-column: span 2; grid-row: span 2; }
.universes__grid[data-count="9"] .universe.is-first .universe__style { font-size: 1.6rem; }
.universe.is-hidden { display: none; }
.universe.is-entering { animation: universe-in .55s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes universe-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.universe { outline: 1px solid transparent; transition: outline-color .3s; }
.universe:hover { outline-color: var(--c); }
.universe__metier { color: var(--c-light, var(--lime)); }
.universe[data-cat="batiment"] { --c-light: #5b8cff; }
.universe[data-cat="commerce"] { --c-light: #ffab5c; }
.universe[data-cat="creatif"]  { --c-light: #a78bfa; }

/* ---------- BANDEAU PLEIN ÉCRAN À FOND PARALLAXE ---------- */
.pband {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(82vh, 720px);
  display: flex; align-items: center;
  color: #fff; background: #0b1b33;
}
.pband__media { position: absolute; inset: -14% 0; z-index: -2; will-change: transform; }
.pband__media picture, .pband__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pband__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 15% 70%, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%),
    linear-gradient(90deg, rgba(11,27,51,.94) 0%, rgba(11,27,51,.78) 38%, rgba(11,27,51,.25) 72%, rgba(11,27,51,.1) 100%);
}
.pband--right .pband__veil {
  background:
    radial-gradient(60% 80% at 85% 70%, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%),
    linear-gradient(270deg, rgba(11,27,51,.94) 0%, rgba(11,27,51,.78) 38%, rgba(11,27,51,.25) 72%, rgba(11,27,51,.1) 100%);
}
.pband__inner { display: flex; padding-top: 96px; padding-bottom: 96px; }
.pband--right .pband__inner { justify-content: flex-end; }
.pband__card { max-width: 560px; }
.pband__tag {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8);
}
.pband__title { margin: 0; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em; color: #fff; }
.pband__title em { color: var(--c-em, #a78bfa); }
.pband__text { margin: 20px 0 30px; font-size: 1.12rem; color: rgba(255,255,255,.78); max-width: 480px; }
.pband__credit {
  position: absolute; right: 20px; bottom: 14px; margin: 0;
  font-size: .72rem; color: rgba(255,255,255,.7); letter-spacing: .02em; text-shadow: 0 1px 6px rgba(11,27,51,.9);
}
.pband--left .pband__credit { right: 20px; }
.pband--right .pband__credit { right: auto; left: 20px; }

/* ---------- RAIL « 12 MÉTIERS, 12 IDENTITÉS » ---------- */
.rail-section { padding: 120px 0 100px; background: var(--bg-elev); border-top: 1px solid var(--line); overflow: hidden; }
.rail-section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.rail-section__head .section-title, .rail-section__head .section-lead { margin: 0; }
.rail { margin-top: 48px; }
.rail__track {
  list-style: none; margin: 0;
  display: flex; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 8px max(28px, calc((100vw - var(--container)) / 2 + 28px)) 24px;
  scroll-padding-inline: max(28px, calc((100vw - var(--container)) / 2 + 28px));
  scrollbar-width: thin;
}
.rail__track:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.rail__card {
  flex: 0 0 min(360px, 82vw);
  scroll-snap-align: start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.rail__card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-md); border-color: var(--c); }
.rail__media { aspect-ratio: 3 / 2; overflow: hidden; }
.rail__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.rail__card:hover .rail__media img { transform: scale(1.06); }
.rail__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.rail__num { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--c); }
.rail__body h3 { margin: 0; font-size: 1.3rem; }
.rail__body p:last-child, .rail__body p:not(.rail__num) { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.5; }
.rail__card--end { justify-content: center; background: var(--dark); border-color: var(--dark); color: #fff; --c: #00b3a4; }
.rail__card--end h3 { color: #fff; }
.rail__card--end .rail__body p:not(.rail__num) { color: rgba(255,255,255,.72); }
.rail__card--end .btn { align-self: flex-start; margin-top: 10px; }
.rail__nav { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.rail__btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
  font-size: 1.1rem; transition: background .2s, color .2s, border-color .2s;
}
.rail__btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail__hint { margin-left: auto; font-size: .8rem; color: var(--muted); }

/* ---------- ÉCRANS FLOTTANTS DANS LE HERO (page artisan) ---------- */
.hero-float { display: none; }
@media (min-width: 1100px) {
  .svc-hero:has(.hero-float) > .container > * { max-width: 600px; }
  .hero-float {
    display: block; position: absolute; z-index: 0; margin: 0;
    right: max(24px, calc((100vw - var(--container)) / 2)); top: 96px;
    width: min(36vw, 500px); aspect-ratio: 1 / 1;
    pointer-events: none;
  }
  .hero-float__card {
    position: absolute; width: 78%; border-radius: 20px; overflow: hidden;
    box-shadow: 0 30px 70px -20px rgba(11,27,51,.45), 0 0 0 1px rgba(255,255,255,.6) inset;
    will-change: transform;
  }
  .hero-float__card img { display: block; width: 100%; height: auto; }
  .hero-float__card--back { right: 0; top: 0; rotate: 6deg; opacity: .92; }
  .hero-float__card--front { left: 0; bottom: 6%; rotate: -4deg; }
}

@media (max-width: 920px) {
  .rail-section { padding: 88px 0 72px; }
  .rail-section__head { grid-template-columns: 1fr; gap: 16px; }
  .pband { min-height: 560px; }
  .pband__veil, .pband--right .pband__veil { background: linear-gradient(180deg, rgba(11,27,51,.55) 0%, rgba(11,27,51,.92) 70%); }
  .pband--right .pband__inner { justify-content: flex-start; }
  .rail__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .universe.is-entering { animation: none; }
  .pband__media { inset: 0; }
  .rail__track { scroll-behavior: auto; }
  .rail__card, .rail__media img, .showcase__chip .trefle { transition: none; }
}

/* ---------- RÉALISATIONS RÉELLES (capture dans un cadre de navigateur) ---------- */
.real { padding: 120px 0; background: var(--bg-elev); border-top: 1px solid var(--line); }
.real__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.real__head .section-title, .real__head .section-lead { margin: 0; }
.real__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.real__item { display: flex; flex-direction: column; gap: 22px; }
.real__shot {
  display: block; border-radius: 14px; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 40px -18px rgba(11,27,51,.35);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
}
.real__shot:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 30px 60px -20px rgba(11,27,51,.45), 0 0 0 2px var(--c); }
.real__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eef1f7; border-bottom: 1px solid var(--line); }
.real__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c3cede; }
.real__bar span { margin-left: 10px; flex: 1; padding: 3px 10px; border-radius: 6px; background: #fff; font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.real__shot img { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 800; object-fit: cover; object-position: top; }
.real__meta { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.real__body { display: flex; flex-direction: column; gap: 10px; }
.real__body h3 { margin: 0; font-size: 1.5rem; }
.real__accroche { margin: 0; color: var(--muted); line-height: 1.55; }
.real__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.real__tags span { padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; background: color-mix(in srgb, var(--c) 10%, transparent); color: var(--ink); }
.real__body .link-arrow { color: var(--ink); align-self: flex-start; }
.real__more { margin: 48px 0 0; text-align: center; }
/* Version détaillée (page Réalisations) : une par rangée, en alternance */
.real--detail { border-top: none; padding-top: 40px; }
.real--detail .real__list { grid-template-columns: 1fr; gap: 96px; }
.real--detail .real__item { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.real--detail .real__item:nth-child(even) .real__shot { order: 2; }
.real--detail .real__body h3 { font-size: 2rem; }
.real__points { margin: 6px 0 0; display: flex; flex-direction: column; gap: 10px; }
.real__points li { position: relative; padding-left: 26px; line-height: 1.5; }
.real__points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; background: var(--c); transform: rotate(-45deg); }
.real__note { margin: 6px 0 0; padding: 12px 16px; border-left: 3px solid var(--c); background: var(--bg); font-size: .92rem; color: var(--muted); }
@media (max-width: 920px) {
  .real { padding: 88px 0; }
  .real__head { grid-template-columns: 1fr; gap: 16px; }
  .real__list { grid-template-columns: 1fr; gap: 56px; }
  .real--detail .real__item { grid-template-columns: 1fr; gap: 24px; }
  .real--detail .real__item:nth-child(even) .real__shot { order: 0; }
}
@media (prefers-reduced-motion: reduce) { .real__shot { transition: none; } .real__shot:hover { transform: none; } }

/* ---------- BANDEAU MACRO « la matière des métiers » ---------- */
.mband {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(320px, 46vw, 600px);
  display: flex; align-items: center;
  background: #0b0b0d; color: #fff;
}
.mband__media { position: absolute; inset: -10% 0; z-index: -2; will-change: transform; }
.mband__media picture, .mband__media img { width: 100%; height: 100%; display: block; }
.mband__media img { object-fit: cover; object-position: var(--pos, 50% 50%); }
.mband::after { /* voile discret côté texte, pour la lisibilité */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(270deg, rgba(8,8,10,.72) 0%, rgba(8,8,10,.35) 40%, rgba(8,8,10,0) 70%);
}
.mband--left::after { background: linear-gradient(90deg, rgba(8,8,10,.72) 0%, rgba(8,8,10,.35) 40%, rgba(8,8,10,0) 70%); }
.mband__inner { display: flex; justify-content: flex-end; padding-top: 72px; padding-bottom: 72px; }
.mband--left .mband__inner { justify-content: flex-start; }
.mband__text { max-width: 30ch; }
.mband--right .mband__text { text-align: right; }
.mband__kick {
  margin: 0 0 14px; font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.62);
}
.mband__line {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; color: #fff;
}
.mband__line em { font-style: italic; color: #c4b5fd; }
@media (max-width: 720px) {
  .mband { min-height: 380px; align-items: flex-end; }
  .mband::after, .mband--left::after { background: linear-gradient(0deg, rgba(8,8,10,.82) 0%, rgba(8,8,10,.25) 55%, rgba(8,8,10,0) 80%); }
  .mband__inner, .mband--left .mband__inner { justify-content: flex-start; padding-bottom: 40px; }
  .mband--right .mband__text { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .mband__media { inset: 0; } }

/* ---------- EXPERTISES (cards) ---------- */
.expertises { padding: 120px 0; background: var(--bg); }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.card {
  padding: 36px 32px;
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}
.card__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.card h3 { margin: 0; }
.card p { color: var(--muted); margin: 0; }
.card__list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.card__list li {
  position: relative;
  padding-left: 22px;
  font-size: .95rem;
  color: var(--ink);
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.card__cta {
  margin-top: auto;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  transition: color var(--t);
}
.card__cta:hover { color: var(--accent); }
.card--accent {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.card--accent h3 { color: #fff; }
.card--accent p { color: rgba(255,255,255,.7); }
.card--accent .card__num { color: var(--lime); }
.card--accent .card__list li { color: #fff; }
.card--accent .card__list li::before { background: var(--lime); }
.card--accent em { color: var(--lime); }
.card--accent .card__cta { border-top-color: rgba(255,255,255,.15); }
.card--accent .card__cta:hover { color: var(--lime); }

/* ---------- AUTONOMY ---------- */
.autonomy {
  padding: 120px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.autonomy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.autonomy__text .section-lead { margin-bottom: 32px; }
.bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.bullets li {
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
}
.autonomy__note { font-size: .95rem; color: var(--muted); }
.autonomy__note a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

/* Mockup générique (sans logo SitePilot — bénéfice client uniquement) */
.mock {
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: rotate(-1deg);
  transition: transform var(--t);
}
.mock:hover { transform: rotate(0deg) scale(1.02); }
.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #e9edf6;
  border-bottom: 1px solid var(--line);
}
.mock__bar > span:not(.mock__title) {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.mock__bar > span:nth-child(1) { background: #ff6b5d; }
.mock__bar > span:nth-child(2) { background: #ffc04d; }
.mock__bar > span:nth-child(3) { background: #6bd47a; }
.mock__title {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: .82rem;
  color: var(--muted);
  background: #fff;
  border-radius: 6px;
  padding: 4px 12px;
  font-weight: 500;
}
.mock__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mock__msg {
  padding: 14px 18px;
  border-radius: 18px;
  max-width: 90%;
  font-size: .95rem;
  line-height: 1.5;
}
.mock__msg--user {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.mock__msg--ai {
  align-self: flex-start;
  background: var(--bg);
  border-bottom-left-radius: 4px;
  position: relative;
  padding-left: 36px;
}
.mock__dot {
  position: absolute;
  left: 14px;
  top: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--lime);
  border: 2px solid var(--ink);
}
.mock__actions { display: flex; gap: 10px; margin-top: 8px; }
.mock__btn {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
}
.mock__btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

/* ---------- POUR QUI ---------- */
.forwho { padding: 100px 0; background: var(--bg); }
.forwho__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.forwho__col {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.forwho__col h3 { margin-bottom: 20px; font-size: 1.25rem; }
.forwho__col ul { display: flex; flex-direction: column; gap: 12px; }
.forwho__col li {
  position: relative;
  padding-left: 28px;
  font-size: .98rem;
  line-height: 1.5;
}
.forwho__col--yes {
  background: var(--bg-elev);
  border-color: var(--ink);
}
.forwho__col--yes li {  color: var(--ink); }
.forwho__col--yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--accent);
}
.forwho__col--no {
  background: var(--bg-elev);
  opacity: 0.85;
}
.forwho__col--no li { color: var(--muted); }
.forwho__col--no li::before {
  content: "✗";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--muted);
}

/* ---------- PRICING ---------- */
.pricing {
  padding: 120px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.pricing__subtitle {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 48px 0 12px;
  letter-spacing: -0.01em;
}
.pricing__subtitle--second { margin-top: 80px; }
.pricing__hint {
  font-weight: 500;
  font-size: .95rem;
  color: var(--muted);
}
.pricing__intro {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 0 32px;
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.pricing__grid--sub { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.price {
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform var(--t), box-shadow var(--t);
}
.price:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.price h4 { font-size: 1.3rem; margin: 0; }
.price__amount {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.price__from {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price__big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}
.price__period {
  font-size: .9rem;
  color: var(--muted);
  margin-top: 2px;
}
.price__ht {
  font-size: .75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.price__sub {
  color: var(--muted);
  font-size: .9rem;
  margin: 0;
  line-height: 1.45;
}
.price ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0;
}
.price li {
  position: relative;
  padding-left: 24px;
  font-size: .9rem;
  line-height: 1.45;
}
.price li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}
.price .btn {
  margin-top: auto;
  align-self: flex-start;
}
.price--featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: scale(1.03);
}
.price--featured:hover { transform: scale(1.03) translateY(-4px); }
.price--featured .price__big { color: #fff; }
.price--featured .price__sub { color: rgba(255,255,255,.65); }
.price--featured .price__from { color: rgba(255,255,255,.6); }
.price--featured .price__period { color: rgba(255,255,255,.6); }
.price--featured .price__ht { color: rgba(255,255,255,.6); }
.price--featured li::before { color: var(--lime); }
.price__badge {
  position: absolute;
  top: -14px;
  left: 28px;
  padding: 6px 14px;
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: 0.02em;
}
.pricing__note {
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
  max-width: 760px;
  margin: 40px auto 0;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 120px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.accordion {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.acc {
  background: var(--bg-elev);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color var(--t);
}
.acc[open] { border-color: var(--ink); }
.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--t);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform var(--t);
  line-height: 1;
}
.acc[open] summary::after { transform: rotate(45deg); }
.acc summary:hover { color: var(--accent); }
.acc__body {
  padding: 0 28px 24px;
  color: var(--muted);
  line-height: 1.65;
}
.acc__body p { margin: 0; }
.acc__body a {
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
}

/* ---------- PREFOOTER ---------- */
.prefooter {
  padding: 120px 0;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  text-align: center;
}
.prefooter__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.prefooter em { color: var(--lime); }
.prefooter__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  margin: 0 0 36px;
  max-width: 620px;
}
.prefooter__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark-soft);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand .logo { margin-bottom: 16px; }
.footer__pitch {
  max-width: 320px;
  line-height: 1.6;
}
.footer__col h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 600;
  font-family: var(--font-body);
}
.footer__col li { margin-bottom: 10px; }
.footer__col a { transition: color var(--t); }
.footer__col a:hover { color: var(--lime); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  font-size: .9rem;
}
.footer__bottom ul { display: flex; gap: 24px; }
.footer__bottom a:hover { color: #fff; }

/* ===========================================
   PAGES SECONDAIRES — styles spécifiques
   =========================================== */

/* ---------- PAGE HERO (header de page) ---------- */
.page-hero {
  padding: 80px 0 60px;
  text-align: left;
}
.page-hero__title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  margin: 0 0 24px;
}
.page-hero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 720px;
  line-height: 1.55;
  margin: 0;
}

/* ---------- COMPARE TABLE (pourquoi moins cher) ---------- */
.compare { padding: 80px 0 100px; }
.compare__table {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ink);
  margin-top: 40px;
}
.compare__row {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.5fr;
  background: var(--bg);
  gap: 2px;
}
.compare__row > * {
  background: var(--bg-elev);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  font-size: .95rem;
  line-height: 1.5;
}
.compare__row--head > * {
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
}
.compare__row--head h3 {
  font-size: 1.15rem;
  margin: 0;
  color: inherit;
}
.compare__cell--label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}
.compare__cell--no { color: var(--muted); }
.compare__cell--yes {
  background: #f3efff !important;
  color: var(--ink);
}
.compare__row--total > * {
  background: var(--lime) !important;
  color: var(--ink);
  font-size: 1.05rem;
}
.compare__row--total .compare__cell--no { background: var(--bg-elev) !important; color: var(--muted); }
.compare__sub {
  display: block;
  font-size: .85rem;
  margin-top: 4px;
  font-weight: 500;
}

/* ---------- EXPLAIN (3 raisons) ---------- */
.explain { padding: 100px 0; }
.explain__block {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.explain__block:last-child { border-bottom: none; }
.explain__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--blue);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 16px;
}
.explain__block h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.explain__block p {
  color: rgba(255,255,255,.75);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 14px;
}
.explain__quote {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--lime) !important;
  font-size: 1.1rem !important;
  border-left: 3px solid var(--lime);
  padding-left: 20px;
  margin-top: 24px !important;
  margin-bottom: 0 !important;
}

/* ---------- TIME SAVE ---------- */
.time-save { padding: 100px 0; background: var(--bg); }
.time-save__body {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 32px;
  line-height: 1.6;
}
.time-save__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 32px;
}
.time-save__list li {
  position: relative;
  padding-left: 32px;
  font-size: 1.02rem;
  line-height: 1.55;
}
.time-save__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}
.time-save__total {
  background: var(--lime);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 32px;
}
.time-save__close {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  text-align: center;
  color: var(--ink);
  margin: 40px 0 0;
}

/* ---------- TRUST ---------- */
.trust { padding: 100px 0; background: var(--bg); border-top: 1px solid var(--line); }
.trust__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.trust__item {
  padding: 32px 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.trust__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--ink);
}
.trust__item h3 {
  font-size: 1.25rem;
  margin: 0 0 12px;
  color: var(--ink);
}
.trust__item p {
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.55;
  margin: 0;
}

/* ---------- CONTACT FORM (page contact) ---------- */
.contact-page { padding: 60px 0 100px; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
}
.contact-form {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
/* Formulaire : alertes, erreurs, champ piège, confirmation */
.form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: #fff4e8;
  border: 1px solid #ffc999;
  color: #8a3d00;
  font-size: .95rem;
}
.contact-form .has-error input,
.contact-form .has-error select,
.contact-form .has-error textarea { border-color: #e5484d; }
.field-error { color: #c42b31; font-size: .85rem; margin-top: 2px; }
.form-legal { margin: 4px 0 0; font-size: .82rem; color: var(--muted); }
.form-legal a { color: var(--blue); }
.contact-form--sent { align-self: start; display: flex; flex-direction: column; gap: 14px; padding: 40px 36px; }
.form-sent__icon {
  width: 52px; height: 52px; margin: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--turq); color: #fff;
  font-size: 1.5rem; font-weight: 700;
}
.form-sent__title { margin: 4px 0 0; font-size: 1.8rem; }
.contact-form--sent p { margin: 0; color: var(--muted); }
.contact-form--sent .form-sent__small { font-size: .92rem; }
.contact-form--sent a { color: var(--blue); }
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.contact-form .form-full {
  display: block;
  margin-bottom: 22px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form span.label {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: inherit;
  font-size: 1rem;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  color: var(--ink);
  transition: border-color var(--t), background var(--t);
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.contact-aside { display: flex; flex-direction: column; gap: 24px; }
.contact-aside h3 {
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.contact-aside__block {
  padding: 24px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-aside__block p {
  color: var(--muted);
  font-size: .95rem;
  margin: 0;
  line-height: 1.55;
}
.contact-aside__block a {
  color: var(--blue);
  border-bottom: 1px solid var(--blue);
}

/* ---------- MENTIONS LEGALES & 404 ---------- */
.legal { padding: 80px 0 100px; }
.legal h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
}
.legal h2:first-of-type { margin-top: 0; }
.legal p,
.legal li {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 14px;
}
.legal ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.error-404 {
  padding: 140px 0;
  text-align: center;
}
.error-404 h1 {
  font-size: clamp(4rem, 12vw, 8rem);
  margin: 0 0 16px;
  color: var(--accent);
}
.error-404 p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ---------- RESPONSIVE — pages secondaires ---------- */
@media (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust__grid { grid-template-columns: 1fr; }
  .compare__row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .compare__row > * {
    border-bottom: 1px solid var(--line);
    padding: 14px 18px;
  }
  .compare__row > *:last-child { border-bottom: none; }
  .compare__cell--label {
    background: var(--ink) !important;
    color: #fff !important;
    font-size: .95rem;
  }
  .compare__cell--no::before { content: "↳ Une agence classique : "; font-weight: 600; color: var(--ink); margin-right: 6px; }
  .compare__cell--yes::before { content: "↳ KDM ID : "; font-weight: 600; color: var(--accent); margin-right: 6px; }
  .compare__row--head { display: none; }
}
@media (max-width: 560px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 920px) {
  .nav, .header__actions { display: none; }
  .burger { display: flex; }

  .autonomy__grid { grid-template-columns: 1fr; gap: 48px; }
  .forwho__grid, .zero-effort__grid { grid-template-columns: 1fr; }

  .pricing__grid--sub { grid-template-columns: 1fr; }

  .section-dark, .prefooter { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .manifesto, .expertises, .autonomy, .forwho, .pricing, .faq, .prefooter, .section-dark, .zero-effort { padding: 80px 0; }

  .hero { padding: 48px 0 80px; }
  .hero__ctas { margin-bottom: 56px; }
  .hero__proof { gap: 20px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .header__inner { padding: 14px 20px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }

  .price--featured { transform: none; }
  .price--featured:hover { transform: translateY(-4px); }
  .price__big { font-size: 1.7rem; }
  .ticker__track { font-size: 1rem; gap: 28px; }
}

/* ---------- A11Y ---------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
}

/* ===========================================
   EFFETS & PAGES DE SERVICE  (ajout 2026-05)
   =========================================== */

/* ---------- Révélation au scroll (réutilisable, progressive enhancement) ---------- */
/* Le masquage ne s'applique que si JS est actif (html.js) → contenu visible sans JS. */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal--d1 { transition-delay: .09s; }
html.js .reveal--d2 { transition-delay: .18s; }
html.js .reveal--d3 { transition-delay: .27s; }
html.js .reveal--d4 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Page de service — hero avec halo (aurora) ---------- */
.svc-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
}
.svc-hero > .container { position: relative; z-index: 1; }

.svc-aurora {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(90px);
}
.svc-aurora--1 {
  width: 520px; height: 520px;
  background: var(--blue);
  opacity: .22;
  top: -200px; right: -90px;
  animation: aurora 18s ease-in-out infinite alternate;
}
.svc-aurora--2 {
  width: 440px; height: 440px;
  background: var(--lime);
  opacity: .35;
  bottom: -220px; left: -120px;
  animation: aurora 23s ease-in-out infinite alternate-reverse;
}
@keyframes aurora {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(50px,34px,0) scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .svc-aurora { animation: none; }
}

/* ---------- Page de service — blocs & éléments ---------- */
.svc-block { padding: 110px 0; background: var(--bg); }
.svc-block--line { border-top: 1px solid var(--line); }

.svc-lead-bands {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 36px 0 8px;
}

/* Bandeau dark de rappel méthode (coins arrondis signature) */
.svc-recall {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}
.svc-recall > :not(.o-watermark) { position: relative; z-index: 1; }
.svc-recall .section-tag { color: rgba(255,255,255,.55); }
.svc-recall em { color: var(--lime); }
.svc-recall .big-text { color: #fff; margin-bottom: 18px; }
.svc-recall__text { color: rgba(255,255,255,.72); font-size: 1.08rem; line-height: 1.6; max-width: 640px; margin: 0 0 28px; }
.svc-recall .link-arrow { color: #fff; }

/* Carte "métier" — petit chip de réassurance */
.svc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.svc-chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--ink);
}

@media (max-width: 920px) {
  .svc-hero { padding: 54px 0 58px; }
  .svc-block { padding: 78px 0; }
  .svc-recall { padding: 44px 28px; border-radius: var(--radius-lg); }
}

/* ---------- Fonds travaillés & effets soignés (gabarit service) ---------- */

/* Trame de points discrète — texture de fond */
.bg-dots {
  background-image: radial-gradient(circle, rgba(15,52,96,.13) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}
.bg-dots--light {
  background-image: radial-gradient(circle, rgba(255,255,255,.10) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

/* Compteurs animés — chiffres à largeur stable pendant le défilement */
.count { font-variant-numeric: tabular-nums; }

/* Carte de service — survol : élévation + tilt 3D + grand numéro fantôme */
.svc-card {
  position: relative;
  overflow: hidden;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --lift: 0px;
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--lift));
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
  transform-style: preserve-3d;
  will-change: transform;
}
.svc-card.is-tilting {
  transition: transform .08s linear, box-shadow .35s, border-color .35s;
}
.svc-card > * { position: relative; z-index: 1; }
.svc-card::after {
  content: attr(data-num);
  position: absolute;
  right: 8px;
  bottom: -32px;
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 8rem;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .5s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.svc-card:hover {
  --lift: -8px;
  box-shadow: var(--shadow-lg);
  border-color: var(--line);
}
.svc-card:hover::after {
  opacity: .13;
  transform: translateY(0);
}

/* Pulse subtile sur le point violet de l'eyebrow */
@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(124,58,237,.5); }
  70%  { box-shadow: 0 0 0 9px rgba(124,58,237,0); }
  100% { box-shadow: 0 0 0 0 rgba(124,58,237,0); }
}
.eyebrow .dot { animation: dot-pulse 2.6s ease-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .eyebrow .dot { animation: none; }
}

/* Carte tarif vedette — lueur turquoise au survol */
.price--featured:hover {
  box-shadow: 0 24px 54px rgba(63,208,192,.22);
}

/* ---------- Effets premium « waouh » ---------- */

/* Boutons magnétiques — les gros CTA primaires suivent le curseur quand on s'approche */
.btn--primary.btn--lg {
  --magnet-x: 0px;
  --magnet-y: 0px;
  transform: translate3d(var(--magnet-x), var(--magnet-y), 0);
  will-change: transform;
}
.btn--primary.btn--lg:hover {
  transform: translate3d(var(--magnet-x), calc(var(--magnet-y) - 1px), 0);
}
.btn--primary.btn--lg:active {
  transform: translate3d(var(--magnet-x), var(--magnet-y), 0);
}

/* Flèche des CTA primaires — glisse à droite au survol (micro-interaction) */
.btn--primary svg,
.btn--ghost svg {
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.btn--primary:hover svg,
.btn--ghost:hover svg {
  transform: translateX(5px);
}

/* Spotlight curseur — un halo doux suit la souris sur certaines sections */
.has-spotlight {
  position: relative;
}
.has-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    520px circle at var(--mx, -200px) var(--my, -200px),
    rgba(124,58,237,.13),
    transparent 45%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 0;
}
.has-spotlight.is-lit::before { opacity: 1; }
.has-spotlight > .container { position: relative; z-index: 1; }

/* Header verre dépoli renforcé au scroll */
.header.is-scrolled {
  background: rgba(244,246,251,.6);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 1px 0 rgba(15,52,96,.04), 0 8px 24px -16px rgba(15,52,96,.08);
}

@media (prefers-reduced-motion: reduce) {
  .btn--primary.btn--lg { transform: none; }
  .has-spotlight::before { display: none; }
}

/* ============================================
   PAGE MANIFESTE — layout éditorial unique
   ============================================ */

/* Stage animé : blob mesh corail + lime qui morph en continu */
.mnf-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.mnf-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  mix-blend-mode: multiply;
  will-change: transform;
}
.mnf-blob--1 { background: #7c3aed; width: 680px; height: 680px; top: -200px; left: -140px; opacity: .45; animation: mnf-f1 24s ease-in-out infinite alternate; }
.mnf-blob--2 { background: #00b3a4; width: 560px; height: 560px; top: 30%; right: -180px; opacity: .42; animation: mnf-f2 30s ease-in-out infinite alternate; }
.mnf-blob--3 { background: #0a4bff; width: 480px; height: 480px; bottom: -160px; left: 35%; opacity: .32; animation: mnf-f3 26s ease-in-out infinite alternate; }
.mnf-blob--4 { background: #ff7a00; width: 400px; height: 400px; top: 58%; left: 5%; opacity: .38; animation: mnf-f4 28s ease-in-out infinite alternate; }
.mnf-blob--5 { background: #7c3aed; width: 320px; height: 320px; top: 12%; left: 42%; opacity: .28; animation: mnf-f5 22s ease-in-out infinite alternate; }
@keyframes mnf-f1 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(200px,140px) scale(1.22)} }
@keyframes mnf-f2 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(-240px,180px) scale(1.18)} }
@keyframes mnf-f3 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(160px,-220px) scale(1.28)} }
@keyframes mnf-f4 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(-120px,160px) scale(1.20)} }
@keyframes mnf-f5 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(240px,-120px) scale(1.30)} }
@media (prefers-reduced-motion: reduce) { .mnf-blob { animation: none; } }

/* Hero plein écran */
.mnf-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.mnf-hero__content {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}
.mnf-eyebrow {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 32px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.mnf-eyebrow::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--accent);
}
.mnf-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.5vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.038em;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 40px;
  max-width: 1120px;
}
.mnf-h1 em { color: var(--accent); font-style: italic; }
.mnf-hero__sub {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.65vw, 1.45rem);
  color: var(--muted);
  max-width: 740px;
  line-height: 1.5;
  margin: 0 0 48px;
}
.mnf-hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  animation: mnf-bounce 1.8s ease-in-out infinite;
}
@keyframes mnf-bounce {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* Déclarations — chacune sa propre scène */
.mnf-decl {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}
.mnf-decl--alt {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 25%, var(--bg-elev) 75%, var(--bg) 100%);
}
.mnf-decl__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}
.mnf-decl--right .mnf-decl__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
.mnf-decl__num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 11rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--accent);
  opacity: .14;
  margin: 0 0 -20px;
  pointer-events: none;
}
.mnf-decl__quote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 32px;
  max-width: 1100px;
}
.mnf-decl__quote em { color: var(--accent); font-style: italic; }
.mnf-decl__sub {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 660px;
  margin: 0;
}

/* Closing CTA */
.mnf-end {
  position: relative;
  padding: 140px 0 160px;
  overflow: hidden;
  text-align: center;
}
.mnf-end .mnf-stage { z-index: 0; }
.mnf-end__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}
.mnf-end__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 28px;
}
.mnf-end__title em { color: var(--accent); }
.mnf-end__sub {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 0 0 40px;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .mnf-hero { min-height: 75vh; padding: 80px 0 50px; }
  .mnf-decl { padding: 80px 0; }
  .mnf-decl--right .mnf-decl__inner { text-align: left; align-items: flex-start; }
  .mnf-end { padding: 90px 0 100px; }
  .mnf-blob { filter: blur(70px); }
}

/* ---------- Texte lettre par lettre (H1 hero) ---------- */
.text-staggered .word { display: inline-block; white-space: nowrap; }
.text-staggered .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  animation: char-in .55s cubic-bezier(.2,.7,.2,1) both;
  animation-delay: calc(var(--i, 0) * 22ms);
}
@keyframes char-in {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .text-staggered .char { opacity: 1; transform: none; animation: none; }
}

/* ---------- Bouton « Contactez-nous » flottant ---------- */
.side-contact {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 60;
  transform: translateY(-50%);
  pointer-events: none;
}
.side-contact__btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--cta);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -0.01em;
  border-radius: 999px 0 0 999px;
  text-decoration: none;
  box-shadow: 0 12px 32px -8px rgba(255,122,0,.45), 0 4px 12px rgba(15,52,96,.08);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), padding-right .35s, box-shadow .35s, background .25s;
}
.side-contact__btn svg {
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.side-contact__btn:hover {
  background: var(--cta-dark);
  transform: translateX(-6px);
  padding-right: 30px;
  box-shadow: 0 18px 40px -8px rgba(255,122,0,.55), 0 6px 16px rgba(15,52,96,.1);
}
.side-contact__btn:hover svg { transform: translateX(4px); }
@media (max-width: 720px) {
  .side-contact { top: auto; bottom: 18px; transform: none; }
  .side-contact__btn { padding: 12px 18px; font-size: .9rem; border-radius: 999px; }
}

/* ---------- Menu déroulant — façon mini mega-menu ---------- */
.nav-group { position: relative; }
.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.nav__trigger:hover,
.nav__trigger:focus-visible,
.nav-group:hover .nav__trigger,
.nav-group:focus-within .nav__trigger {
  background: var(--ink);
  color: #fff;
  outline: none;
}
.nav__trigger svg {
  transition: transform var(--t);
  opacity: .9;
}
.nav-group:hover .nav__trigger svg,
.nav-group:focus-within .nav__trigger svg { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  margin-top: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 24px 60px -12px rgba(15,52,96,.18),
    0 8px 24px -8px rgba(15,52,96,.08);
  padding: 10px;
  min-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 6px) scale(.97);
  transform-origin: top center;
  transition: opacity .22s ease, transform .28s cubic-bezier(.2,.7,.2,1), visibility .22s;
  z-index: 100;
}

/* Pont invisible — évite que le hover se ferme entre trigger et panneau */
.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-group:hover .nav__dropdown,
.nav-group:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.nav__dropdown-link {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  font-family: var(--font-display);
  color: var(--ink);
  transition: background var(--t), color var(--t), transform var(--t);
  position: relative;
}
.nav__dropdown-link__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.nav__dropdown-link__arrow {
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s, transform .25s cubic-bezier(.2,.7,.2,1);
  color: var(--accent);
}
.nav__dropdown-link__desc {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.4;
  letter-spacing: 0;
}
.nav__dropdown-link:hover,
.nav__dropdown-link:focus-visible {
  background: var(--bg);
  color: var(--ink);
  outline: none;
}
.nav__dropdown-link:hover .nav__dropdown-link__arrow,
.nav__dropdown-link:focus-visible .nav__dropdown-link__arrow {
  opacity: 1;
  transform: translateX(0);
}
.nav__dropdown-link.is-active {
  background: var(--bg);
  color: var(--accent);
}
.nav__dropdown-link.is-active .nav__dropdown-link__desc { color: var(--accent); opacity: .75; }
.nav__dropdown-link.is-active .nav__dropdown-link__arrow { opacity: 1; transform: translateX(0); }

/* Mobile : titre + description empilés */
.mobile-nav__group {
  display: block;
  padding: 18px 4px 10px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.mobile-nav__sub {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 4px 14px 18px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav__sub span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mobile-nav__sub small {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.35;
}
