/* ============================================
   ACQMASTER — One-page premium site
   DARK base — midnight blue everywhere
   Type: cream + gold accents
   ============================================ */

:root {
  --bg:           #0E2A33;   /* midnight base — page bg */
  --bg-2:         #102E38;   /* +tiny lift */
  --bg-3:         #15323C;   /* cards / elevated surfaces */
  --bg-4:         #1A3A44;   /* hover */
  --ink:          #F4EFE6;   /* primary text — cream */
  --ink-soft:     rgba(244, 239, 230, 0.78);
  --ink-mute:     rgba(244, 239, 230, 0.58);
  --gold:         #C9A878;
  --gold-soft:    #D8BD8E;
  --gold-bright:  #E5CCA0;
  --hairline:     rgba(216, 189, 142, 0.22);
  --hairline-2:   rgba(216, 189, 142, 0.40);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-py: clamp(60px, 8vw, 100px);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--bg); }

/* Skip link — visible only on focus (keyboard nav, screen readers) */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; outline: 2px solid var(--ink); outline-offset: 2px; }

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}
.reveal.in .eyebrow::before { width: 48px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -0.005em; color: var(--ink); }
h1 { font-size: clamp(44px, 6.2vw, 80px); font-weight: 500; }
h2 { font-size: clamp(34px, 4.5vw, 54px); }
h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; }

p { color: var(--ink-soft); }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--ink-soft); max-width: 62ch; }

.divider-gold {
  width: 64px; height: 1px;
  background: var(--gold);
  margin: 28px 0 36px;
  border: 0;
  transition: width 0.6s var(--ease);
}
.reveal.in .divider-gold { width: 96px; }

/* ---------- Section frame ---------- */
section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  position: relative;
}
section + section { border-top: 1px solid rgba(216, 189, 142, 0.04); }

.section-head { margin-bottom: clamp(48px, 6vw, 72px); max-width: 880px; }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head h2 { max-width: 22ch; }
.section-head .lead { margin-top: 22px; }

/* Buy-side : titre+lead à gauche, bouton à droite (compact) */
.buyside-head {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}
.buyside-head-text { max-width: 880px; }
.buyside-head-cta { padding-bottom: 6px; }
@media (max-width: 880px) {
  .buyside-head { grid-template-columns: 1fr; align-items: start; }
  .buyside-head-cta { padding-bottom: 0; }
}

/* Tighter padding for Notre métier so the section + values fit in one viewport */
#splash {
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(56px, 7vw, 88px);
}
#splash .section-head {
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
#splash .section-head h2 {
  font-size: clamp(36px, 4vw, 52px);
  max-width: 36ch;
}
#splash .section-head .lead {
  max-width: 64ch;
}
#splash .value {
  padding: 24px 22px;
}
#splash .values-grid {
  margin-top: 20px !important;
}

/* Ambient particles — subtle gold light points + diffuse glows */
.ambient {
  position: absolute;
  inset: -120px 0;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}
.ambient .glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(28px);
  opacity: var(--glow-o, 0.7);
  background: radial-gradient(circle,
    rgba(201, 168, 120, 0.10) 0%,
    rgba(201, 168, 120, 0.04) 40%,
    transparent 72%);
}
.ambient span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: var(--gold-bright);
  opacity: 0;
  box-shadow: 0 0 8px 1px rgba(216, 189, 142, 0.45),
              0 0 18px 3px rgba(216, 189, 142, 0.18);
  animation: ambient-twinkle 7s var(--ease, ease-in-out) infinite;
  animation-delay: var(--d);
  --target-o: var(--o, 0.5);
}
@keyframes ambient-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.7); }
  40% { opacity: var(--target-o); transform: scale(1); }
  60% { opacity: var(--target-o); transform: scale(1.05); }
  80% { opacity: 0.08; transform: scale(0.85); }
}
/* Ensure every section that hosts an .ambient is a positioning context and content sits above */
/* Gold thread — continuous Art Deco curve across the document */
.gold-thread {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(900px, 70vw, 1400px);
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
  mix-blend-mode: screen;
}
.thread-ornament {
  position: absolute;
  left: 50%;
  width: 200px;
  height: 60px;
  pointer-events: none;
  z-index: 3;
  transform: translateX(-50%);
  mix-blend-mode: screen;
  opacity: 0.95;
}
.thread-ornament-top { top: 96px; }
.thread-ornament-bottom-footer {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 60px;
  pointer-events: none;
  z-index: 5;
  mix-blend-mode: screen;
  opacity: 1;
}
.footer { position: relative; }
body { position: relative; }
.site-nav, header, section, footer { position: relative; z-index: 1; }
section > .container { z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .ambient span { animation: none; opacity: 0.3; }
}

/* Section head with editorial aside (Notre métier) */
.metier-head {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.metier-head-text .eyebrow { margin-bottom: 22px; }
.metier-head-text h2 { max-width: 16ch; }
.metier-head-text .lead { margin-top: 22px; max-width: 46ch; }

.metier-head-aside {
  position: relative;
  padding: 8px 0 0 clamp(24px, 3vw, 40px);
  border-left: 1px solid var(--hairline);
  margin-top: 14px;
}
.aside-mark {
  position: absolute;
  top: -28px;
  left: clamp(20px, 3vw, 36px);
  font-family: var(--serif);
  font-size: 88px;
  line-height: 1;
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
  user-select: none;
}
.aside-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: 0.005em;
  text-wrap: pretty;
  max-width: 32ch;
}
.aside-attr {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.aside-name {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.aside-role {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(14, 42, 51, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  padding: 12px 0;
  border-bottom-color: var(--hairline);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  height: 56px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}
.nav.scrolled .nav-logo {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.nav-logo img {
  height: 56px; width: auto; display: block;
}
.nav-links {
  display: flex; align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-soft); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), letter-spacing 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}
.nav-cta:hover { color: var(--bg); letter-spacing: 0.18em; }
.nav-cta:hover::before { transform: translateY(0); }
.nav-cta {
  background: transparent;
  position: relative;
  isolation: isolate;
}

.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--bg);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.3s var(--ease), letter-spacing 0.35s var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  letter-spacing: 0.2em;
  transform: translateY(-2px);
}
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(6px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(244, 239, 230, 0.4);
}
.btn-ghost:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

/* ---------- HERO ---------- */
.hero {
  padding-top: clamp(96px, 11vh, 130px);
  padding-bottom: clamp(28px, 3vw, 44px);
  position: relative;
  overflow-x: clip;
}
.hero::before {
  /* soft gold radial glow on the right — diffuse ambient */
  content: "";
  position: absolute;
  top: 28%; right: -320px;
  width: 920px; height: 920px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 120, 0.085) 0%, rgba(201, 168, 120, 0.035) 38%, transparent 72%);
  pointer-events: none;
  filter: blur(22px);
  z-index: 0;
}
.hero::after {
  /* fine grid texture */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(216, 189, 142, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 189, 142, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.55) 0%, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-visual {
  margin-top: 0;
  align-self: start;
}
.hero-text { position: relative; }
.hero h1 { font-size: clamp(34px, 4.2vw, 52px); max-width: none; margin-top: 18px; line-height: 1.05; }
.hero h1 .line { display: block; }
.hero h1 .line-2 {
  font-size: 1.18em;
  margin: 4px 0;
  white-space: nowrap;
}
.hero h1 .accent-2::after { animation-delay: 1.25s; }
.hero-lead {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 400;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 22px;
  max-width: 38ch;
}
.hero h1 .accent {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 500;
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineIn 1.2s 1s var(--ease) forwards;
}
@keyframes underlineIn { to { transform: scaleX(1); } }

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 20px;
  max-width: 38ch;
}

/* Hero marquee — full-bleed scrolling band */
.hero-marquee {
  position: relative;
  z-index: 4;
  margin-top: clamp(-90px, -7vw, -30px);
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  padding: 14px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  background-color: var(--bg);
  background-image: linear-gradient(rgba(216, 189, 142, 0.04), rgba(216, 189, 142, 0.04));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marqueeScroll 50s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-item {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.marquee-dot {
  color: var(--gold);
  font-size: 10px;
  opacity: 0.7;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero-marquee:hover .marquee-track { animation-play-state: paused; }

.hero-stats {
  position: relative;
  z-index: 4;
  margin-top: clamp(12px, 1.5vw, 20px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  width: 100%;
  background: var(--bg);
}
.hero-stat {
  padding: 20px 24px 20px 0;
  position: relative;
  transition: background 0.4s var(--ease);
}
.hero-stat + .hero-stat { padding-left: 32px; border-left: 1px solid var(--hairline); }
.hero-stat:hover { background: rgba(216, 189, 142, 0.04); }
.hero-stat .num {
  font-family: var(--serif);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  display: block;
}
.hero-stat .num .unit {
  font-size: 0.55em;
  color: var(--gold-soft);
  margin-left: 4px;
}
.hero-stat .label {
  font-size: 12.5px;
  color: var(--ink-mute);
  margin-top: 8px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.hero-stats-single {
  grid-template-columns: 1fr;
  text-align: center;
  background: transparent;
  border-top: 0;
  border-bottom: 0;
  padding: 0;
}
.hero-stats-single .hero-stat,
.hero-stats-single .hero-stat.tilt-card {
  padding: clamp(14px, 1.6vw, 22px) clamp(20px, 3vw, 36px);
  text-align: center;
  background: var(--bg-3);
  border: 2px solid var(--gold-soft);
  border-radius: 2px;
}
.hero-stats-single .hero-stat:hover,
.hero-stats-single .hero-stat.tilt-card:hover {
  background: var(--bg-4);
}
.hero-stats-single .hero-stat + .hero-stat { padding-left: clamp(20px, 3vw, 36px); border-left: 2px solid var(--gold-soft); }
.hero-stats-single .hero-stat .num { font-size: clamp(40px, 4.8vw, 68px); line-height: 1; }
.hero-stats-single .hero-stat .label { font-size: clamp(13px, 1.4vw, 16px); margin-top: 6px; }

.hero-ctas {
  margin-top: clamp(28px, 3.5vw, 40px);
  display: flex; flex-wrap: wrap; gap: 16px;
}

/* HERO LOGO — right side */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  max-width: 720px;
  width: 100%;
  margin-left: auto;
  margin-right: -4%;
}
.hero-visual::before {
  /* concentric gold rings */
  content: "";
  position: absolute; inset: 0;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  animation: ringPulse 9s ease-in-out infinite;
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 8%;
  border: 1px solid rgba(216, 189, 142, 0.18);
  border-radius: 50%;
  animation: ringPulse 9s ease-in-out -3s infinite;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.03); opacity: 0.65; }
}
.hero-visual .ring-3 {
  position: absolute; inset: 16%;
  border: 1px solid rgba(216, 189, 142, 0.12);
  border-radius: 50%;
  animation: ringPulse 9s ease-in-out -6s infinite;
}
.hero-visual .ring-4 {
  position: absolute; inset: 26%;
  border: 1px solid rgba(216, 189, 142, 0.08);
  border-radius: 50%;
  animation: ringPulse 11s ease-in-out -2s infinite;
}
.hero-visual .ring-dotted {
  position: absolute; inset: -3%;
  border-radius: 50%;
  border: 1px dashed rgba(216, 189, 142, 0.16);
  animation: spinSlow 80s linear infinite;
}
@keyframes spinSlow {
  to { transform: rotate(360deg); }
}
/* soft gold halo behind logo */
.hero-visual .halo {
  position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    rgba(216, 189, 142, 0.18) 0%,
    rgba(216, 189, 142, 0.08) 35%,
    transparent 65%);
  filter: blur(8px);
  z-index: 0;
  animation: haloPulse 6s ease-in-out infinite;
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
/* cardinal markers */
.cross-mark {
  position: absolute;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.55;
  z-index: 3;
}
.cross-mark.cm-n { top: -2%; left: 50%; transform: translateX(-50%); }
.cross-mark.cm-s { bottom: -2%; left: 50%; transform: translateX(-50%); }
.cross-mark.cm-e { right: -3%; top: 50%; transform: translateY(-50%); }
.cross-mark.cm-w { left: -3%; top: 50%; transform: translateY(-50%); }
/* small ticks on outer ring */
.tick {
  position: absolute;
  width: 1px; height: 10px;
  background: var(--gold);
  opacity: 0.4;
  z-index: 2;
}
.tick.t1 { top: 4%; left: 50%; transform: translateX(-50%) rotate(0deg); }
.tick.t2 { bottom: 4%; left: 50%; transform: translateX(-50%) rotate(180deg); }
.tick.t3 { left: 4%; top: 50%; transform: translateY(-50%) rotate(-90deg); }
.tick.t4 { right: 4%; top: 50%; transform: translateY(-50%) rotate(90deg); }
/* corner coordinate tags */
.coord-tag {
  position: absolute;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  z-index: 3;
  white-space: nowrap;
}
.coord-tag::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.6;
}
.coord-tag.tag-tl { top: 6%; left: -6%; }
.coord-tag.tag-br { bottom: 6%; right: -6%; }
.coord-tag.tag-br::before { display: none; }
.coord-tag.tag-br::after {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-left: 10px;
  opacity: 0.6;
}
.hero-logo {
  position: relative;
  width: 88%;
  height: auto;
  z-index: 2;
  mix-blend-mode: screen;
  filter: contrast(1.05) drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
  -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 50%, #000 45%, rgba(0,0,0,0.85) 62%, rgba(0,0,0,0.4) 80%, transparent 100%);
          mask-image: radial-gradient(ellipse 62% 58% at 50% 50%, #000 45%, rgba(0,0,0,0.85) 62%, rgba(0,0,0,0.4) 80%, transparent 100%);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  animation: logoIn 1.1s 0.2s var(--ease) forwards;
}
@keyframes logoIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* tiny gold dots that orbit subtly */
.orbit-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  z-index: 3;
}
.orbit-dot.d1 { top: 12%; right: 18%; animation: orbitFade2 4s ease-in-out infinite; }
.orbit-dot.d2 { bottom: 14%; right: 10%; animation: orbitFade2 4s ease-in-out -1.3s infinite; }
.orbit-dot.d3 { top: 50%; left: 6%; animation: orbitFade2 4s ease-in-out -2.6s infinite; }
.orbit-dot.d4 { top: 22%; left: 14%; width: 4px; height: 4px; animation: orbitFade2 5s ease-in-out -0.6s infinite; }
.orbit-dot.d5 { bottom: 26%; left: 22%; width: 5px; height: 5px; animation: orbitFade2 4.5s ease-in-out -3.2s infinite; }
@keyframes orbitFade2 {
  0%, 100% { opacity: 0.3; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  pointer-events: none;
  z-index: 2;
}
.scroll-cue .line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute; left: 0; right: 0;
  width: 1px; height: 12px;
  background: var(--gold-bright);
  top: -12px;
  animation: scrollDot 2.4s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { top: -12px; }
  100% { top: 36px; }
}

/* ---------- VALUES (Métier) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--hairline);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-top: 24px;
}
/* Variante 3-colonnes (utilise par la section Acquisition / build-up).
   Anciennement en style inline sur l'element, ce qui ecrasait toutes les
   media queries responsive et faisait apparaitre 3 colonnes sur mobile. */
.values-grid-3 { grid-template-columns: repeat(3, 1fr); }
/* Surcharge taille H2 dans les accordions metier (anciennement en inline). */
.metier-h2 { margin-top: 22px; font-size: clamp(28px, 3.4vw, 40px); }
.value {
  background: var(--bg);
  padding: 36px 28px;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
  position: relative;
  cursor: default;
}
.value::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.value:hover { background: var(--bg-3); }
.value:hover::after { transform: scaleX(1); }
.value:hover .value-num { color: var(--gold-bright); transform: translateY(-2px); }

.value-num {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.32em;
  font-weight: 500;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 18px;
  text-transform: uppercase;
  transition: color 0.35s var(--ease), transform 0.35s var(--ease);
}
.value h3 { font-size: 22px; margin-bottom: 10px; color: var(--ink); }
.value p { font-size: 14.5px; color: var(--ink-mute); line-height: 1.55; }

/* ---------- PROFILE sections ---------- */
.profile {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.profile.reverse { grid-template-columns: 7fr 5fr; }
.profile.reverse .profile-photo { order: 2; }
.profile.reverse .profile-content { order: 1; }

.profile-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: visible;
}
.profile-photo::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: 0;
  transition: inset 0.5s var(--ease);
}
.profile-photo:hover::before { inset: 22px -22px -22px 22px; }
.profile-photo .img-wrap {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 1;
}
.profile-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.15) brightness(0.95);
  transition: filter 0.6s var(--ease), transform 0.7s var(--ease);
}
.profile-photo:hover img { filter: grayscale(0) brightness(1); transform: scale(1.04); }

.profile-content .name {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 40px);
  font-weight: 500;
  margin-top: 22px;
  color: var(--ink);
  line-height: 1.15;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.35em;
  row-gap: 6px;
}
.profile-content .name .name-suffix {
  font-style: italic;
  font-weight: 400;
  font-size: 0.45em;
  color: var(--gold-soft);
  letter-spacing: 0;
  line-height: 1.3;
}
@media (max-width: 720px) {
  .profile-content .name .name-suffix {
    flex-basis: 100%;
    font-size: 0.55em;
  }
}
.profile-content .role {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--gold-soft);
  margin-top: 6px;
}

.profile-blocks { margin-top: 36px; display: flex; flex-direction: column; gap: 28px; }
.profile-block {
  padding-left: 24px;
  border-left: 1px solid var(--hairline);
  transition: border-left-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.profile-block:hover { border-left-color: var(--gold); transform: translateX(6px); }
.profile-block h4 {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 14px;
}
.profile-block ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.profile-block li {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  position: relative;
  padding-left: 20px;
  transition: padding-left 0.3s var(--ease);
}
.profile-block li:hover { padding-left: 26px; }
.profile-block li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.profile-block li:hover::before { width: 14px; }

.lang-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-chip {
  padding: 8px 14px;
  border: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
  background: transparent;
}
.lang-chip:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 120, 0.08);
  transform: translateY(-2px);
}
.lang-chip strong { font-weight: 600; color: var(--gold-soft); margin-right: 6px; }

.profile-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.feature-card {
  padding: 28px 24px;
  background: var(--bg-3);
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.feature-card:hover {
  border-color: var(--hairline-2);
  background: var(--bg-4);
  transform: translateY(-4px);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}
.feature-card p { font-size: 14px; color: var(--ink-mute); line-height: 1.55; }

/* ---------- EXPERTISE (sell-side / buy-side) ---------- */
.expertise-section .container { position: relative; }
.expertise-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.expertise-grid h2 { max-width: 28ch; }
.expertise-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 24px);
  color: var(--gold-soft);
  margin-top: 18px;
  font-weight: 400;
}

.expertise-lead { margin-top: 22px; max-width: 38ch; }
.expertise-cta { margin-top: 36px; }
.expertise-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.expertise-card {
  background: var(--bg);
  padding: 28px 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  transition: background 0.35s var(--ease);
  position: relative;
}
.expertise-card::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.expertise-card:hover { background: var(--bg-3); }
.expertise-card:hover::after { transform: scaleY(1); }
.expertise-card .marker {
  font-family: var(--sans, "Inter", system-ui, sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold-soft);
  min-width: 28px;
  padding-top: 4px;
}
.expertise-card h3 { color: var(--ink); margin-bottom: 8px; font-size: 19px; line-height: 1.3; }
.expertise-card p { color: var(--ink-mute); font-size: 14.5px; line-height: 1.6; }

@media (max-width: 880px) {
  .expertise-cards { grid-template-columns: 1fr; }
}

/* ---------- PROCESS ---------- */
/* ---------- PROCESS TIMELINE (animated, builds on scroll) ---------- */
.process-timeline {
  --marker-size: 56px;
  position: relative;
  margin-top: 40px;
}

/* Horizontal rail: faint base track + gold progress line + traveling pulse */
.timeline-rail {
  position: absolute;
  top: calc(var(--marker-size) / 2);
  left: calc(100% / 8);   /* center of step 1 = 12.5% */
  right: calc(100% / 8);  /* center of step 4 = 87.5% */
  height: 1px;
  pointer-events: none;
  z-index: 1;
}
.rail-track,
.rail-progress {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.rail-track {
  background: rgba(216, 189, 142, 0.14);
}
.rail-progress {
  width: 0;
  background: linear-gradient(90deg, rgba(232, 207, 161, 0.95) 0%, var(--gold) 50%, rgba(232, 207, 161, 0.95) 100%);
  box-shadow: 0 0 12px rgba(216, 189, 142, 0.45);
  transition: width 2.4s cubic-bezier(.65, 0, .25, 1);
}
.process-timeline.in .rail-progress { width: 100%; }

.rail-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 230, 180, 0.95) 0%, rgba(216, 189, 142, 0.45) 45%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  filter: blur(0.5px);
  transition:
    left 0.5s var(--ease),
    top 0.5s var(--ease),
    transform 0.5s var(--ease),
    opacity 0.5s var(--ease);
}
.process-timeline.in .rail-pulse {
  animation: railPulseTravel 2.6s cubic-bezier(.65, 0, .25, 1) forwards;
}
@keyframes railPulseTravel {
  0%   { left: 0;    opacity: 0; transform: translate(-50%, -50%) scale(0); }
  10%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  85%  { left: 100%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { left: 100%; opacity: 0; transform: translate(-50%, -50%) scale(2.4); }
}
@media (max-width: 880px) {
  .process-timeline.in .rail-pulse {
    animation: railPulseTravelV 2.6s cubic-bezier(.65, 0, .25, 1) forwards;
  }
  @keyframes railPulseTravelV {
    0%   { top: 0;    opacity: 0; transform: translate(-50%, -50%) scale(0); }
    10%  { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    85%  { top: 100%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { top: 100%; opacity: 0; transform: translate(-50%, -50%) scale(2.4); }
  }
}

/* Steps grid: 4 equal columns */
.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 8px;
  text-align: center;
  position: relative;
}

/* Marker: circular badge with Roman numeral, sits on the rail */
.step-marker {
  width: var(--marker-size);
  height: var(--marker-size);
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid rgba(216, 189, 142, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition:
    background 0.45s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease),
    transform 0.45s var(--ease);
}
.marker-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(216, 189, 142, 0.35);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.marker-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  font-weight: 500;
  color: var(--gold-soft);
  line-height: 1;
  letter-spacing: 0.04em;
  transition: color 0.4s var(--ease);
}

/* Active state (triggered after the rail line passes the marker) */
.timeline-step.active .step-marker {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow:
    0 0 0 1px rgba(216, 189, 142, 0.4),
    0 0 28px rgba(216, 189, 142, 0.45);
}
.timeline-step.active .marker-ring {
  opacity: 1;
  transform: scale(1);
  animation: markerRipple 1.2s var(--ease) forwards;
}
.timeline-step.active .marker-num {
  color: var(--bg);
  font-weight: 600;
}
@keyframes markerRipple {
  0%   { opacity: 0.5; transform: scale(0.8); }
  100% { opacity: 0;   transform: scale(1.7); }
}

/* Vertical hairline stem connecting marker to card */
.step-stem {
  display: block;
  width: 1px;
  height: 32px;
  margin-top: 8px;
  background: linear-gradient(180deg, rgba(216, 189, 142, 0.4), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s var(--ease) 0.1s, background 0.4s var(--ease);
}
.timeline-step.active .step-stem { transform: scaleY(1); }

/* Step card under the marker — also a tilt-card */
.step-card {
  --rev-y: 14px;
  width: 100%;
  margin-top: 8px;
  padding: 22px 20px 24px;
  opacity: 0;
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease),
    box-shadow 0.45s var(--ease);
  box-shadow: inset 0 0 0 1px rgba(216, 189, 142, 0.10);
  background: var(--bg);
  transform: perspective(1000px) translateY(var(--rev-y))
             rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(var(--tz, 0px));
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
}
.timeline-step.active .step-card {
  opacity: 1;
  --rev-y: 0px;
}
.step-card.is-tilting {
  transition:
    transform 0.08s linear,
    box-shadow 0.25s var(--ease),
    opacity 0.7s var(--ease);
}
.step-card:hover {
  --tz: 22px;
  z-index: 5;
  box-shadow:
    inset 0 0 0 1px rgba(216, 189, 142, 0.38),
    0 30px 60px rgba(0, 0, 0, 0.48),
    0 12px 28px rgba(0, 0, 0, 0.36),
    0 0 28px rgba(216, 189, 142, 0.08);
}

.step-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-bottom: 14px;
}
.step-phase {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--gold-soft);
  text-transform: uppercase;
  white-space: nowrap;
}
.step-duration {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
@media (max-width: 880px) {
  .step-meta { align-items: flex-start; }
}
.step-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: 0;
  text-transform: none;
}
.step-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-mute);
}

/* Hover: marker lift + soft halo + stem brightens + h3 turns gold */
.timeline-step:hover .step-marker {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(216, 189, 142, 0.55),
    0 0 36px rgba(216, 189, 142, 0.6);
}
.timeline-step:hover .step-stem {
  background: linear-gradient(180deg, rgba(216, 189, 142, 0.75), transparent);
}
.timeline-step:hover .step-card h3 { color: var(--gold-bright); }
.step-card h3 { transition: color 0.4s var(--ease); }

/* Responsive: vertical timeline on tablet/mobile */
@media (max-width: 880px) {
  .timeline-rail {
    top: calc(var(--marker-size) / 2);
    bottom: calc(var(--marker-size) / 2);
    left: calc(var(--marker-size) / 2);
    right: auto;
    width: 1px;
    height: auto;
  }
  .rail-track,
  .rail-progress {
    width: 100%;
    height: 100%;
  }
  .rail-progress {
    height: 0;
    background: linear-gradient(180deg, rgba(232, 207, 161, 0.95) 0%, var(--gold) 50%, rgba(232, 207, 161, 0.95) 100%);
    transition: height 2.4s cubic-bezier(.65, 0, .25, 1);
  }
  .process-timeline.in .rail-progress { height: 100%; }
  .rail-pulse {
    top: 0; left: 50%;
    transition: top 2.4s cubic-bezier(.65, 0, .25, 1), transform 0.5s var(--ease);
  }
  .process-timeline.in .rail-pulse { top: 100%; left: 50%; }
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 0;
    gap: 28px;
  }
  .step-marker { flex: 0 0 var(--marker-size); }
  .step-stem { display: none; }
  .step-card { margin-top: 4px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rail-progress, .rail-pulse, .step-marker, .marker-ring, .step-card { transition: none !important; animation: none !important; }
  .rail-progress { width: 100%; height: 100%; }
  .timeline-step .step-card { opacity: 1; transform: none; }
}

/* Legacy classes kept transparent so any leftover reference doesn't break */
.process-num {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 400;
  color: var(--gold-soft);
  line-height: 1;
  display: block;
  margin-bottom: 24px;
  transition: color 0.4s var(--ease), -webkit-text-stroke 0.4s var(--ease), transform 0.4s var(--ease);
  font-style: italic;
  position: relative;
}
.process-step h3 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
  position: relative;
}
.process-step p { font-size: 14.5px; line-height: 1.6; color: var(--ink-mute); position: relative; }

/* ---------- SECTORS ---------- */
.sectors-intro {
  max-width: 70ch;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 56px;
}
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sector-card {
  padding: 28px 24px;
  background: var(--bg-3);
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.sector-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease);
}
.sector-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(201, 168, 120, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.sector-card:hover {
  background: var(--bg-4);
  border-color: var(--hairline-2);
  transform: translateY(-3px);
}
.sector-card:hover::after { width: 100%; }
.sector-card:hover::before { opacity: 1; }
.sector-card h4 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  position: relative;
}
.sector-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-mute);
  position: relative;
}
.sector-card p + p { margin-top: 10px; }
.sector-more { display: none; margin-top: 10px; }
.sector-more p + p { margin-top: 10px; }
.sector-card.expanded .sector-more { display: block; }
.sector-toggle {
  background: none;
  border: none;
  padding: 0;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s var(--ease);
}
.sector-toggle:hover { color: var(--gold-bright); }
.sector-toggle-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.sector-card.expanded .sector-toggle-arrow { transform: rotate(180deg); }

/* ---------- PUBLICATIONS ---------- */
.publications-carousel {
  position: relative;
  margin-top: 56px;
}
.posts-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 40px 12px;
  scroll-padding-inline: 40px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.posts-grid::-webkit-scrollbar { display: none; }
.post-card {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--bg-3);
  border: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.post-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease);
  z-index: 2;
}
.post-card:hover {
  background: var(--bg-4);
  border-color: var(--hairline-2);
  transform: translateY(-3px);
}
.post-card:hover::after { width: 100%; }
.post-image {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-4);
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}
.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.post-card:hover .post-image img { transform: scale(1.04); }
.post-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 24px 26px;
  flex: 1;
  position: relative;
}
.post-card-textonly .post-body {
  padding: 32px 28px 28px;
  gap: 16px;
}
.post-card-textonly .post-body h4 { font-size: 22px; }
.post-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid var(--hairline-2);
}
.post-body h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.post-text {
  position: relative;
  max-height: 132px;
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-mute);
  transition: max-height 0.5s var(--ease);
}
.post-text p {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}
.post-text p + p { margin-top: 0.7em; }
.post-text strong { color: var(--ink-soft); font-weight: 600; }
.post-text::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--bg-3));
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.post-card:hover .post-text::after {
  background: linear-gradient(to bottom, transparent, var(--bg-4));
}
.post-card.expanded .post-text {
  max-height: 5000px;
}
.post-card.expanded .post-text::after { opacity: 0; }
.post-toggle {
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s var(--ease);
}
.post-toggle:hover { color: var(--gold-bright); }
.post-toggle-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.post-card.expanded .post-toggle-arrow { transform: rotate(180deg); }
.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  font-family: var(--sans);
  font-size: 12px;
}
.post-date {
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.post-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-soft);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.3s var(--ease);
}
.post-link:hover { color: var(--gold-bright); }
.post-link .arrow { transition: transform 0.3s var(--ease); }
.post-link:hover .arrow { transform: translateX(4px); }

/* Carousel arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(11, 27, 33, 0.7);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.carousel-arrow:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-50%) scale(1.06);
}
.carousel-arrow.prev { left: -24px; }
.carousel-arrow.next { right: -24px; }
.carousel-arrow:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

/* ---------- CONTACT ---------- */
.contact-section .container { position: relative; }
.contact-head { max-width: none; margin-bottom: 40px; }
.contact-head h2 { max-width: none; }
.contact-head .lead { color: var(--ink-soft); margin-top: 22px; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  background: var(--bg-3);
  color: var(--ink);
  padding: 40px 36px;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
  overflow: hidden;
  border: 1px solid transparent;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.contact-card:hover {
  transform: translateY(-6px);
  background: var(--bg-4);
  border-color: var(--hairline-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}
.contact-card:hover::before { transform: scaleX(1); }

.contact-card .pic {
  width: 88px; height: 88px; border-radius: 50%;
  overflow: visible;
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
  border: 1px solid var(--gold);
  padding: 3px;
  transition: transform 0.4s var(--ease);
}
.contact-card .pic::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(216, 189, 142, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  transition: inset 0.4s var(--ease), border-color 0.4s var(--ease);
}
.contact-card:hover .pic::before {
  inset: -10px;
  border-color: var(--gold);
}
.contact-card:hover .pic { transform: scale(1.05); }
.contact-card .pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.contact-card .name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--ink);
}
.contact-card .title-role {
  font-size: 12.5px;
  color: var(--gold-soft);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-weight: 500;
}
.contact-card .lines { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.contact-card .line {
  display: flex; align-items: center; gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
  transition: color 0.25s var(--ease), transform 0.3s var(--ease);
}
.contact-card a.line:hover { color: var(--gold-soft); transform: translateX(4px); }
.contact-card .line .ico {
  width: 16px; height: 16px;
  color: var(--gold-soft);
  flex-shrink: 0;
}
.contact-card .li-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--hairline-2);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  transition: all 0.3s var(--ease);
}
.contact-card .li-link:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.contact-address {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.contact-address .addr { color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.contact-address .addr strong { color: var(--gold-soft); font-weight: 600; letter-spacing: 0.04em; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-2);
  color: var(--ink-soft);
  padding: 72px 0 32px;
  border-top: 1px solid var(--hairline);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 16px;
}
.footer-cta {
  margin-top: 22px;
  font-size: 13px;
  padding: 12px 22px;
}
.footer-brand img {
  height: 140px;
  width: auto;
  margin-bottom: 20px;
  margin-left: -10px;
}
.footer-brand .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--gold-soft);
  max-width: 30ch;
}
.footer-brand .copyright {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.footer h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer li a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
  display: inline-block;
}
.footer li a:hover { color: var(--gold-soft); padding-left: 6px; }
.footer .contact-line {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  font-style: normal;
}
.footer .contact-line a { transition: color 0.25s var(--ease); }
.footer .contact-line a:hover { color: var(--gold-soft); }
.subfooter {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  flex-wrap: wrap; gap: 16px;
}
.subfooter a { transition: color 0.25s var(--ease); }
.subfooter a:hover { color: var(--gold-soft); }
.subfooter .links { display: flex; gap: 24px; }

/* ---------- FOOTER · LEGAL (mentions légales + RGPD) ---------- */
.footer-legal {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 12px;
}
.legal-block {
  border: 1px solid rgba(216, 189, 142, 0.10);
  border-radius: 4px;
  background: rgba(216, 189, 142, 0.015);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.legal-block:hover { border-color: rgba(216, 189, 142, 0.18); }
.legal-block[open] {
  background: rgba(216, 189, 142, 0.025);
  border-color: rgba(216, 189, 142, 0.18);
}
.legal-block > summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 22px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  display: flex; align-items: center; justify-content: space-between;
  transition: color 0.25s var(--ease);
}
.legal-block > summary::-webkit-details-marker { display: none; }
.legal-block > summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--gold-soft);
  transition: transform 0.3s var(--ease);
}
.legal-block[open] > summary::after { content: "−"; }
.legal-block > summary:hover { color: var(--gold-bright); }

.legal-content {
  padding: 4px 22px 26px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 78ch;
}
.legal-content h6 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  font-weight: 500;
  color: var(--gold-soft);
  margin-top: 22px;
  margin-bottom: 8px;
  letter-spacing: 0;
  text-transform: none;
}
.legal-content h6:first-child { margin-top: 8px; }
.legal-content p { margin-bottom: 12px; }
.legal-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 12px;
}
.legal-content ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}
.legal-content ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-soft);
  opacity: 0.7;
}
.legal-content a {
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(216, 189, 142, 0.3);
  transition: border-color 0.25s var(--ease);
}
.legal-content a:hover { border-color: var(--gold-soft); }
.legal-content .legal-intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
  border-left: 2px solid rgba(216, 189, 142, 0.4);
  padding-left: 14px;
  margin-bottom: 18px;
}
.legal-content .todo {
  display: inline-block;
  font-family: var(--mono, ui-monospace, "SFMono-Regular", monospace);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: #F5C16C;
  background: rgba(245, 193, 108, 0.08);
  border: 1px dashed rgba(245, 193, 108, 0.4);
  padding: 1px 8px;
  border-radius: 3px;
}

@media (max-width: 720px) {
  .legal-block > summary { padding: 14px 18px; font-size: 11px; }
  .legal-content { padding: 4px 18px 22px; font-size: 13px; }
}

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }

/* Hero is above the fold — never hide it, never transition it */
.hero .reveal,
.hero-text,
.hero-visual,
.hero-logo {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* count-up shimmer */
.count {
  display: inline-block;
  background: linear-gradient(90deg, var(--ink), var(--gold-soft), var(--ink));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  to { background-position: 200% center; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12.5px; }
  .nav-cta { padding: 9px 16px; font-size: 11px; letter-spacing: 0.12em; }

  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  /* Reorg mobile : on aplatit hero-text via display:contents, ses enfants
     (eyebrow, h1, ctas) deviennent items directs de hero-grid. On peut alors
     les ordonner individuellement avec order. Ordre voulu :
     1. eyebrow (positionnement)
     2. visuel logo (marque)
     3. h1 (promesse)
     4. ctas (action)
     Le DOM reste inchange (a11y / lecteurs d'ecran lisent l'ordre source). */
  .hero-text { display: contents; }
  .hero-text > .eyebrow { order: 1; margin-bottom: 4px; }
  .hero-visual { order: 2; max-width: 240px; margin: 8px auto 0; aspect-ratio: 1 / 1; }
  .hero-text > h1 { order: 3; margin-top: 14px; }
  .hero-text > .hero-ctas { order: 4; margin-top: clamp(20px, 3vw, 28px); }

  /* Hero stats : on garde 3 colonnes serrees sur mobile (les valeurs sont
     courtes : "135+", "7", "FR·CE·ES"), economise ~120px verticaux par
     rapport a un empilage 1 col. */
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-stat { padding: 16px 8px 16px 0; }
  .hero-stat + .hero-stat { padding-left: 12px; border-left: 1px solid var(--hairline); border-top: 0; padding-top: 16px; }
  .hero-stat .num { font-size: clamp(22px, 5.5vw, 30px); }
  .hero-stat .label { font-size: 10.5px; line-height: 1.3; }
  .hero-stats-single { grid-template-columns: 1fr; }
  .hero-stats-single .hero-stat,
  .hero-stats-single .hero-stat.tilt-card { padding: 22px 16px; }
  .hero-stats-single .hero-stat + .hero-stat { padding-left: 16px; padding-top: 22px; border-left: 0; }
  .hero-stats-single .hero-stat .num { font-size: clamp(40px, 10vw, 64px); }
  .hero-stats-single .hero-stat .label { font-size: 12px; line-height: 1.35; }

  /* Reduit l'espace mort sous le nav fixe sur mobile */
  .hero { padding-top: clamp(72px, 9vh, 100px); }

  /* Quand le hero est empile (logo au-dessus, texte dessous), la marquee n'a plus
     a remonter sous le bloc visuel : on annule la marge negative qui la faisait
     chevaucher le bouton "Discuter de votre projet" sur tablette/mobile. */
  .hero-marquee { margin-top: clamp(16px, 3vw, 24px); }
  .metier-head { grid-template-columns: 1fr; gap: 40px; }
  .metier-head-aside { padding-left: 24px; margin-top: 0; }
  .scroll-cue { display: none; }

  .values-grid,
  .values-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .profile, .profile.reverse { grid-template-columns: 1fr; gap: 40px; }
  .profile.reverse .profile-photo { order: 1; }
  .profile.reverse .profile-content { order: 2; }
  .profile-photo { max-width: 420px; }

  .expertise-grid { grid-template-columns: 1fr; }

  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid {
    padding: 4px 30px 12px;
    scroll-padding-inline: 30px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
  }
  .post-card { flex: 0 0 calc((100% - 18px) / 2); }
  /* Sur tablette/mobile, on garde les fleches visibles (sinon l'utilisateur ne
     comprend pas qu'il y a d'autres posts a faire defiler). On les ramene a
     l'interieur du carrousel, on les compacte legerement, et on renforce le
     contraste : fond opaque (backdrop-filter ne rend pas sur tous les browsers
     mobiles), ombre portee + halo or pour qu'elles popent sur la photo du post. */
  .carousel-arrow {
    width: 40px;
    height: 40px;
    background: rgba(11, 27, 33, 0.92);
    box-shadow:
      0 6px 20px rgba(0, 0, 0, 0.45),
      0 0 0 4px rgba(201, 168, 120, 0.10);
  }
  .carousel-arrow.prev { left: 6px; }
  .carousel-arrow.next { right: 6px; }
  .profile-feature-grid { grid-template-columns: 1fr; }

  .contact-cards { grid-template-columns: 1fr; }
  .contact-address { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .subfooter { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  /* Filet de securite : libere le wrap de "la Cession ou la Transmission" plus
     tot que le breakpoint 540px, sinon entre 540 et 600px le texte clip encore. */
  .hero h1 .line-2 { white-space: normal; }
}

@media (max-width: 540px) {
  .values-grid,
  .values-grid-3 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
  .posts-grid {
    padding: 4px 20px 12px;
    scroll-padding-inline: 20px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
  }
  .post-card { flex: 0 0 100%; }
  .post-meta { flex-wrap: wrap; }
  .hero h1 { font-size: clamp(26px, 7.5vw, 32px); margin-top: 10px; }
  /* Sur petit ecran, "la Cession ou la Transmission" ne tient plus en une ligne :
     on libere le wrap (sinon le texte deborde et donne l'impression d'une page
     a moitie vide) et on ramene le -2 a la meme taille que les autres lignes. */
  .hero h1 .line-2 { white-space: normal; font-size: 1em; }
  /* Logo encore plus compact sur tres petit ecran pour que l'utilisateur voie
     en une fenetre : eyebrow + logo + titre + bouton + bandeau secteurs. */
  .hero-visual { max-width: 200px; }
  .hero { padding-top: clamp(64px, 8vh, 88px); padding-bottom: 20px; }
  h2 { font-size: 32px; }
  .btn { padding: 14px 22px; font-size: 11.5px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}


/* ============================================
   .no-anim — instantly show element without transition/animation
   Used when scrolling UP (user already saw the animation once)
   ============================================ */
.no-anim,
.no-anim *,
.no-anim::before,
.no-anim::after,
.no-anim *::before,
.no-anim *::after {
  transition: none !important;
  animation: none !important;
}

/* ============================================
   Floating CTA — discrete pulse, appears past hero
   ============================================ */
.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 2px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), background 0.3s var(--ease);
  z-index: 50;
  white-space: nowrap;
}
.floating-cta .arrow { transition: transform 0.3s var(--ease); }
.floating-cta:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}
.floating-cta:hover .arrow { transform: translateX(5px); }
.floating-cta.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  animation: floatingPulse 4s ease-in-out infinite;
}
@keyframes floatingPulse {
  0%, 100% { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(216, 189, 142, 0.35); }
  50%      { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), 0 0 0 14px rgba(216, 189, 142, 0); }
}
@media (max-width: 540px) {
  .floating-cta { right: 14px; bottom: 14px; padding: 11px 18px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .floating-cta.visible { animation: none; }
}

/* ============================================
   H2 sweep reveal — gold light sweeps across, revealing letters
   Apply class .sweep-reveal to specific H2s
   ============================================ */
.sweep-reveal {
  background:
    linear-gradient(90deg, transparent 47%, rgba(232, 207, 161, 0.95) 49.5%, rgba(232, 207, 161, 0.95) 50.5%, transparent 53%),
    linear-gradient(90deg, var(--ink) 50%, transparent 50%);
  background-size: 200% 100%, 200% 100%;
  background-position: 100% 0, 100% 0;
  background-repeat: no-repeat, no-repeat;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent !important;
  transition: background-position 1.4s cubic-bezier(.55, 0, .25, 1);
}
.reveal.in .sweep-reveal,
.sweep-reveal.in {
  background-position: 0 0, 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .sweep-reveal { background-position: 0 0, 0 0 !important; }
}

/* ============================================
   3D tilt-on-hover for content cards
   Targets : .hero-stat, .value, .expertise-card
   ============================================ */
.tilt-card {
  --rx: 0deg;
  --ry: 0deg;
  --tz: 0px;
  position: relative;
  transform: perspective(1000px)
             rotateX(var(--rx))
             rotateY(var(--ry))
             translateZ(var(--tz));
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  box-shadow: inset 0 0 0 1px rgba(216, 189, 142, 0.10);
  transition:
    transform 0.45s var(--ease),
    box-shadow 0.4s var(--ease),
    background 0.35s var(--ease);
}
.tilt-card.is-tilting {
  transition:
    transform 0.08s linear,
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}
.tilt-card:hover {
  --tz: 22px;
  z-index: 5;
  box-shadow:
    inset 0 0 0 1px rgba(216, 189, 142, 0.38),
    0 30px 60px rgba(0, 0, 0, 0.48),
    0 12px 28px rgba(0, 0, 0, 0.36),
    0 0 28px rgba(216, 189, 142, 0.08);
}
.tilt-card > * {
  transform: translateZ(0.5px);
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  .tilt-card { transform: none !important; box-shadow: none !important; transition: none !important; }
}

/* Hero-stats : neutralise l'écart créé par les bordures inter-cartes lors du tilt */
.hero-stats .tilt-card { background: transparent; }
.hero-stats .tilt-card:hover { background: rgba(216, 189, 142, 0.04); }

/* Quand une carte est survolée, on efface les bordures du conteneur pour
   qu'elles ne se superposent pas à la bordure dorée de la carte. */
.hero-stats,
.values-grid,
.expertise-cards {
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.hero-stats:has(.tilt-card:hover) {
  border-top-color: transparent;
  border-bottom-color: transparent;
}
.hero-stats:has(.tilt-card:hover) .hero-stat + .hero-stat {
  border-left-color: transparent;
}
.values-grid:has(.tilt-card:hover),
.expertise-cards:has(.tilt-card:hover) {
  border-color: transparent;
  background-color: transparent;
}

/* ---------- COUVERTURE INTERNATIONALE — carte intégrée à la section Krzysztof ---------- */
.krzysztof-network {
  margin-top: 48px;
  position: relative;
}
.krzysztof-network-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--gold-soft);
  margin-bottom: 0;
  text-align: center;
}
.europe-map-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  perspective: 1000px;
  perspective-origin: center 22%;
}
.europe-map {
  width: 100%;
  height: auto;
  max-height: 68vh;
  display: block;
  overflow: visible;
  margin-top: -60px;
  transform: rotateX(40deg);
  transform-origin: center 72%;
  transform-style: preserve-3d;
  will-change: transform;
  filter: drop-shadow(0 50px 50px rgba(0, 0, 0, 0.65));
}
.europe-map .country {
  fill: rgba(15, 50, 60, 0.6);
  stroke: rgba(216, 189, 142, 0.5);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
  transition: fill 0.4s var(--ease), stroke 0.4s var(--ease), transform 0.4s var(--ease), filter 0.4s var(--ease);
  transform-box: fill-box;
  transform-origin: center;
  cursor: default;
}
.europe-map .country:hover {
  fill: rgba(28, 76, 88, 0.9);
  stroke: rgba(229, 204, 160, 0.85);
  transform: translateZ(12px);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.55));
}
.europe-map .country[data-country="France"] {
  fill: rgba(201, 168, 120, 0.32);
  stroke: var(--gold-bright);
  stroke-width: 1.2;
}
.europe-map .country[data-country="France"]:hover {
  fill: rgba(216, 189, 142, 0.5);
  stroke: var(--gold-bright);
}
.europe-map .arc {
  display: none;
}
.europe-map .city {
  transform-box: fill-box;
  transform-origin: center;
  animation-play-state: paused;
}
.europe-map .city-primary {
  fill: var(--gold);
  filter: drop-shadow(0 0 6px rgba(201, 168, 120, 0.75));
  animation: cityPulse 3s ease-in-out infinite;
  animation-play-state: paused;
}
.europe-map .city-secondary {
  fill: var(--gold-soft);
  r: 3.6;
  filter: drop-shadow(0 0 5px rgba(216, 189, 142, 0.7));
  opacity: 0.95;
  animation: cityPulseSecondary 3.6s ease-in-out infinite;
  animation-play-state: paused;
}
.europe-map .city-hub {
  fill: var(--gold-bright);
  filter: drop-shadow(0 0 10px rgba(229, 204, 160, 0.9));
  animation: cityPulseHub 2.6s ease-in-out infinite;
  animation-play-state: paused;
}
.europe-map.is-active .city {
  animation-play-state: running;
}
@keyframes cityPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.85; }
}
@keyframes cityPulseSecondary {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
}
@keyframes cityPulseHub {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.9; }
}
.europe-map .star {
  fill: var(--gold-bright);
  r: 3.4;
  filter:
    drop-shadow(0 0 4px rgba(255, 240, 200, 1))
    drop-shadow(0 0 10px rgba(229, 204, 160, 0.95))
    drop-shadow(0 0 22px rgba(216, 189, 142, 0.7))
    drop-shadow(0 0 38px rgba(201, 168, 120, 0.35));
  offset-rotate: auto;
  animation: starFly 4.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  animation-play-state: paused;
  opacity: 0;
}
/* Trail particles — each progressively smaller and dimmer to form a comet tail */
.europe-map .star-trail-1 {
  r: 2.7;
  filter:
    drop-shadow(0 0 3px rgba(255, 240, 200, 0.8))
    drop-shadow(0 0 8px rgba(229, 204, 160, 0.65))
    drop-shadow(0 0 16px rgba(216, 189, 142, 0.4));
  animation-name: starTrail1;
}
.europe-map .star-trail-2 {
  r: 2.1;
  filter:
    drop-shadow(0 0 2px rgba(255, 240, 200, 0.6))
    drop-shadow(0 0 6px rgba(229, 204, 160, 0.45))
    drop-shadow(0 0 12px rgba(216, 189, 142, 0.25));
  animation-name: starTrail2;
}
.europe-map .star-trail-3 {
  r: 1.6;
  filter:
    drop-shadow(0 0 2px rgba(229, 204, 160, 0.4))
    drop-shadow(0 0 8px rgba(216, 189, 142, 0.18));
  animation-name: starTrail3;
}
.europe-map .star-trail-4 {
  r: 1.1;
  filter:
    drop-shadow(0 0 4px rgba(216, 189, 142, 0.12));
  animation-name: starTrail4;
}
.europe-map .star-trail-5 {
  r: 0.85;
  filter: drop-shadow(0 0 3px rgba(216, 189, 142, 0.08));
  animation-name: starTrail5;
}
.europe-map .star-trail-6 {
  r: 0.65;
  filter: drop-shadow(0 0 2px rgba(216, 189, 142, 0.05));
  animation-name: starTrail6;
}
.europe-map .star-trail-7 {
  r: 0.5;
  filter: none;
  animation-name: starTrail7;
}
.europe-map.is-active .star { animation-play-state: running; }

@keyframes starFly {
  0%   { offset-distance: 0%;   opacity: 0; transform: scale(0.4); }
  8%   { opacity: 1; transform: scale(1); }
  50%  { opacity: 1; transform: scale(1.15); }
  85%  { opacity: 1; transform: scale(1); }
  100% { offset-distance: 100%; opacity: 0; transform: scale(0.4); }
}
@keyframes starTrail1 {
  0%   { offset-distance: 0%;   opacity: 0; transform: scale(0.4); }
  8%   { opacity: 0.72; transform: scale(1); }
  50%  { opacity: 0.72; transform: scale(1.1); }
  85%  { opacity: 0.72; transform: scale(1); }
  100% { offset-distance: 100%; opacity: 0; transform: scale(0.4); }
}
@keyframes starTrail2 {
  0%   { offset-distance: 0%;   opacity: 0; transform: scale(0.4); }
  8%   { opacity: 0.5; transform: scale(1); }
  50%  { opacity: 0.5; transform: scale(1.05); }
  85%  { opacity: 0.5; transform: scale(1); }
  100% { offset-distance: 100%; opacity: 0; transform: scale(0.4); }
}
@keyframes starTrail3 {
  0%   { offset-distance: 0%;   opacity: 0; transform: scale(0.4); }
  8%   { opacity: 0.32; transform: scale(1); }
  85%  { opacity: 0.32; transform: scale(1); }
  100% { offset-distance: 100%; opacity: 0; transform: scale(0.4); }
}
@keyframes starTrail4 {
  0%   { offset-distance: 0%;   opacity: 0; transform: scale(0.4); }
  8%   { opacity: 0.18; transform: scale(1); }
  85%  { opacity: 0.18; transform: scale(1); }
  100% { offset-distance: 100%; opacity: 0; transform: scale(0.4); }
}
@keyframes starTrail5 {
  0%   { offset-distance: 0%;   opacity: 0; transform: scale(0.4); }
  8%   { opacity: 0.11; transform: scale(1); }
  85%  { opacity: 0.11; transform: scale(1); }
  100% { offset-distance: 100%; opacity: 0; transform: scale(0.4); }
}
@keyframes starTrail6 {
  0%   { offset-distance: 0%;   opacity: 0; transform: scale(0.4); }
  8%   { opacity: 0.07; transform: scale(1); }
  85%  { opacity: 0.07; transform: scale(1); }
  100% { offset-distance: 100%; opacity: 0; transform: scale(0.4); }
}
@keyframes starTrail7 {
  0%   { offset-distance: 0%;   opacity: 0; transform: scale(0.4); }
  8%   { opacity: 0.04; transform: scale(1); }
  85%  { opacity: 0.04; transform: scale(1); }
  100% { offset-distance: 100%; opacity: 0; transform: scale(0.4); }
}
@media (prefers-reduced-motion: reduce) {
  .europe-map .city,
  .europe-map .city-hub,
  .europe-map .star { animation: none; }
  .europe-map .star { display: none; }
}
@media (max-width: 720px) {
  .krzysztof-network { margin-top: 8px; }
  .europe-map-wrap {
    max-width: 100%;
    perspective: none;
  }
  .europe-map {
    transform: none;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45));
    /* Annule la marge negative -60px (qui en desktop sert a faire passer
       la carte sous le titre grace au rotateX 40deg). Sur mobile la rotation
       est desactivee, donc la marge negative ne fait que superposer la carte
       par-dessus le titre. */
    margin-top: 16px;
  }
}

/* ===== SPLASH (aiguillage 2 métiers) ===== */
/* ===== SPLASH CTA — Codex éditorial ===== */
.splash-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 6vw, 96px);
  margin-top: 64px;
  position: relative;
}
.splash-cta-grid::before {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 1px;
  background: var(--hairline);
  transform: translateX(-50%);
  pointer-events: none;
}
@media (max-width: 720px) {
  .splash-cta-grid { grid-template-columns: 1fr; gap: 56px; }
  .splash-cta-grid::before { display: none; }
}
.splash-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 32px 32px 28px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  position: relative;
  transition: none;
}
.splash-card:hover { transform: none; background: transparent; }
.splash-card:focus-visible {
  outline: none;
}
.splash-card:focus-visible .splash-corner {
  border-color: var(--gold);
  width: 24px;
  height: 24px;
}
.splash-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--hairline);
  pointer-events: none;
  transition: border-color 0.5s var(--ease), width 0.4s var(--ease), height 0.4s var(--ease);
}
.splash-corner-tl { top: 0;    left: 0;    border-right: 0;  border-bottom: 0; }
.splash-corner-tr { top: 0;    right: 0;   border-left: 0;   border-bottom: 0; }
.splash-corner-bl { bottom: 0; left: 0;    border-right: 0;  border-top: 0;    }
.splash-corner-br { bottom: 0; right: 0;   border-left: 0;   border-top: 0;    }
.splash-card:hover .splash-corner {
  border-color: var(--gold);
  width: 24px;
  height: 24px;
}
.splash-numeral {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(64px, 8vw, 104px);
  line-height: 0.85;
  color: var(--gold);
  display: block;
  letter-spacing: -0.02em;
  transition: color 0.5s var(--ease), transform 0.6s var(--ease);
  margin-bottom: -4px;
}
.splash-card:hover .splash-numeral {
  color: var(--gold-bright);
  transform: translateX(4px);
}
.splash-rule {
  display: block;
  height: 1px;
  width: 56px;
  background: var(--gold);
  transition: width 0.6s var(--ease), background 0.5s var(--ease);
  margin-top: 2px;
}
.splash-card:hover .splash-rule {
  width: 112px;
  background: var(--gold-bright);
}
.splash-card h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
  max-width: 22ch;
  transition: color 0.4s var(--ease);
}
.splash-card:hover h3 { color: var(--gold-bright); }
.splash-card p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  max-width: 36em;
  margin: 0;
}
.splash-card p strong { color: var(--ink); font-weight: 500; }
.splash-card .splash-arrow {
  margin-top: 8px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  transition: gap 0.4s var(--ease), color 0.4s var(--ease);
}
.splash-card .splash-arrow .arrow {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width 0.5s var(--ease);
  vertical-align: middle;
}
.splash-card:hover .splash-arrow {
  color: var(--gold-bright);
  gap: 18px;
}
.splash-card:hover .splash-arrow .arrow {
  width: 64px;
}

/* ===== METIER ACCORDION — Pli notarial ===== */
.accordion-section {
  padding-top: clamp(16px, 1.6vw, 24px);
  padding-bottom: clamp(16px, 1.6vw, 24px);
}
.accordion-section + .accordion-section { border-top: none; }
.metier-accordion {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--hairline);
  border-radius: 0;
  position: relative;
  transition: border-color 0.5s var(--ease);
}
.metier-accordion::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.6s var(--ease);
  pointer-events: none;
}
.metier-accordion:hover::before { width: 96px; }
.metier-accordion[open]::before { width: 100%; height: 2px; top: -2px; }
.metier-accordion[open] { border-top-color: transparent; }
.metier-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  position: relative;
}
.metier-accordion summary::-webkit-details-marker { display: none; }
.metier-accordion summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 8px;
}
.metier-summary-content { flex: 1; min-width: 0; }
.metier-summary .eyebrow { transition: color 0.4s var(--ease); }
.metier-accordion:hover .metier-summary .eyebrow,
.metier-accordion[open] .metier-summary .eyebrow { color: var(--gold-bright); }
.metier-h2 { transition: color 0.5s var(--ease); }
.metier-accordion[open] .metier-h2 { color: var(--gold-bright); }
.lead-summary {
  color: var(--ink-mute);
  font-style: italic;
  margin-top: 12px;
  font-size: 16px;
}
.metier-toggle {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  margin-top: 14px;
  color: var(--gold);
  display: block;
  transition: color 0.4s var(--ease);
}
.metier-toggle-bar {
  position: absolute;
  background: currentColor;
  transition: transform 0.5s var(--ease);
}
.metier-toggle-bar-h {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}
.metier-toggle-bar-v {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
  transform-origin: center center;
}
.metier-accordion:hover .metier-toggle { color: var(--gold-bright); }
.metier-accordion[open] .metier-toggle { color: var(--gold-bright); }
.metier-accordion[open] .metier-toggle-bar-v {
  transform: translateX(-50%) scaleY(0);
}
.metier-body {
  padding: 0 0 56px;
  animation: accordion-reveal 0.6s var(--ease);
}
@keyframes accordion-reveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (max-width: 720px) {
  .metier-accordion summary { padding: 28px 0; gap: 18px; }
  .metier-body { padding: 0 0 36px; }
  .metier-toggle { width: 26px; height: 26px; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .metier-body { animation: none; }
  .metier-accordion, .splash-card, .splash-numeral, .splash-rule,
  .splash-card .arrow, .splash-card .splash-arrow,
  .splash-card h3, .metier-toggle, .metier-accordion::before { transition: none; }
}

/* ===== PROCESS FOUNDATIONS (cards Forces sous la timeline) ===== */
.process-foundations {
  margin-top: clamp(56px, 6vw, 80px);
}
.process-foundations .eyebrow {
  margin-bottom: 0;
}

/* ============================================================
   RESPONSIVE FIXES MOBILE / TABLETTE
   ------------------------------------------------------------
   Tout ce bloc n'agit que sous 980px. Le rendu desktop reste
   strictement identique. Vise specifiquement les problemes
   observes en review : boutons longs qui forcent leur grille
   a deborder, cards trop chargees, accordions trop padded.
   ============================================================ */
@media (max-width: 980px) {
  /* Filet de securite : empeche un enfant min-content trop large
     (typiquement un .btn nowrap) de forcer sa grille a depasser
     la largeur du viewport, ce qui faisait deborder le texte
     voisin par effet de bord. */
  .expertise-grid > *,
  .values-grid > *,
  .values-grid-3 > *,
  .splash-cta-grid > *,
  .hero-grid > *,
  .metier-body { min-width: 0; }

  /* Texte resilient : long mots type "acquereurs", "transmission"
     peuvent casser proprement plutot que pousser le conteneur. */
  .expertise-lead,
  .lead-summary,
  .value p,
  .expertise-card p,
  .splash-card p,
  .metier-body p { overflow-wrap: anywhere; }

  /* Boutons : nowrap par defaut casse les CTA longs comme
     "DISCUTER DE VOTRE PROJET D'ACQUISITION". On autorise le wrap,
     reduit padding/letter-spacing, et on centre proprement. */
  .btn {
    white-space: normal;
    padding: 13px 20px;
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-align: center;
    line-height: 1.35;
  }
  /* CTA dans un bloc en colonne unique : full width pour eviter
     l'effet "bouton trop large qui fait sortir la lead text" */
  .expertise-cta .btn,
  .buyside-head-cta .btn { width: 100%; justify-content: center; }

  /* Lead text sans largeur fixe debordant son conteneur */
  .expertise-lead { max-width: none; }
}

@media (max-width: 720px) {
  /* H2 dans accordions metier : version desktop = clamp(28,3.4vw,40px)
     ramene a une taille raisonnable mobile sans casser le rythme. */
  .metier-h2 { font-size: clamp(24px, 5.5vw, 30px); }

  /* Cards trop chargees en padding sur petit ecran */
  .value { padding: 26px 22px; }
  .value h3 { font-size: 19px; }
  .value-num { margin-bottom: 14px; }
  .expertise-card { padding: 22px 20px; gap: 16px; }
  .splash-card { padding: 28px 24px; }
  .splash-card h3 { font-size: clamp(20px, 5vw, 24px); }
}

@media (max-width: 540px) {
  /* Accordion metier : padding interne deja a 22px, on descend encore
     pour gagner de la largeur de contenu utile. */
  .metier-accordion summary { padding: 22px 18px; gap: 12px; }
  .metier-body { padding: 0 18px 28px; }
  .metier-toggle { width: 44px; height: 44px; }
  .metier-toggle-glyph { width: 18px; height: 18px; }

  /* Marquee : items moins gros pour eviter scroll lourd */
  .marquee-item { font-size: 17px; }
}

@media (max-width: 400px) {
  /* Floating CTA : sur ecrans tres etroits ("ECRIRE A KRZYSZTOF"
     prend trop de place). On raccourcit le texte via une astuce
     content-replacement et on resserre le padding. */
  .floating-cta { padding: 9px 14px; font-size: 10.5px; letter-spacing: 0.12em; }
}

/* ============================ 9. FAQ ============================
   Accordeon natif <details>/<summary>. Reprend les memes tokens
   visuels que .legal-block du footer (bordure or/bronze tres fine,
   marqueur +/- en serif, hover gold-bright). Aucune dependance JS. */

.faq-section {
  position: relative;
  overflow: hidden;
  /* On annule le padding global de section{} pour coller au sectors
     au-dessus et au contact en-dessous (cf. demande visuelle 2026-05-08). */
  padding: 0 0 clamp(8px, 1vw, 16px);
}
.faq-section .section-head {
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.faq-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 64px);
  max-width: 880px;
  margin: 0 auto;
}

.faq-block-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  color: var(--gold-soft);
  margin-bottom: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(216, 189, 142, 0.22);
  letter-spacing: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(216, 189, 142, 0.10);
  transition: border-color 0.3s var(--ease);
}
.faq-item:hover { border-color: rgba(216, 189, 142, 0.22); }

.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 4px 20px 0;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  transition: color 0.25s var(--ease);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+";
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-soft);
  flex-shrink: 0;
  margin-top: 2px;
  transition: color 0.25s var(--ease);
}
.faq-item[open] > summary::after { content: "−"; }
.faq-item > summary:hover { color: var(--gold-bright); }
.faq-item > summary:hover::after { color: var(--gold-bright); }
.faq-item > summary:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
  border-radius: 2px;
}

.faq-answer {
  padding: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 72ch;
}
.faq-answer p { color: var(--ink-soft); }
.faq-answer p + p { margin-top: 12px; }

@media (max-width: 720px) {
  .faq-item > summary { padding: 16px 0; font-size: 14.5px; gap: 16px; }
  .faq-item > summary::after { font-size: 22px; }
  .faq-answer { font-size: 14px; padding-bottom: 18px; }
}

/* Sur ecrans etroits, on cache l'ancre FAQ dans la nav pour eviter
   tout debordement. Le lien reste accessible via le scroll naturel. */
@media (max-width: 720px) {
  .nav-links a[href="#faq"] { display: none; }
}

/* =========================================================
   PRESCRIPTEUR / APPORT D'AFFAIRES (2026-05-11)
   Encart compact pensé pour tenir en un viewport. Pas de fond
   différencié (on garde --bg de la home), juste un encart avec
   bordure or fine et filet doré à gauche.
   ========================================================= */
.prescripteur-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.prescripteur-section .container { z-index: 2; }

.prescripteur-card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 36px) clamp(22px, 3.2vw, 44px);
  background: linear-gradient(180deg, rgba(216, 189, 142, 0.04), rgba(216, 189, 142, 0.01));
  border: 1px solid var(--hairline);
  border-radius: 4px;
  position: relative;
}
.prescripteur-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(201, 168, 120, 0.2) 100%);
  border-radius: 4px 0 0 4px;
}

.prescripteur-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: clamp(14px, 1.6vw, 20px);
}

.prescripteur-lead {
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: clamp(10px, 1.1vw, 14px);
}

.prescripteur-body {
  font-size: clamp(14px, 1.1vw, 15.5px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 70ch;
  margin-bottom: clamp(8px, 0.9vw, 12px);
}

.prescripteur-closer {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.7vw, 22px);
  color: var(--gold-soft);
  margin-top: clamp(12px, 1.4vw, 18px);
  margin-bottom: clamp(14px, 1.6vw, 22px);
  line-height: 1.35;
}

.prescripteur-cta {
  margin-top: 4px;
}

@media (max-width: 720px) {
  .prescripteur-section {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .prescripteur-card {
    padding: 22px 18px;
  }
}
