/* =========================================================
   MM Patrimoine — Design system (Digital Scrapbook Collage)
   ========================================================= */

:root {
  /* Colors — palette « Vert sauge profond & laiton » */
  --color-canvas: #f5f0e8;
  --color-ivory: #f5f0e8;
  --color-ink: #12271f;
  --color-deep: #2f5d4a;
  --color-deep-2: #3d6e58;
  --color-white: #ffffff;
  --color-linen: #f8f5ef;
  --color-cloud: #ece7de;
  --color-ash: #e2ddd3;
  --color-stone: #bdb8ae;
  --color-graphite: #4b5651;
  --color-sage: #bccab3;
  --color-sand: #e5d5b5;
  --color-slate: #bcc6cf;
  --color-clay: #dbc4b2;
  --color-brass: #b8904f;
  --color-brass-light: #dcc08a;
  --gradient-deep: radial-gradient(120% 90% at 50% 0%, #50806a 0%, #37654f 45%, #244738 100%);

  /* Variante « Bleu nuit & laiton » (pour revenir au bleu, remplacer les 5 valeurs ci-dessus) :
     --color-ink: #0e1a2b; --color-deep: #10213a; --color-deep-2: #1a3150; --color-graphite: #4a5361;
     --gradient-deep: radial-gradient(120% 90% at 50% 0%, #22406a 0%, #142a48 42%, #0b1729 100%); */

  /* Fonts */
  --font-serif: 'Lora', 'UntitledSerifFont', ui-serif, Georgia, Cambria, 'Times New Roman', serif;
  --font-sans: 'Inter', 'UntitledSansFont', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px; --s-20: 20px; --s-24: 24px;
  --s-32: 32px; --s-40: 40px; --s-48: 48px; --s-60: 60px; --s-80: 80px; --s-120: 120px;

  --page-max: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-gap: clamp(96px, 12vw, 160px);

  /* Radius */
  --radius-xl: 14px;
  --radius-2xl: 20px;
  --radius-3xl: 24px;
  --radius-4xl: 32px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-xl: rgba(0,0,0,.01) 0 50px 40px 0, rgba(0,0,0,.02) 0 50px 40px 0, rgba(0,0,0,.05) 0 20px 40px 0, rgba(0,0,0,.08) 0 3px 10px 0;
  --shadow-sm: rgba(0,0,0,.1) 0 4px 6px -1px, rgba(0,0,0,.1) 0 2px 4px -2px;
  --shadow-md: rgba(0,0,0,.1) 0 12px 12px 2px, rgba(0,0,0,.06) 0 2px 4px -1px;
  --shadow-md-2: rgba(0,0,0,.08) 0 4px 16px 0;
  --shadow-subtle: rgba(0,0,0,.1) 0 1px 3px 0, rgba(0,0,0,.1) 0 1px 2px -1px;

  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Paper texture */
  --noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.24px;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::after { /* grain global très léger */
  content: "";
  position: fixed; inset: 0;
  background-image: var(--noise);
  opacity: .35;
  pointer-events: none;
  z-index: 200;
  mix-blend-mode: multiply;
}
img { display: block; max-width: 100%; }
main, footer { overflow-x: clip; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--color-sand); color: var(--color-ink); }

.container { width: 100%; max-width: calc(var(--page-max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--color-graphite); opacity: .75; }

/* ---------- Typography ---------- */
.h2 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 400;
}
.h2--sm { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; }
.h2 em, .cta__title em, .hero__title em { font-style: italic; }
.h3 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.h4 { font-family: var(--font-sans); font-size: 20px; font-weight: 500; letter-spacing: -0.5px; line-height: 1.3; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--color-graphite); letter-spacing: -0.3px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--color-graphite);
  margin-bottom: var(--s-20);
}
.kicker::before { content: ""; width: 22px; height: 1.5px; background: var(--color-brass); border-radius: 2px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; letter-spacing: 0.14px;
  box-shadow: var(--shadow-subtle);
}
.eyebrow--light { background: rgba(255,255,255,.85); }

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot--live { background: #6f8f6a; box-shadow: 0 0 0 3px rgba(181,195,174,.6); }
.dot--brass { background: var(--color-brass); }
.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(181,195,174,.6); } 50% { box-shadow: 0 0 0 7px rgba(181,195,174,0); } }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px;
  border-radius: var(--radius-pill);
  font-size: 16px; font-weight: 500; letter-spacing: -0.2px;
  transition: box-shadow .4s var(--ease), background-color .3s, color .3s, border-color .3s;
  will-change: transform;
  white-space: nowrap;
}
.btn--sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn--ink { background: var(--color-ink); color: var(--color-white); }
.btn--ink:hover { box-shadow: var(--shadow-md); }
.btn--ghost { background: rgba(255,255,255,.35); border: 1px solid rgba(15,36,28,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,.75); box-shadow: var(--shadow-md); }
.btn--white { background: var(--color-white); color: var(--color-ink); box-shadow: var(--shadow-subtle); }
.btn--white:hover { box-shadow: var(--shadow-md); }
.btn__arrow { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn span { pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500;
  padding-bottom: 4px;
  background: linear-gradient(var(--color-ink), var(--color-ink)) left bottom / 100% 1.5px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover { background-size: 0% 1.5px; background-position: right bottom; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Collage helpers ---------- */
.torn { will-change: transform; }
.tape {
  position: absolute; width: 86px; height: 26px;
  background: rgba(229, 213, 181, .88);
  box-shadow: rgba(0,0,0,.06) 0 1px 2px;
  z-index: 3;
  -webkit-mask: linear-gradient(90deg, transparent 0 2px, #000 2px calc(100% - 2px), transparent calc(100% - 2px)),
               repeating-linear-gradient(180deg, #000 0 3px, transparent 3px 5px);
  -webkit-mask-composite: source-over;
}
.tape::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .6; }
.tape--top { top: -12px; left: 50%; transform: translateX(-50%) rotate(-3deg); }
.tape--tl { top: -10px; left: -18px; transform: rotate(-28deg); }
.tape--br { bottom: -10px; right: -18px; transform: rotate(-28deg); background: rgba(184,196,212,.88); }

/* =========================================================
   INTRO
   ========================================================= */
.intro { position: fixed; inset: 0; z-index: 150; pointer-events: none; display: none; }
.js .intro { display: block; }
.intro__sheet { position: absolute; inset: -6vh -6vw; }
.intro__sheet::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); }
.intro__sheet--1 { background: var(--color-sage); }
.intro__sheet--2 { background: var(--color-sand); }
.intro__sheet--3 { background: var(--color-canvas); }
.intro__brand {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.intro__mark {
  display: inline-flex; overflow: hidden;
  font-family: var(--font-serif); font-size: clamp(72px, 12vw, 150px); line-height: 1; letter-spacing: -0.06em;
}
.intro__mark span { display: inline-block; }
.intro__word {
  font-size: 14px; font-weight: 500; letter-spacing: .4em; text-transform: uppercase; color: var(--color-graphite);
  overflow: hidden;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  padding: 16px var(--gutter);
  pointer-events: none;
}
.header__bar {
  pointer-events: auto;
  max-width: var(--page-max); margin: 0 auto;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 10px 0 20px;
  border-radius: var(--radius-pill);
  background: rgba(245, 240, 232, 0);
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s;
}
.header.is-scrolled .header__bar {
  background: rgba(248, 245, 239, .82);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: var(--shadow-subtle);
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--color-ink); color: var(--color-canvas);
  font-family: var(--font-serif); font-size: 17px; letter-spacing: -0.06em;
}
.logo__word { font-weight: 500; font-size: 17px; letter-spacing: -0.4px; }
.logo--lg .logo__mark { width: 48px; height: 48px; font-size: 21px; border-radius: 14px; }
.logo--lg .logo__word { font-size: 20px; }

.nav { display: flex; gap: 4px; }
.nav__link {
  position: relative;
  padding: 8px 14px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 500;
  transition: background-color .3s;
}
.nav__link:hover { background: rgba(15,36,28,.06); }
.header__actions { display: flex; align-items: center; gap: 8px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--color-white); box-shadow: var(--shadow-subtle); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--color-ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 85;
  background: var(--color-canvas);
  display: flex; align-items: center;
  padding: 120px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.menu__nav { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.menu__link { font-family: var(--font-serif); font-size: 44px; letter-spacing: -0.04em; line-height: 1.2; }
.menu .btn { margin-top: 24px; align-self: flex-start; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 640px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.hero__bg, .hero__sky, .hero__grid, .hero__noise { position: absolute; inset: 0; }
.hero__bg { will-change: transform; }
.hero__sky { background: var(--gradient-deep); }
.hero__grid {
  background-image:
    linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
}
.hero__noise { background-image: var(--noise); opacity: .9; mix-blend-mode: multiply; }
.hero__shade { position: absolute; inset: 0; background: var(--color-ink); opacity: 0; pointer-events: none; z-index: 5; }

.hero__collage { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero__collage > * { position: absolute; translate: calc(var(--mx, 0) * 1px) calc(var(--my, 0) * 1px); }

.piece { box-shadow: var(--shadow-xl); }
.piece::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); }
.piece--sage { background: var(--color-sage); width: min(30vw, 440px); height: 36vh; left: -5%; top: 12%; rotate: -7deg; }
.piece--sand { background: var(--color-sand); width: min(26vw, 380px); height: 30vh; right: -4%; top: 9%; rotate: 6deg; }
.piece--slate { background: var(--color-slate); width: min(19vw, 280px); height: 22vh; left: 6%; bottom: 4%; rotate: 9deg; }
.piece--paper {
  background-color: var(--color-white);
  background-image:
    radial-gradient(circle, rgba(15,36,28,.18) 1px, transparent 1.4px);
  background-size: 16px 16px;
  width: min(22vw, 320px); height: 25vh; right: 8%; bottom: 3%; rotate: -5deg;
}

.float-card {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: 16px;
}
.float-card--chart { width: 270px; left: 6%; top: 25%; rotate: -4deg; }
.float-card__head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; margin-bottom: 10px; }
.float-card__foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--color-graphite); margin-top: 6px; letter-spacing: .12px; }
.chart { width: 100%; height: 100px; display: block; overflow: visible; }
.float-card--rating { right: 7%; top: 27%; rotate: 5deg; padding: 14px 18px; }
.float-card__caption { display: block; font-size: 12px; color: var(--color-graphite); margin-top: 4px; letter-spacing: .12px; }
.rating { display: flex; align-items: center; gap: 10px; }
.rating__score { font-family: var(--font-serif); font-size: 32px; letter-spacing: -0.04em; line-height: 1; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: #c9a24a; }

.sticky-note {
  right: 11%; bottom: 17%; rotate: -6deg;
  width: 170px; padding: 26px 18px 18px;
  background: var(--color-sand);
  box-shadow: var(--shadow-xl);
  border-radius: 4px 4px 18px 4px;
  font-size: 17px; font-weight: 500; line-height: 1.45; letter-spacing: -0.3px;
}
.tag-float {
  left: 12%; bottom: 22%; rotate: 4deg;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-white); padding: 10px 16px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow-md-2);
}

.hero__content {
  position: relative; z-index: 3;
  max-width: 940px; padding: 0 var(--gutter);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7.4vw, 108px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 28px 0 26px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line__in { display: inline-block; }
.hl { position: relative; display: inline-block; z-index: 0; }
.hl::before {
  content: "";
  position: absolute; left: -0.06em; right: -0.08em; bottom: .1em; height: .36em;
  background: var(--color-sand);
  border-radius: 6px 14px 10px 4px;
  z-index: -1;
  transform-origin: left center;
  transform: scaleX(var(--hl, 1)) rotate(-1.5deg);
}
.hero__lead { max-width: 620px; font-size: clamp(17px, 1.45vw, 20px); color: var(--color-graphite); letter-spacing: -0.3px; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

.hero__scroll {
  position: absolute; bottom: 28px; left: 0; right: 0; width: fit-content; margin: 0 auto;
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--color-graphite);
}
.hero__scroll-line { width: 1px; height: 44px; background: rgba(15,36,28,.2); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--color-ink); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { to { top: 110%; } }

/* États initiaux de l'intro (JS uniquement) */
.js .hero [data-intro], .js .hero .float-card, .js .hero .piece, .js .hero .sticky-note, .js .hero .tag-float { opacity: 0; }
.js .hero__title .line__in { transform: translateY(110%); }
.js .hl { --hl: 0; }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto {
  position: relative; z-index: 2;
  background: var(--color-canvas);
  padding: calc(var(--section-gap) + 20px) 0 var(--section-gap);
  margin-top: -1px;
}
.manifesto::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .5; pointer-events: none; }
.manifesto .container { position: relative; text-align: center; }
.manifesto__text {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  max-width: 1080px;
  margin: 0 auto;
}
.manifesto__text .sw { opacity: .14; transition: none; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: clamp(64px, 8vw, 110px);
  text-align: left;
}
.stat {
  background: var(--color-white);
  border-radius: var(--radius-3xl);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column; gap: 14px;
}
.stat__value { font-family: var(--font-serif); font-size: clamp(48px, 5vw, 68px); line-height: 1; letter-spacing: -0.05em; }
.stat__value sup { font-size: .45em; vertical-align: top; position: relative; top: .25em; margin-left: 2px; color: var(--color-brass); }
.stat__label { font-size: 15px; color: var(--color-graphite); line-height: 1.45; }

/* =========================================================
   SECTION HEAD
   ========================================================= */
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--center { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.section-head--split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.section-head--split .lead { margin-bottom: 20px; }

/* Split words */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi { display: inline-block; will-change: transform; }

/* =========================================================
   SERVICES — STACK
   ========================================================= */
.services { padding: var(--section-gap) 0 calc(var(--section-gap) * .6); position: relative; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.stack__card {
  position: sticky;
  top: 112px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  min-height: min(560px, 72vh);
  padding: clamp(28px, 4vw, 56px);
  background: var(--color-white);
  border-radius: var(--radius-4xl);
  box-shadow: var(--shadow-xl);
  transform-origin: center top;
  overflow: hidden;
}
.stack__card:nth-child(2) { top: 132px; }
.stack__card:nth-child(3) { top: 152px; }
.stack__text { display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.stack__text p { font-size: 18px; color: var(--color-graphite); max-width: 460px; }
.stack__num {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); font-weight: 500; font-size: 15px;
}
.checklist { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.checklist li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%230f241c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/100% no-repeat;
}
.stack__visual { position: relative; display: grid; place-items: center; min-height: 320px; }
.stack__sheet { position: absolute; inset: 6% 4%; background: var(--accent); rotate: 3deg; }
.stack__sheet::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); }
.mini-ui {
  position: relative; width: min(100%, 380px);
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: 24px; rotate: -2deg;
  display: flex; flex-direction: column; gap: 16px;
}
.mini-ui__row { display: grid; gap: 8px; font-size: 14px; font-weight: 500; }
.bar { height: 10px; border-radius: 10px; background: var(--color-cloud); position: relative; overflow: hidden; }
.bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--color-ink); border-radius: inherit; transform-origin: left; transform: scaleX(var(--bar, 1)); }
.mini-ui__tag { align-self: flex-start; font-size: 12px; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--color-linen); color: var(--color-graphite); letter-spacing: .12px; }
.audit__line { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; padding: 10px 12px; background: var(--color-linen); border-radius: 12px; }
.audit__check { width: 20px; height: 20px; border-radius: 6px; flex: none; border: 1.5px solid var(--color-ink); position: relative; }
.audit__check::after { content: ""; position: absolute; inset: 2px; border-radius: 3px; background: var(--color-sage); transform: scale(var(--chk, 1)); }
.tree { width: 100%; height: auto; }

/* =========================================================
   SOLUTIONS — horizontal
   ========================================================= */
.solutions { position: relative; padding: calc(var(--section-gap) * .4) 0; }
.solutions__pin { height: 100vh; display: flex; align-items: center; overflow: hidden; }
.solutions__track {
  display: flex; align-items: stretch; gap: 24px;
  padding: 0 calc(var(--gutter) + 6vw) 0 max(var(--gutter), calc((100vw - var(--page-max)) / 2));
  will-change: transform;
}
.solutions__intro {
  flex: none; width: min(460px, 80vw);
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  padding-right: 40px;
}
.solutions__intro .kicker { margin-bottom: 0; }
.solutions__hint { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; color: var(--color-graphite); }
.solutions__hint svg { width: 40px; height: 16px; animation: nudge 2s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }

.sol-card {
  position: relative; flex: none;
  width: clamp(300px, 30vw, 400px);
  min-height: min(520px, 68vh);
  padding: 28px;
  border-radius: var(--radius-4xl);
  background: var(--color-white);
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column; gap: 20px;
  overflow: hidden;
  isolation: isolate;
}
.sol-card::before {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -10%; height: 55%;
  background: var(--accent); z-index: -1;
  clip-path: polygon(0 18%, 6% 14%, 12% 19%, 19% 12%, 26% 17%, 33% 11%, 40% 16%, 47% 10%, 55% 15%, 62% 9%, 70% 14%, 77% 10%, 85% 16%, 92% 11%, 100% 15%, 100% 100%, 0 100%);
  transition: height .7s var(--ease);
}
.sol-card::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); z-index: -1; opacity: .6; }
.sol-card:hover::before { height: 100%; }
.sol-card__index { font-size: 13px; font-weight: 500; color: var(--color-graphite); }
.sol-card__icon { width: 64px; height: 64px; border-radius: 18px; background: var(--accent); display: grid; place-items: center; }
.sol-card__icon svg { width: 32px; height: 32px; }
.sol-card .h3 { font-size: clamp(34px, 3vw, 44px); letter-spacing: -0.04em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.pills li {
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-subtle);
  font-size: 14px; font-weight: 500; letter-spacing: 0.14px;
}

/* =========================================================
   PARTNERS
   ========================================================= */
.partners { padding: calc(var(--section-gap) * .5) 0 calc(var(--section-gap) * .7); }
.partners__title { text-align: center; font-size: 15px; color: var(--color-graphite); margin-bottom: 36px; padding: 0 var(--gutter); }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; will-change: transform; padding: 16px 0 28px; }
.partner {
  display: inline-grid; place-items: center;
  height: 104px; min-width: 220px; padding: 0 36px;
  background: var(--color-white);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-md-2);
  margin-right: 20px;
  transition: color .3s, translate .5s var(--ease);
}
.partner:hover { color: var(--color-ink); translate: 0 -4px; }
.partner img { height: calc(var(--h, 36px) * 1.15); width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1) contrast(1.15); opacity: .85; transition: filter .5s var(--ease), opacity .5s var(--ease); }
.partner:hover img { filter: none; opacity: 1; }

/* =========================================================
   METHOD
   ========================================================= */
.method { padding: var(--section-gap) 0; position: relative; }
.method__wrap { position: relative; }
.method__path { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 20px 0; }
.step {
  background: var(--color-white); border-radius: var(--radius-3xl); padding: 32px 28px;
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column; gap: 14px;
}
.step:nth-child(1) { margin-top: 150px; }
.step:nth-child(2) { margin-top: 0; }
.step:nth-child(3) { margin-top: 150px; }
.step p { color: var(--color-graphite); }
.step__badge {
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--accent);
  font-family: var(--font-serif); font-size: 30px; letter-spacing: -0.04em;
  margin-bottom: 8px;
}

/* =========================================================
   AUDIENCE
   ========================================================= */
.audience { padding: var(--section-gap) 0; position: relative; }
.polaroids { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.polaroid {
  position: relative; margin: 0;
  background: var(--color-white);
  padding: 14px 14px 24px;
  border-radius: 6px;
  box-shadow: var(--shadow-xl);
  rotate: var(--r, 0deg);
  transition: rotate .7s var(--ease), translate .7s var(--ease), box-shadow .7s var(--ease);
}
.polaroid:hover { rotate: 0deg; translate: 0 -8px; box-shadow: var(--shadow-xl), var(--shadow-md); }
.polaroids .polaroid:nth-child(2) { margin-top: 56px; }
.polaroid__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: var(--color-cloud); }
.polaroid__img img { width: 100%; height: 100%; object-fit: cover; }
.polaroid figcaption { padding: 18px 6px 0; }
.polaroid figcaption p { color: var(--color-graphite); font-size: 15px; margin-top: 6px; }
.audience__note {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px;
  width: fit-content; margin: clamp(56px, 6vw, 80px) auto 0;
  padding: 14px 24px; border-radius: var(--radius-pill);
  background: var(--color-white); box-shadow: var(--shadow-md-2);
  font-size: 15px; text-align: center;
}

/* =========================================================
   FOUNDER
   ========================================================= */
.founder { padding: var(--section-gap) 0; }
.founder__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 7vw, 120px); align-items: center; }
.founder__media { position: relative; padding: 40px 30px; }
.founder__sheet { position: absolute; inset: 0 8% 10% 0; background: var(--color-sage); rotate: -4deg; }
.founder__sheet::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); }
.polaroid--large { --r: 3deg; max-width: 440px; margin-left: auto; margin-right: auto; }
.polaroid__caption { padding: 14px 6px 0 !important; font-size: 14px; color: var(--color-graphite); text-align: center; }
.badge-float {
  position: absolute; left: 0; bottom: 60px;
  background: var(--color-white); border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  padding: 16px 20px; rotate: -6deg;
  display: flex; flex-direction: column; font-size: 13px; color: var(--color-graphite);
}
.badge-float__big { font-family: var(--font-serif); font-size: 28px; color: var(--color-ink); letter-spacing: -0.04em; }
.founder__text { display: flex; flex-direction: column; gap: 20px; }
.founder__text .kicker { margin-bottom: 0; }
.founder__text > p { font-size: 18px; color: var(--color-graphite); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 16px 0 12px; }
.value {
  background: var(--accent); padding: 22px 18px 20px;
  border-radius: 4px 4px 16px 4px;
  box-shadow: var(--shadow-xl);
  rotate: var(--r);
  position: relative;
}
.value::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); border-radius: inherit; pointer-events: none; }
.value h3 { font-family: var(--font-serif); font-size: 24px; letter-spacing: -0.03em; margin-bottom: 6px; }
.value p { font-size: 14px; line-height: 1.45; }
.founder__text .link-arrow { align-self: flex-start; }

/* =========================================================
   TOOLS
   ========================================================= */
.tools { padding: var(--section-gap) 0; }
.tools__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 16px; row-gap: 4px;
  align-items: center;
  padding: 22px;
  background: var(--color-white);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-md-2);
  transition: box-shadow .5s var(--ease), translate .5s var(--ease);
}
.tool::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  clip-path: circle(0% at 44px 44px);
  transition: clip-path .7s var(--ease);
}
.tool:hover { box-shadow: var(--shadow-xl); translate: 0 -4px; }
.tool:hover::before { clip-path: circle(150% at 44px 44px); }
.tool__icon { grid-row: 1 / 3; width: 48px; height: 48px; border-radius: 14px; background: var(--accent); display: grid; place-items: center; transition: background-color .4s; }
.tool:hover .tool__icon { background: rgba(255,255,255,.7); }
.tool__icon svg { width: 24px; height: 24px; }
.tool__name { font-weight: 500; font-size: 17px; letter-spacing: -0.4px; }
.tool__desc { grid-column: 2; font-size: 14px; color: var(--color-graphite); line-height: 1.4; }
.tool__go {
  grid-row: 1 / 3; grid-column: 3;
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--color-ash);
  display: grid; place-items: center;
  transition: background-color .4s, border-color .4s, transform .5s var(--ease);
}
.tool__go svg { width: 14px; height: 14px; }
.tool:hover .tool__go { background: var(--color-ink); color: var(--color-white); border-color: var(--color-ink); transform: rotate(45deg); }

/* =========================================================
   JOURNAL
   ========================================================= */
.journal { padding: calc(var(--section-gap) * .6) 0 var(--section-gap); }
.journal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.newsletter {
  position: relative; isolation: isolate;
  padding: clamp(32px, 4vw, 48px);
  background: var(--color-white);
  border-radius: var(--radius-4xl);
  box-shadow: var(--shadow-xl);
  display: flex; flex-direction: column; gap: 16px;
}
.newsletter__sheet { position: absolute; width: 46%; height: 44%; right: -6%; top: -8%; background: var(--color-slate); z-index: -1; rotate: 8deg; }
.newsletter .kicker { margin-bottom: 0; }
.newsletter > p { color: var(--color-graphite); }
.newsletter__form { display: flex; gap: 8px; margin-top: 8px; }
.newsletter__form input {
  flex: 1; min-width: 0;
  height: 54px; padding: 0 20px;
  border: 1px solid var(--color-ash); border-radius: var(--radius-pill);
  background: var(--color-linen);
  font: inherit; color: var(--color-ink);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.newsletter__form input:focus { outline: none; border-color: var(--color-ink); background: var(--color-white); box-shadow: 0 0 0 4px rgba(181,195,174,.5); }
.newsletter__legal { font-size: 12px; color: var(--color-graphite); letter-spacing: .12px; }
.newsletter__legal a { text-decoration: underline; }
.newsletter__ok { font-weight: 500; color: #4f6f4b; min-height: 1px; }

.journal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.journal__head .kicker { margin-bottom: 0; }
.post {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center;
  padding: 26px 4px;
  border-bottom: 1px solid rgba(15,36,28,.1);
  transition: padding .5s var(--ease);
}
.post:hover { padding-left: 16px; }
.post__cat { grid-column: 1 / -1; justify-self: start; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--accent); letter-spacing: .12px; }
.post__title { font-family: var(--font-serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -0.03em; }
.post__meta { font-size: 13px; color: var(--color-graphite); white-space: nowrap; }

/* =========================================================
   CTA
   ========================================================= */
.cta { padding: 0 0 var(--section-gap); }
.cta__card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 40px;
  padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 96px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end;
  box-shadow: var(--shadow-xl);
}
.cta__bg { position: absolute; inset: 0; background: var(--gradient-deep); z-index: -2; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); }
.cta__piece { position: absolute; z-index: -1; }
.cta__piece::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); }
.cta__piece--1 { background: var(--color-sage); width: 34%; height: 46%; right: -6%; top: -10%; rotate: 8deg; }
.cta__piece--2 { background: var(--color-sand); width: 22%; height: 34%; right: 18%; bottom: -14%; rotate: -6deg; }
.cta__piece--3 { background: var(--color-slate); width: 18%; height: 26%; left: -4%; bottom: -8%; rotate: 10deg; }
.cta__content { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.02; letter-spacing: -0.045em;
}
.cta__content .lead { max-width: 520px; color: var(--color-graphite); }
.cta__content .hero__ctas { justify-content: flex-start; margin-top: 4px; }
.cta__info { display: flex; flex-direction: column; gap: 12px; }
.info-card {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-2xl);
  padding: 18px 20px;
  box-shadow: var(--shadow-md-2);
  display: flex; flex-direction: column; gap: 2px;
  font-weight: 500;
  word-break: break-word;
}
.info-card a:hover { text-decoration: underline; }
.info-card .muted { font-weight: 400; font-size: 14px; }
.info-card__label { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--color-graphite); margin-bottom: 4px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 72px 0 32px; border-top: 1px solid rgba(15,36,28,.08); position: relative; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__tagline { margin-top: 18px; color: var(--color-graphite); font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__col a { width: fit-content; transition: opacity .3s; }
.footer__col a:hover { opacity: .6; }
.footer__label { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--color-graphite); margin-bottom: 4px; }
.footer__big {
  margin: 64px 0 40px;
  font-family: var(--font-serif);
  font-size: clamp(48px, 12.6vw, 190px);
  line-height: .9; letter-spacing: -0.06em;
  white-space: nowrap; text-align: center;
  color: var(--color-ink);
  overflow: hidden;
}
.footer__big .ch { display: inline-block; }
.footer__legal { border-top: 1px solid rgba(15,36,28,.08); padding-top: 28px; }
.regs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 32px; margin: 0; }
.regs div { font-size: 13px; line-height: 1.45; }
.regs dt { font-weight: 700; display: inline; }
.regs dt::after { content: " · "; font-weight: 400; color: var(--color-stone); }
.regs dd { display: inline; margin: 0; color: var(--color-graphite); }
.footer__note { margin-top: 20px; font-size: 13px; font-weight: 500; }
.footer__bottom { margin-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--color-graphite); }
.footer__bottom a:hover { text-decoration: underline; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .float-card--chart { left: 3%; top: 18%; width: 230px; }
  .float-card--rating { right: 3%; top: 18%; }
}

@media (max-width: 900px) {
  .stack__card { grid-template-columns: 1fr; min-height: 0; gap: 28px; top: 92px; }
  .stack__card:nth-child(2) { top: 106px; }
  .stack__card:nth-child(3) { top: 120px; }
  .stack__visual { min-height: 240px; }
  .section-head--split { grid-template-columns: 1fr; gap: 16px; }

  .solutions__pin { height: auto; display: block; overflow: visible; }
  .solutions__track { flex-direction: column; padding: 0 var(--gutter); gap: 16px; }
  .solutions__intro { width: 100%; padding: 0 0 24px; }
  .solutions__hint { display: none; }
  .sol-card { width: 100%; min-height: 0; }
  .sol-card::before { height: 40%; }

  .steps { grid-template-columns: 1fr; gap: 20px; }
  .step:nth-child(n) { margin-top: 0; }
  .method__path { display: none; }

  .polaroids { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 40px; }
  .polaroids .polaroid:nth-child(2) { margin-top: 0; }

  .founder__grid { grid-template-columns: 1fr; }
  .founder__media { max-width: 480px; margin: 0 auto; width: 100%; }

  .tools__grid { grid-template-columns: 1fr 1fr; }
  .journal__grid { grid-template-columns: 1fr; }
  .cta__card { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 768px) {
  .header { padding: 10px 12px; }
  .header__bar { height: 58px; padding: 0 7px 0 14px; }
  .header__actions .btn { display: none; }
  .logo__mark { width: 34px; height: 34px; font-size: 15px; border-radius: 10px; }

  .hero { min-height: 600px; }
  .hero__content { padding-top: 40px; }
  .hero__title { margin: 22px 0 20px; }
  .eyebrow { font-size: 12.5px; }
  .hero__ctas { flex-direction: column; width: 100%; max-width: 340px; }
  .hero__ctas .btn { width: 100%; }
  .float-card--chart, .sticky-note { display: none; }
  .piece--sage { width: 46vw; height: 22vh; left: -14%; top: 8%; }
  .piece--sand { width: 40vw; height: 18vh; right: -14%; top: 6%; }
  .piece--slate { width: 34vw; height: 15vh; left: -8%; bottom: 3%; }
  .piece--paper { width: 40vw; height: 16vh; right: -8%; bottom: 2%; }
  .float-card--rating { right: 5%; top: auto; bottom: 3%; padding: 10px 14px; rotate: 4deg; }
  .rating__score { font-size: 24px; }
  .stars svg { width: 12px; height: 12px; }
  .tag-float { left: 5%; bottom: 5%; font-size: 12.5px; padding: 8px 12px; }
  .hero__content { padding-bottom: 70px; }
  .hero__ctas { margin-top: 28px; }
  .btn { height: 50px; }
  .hero__scroll { display: none; }

  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 20px 16px; }
  .stat__label { font-size: 13.5px; }

  .stack__text p { font-size: 16px; }
  .values { grid-template-columns: 1fr; }
  .tools__grid { grid-template-columns: 1fr; }
  .newsletter__form { flex-direction: column; }
  .newsletter__form .btn { width: 100%; }
  .cta__card { border-radius: 28px; }
  .cta__content .hero__ctas { max-width: none; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .partner { height: 76px; min-width: 150px; padding: 0 22px; }
  .partner img { height: calc(var(--h, 36px) * .8); max-width: 130px; }
  .badge-float { bottom: 20px; }
}

@media (max-width: 768px) and (max-height: 720px) {
  .float-card--rating, .tag-float { display: none; }
  .hero__content { padding-bottom: 0; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .post { grid-template-columns: 1fr; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .intro { display: none !important; }
  .js .hero [data-intro], .js .hero .float-card, .js .hero .piece, .js .hero .sticky-note, .js .hero .tag-float { opacity: 1; }
  .js .hero__title .line__in { transform: none; }
  .js .hl { --hl: 1; }
  .manifesto__text .sw { opacity: 1; }
}

/* =========================================================
   PALETTE « BLEU NUIT & LAITON » — surfaces sombres
   (Hero, header sur la Hero, CTA, footer)
   ========================================================= */
html { background: var(--color-deep); }
.u-link { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--color-brass); }
.u-link:hover { color: var(--color-brass); }

/* Boutons sur fond sombre */
.btn--light { background: var(--color-ivory); color: var(--color-deep); }
.btn--light:hover { background: #fff; box-shadow: 0 16px 36px -12px rgba(0,0,0,.55); }
.btn--ghost-light { background: rgba(245,240,232,.04); color: var(--color-ivory); border: 1px solid rgba(245,240,232,.22); }
.btn--ghost-light:hover { background: rgba(245,240,232,.1); border-color: rgba(245,240,232,.42); }
.dot--live { background: #8fae88; box-shadow: 0 0 0 3px rgba(181,195,174,.35); }
.dot--brass { background: var(--color-brass); }

/* Intro */
.intro__sheet--1 { background: var(--color-deep-2); }
.intro__sheet--2 { background: var(--color-sand); }
.intro__sheet--3 { background: var(--color-ivory); }
.intro__mark { color: var(--color-deep); }

/* Hero */
.hero { color: var(--color-ivory); }
.hero__grid {
  background-image:
    linear-gradient(rgba(245,240,232,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,240,232,.05) 1px, transparent 1px);
}
.hero__noise { mix-blend-mode: overlay; opacity: .55; }
.hero .eyebrow { background: rgba(245,240,232,.07); border: 1px solid rgba(245,240,232,.14); color: var(--color-ivory); box-shadow: none; }
.hero__lead { color: rgba(245,240,232,.72); }
.hero__scroll { color: rgba(245,240,232,.55); }
.hero__scroll-line { background: rgba(245,240,232,.18); }
.hero__scroll-line::after { background: var(--color-ivory); }
.hero .hl { color: var(--color-brass-light); }
.hero .hl::before {
  height: 2px; bottom: .04em; left: .02em; right: .02em;
  background: var(--color-brass-light);
  border-radius: 2px; opacity: .85;
  transform: scaleX(var(--hl, 1));
}
.hero .piece { box-shadow: rgba(0,0,0,.35) 0 40px 60px -24px, rgba(0,0,0,.2) 0 8px 18px -6px; }
.hero .piece--paper { background-color: var(--color-ivory); background-image: radial-gradient(circle, rgba(15,36,28,.22) 1px, transparent 1.4px); }
.hero .float-card, .hero .tag-float, .hero .sticky-note { box-shadow: rgba(0,0,0,.4) 0 40px 60px -24px, rgba(0,0,0,.18) 0 6px 14px -4px; }
.hero .tag-float { color: var(--color-ink); }
.hero .sticky-note { color: var(--color-ink); }
.float-card--rating { pointer-events: auto; color: var(--color-ink); transition: box-shadow .5s var(--ease); }
.float-card--rating:hover .float-card__caption { text-decoration: underline; }
.hero__shade { background: #04110c; }

/* Header au-dessus de la Hero */
.logo__word, .nav__link, .logo__mark { transition: color .4s, background-color .4s; }
body:not(.menu-open) .header.on-dark .nav__link,
body:not(.menu-open) .header.on-dark .logo__word { color: var(--color-ivory); }
body:not(.menu-open) .header.on-dark .nav__link:hover { background: rgba(245,240,232,.1); }
body:not(.menu-open) .header.on-dark .logo__mark { background: var(--color-ivory); color: var(--color-deep); }
body:not(.menu-open) .header.on-dark .btn--ink { background: var(--color-ivory); color: var(--color-deep); }
body:not(.menu-open) .header.on-dark.is-scrolled .header__bar { background: rgba(17,56,43,.55); box-shadow: inset 0 0 0 1px rgba(245,240,232,.08); }

/* CTA */
.cta__bg { background: var(--gradient-deep); }
.cta__bg::after { mix-blend-mode: overlay; opacity: .6; }
.cta__card { color: var(--color-ivory); box-shadow: rgba(15,36,28,.25) 0 50px 80px -30px, var(--shadow-xl); }
.cta__piece { box-shadow: rgba(0,0,0,.3) 0 30px 50px -20px; }
.cta__content .lead { color: rgba(245,240,232,.72); }
.eyebrow--light { background: rgba(245,240,232,.07); border: 1px solid rgba(245,240,232,.14); color: var(--color-ivory); box-shadow: none; }
.info-card { background: rgba(245,240,232,.06); border: 1px solid rgba(245,240,232,.12); box-shadow: none; color: var(--color-ivory); }
.info-card__label, .info-card .muted { color: rgba(245,240,232,.6); opacity: 1; }

/* Footer */
.footer { background: var(--color-deep); color: var(--color-ivory); border-top: 0; }
.footer .logo__mark { background: var(--color-ivory); color: var(--color-deep); }
.footer__tagline, .regs dd, .footer__bottom { color: rgba(245,240,232,.66); }
.footer__label { color: var(--color-brass-light); }
.footer__big { color: var(--color-ivory); }
.footer__big .ch:nth-child(-n+2) { color: var(--color-brass-light); }
.footer__legal { border-top-color: rgba(245,240,232,.12); }
.regs dt::after { color: rgba(245,240,232,.35); }

/* Voile des cartes empilées (remplace filter: brightness) */
.stack__card::after { content: ""; position: absolute; inset: 0; background: var(--color-deep); opacity: var(--dim, 0); pointer-events: none; border-radius: inherit; z-index: 5; }

/* =========================================================
   VOS PROJETS
   ========================================================= */
.goals { padding: var(--section-gap) 0 calc(var(--section-gap) * .4); }
.goals__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.goal {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px 22px 26px;
  background: var(--color-white);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-md-2);
  transition: box-shadow .5s var(--ease), translate .5s var(--ease);
}
.goal::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 0; z-index: -1;
  background: var(--accent);
  transition: height .6s var(--ease);
}
.goal:hover { translate: 0 -6px; box-shadow: var(--shadow-xl); }
.goal:hover::before { height: 100%; }
.goal__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent); display: grid; place-items: center; margin-bottom: 8px; transition: background-color .4s; }
.goal:hover .goal__icon { background: rgba(255,255,255,.65); }
.goal__icon svg { width: 24px; height: 24px; }
.goal__title { font-family: var(--font-serif); font-size: 24px; line-height: 1.15; letter-spacing: -0.03em; }
.goal p { font-size: 15px; color: var(--color-graphite); line-height: 1.45; }
@media (max-width: 1100px) { .goals__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .goals__grid { grid-template-columns: 1fr; } }

/* =========================================================
   VOS PROJETS — trois colonnes
   ========================================================= */
.trio { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: 24px; align-items: stretch; }
.trio__card {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--color-white);
  border-radius: 32px;
  box-shadow: var(--shadow-xl);
  padding: clamp(28px, 3vw, 44px);
  display: flex; flex-direction: column; gap: 24px;
}
.trio__title {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-serif); font-size: clamp(30px, 2.8vw, 40px); line-height: 1.08; letter-spacing: -0.035em;
  color: var(--color-deep);
}
.trio__title svg { width: 34px; height: 34px; flex: none; color: var(--color-brass); }
.trio__title--center { justify-content: center; text-align: center; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 118px; padding: 16px 10px;
  background: var(--color-linen); border-radius: 18px;
  text-align: center; font-size: 14.5px; font-weight: 500; line-height: 1.3; color: var(--color-ink);
  transition: background-color .4s var(--ease), translate .4s var(--ease), box-shadow .4s var(--ease);
}
.tile svg { width: 28px; height: 28px; color: var(--color-deep); transition: transform .5s var(--ease); }
.tile:hover { background: var(--color-sage); translate: 0 -3px; box-shadow: var(--shadow-md-2); }
.tile:hover svg { transform: scale(1.12) rotate(-6deg); }

.trio__card--deep { background: transparent; color: var(--color-ivory); justify-content: center; }
.trio__deep-bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(155deg, #1b4a3a 0%, #2c5a47 40%, #6f7a5c 75%, #b39a72 100%);
}
.trio__deep-bg::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); mix-blend-mode: overlay; opacity: .7; }
.trio__card--deep .trio__title { color: var(--color-ivory); }
.approach { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.approach li { display: flex; gap: 18px; align-items: flex-start; }
.approach__ico { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(245,240,232,.14); box-shadow: inset 0 0 0 1px rgba(245,240,232,.18); }
.approach__ico svg { width: 24px; height: 24px; }
.approach h4 { margin: 0 0 4px; font-family: var(--font-serif); font-weight: 400; font-size: 22px; letter-spacing: -0.02em; }
.approach p { font-size: 15px; line-height: 1.45; color: rgba(245,240,232,.78); }
.approach__quote { margin-top: 12px; padding-top: 24px; border-top: 1px solid rgba(245,240,232,.22); text-align: center; font-family: var(--font-serif); font-style: italic; font-size: 19px; color: rgba(245,240,232,.92); }

.solist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.solist li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; background: var(--color-linen); font-weight: 500; font-size: 15.5px; transition: background-color .3s, translate .4s var(--ease); }
.solist li:hover { background: var(--color-cloud); translate: 4px 0; }
.solist svg, .booking__list svg { width: 22px; height: 22px; flex: none; color: var(--color-deep); }
.trio__partners { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--color-ash); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.trio__logos { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.trio__logos img { height: 26px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .4s, opacity .4s; }
.trio__logos img:hover { filter: none; opacity: 1; }
.trio__partners p { font-family: var(--font-serif); font-style: italic; color: var(--color-graphite); font-size: 15px; }

/* =========================================================
   MÉTHODE — frise verticale + photo
   ========================================================= */
.method__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(48px, 6vw, 80px); }
.timeline__rail { position: absolute; left: 31px; top: 40px; bottom: 40px; width: 2px; background: var(--color-ash); border-radius: 2px; overflow: hidden; }
.timeline__fill { position: absolute; inset: 0; background: linear-gradient(var(--color-deep), var(--color-brass)); transform-origin: top; transform: scaleY(0); }
.tl-step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 28px; align-items: start; }
.tl-step__num {
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-canvas); color: var(--color-deep);
  box-shadow: inset 0 0 0 2px var(--color-deep);
  font-family: var(--font-serif); font-size: 26px;
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .6s var(--ease);
}
.tl-step.is-active .tl-step__num { background: var(--color-deep); color: var(--color-ivory); transform: scale(1.06); }
.tl-step__kicker { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-brass); margin-bottom: 6px; }
.tl-step__title { font-family: var(--font-serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -0.03em; color: var(--color-deep); margin-bottom: 12px; }
.tl-step p { color: var(--color-graphite); font-size: 17px; line-height: 1.6; max-width: 540px; }
.method__photo { position: relative; margin: 0; }
.method__photo-frame {
  aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 140px 28px 140px 28px;
  border: 8px solid var(--color-white);
  box-shadow: var(--shadow-xl), rgba(15,36,28,.12) 0 40px 80px -30px;
}
.method__photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.method__badge {
  position: absolute; left: -24px; bottom: 48px;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--color-white); padding: 12px 18px; border-radius: 999px;
  box-shadow: var(--shadow-md-2); font-weight: 500; font-size: 14px;
}

/* =========================================================
   RENDEZ-VOUS — agenda intégré
   ========================================================= */
.cta__card { grid-template-columns: 1fr 1.2fr; align-items: start; gap: clamp(32px, 4vw, 64px); padding: clamp(40px, 5vw, 72px); }
.cta__content { gap: 20px; }
.cta__title { font-size: clamp(38px, 4.4vw, 62px); }
.booking__title { font-family: var(--font-serif); font-size: 28px; letter-spacing: -0.02em; color: var(--color-brass-light); margin-top: 8px; }
.booking__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.booking__list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.booking__list svg { color: var(--color-brass-light); }
.booking__quote { margin: 4px 0 0; padding: 18px 20px; border-radius: 18px; background: rgba(245,240,232,.07); border: 1px solid rgba(245,240,232,.14); font-family: var(--font-serif); font-style: italic; font-size: 17px; line-height: 1.5; color: rgba(245,240,232,.9); }
.booking__contact { display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; color: rgba(245,240,232,.72); }
.booking__contact a { color: var(--color-ivory); font-weight: 500; width: fit-content; }
.booking__contact a:hover { text-decoration: underline; }
.booking__cal {
  position: relative;
  background: var(--color-white); color: var(--color-ink);
  border-radius: 28px; padding: 8px;
  box-shadow: rgba(0,0,0,.35) 0 40px 70px -30px;
  min-height: 600px;
}
.booking__cal-inner { width: 100%; min-height: 584px; border-radius: 22px; overflow: hidden; }
.booking__loading { display: grid; place-items: center; min-height: 584px; color: var(--color-graphite); font-size: 15px; }

@media (max-width: 1100px) {
  .trio { grid-template-columns: 1fr 1fr; }
  .trio__card--deep { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 900px) {
  .method__grid { grid-template-columns: 1fr; }
  .method__photo { max-width: 420px; margin: 0 auto; order: -1; }
  .method__badge { left: 0; }
  .cta__card { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .trio { grid-template-columns: 1fr; }
  .tl-step { grid-template-columns: 48px 1fr; gap: 18px; }
  .tl-step__num { width: 48px; height: 48px; font-size: 20px; }
  .timeline__rail { left: 23px; }
  .tl-step p { font-size: 16px; }
  .booking__cal { padding: 4px; border-radius: 22px; }
}

/* Feuilles décoratives du bloc rendez-vous : derrière l'agenda, jamais sous le texte */
.cta__piece--1 { width: 30%; height: 32%; right: -5%; top: auto; bottom: -8%; rotate: -6deg; }
.cta__piece--3 { width: 16%; height: 20%; left: -4%; bottom: -6%; }
@media (max-width: 900px) { .cta__piece { display: none; } }

/* =========================================================
   LOGO « MAXIME MEURGEY » (SVG vectorisé, couleur = currentColor)
   ========================================================= */
.brand { display: block; background-color: currentColor; -webkit-mask: var(--src) no-repeat center / contain; mask: var(--src) no-repeat center / contain; }
.brand--nom { --src: url("../img/logo/logo-maxime-meurgey-nom.svg"); width: 210px; aspect-ratio: 11.9 / 1; }
.brand--full { --src: url("../img/logo/logo-maxime-meurgey.svg"); width: min(100%, 340px); aspect-ratio: 7.87 / 1; }
.header .logo { color: var(--color-deep); transition: color .4s; }
body:not(.menu-open) .header.on-dark .logo { color: var(--color-ivory); }
.footer .logo { color: var(--color-ivory); }
@media (max-width: 768px) { .brand--nom { width: 168px; } }

/* Intro et grand nom du pied de page en Gloock */
.intro__mark { font-family: 'Gloock', var(--font-serif); text-transform: uppercase; letter-spacing: 0.02em; gap: .3em; font-size: clamp(40px, 7.4vw, 110px); color: var(--color-deep); }
.intro__word { font-family: 'IBM Plex Mono', monospace; letter-spacing: .38em; font-size: clamp(10px, 1.2vw, 15px); color: var(--color-deep); margin-top: 6px; }
.footer__big { font-family: 'Gloock', var(--font-serif); text-transform: uppercase; letter-spacing: 0.01em; font-size: clamp(36px, 8.4vw, 132px); }

/* Vos projets : deux colonnes (objectifs + démarche) */
.trio { grid-template-columns: 1.45fr 1fr; }
.tiles { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) {
  .trio { grid-template-columns: 1fr; }
  .trio__card--deep { grid-column: auto; order: 0; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 700px) { .tiles { grid-template-columns: 1fr 1fr; } }

/* Correctifs */
.trio__card .tiles { flex: 1; grid-auto-rows: 1fr; }
.brand--full { width: 320px; max-width: 100%; }
.footer__big { font-size: clamp(32px, 7.4vw, 118px); }

@media (max-width: 420px) { .hero .eyebrow { font-size: 11.5px; padding: 7px 12px 7px 10px; } }

/* =========================================================
   PAGE « QUI SUIS-JE »
   ========================================================= */
.nav__link--active { background: rgba(15,36,28,.07); }
body:not(.menu-open) .header.on-dark .nav__link--active { background: rgba(245,240,232,.12); }

/* Hero de page : texte à gauche, portrait à droite */
.page-hero {
  max-width: calc(var(--page-max) + var(--gutter) * 2); width: 100%;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  text-align: left; padding-top: 60px;
}
.page-hero__text { display: flex; flex-direction: column; align-items: flex-start; }
.page-hero__title { font-size: clamp(44px, 6.2vw, 92px); margin: 24px 0 22px; }
.page-hero .hero__lead { max-width: 560px; }
.page-hero .hero__ctas { justify-content: flex-start; }
.page-hero__photo { --r: 4deg; width: min(100%, 380px); justify-self: center; color: var(--color-ink); }
.page-hero__photo .polaroid__img { aspect-ratio: 4 / 4.6; }
.hero--page .piece--sage { left: -6%; top: 8%; width: min(26vw, 380px); height: 30vh; }
.hero--page .piece--sand { right: 6%; left: auto; top: auto; bottom: 6%; width: min(24vw, 340px); height: 34vh; }
.hero--page .piece--paper { right: -4%; top: 6%; bottom: auto; width: min(18vw, 260px); height: 22vh; }

.stat__value--word { font-size: clamp(40px, 4vw, 56px); }

/* Comparaison */
.compare { padding: calc(var(--section-gap) * .4) 0 var(--section-gap); }
.compare__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1080px; margin: 0 auto; }
.compare__card { position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; padding: clamp(28px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.compare__card--muted { background: var(--color-linen); box-shadow: inset 0 0 0 1px var(--color-ash); color: var(--color-graphite); }
.compare__card--deep { color: var(--color-ivory); box-shadow: var(--shadow-xl); }
.compare__label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-brass); }
.compare__card--deep .compare__label { color: var(--color-brass-light); }
.compare__title { font-family: var(--font-serif); font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.035em; line-height: 1.1; color: var(--color-ink); }
.compare__card--deep .compare__title { color: var(--color-ivory); }
.compare__list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.compare__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16.5px; line-height: 1.45; }
.compare__list svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--color-brass-light); }
.compare__list--cross svg { color: var(--color-stone); }

/* Valeurs (grand format) */
.values-sec { padding: calc(var(--section-gap) * .6) 0 var(--section-gap); }
.values-lg { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.value-lg {
  position: relative; background: var(--accent);
  padding: 44px 30px 34px; border-radius: 6px 6px 26px 6px;
  box-shadow: var(--shadow-xl); rotate: var(--r);
  transition: rotate .7s var(--ease), translate .7s var(--ease);
}
.value-lg::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); border-radius: inherit; pointer-events: none; }
.value-lg:hover { rotate: 0deg; translate: 0 -6px; }
.value-lg__num { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: rgba(15,36,28,.55); }
.value-lg h3 { font-family: var(--font-serif); font-size: clamp(30px, 2.8vw, 40px); letter-spacing: -0.035em; margin: 10px 0 12px; color: var(--color-ink); }
.value-lg p { font-size: 16px; line-height: 1.55; color: var(--color-ink); opacity: .85; }

/* Cadre réglementaire */
.trust { padding: 0 0 var(--section-gap); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust__card { background: var(--color-white); border-radius: 24px; padding: 28px 24px; box-shadow: var(--shadow-md-2); display: flex; flex-direction: column; gap: 10px; transition: translate .5s var(--ease), box-shadow .5s var(--ease); }
.trust__card:hover { translate: 0 -4px; box-shadow: var(--shadow-xl); }
.trust__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--color-deep); color: var(--color-brass-light); margin-bottom: 8px; }
.trust__ico svg { width: 26px; height: 26px; }
.trust__card h3 { font-family: var(--font-serif); font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; color: var(--color-ink); }
.trust__card p { font-size: 15px; color: var(--color-graphite); line-height: 1.5; }

@media (max-width: 1100px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .page-hero { grid-template-columns: 1fr; padding-top: 40px; }
  .page-hero__photo { display: none; }
  .compare__grid, .values-lg { grid-template-columns: 1fr; }
  .values-lg { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 560px) {
  .trust__grid { grid-template-columns: 1fr; }
  .page-hero__title { font-size: clamp(40px, 11vw, 56px); }
}
@media (max-width: 768px) {
  .hero--page .piece--sand { width: 44vw; height: 14vh; right: -12%; bottom: 2%; }
  .hero--page .piece--paper { width: 30vw; height: 14vh; right: -10%; top: 9%; }
  .hero--page .piece--sage { width: 40vw; height: 16vh; left: -16%; top: 10%; }
}

/* =========================================================
   PAGES LÉGALES (mentions, confidentialité)
   ========================================================= */
.hero--legal { height: 62vh; height: 62svh; min-height: 460px; }
.legal-hero { text-align: center; align-items: center; padding-top: 50px; }
.legal-hero__title { font-size: clamp(44px, 6.4vw, 96px); margin: 22px 0 14px; }
.legal { position: relative; z-index: 2; background: var(--color-canvas); padding: calc(var(--section-gap) * .7) 0 var(--section-gap); margin-top: -1px; }
.legal::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .5; pointer-events: none; }
.legal__grid { position: relative; display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 2px; }
.toc__title { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-brass); margin-bottom: 12px; }
.toc__link { position: relative; padding: 9px 14px; border-radius: 12px; font-size: 14.5px; font-weight: 500; color: var(--color-graphite); transition: background-color .3s, color .3s; }
.toc__link::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 0; border-radius: 3px; background: var(--color-brass); transform: translateY(-50%); transition: height .4s var(--ease); }
.toc__link:hover { background: rgba(15,36,28,.05); color: var(--color-ink); }
.toc__link.is-active { color: var(--color-deep); background: var(--color-white); box-shadow: var(--shadow-subtle); }
.toc__link.is-active::before { height: 60%; }
.legal__body { background: var(--color-white); border-radius: 32px; box-shadow: var(--shadow-xl); padding: clamp(28px, 5vw, 64px); }
.legal-sec { scroll-margin-top: 110px; padding: 0 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--color-cloud); }
.legal-sec:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.legal-sec h2 { font-family: var(--font-serif); font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.03em; line-height: 1.15; color: var(--color-deep); margin-bottom: 16px; }
.legal-sec h3 { font-size: 17px; font-weight: 600; margin: 22px 0 8px; color: var(--color-ink); }
.legal-sec p, .legal-sec li { font-size: 16px; line-height: 1.7; color: var(--color-graphite); }
.legal-sec p + p { margin-top: 12px; }
.legal-sec a { color: var(--color-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--color-brass); }
.legal-list { list-style: none; margin: 12px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.legal-list li { position: relative; padding-left: 22px; }
.legal-list li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--color-brass); rotate: 45deg; }
.legal-list strong, .legal-sec p strong { color: var(--color-ink); }
.legal-dl { margin: 8px 0 0; display: grid; border-radius: 18px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--color-cloud); }
.legal-dl div { display: grid; grid-template-columns: minmax(160px, 34%) 1fr; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--color-cloud); }
.legal-dl div:nth-child(odd) { background: var(--color-linen); }
.legal-dl div:last-child { border-bottom: 0; }
.legal-dl dt { font-weight: 600; font-size: 14.5px; color: var(--color-ink); }
.legal-dl dd { margin: 0; font-size: 15px; color: var(--color-graphite); }
.legal-highlight { margin-top: 16px !important; padding: 16px 20px; border-radius: 16px; background: var(--color-sage); color: var(--color-ink) !important; font-weight: 500; }
.legal-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 12px 0 4px; font-size: 14.5px; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--color-cloud); }
.legal-table th, .legal-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--color-cloud); vertical-align: top; color: var(--color-graphite); }
.legal-table th { background: var(--color-deep); color: var(--color-ivory); font-weight: 500; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table tr:nth-child(even) td { background: var(--color-linen); }
.todo { display: inline-block; padding: 2px 10px; border-radius: 8px; border: 1.5px dashed var(--color-brass); background: rgba(176,138,82,.1); color: #7a5a2c; font-size: 14px; font-weight: 500; }
@media (max-width: 900px) {
  .legal__grid { grid-template-columns: 1fr; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .toc__title { width: 100%; margin-bottom: 4px; }
  .toc__link { background: var(--color-white); box-shadow: var(--shadow-subtle); font-size: 13.5px; padding: 7px 12px; }
  .toc__link::before { display: none; }
  .legal-dl div { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 560px) { .legal-table { display: block; overflow-x: auto; } }

/* =========================================================
   PAGE PRENDRE RENDEZ-VOUS
   ========================================================= */
.booking-page { position: relative; z-index: 2; background: var(--color-canvas); padding-top: calc(var(--section-gap) * .6); margin-top: -1px; }
.fmt { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 4px; }
.fmt__btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left;
  padding: 16px 18px; border-radius: 18px;
  background: rgba(245,240,232,.06); color: var(--color-ivory);
  box-shadow: inset 0 0 0 1px rgba(245,240,232,.16);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.fmt__btn:hover { background: rgba(245,240,232,.1); transform: translateY(-2px); }
.fmt__btn.is-on { background: var(--color-ivory); color: var(--color-ink); box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); }
.fmt__dur { font-family: var(--font-serif); font-size: 26px; letter-spacing: -0.03em; line-height: 1; color: var(--color-brass-light); }
.fmt__btn.is-on .fmt__dur { color: var(--color-brass); }
.fmt__name { font-weight: 600; font-size: 15px; }
.fmt__desc { font-size: 13px; line-height: 1.4; opacity: .75; }
[data-fmt-panel][hidden] { display: none !important; }

.contact-ways { padding: calc(var(--section-gap) * .2) 0 calc(var(--section-gap) * .6); }
.contact-ways__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 26px 24px; border-radius: 24px; background: var(--color-white); box-shadow: var(--shadow-md-2); transition: translate .5s var(--ease), box-shadow .5s var(--ease); min-width: 0; }
a.contact-card:hover { translate: 0 -4px; box-shadow: var(--shadow-xl); }
.contact-card .trust__ico { margin-bottom: 12px; }
.contact-card__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-brass); }
.contact-card__value { font-family: var(--font-serif); font-size: 20px; letter-spacing: -0.02em; color: var(--color-ink); overflow-wrap: anywhere; }
.contact-card__sub { font-size: 14px; color: var(--color-graphite); }

.faq { padding: calc(var(--section-gap) * .4) 0 var(--section-gap); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__grid header { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 16px; }
.faq__grid header .kicker { margin-bottom: 0; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--color-white); border-radius: 22px; box-shadow: var(--shadow-md-2); overflow: hidden; transition: box-shadow .4s var(--ease); }
.faq__item[open] { box-shadow: var(--shadow-xl); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; font-family: var(--font-serif); font-size: clamp(19px, 1.6vw, 22px); letter-spacing: -0.02em; color: var(--color-ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--color-linen); transition: background-color .4s, transform .5s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--color-deep); border-radius: 2px; translate: -50% -50%; transition: rotate .5s var(--ease), background-color .4s; }
.faq__icon::after { rotate: 90deg; }
.faq__item[open] .faq__icon { background: var(--color-deep); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--color-ivory); }
.faq__item[open] .faq__icon::after { rotate: 0deg; }
.faq__answer { padding: 0 24px 24px; }
.faq__answer p { color: var(--color-graphite); font-size: 16px; line-height: 1.65; }

@media (max-width: 1100px) { .contact-ways__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; } .faq__grid header { position: static; } }
@media (max-width: 560px) { .fmt { grid-template-columns: 1fr; } .contact-ways__grid { grid-template-columns: 1fr; } }

/* =========================================================
   BLOG
   ========================================================= */
.blog { position: relative; z-index: 2; background: var(--color-canvas); padding: calc(var(--section-gap) * .6) 0 calc(var(--section-gap) * .5); margin-top: -1px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 48px; }
.chip { font: inherit; font-size: 14px; font-weight: 500; padding: 10px 16px; border-radius: 999px; background: var(--color-white); color: var(--color-ink); box-shadow: var(--shadow-subtle); transition: background-color .3s, color .3s, box-shadow .3s; }
.chip:hover { box-shadow: var(--shadow-md-2); }
.chip.is-on { background: var(--color-deep); color: var(--color-ivory); }
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bcard { position: relative; display: flex; flex-direction: column; background: var(--color-white); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-xl); transition: translate .5s var(--ease), box-shadow .5s var(--ease); }
a.bcard:hover { translate: 0 -6px; box-shadow: var(--shadow-xl), var(--shadow-md); }
.bcard--featured { grid-column: span 2; flex-direction: row; }
.bcard__visual { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--color-linen); overflow: hidden; }
.bcard--featured .bcard__visual { aspect-ratio: auto; flex: 0 0 46%; min-height: 320px; }
.bcard__sheet { position: absolute; inset: 14% 16%; background: var(--accent); rotate: -4deg; transition: rotate .7s var(--ease), scale .7s var(--ease); }
.bcard__sheet::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); }
a.bcard:hover .bcard__sheet { rotate: 2deg; scale: 1.05; }
.bcard__icon { position: relative; width: 64px; height: 64px; color: var(--color-deep); }
.bcard__soon { position: absolute; top: 14px; right: 14px; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--color-white); color: var(--color-graphite); box-shadow: var(--shadow-subtle); }
.bcard__body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 28px; flex: 1; }
.bcard--featured .bcard__body { justify-content: center; padding: 40px; gap: 14px; }
.bcard__meta { font-size: 13px; color: var(--color-graphite); display: flex; align-items: center; gap: 6px; }
.bcard__meta .post__cat { --accent: var(--color-sage); }
.bcard__title { font-family: var(--font-serif); font-size: 24px; line-height: 1.2; letter-spacing: -0.03em; color: var(--color-ink); }
.bcard--featured .bcard__title { font-size: clamp(28px, 2.8vw, 40px); }
.bcard__excerpt { font-size: 15px; line-height: 1.55; color: var(--color-graphite); }
.bcard__more { align-self: flex-start; margin-top: auto; padding-top: 8px; }
article.bcard { cursor: default; }
article.bcard .bcard__title { color: var(--color-graphite); }
.bcard.is-hidden { display: none; }
.journal__grid--single { grid-template-columns: minmax(0, 760px); justify-content: center; }

/* Article */
.article__hero { position: relative; height: 70vh; height: 70svh; min-height: 520px; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--color-ivory); z-index: 1; }
.article__head { text-align: center; align-items: center; padding-top: 60px; }
.article__title { font-size: clamp(36px, 5.2vw, 76px); margin: 20px 0 16px; }
.article__back { font-size: 14px; font-weight: 500; color: rgba(245,240,232,.75); margin-bottom: 18px; transition: color .3s; }
.article__back:hover { color: var(--color-ivory); }
.article__wrap { position: relative; z-index: 2; background: var(--color-canvas); padding: calc(var(--section-gap) * .6) var(--gutter) var(--section-gap); margin-top: -1px; display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: clamp(32px, 5vw, 80px); justify-content: center; align-items: start; }
.article__progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 95; pointer-events: none; }
.article__progress span { display: block; height: 100%; background: var(--color-brass); transform-origin: left; transform: scaleX(0); }
.prose { font-size: 18px; line-height: 1.75; color: var(--color-graphite); }
.prose > * + * { margin-top: 18px; }
.prose__lead { font-family: var(--font-serif); font-size: clamp(21px, 1.8vw, 25px); line-height: 1.5; color: var(--color-ink); letter-spacing: -0.01em; }
.prose h2 { font-family: var(--font-serif); font-size: clamp(30px, 2.8vw, 40px); line-height: 1.12; letter-spacing: -0.035em; color: var(--color-deep); margin-top: 48px; }
.prose h3 { font-size: 19px; font-weight: 600; color: var(--color-ink); margin-top: 28px; }
.prose strong { color: var(--color-ink); }
.prose ul { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 8px; height: 8px; border-radius: 2px; background: var(--color-brass); rotate: 45deg; }
.prose__callout { margin: 32px 0 !important; padding: 26px 28px; border-radius: 22px; background: var(--color-sage); color: var(--color-ink); position: relative; }
.prose__callout::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: var(--noise); pointer-events: none; }
.prose__callout-kicker { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.prose__callout p { font-size: 17px; line-height: 1.6; }
.prose__table { overflow-x: auto; }
.prose__table table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md-2); background: var(--color-white); }
.prose__table th { background: var(--color-deep); color: var(--color-ivory); text-align: left; font-weight: 500; padding: 14px 18px; }
.prose__table td { padding: 14px 18px; border-top: 1px solid var(--color-cloud); }
.prose__disclaimer { font-size: 14px !important; line-height: 1.6; padding: 16px 18px; border-radius: 14px; background: var(--color-linen); margin-top: 40px !important; }
.author-box { display: flex; gap: 18px; align-items: center; margin-top: 40px !important; padding: 22px; border-radius: 22px; background: var(--color-white); box-shadow: var(--shadow-md-2); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box div { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.4; }
.author-box strong { font-size: 17px; }
.author-box .link-arrow { align-self: flex-start; margin-top: 6px; font-size: 14px; }
.article__cta { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 26px; background: var(--color-white); box-shadow: var(--shadow-xl); }
.article__cta .kicker { margin-bottom: 0; }
.article__cta p { font-size: 15.5px; line-height: 1.55; color: var(--color-graphite); }
.article__cta .btn { align-self: flex-start; }
.article__cta .link-arrow { font-size: 14px; align-self: flex-start; }

@media (max-width: 1100px) {
  .bgrid { grid-template-columns: 1fr 1fr; }
  .article__wrap { grid-template-columns: minmax(0, 720px); }
  .article__cta { position: static; }
}
@media (max-width: 700px) {
  .bgrid { grid-template-columns: 1fr; }
  .bcard--featured { grid-column: auto; flex-direction: column; }
  .bcard--featured .bcard__visual { min-height: 0; aspect-ratio: 16 / 10; flex: none; }
  .bcard--featured .bcard__body { padding: 24px 26px 28px; }
  .prose { font-size: 17px; }
}

/* =========================================================
   PALETTE v3 — vert moins foncé, laiton plus présent
   ========================================================= */
.trio__deep-bg { background: linear-gradient(155deg, #37654f 0%, #46735c 40%, #8c8a60 76%, #c9a56c 100%); }
.btn--ink { background: var(--color-deep); color: var(--color-ivory); }
.btn--ink:hover { background: var(--color-deep-2); }
.btn--light { background: var(--color-brass-light); color: var(--color-ink); }
.btn--light:hover { background: #e7d2a6; }
body:not(.menu-open) .header.on-dark .btn--ink { background: var(--color-brass-light); color: var(--color-ink); }
.hero .hl, .hero .hl::before { --brass-accent: var(--color-brass-light); }
.kicker::before { height: 2px; }
.stat__value sup, .tl-step__kicker, .compare__label { color: var(--color-brass); }
.tl-step.is-active .tl-step__num { box-shadow: inset 0 0 0 2px var(--color-deep), 0 0 0 5px rgba(184,144,79,.25); }
.footer { background: var(--color-deep); }
.footer__big .ch:nth-child(-n+6) { color: var(--color-brass-light); }
.footer__big .ch:nth-child(n+7) { color: var(--color-ivory); }
.chip.is-on, .fmt__btn.is-on .fmt__dur { }

/* =========================================================
   LOGO GLOOCK (en-tête : nom + « conseil en gestion de patrimoine »)
   ========================================================= */
.brand--nom { --src: url("../img/logo/logo-maxime-meurgey-entete.svg"); width: 232px; aspect-ratio: 7.22 / 1; }
.brand--full { aspect-ratio: 7.26 / 1; }
@media (max-width: 768px) { .brand--nom { width: 196px; } }

/* =========================================================
   BOUTON RETOUR EN HAUT
   ========================================================= */
.to-top {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 80;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-deep); color: var(--color-ivory);
  box-shadow: rgba(0,0,0,.18) 0 14px 30px -10px, rgba(0,0,0,.12) 0 3px 8px;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s, background-color .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--color-deep-2); }
.to-top:hover .to-top__arrow { transform: translateY(-3px); }
.to-top:focus-visible { outline: 2px solid var(--color-brass); outline-offset: 3px; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.to-top__ring circle { fill: none; stroke-width: 2.5; stroke: rgba(245,240,232,.18); }
.to-top__ring .to-top__progress { stroke: var(--color-brass-light); stroke-linecap: round; transition: stroke-dashoffset .15s linear; }
.to-top__arrow { position: relative; width: 18px; height: 18px; transition: transform .4s var(--ease); }
.menu-open .to-top { opacity: 0; visibility: hidden; }

/* =========================================================
   SIMULATEURS
   ========================================================= */
.simsec { position: relative; z-index: 2; background: var(--color-canvas); padding: calc(var(--section-gap) * .6) 0 var(--section-gap); margin-top: -1px; }
.simsec::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .5; pointer-events: none; }
.simsec > .container { position: relative; }
.sim { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.sim__form { background: var(--color-white); border-radius: 30px; box-shadow: var(--shadow-xl); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.sim__form-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sim__form-head h2 { font-family: var(--font-serif); font-size: 28px; letter-spacing: -0.03em; color: var(--color-deep); }
.sim__reset { font-size: 13px; font-weight: 500; color: var(--color-graphite); padding: 7px 12px; border-radius: 999px; background: var(--color-linen); transition: background-color .3s; }
.sim__reset:hover { background: var(--color-cloud); }
.sfield { display: flex; flex-direction: column; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.sfield__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sfield__label { font-size: 14.5px; font-weight: 500; color: var(--color-ink); padding: 0; }
.sfield--choice .sfield__label { margin-bottom: 10px; }
.sfield__val { display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 10px; border-radius: 10px; background: var(--color-linen); font-size: 14px; font-weight: 600; color: var(--color-deep); white-space: nowrap; }
.sfield__val input { width: 9ch; border: 0; background: transparent; font: inherit; color: inherit; text-align: right; padding: 0; -moz-appearance: textfield; }
.sfield__val input::-webkit-outer-spin-button, .sfield__val input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sfield__val input:focus { outline: none; }
.sfield__val:focus-within { box-shadow: 0 0 0 2px var(--color-brass); }
.sfield__hint { font-size: 12.5px; color: var(--color-graphite); opacity: .8; }
.srange { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--color-deep) 0 var(--p, 50%), var(--color-cloud) var(--p, 50%) 100%); cursor: pointer; }
.srange::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--color-white); border: 2px solid var(--color-deep); box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: transform .2s; }
.srange::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--color-white); border: 2px solid var(--color-deep); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.srange:active::-webkit-slider-thumb { transform: scale(1.15); }
.srange:focus-visible { outline: 2px solid var(--color-brass); outline-offset: 6px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg__btn { padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--color-linen); color: var(--color-ink); transition: background-color .3s, color .3s; }
.seg__btn:hover { background: var(--color-cloud); }
.seg__btn.is-on { background: var(--color-deep); color: var(--color-ivory); }

.sim__out { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; }
.sim__main { position: relative; overflow: hidden; isolation: isolate; border-radius: 30px; padding: 28px 30px; color: var(--color-ivory); background: var(--gradient-deep); box-shadow: var(--shadow-xl); display: flex; flex-direction: column; gap: 6px; }
.sim__main::after { content: ""; position: absolute; inset: 0; background-image: var(--noise); mix-blend-mode: overlay; opacity: .6; z-index: -1; }
.sim__main-label { font-size: 14px; color: rgba(245,240,232,.75); }
.sim__main-value { font-family: var(--font-serif); font-size: clamp(42px, 5vw, 64px); letter-spacing: -0.04em; line-height: 1.05; color: var(--color-brass-light); font-variant-numeric: tabular-nums; }
.sim__main-sub { font-size: 14px; color: rgba(245,240,232,.8); }
.sim__main-sub:empty { display: none; }
.sim__kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.sim__kpi { background: var(--color-white); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-md-2); display: flex; flex-direction: column; gap: 4px; }
.sim__kpi-label { font-size: 12.5px; color: var(--color-graphite); line-height: 1.35; }
.sim__kpi-value { font-family: var(--font-serif); font-size: 22px; letter-spacing: -0.02em; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.sim__chart { position: relative; height: 320px; background: var(--color-white); border-radius: 24px; padding: 18px 18px 12px; box-shadow: var(--shadow-md-2); }
.sim__note { font-size: 13px; line-height: 1.55; color: var(--color-graphite); padding: 0 6px; }

.sim-after { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; margin-top: clamp(56px, 7vw, 96px); align-items: stretch; }
.sim-explain { background: var(--color-white); border-radius: 30px; box-shadow: var(--shadow-xl); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.sim-explain .kicker { margin-bottom: 0; }
.sim-explain p { color: var(--color-graphite); font-size: 16.5px; line-height: 1.65; }
.sim-disclaimer { font-size: 13px !important; line-height: 1.55; padding: 14px 16px; border-radius: 14px; background: var(--color-linen); color: var(--color-graphite); margin-top: 8px; }
.sim-disclaimer--center { max-width: 760px; margin: 40px auto 0; text-align: center; }
.sim-disclaimer a { text-decoration: underline; text-decoration-color: var(--color-brass); text-underline-offset: 3px; }
.sim-cta { position: relative; isolation: isolate; overflow: hidden; border-radius: 30px; padding: clamp(28px, 4vw, 44px); color: var(--color-ivory); display: flex; flex-direction: column; gap: 14px; justify-content: center; box-shadow: var(--shadow-xl); }
.sim-cta h3 { font-family: var(--font-serif); font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -0.03em; line-height: 1.1; }
.sim-cta p { color: rgba(245,240,232,.82); font-size: 15.5px; line-height: 1.55; }
.sim-cta .btn { align-self: flex-start; margin-top: 6px; }
.kicker--light { color: rgba(245,240,232,.75); margin-bottom: 0; }
.sim-others { margin-top: clamp(56px, 7vw, 96px); }
.sim-others__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.sim-others__head .kicker { margin-bottom: 0; }

@media (max-width: 1000px) {
  .sim { grid-template-columns: 1fr; }
  .sim__out { position: static; }
  .sim-after { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sim__chart { height: 280px; padding: 12px 10px 8px; }
  .sim__main { padding: 22px; }
}

/* =========================================================
   AÉRATION — plus d'espace, lecture plus confortable
   ========================================================= */
:root { --section-gap: clamp(112px, 13vw, 184px); }
body { line-height: 1.6; }
.lead, .hero__lead { line-height: 1.65; }

/* Hero : titre un peu plus compact, plus d'air entre les blocs */
.hero__content { max-width: 860px; }
.hero__title { font-size: clamp(46px, 6.4vw, 96px); line-height: 1.04; margin: 36px 0 30px; }
.hero__lead { max-width: 560px; }
.hero__ctas { margin-top: 44px; gap: 14px; }

/* Collage : éléments plus discrets et repoussés vers les bords */
.float-card { color: var(--color-ink); }
.float-card--chart { width: 220px; left: 3.5%; top: 24%; padding: 14px; }
.float-card--chart .chart { height: 80px; }
.float-card--rating { right: 4%; top: 24%; }
.sticky-note { right: 6%; bottom: 13%; width: 150px; font-size: 15px; padding: 24px 16px 16px; }
.tag-float { left: 6%; bottom: 17%; }
.piece--sage { width: min(24vw, 360px); height: 30vh; left: -7%; top: 10%; }
.piece--sand { width: min(20vw, 300px); height: 26vh; right: -6%; top: 6%; }
.piece--slate { width: min(15vw, 220px); height: 18vh; left: 3%; bottom: 3%; }
.piece--paper { width: min(17vw, 250px); height: 21vh; right: 4%; bottom: 2%; }
@media (max-width: 1280px) {
  .float-card--chart { display: none; }
  .tag-float { left: 4%; bottom: 10%; }
}

/* Sections : titres et paragraphes mieux espacés */
.section-head { margin-bottom: clamp(56px, 7vw, 96px); }
.kicker { margin-bottom: 24px; }
.manifesto__text { line-height: 1.22; }
.stack__text { gap: 24px; }
.stack__text p, .founder__text > p, .tl-step p { line-height: 1.7; }
.founder__text { gap: 24px; }
.timeline { gap: clamp(56px, 7vw, 96px); }
.tl-step__title { margin-bottom: 14px; }
.trio { gap: 28px; }
.tiles { gap: 14px; }
.stats { gap: 20px; }

/* Mobile : on rétablit la position des badges de la Hero après l'aération */
@media (max-width: 768px) {
  .float-card--rating { top: auto; right: 5%; bottom: 3%; }
  .tag-float { left: 5%; bottom: 5%; }
  .hero__title { margin: 26px 0 22px; }
  .hero__ctas { margin-top: 30px; }
}
@media (max-width: 768px) {
  .hero:not(.hero--page) .piece--sage { width: 46vw; height: 18vh; left: -16%; top: 8%; }
  .hero:not(.hero--page) .piece--sand { width: 40vw; height: 16vh; right: -16%; top: 6%; }
  .hero:not(.hero--page) .piece--slate { width: 34vw; height: 13vh; left: -10%; bottom: 3%; }
  .hero:not(.hero--page) .piece--paper { width: 38vw; height: 14vh; right: -10%; bottom: 2%; }
}

/* Newsletter : champ anti-robot, états */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.newsletter__ok.is-error { color: #9a3b26; }
.newsletter__form .btn.is-loading { opacity: .6; pointer-events: none; }

/* =========================================================
   ACCUEIL — HERO ÉDITORIALE SUR FOND CLAIR
   ========================================================= */
.hero--light { color: var(--color-ink); align-items: stretch; }
.hero--light .hero__sky { background: radial-gradient(120% 90% at 70% 10%, #fdfbf7 0%, #f8f4ec 55%, #f1ebe0 100%); }
.hero--light .hero__grid {
  background-image:
    linear-gradient(rgba(47,93,74,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,93,74,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 78%);
}
.hero--light .hero__noise { mix-blend-mode: multiply; opacity: .55; }
.hero--light .hero__shade { background: var(--color-ink); }

.hero--light .hero__content.hx {
  max-width: calc(var(--page-max) + var(--gutter) * 2); width: 100%;
  margin: 0 auto; padding: 120px var(--gutter) 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  text-align: left; align-items: stretch;
}
.hx__main { flex: 1; display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(32px, 5vw, 80px); align-items: end; padding-bottom: clamp(32px, 5vh, 56px); }
.hx__kicker { display: inline-flex; align-items: center; gap: 14px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--color-brass); }
.hx__kicker::before { content: ""; width: 44px; height: 1px; background: var(--color-brass); }
.hero--light .hx__title { font-size: clamp(48px, 7vw, 120px); line-height: .98; letter-spacing: -0.05em; color: var(--color-deep); margin: 28px 0 0; }
.hero--light .hx__title .line { padding-bottom: .1em; margin-bottom: -.1em; }
.hero--light .hl { color: var(--color-brass); }
.hero--light .hl::before { background: var(--color-brass); height: 2px; bottom: .02em; opacity: .7; }

.hx__side { display: flex; flex-direction: column; gap: 24px; }
.hx__photo { position: relative; margin: 0; width: 100%; max-width: 300px; aspect-ratio: 4 / 4.6; border-radius: 22px; overflow: hidden; border: 6px solid var(--color-white); box-shadow: var(--shadow-xl), rgba(15,36,28,.16) 0 30px 60px -24px; }
.hx__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hx__photo figcaption { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.9); backdrop-filter: blur(6px); font-size: 12.5px; font-weight: 500; color: var(--color-ink); }
.hx__aside { display: flex; flex-direction: column; gap: 20px; }
.hx__lead { font-size: 17px; line-height: 1.65; color: var(--color-graphite); max-width: 340px; }
.hx__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

.hx__band { display: grid; grid-template-columns: repeat(3, 1fr) auto; border-top: 1px solid rgba(47,93,74,.16); }
.hx__svc { display: flex; align-items: baseline; gap: 16px; padding: 24px 24px 28px 0; margin-right: 24px; border-right: 1px solid rgba(47,93,74,.16); }
.hx__svc b { font-family: 'IBM Plex Mono', monospace; font-weight: 400; font-size: 12px; color: var(--color-brass); }
.hx__svc span { font-family: var(--font-serif); font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -0.02em; color: var(--color-deep); transition: color .3s; }
.hx__svc small { display: block; font-family: var(--font-sans); font-size: 13px; letter-spacing: 0; color: var(--color-graphite); margin-top: 4px; }
.hx__svc:hover span { color: var(--color-brass); }
.hx__rating { display: flex; align-items: center; gap: 10px; padding: 24px 0 28px; white-space: nowrap; }
.hx__rating b { font-family: var(--font-serif); font-weight: 400; font-size: 28px; letter-spacing: -0.03em; color: var(--color-deep); }
.hx__rating .stars svg { width: 13px; height: 13px; }
.hx__rating small { font-size: 13.5px; color: var(--color-graphite); }
.hx__rating:hover small { text-decoration: underline; }


@media (max-width: 1000px) {
  .hero--light { height: auto; min-height: 100vh; min-height: 100svh; }
  .hero--light .hero__content.hx { padding-top: 110px; }
  .hx__main { grid-template-columns: 1fr; align-items: start; gap: 32px; }
  .hx__side { flex-direction: row; align-items: flex-end; gap: 20px; }
  .hx__photo { max-width: 170px; flex: none; }
  .hx__band { grid-template-columns: 1fr; }
  .hx__svc { border-right: 0; border-bottom: 1px solid rgba(47,93,74,.16); margin-right: 0; padding: 16px 0; }
  .hx__rating { padding: 16px 0 28px; }
}
@media (max-width: 560px) {
  .hero--light .hx__title { font-size: clamp(42px, 12vw, 58px); }
  .hx__side { flex-direction: column; align-items: flex-start; }
  .hx__photo { max-width: 100%; width: 100%; aspect-ratio: 4 / 3; }
  .hx__photo img { object-position: center 20%; }
  .hx__ctas .btn { width: 100%; }
}

@media (max-width: 560px) {
  .hx__side { flex-direction: row; align-items: flex-start; gap: 16px; }
  .hx__photo { width: 118px; max-width: 118px; aspect-ratio: 4 / 5; border-width: 4px; border-radius: 16px; }
  .hx__photo figcaption { display: none; }
  .hx__lead { font-size: 15.5px; }
  .hx__ctas { gap: 14px; }
}

@media (max-width: 560px) {
  .hx__aside { flex: 1; min-width: 0; }
  .hx__lead { max-width: none; }
  .hx__ctas .btn { width: 100%; padding: 0 16px; font-size: 15px; }
}

/* Qui suis-je : titre plus compact pour laisser sa place au portrait */
.page-hero__title { font-size: clamp(42px, 5.2vw, 80px); }
.page-hero__title .line__in { white-space: normal; }
.page-hero { grid-template-columns: 1.15fr .85fr; }

/* Lien discret vers le back office */
.footer__private { opacity: .55; }
.footer__private:hover { opacity: 1; }

/* Accès « Espace cabinet » (réservé) dans l'en-tête et le menu mobile */
.header__private {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--color-deep);
  border: 1px solid rgba(47, 93, 74, .22);
  transition: background-color .3s, color .3s, border-color .3s;
}
.header__private svg { width: 19px; height: 19px; }
.header__private:hover { background: var(--color-deep); color: var(--color-ivory); border-color: var(--color-deep); }
body:not(.menu-open) .header.on-dark .header__private { color: var(--color-ivory); border-color: rgba(245, 240, 232, .3); }
body:not(.menu-open) .header.on-dark .header__private:hover { background: var(--color-ivory); color: var(--color-deep); border-color: var(--color-ivory); }
.menu__private { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 15px; font-weight: 500; color: var(--color-graphite); }
.menu__private svg { width: 18px; height: 18px; }
@media (max-width: 768px) { .header__private { display: none; } }
