/* ══════════════════════════════════════════════════════════════
   Te Waza — feuille de style
   Palette : parchemin chaud + encre profonde + bronze de forge (HephAIstos)
   ══════════════════════════════════════════════════════════════ */

:root {
  --ink:        #1c1815;   /* encre / texte sombre */
  --ink-soft:   #4a423b;
  --parchment:  #f4efe6;   /* fond clair chaud */
  --parchment-2:#ece4d6;
  --cream:      #fbf8f1;
  --bronze:     #b06a2c;   /* accent forge */
  --bronze-lt:  #d68a44;
  --bronze-glow:#f0a85a;
  --line:       rgba(28, 24, 21, 0.12);

  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--f-body);
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: clip;   /* clips horizontal overflow WITHOUT breaking position:sticky (unlike hidden) */
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

::selection { background: var(--bronze); color: var(--cream); }

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

.accent { color: var(--bronze); font-style: italic; }

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--bronze);
  margin-bottom: 1.4rem;
}
.eyebrow--light { color: var(--bronze-glow); }


/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.85em 1.5em;
  border-radius: 100px;
  transition: transform .4s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--ink); color: var(--cream); }
.btn--solid:hover { background: var(--bronze); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--text { padding-left: 0.4em; padding-right: 0.4em; }
.btn--text .arrow { transition: transform .4s var(--ease); }
.btn--text:hover .arrow { transform: translateY(3px); }
.btn--lg { font-size: 1.05rem; padding: 1.05em 2em; }


/* ── Nav — original placement; hover reveals a see-through glass lens ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(244, 239, 230, 0.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
/* 3 fixed zones: brand left · the 5-item menu always centered · actions right */
.nav__brand   { grid-column: 1; justify-self: start; }
.nav__links   { grid-column: 2; justify-self: center; }
.nav__actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 0.7rem; }

/* very discrete pulsing halo on the "Réserver un échange" button (faster + lighter, stops on hover) */
@keyframes tw-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(176, 106, 44, 0.42); }
  70%  { box-shadow: 0 0 0 9px rgba(176, 106, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(176, 106, 44, 0); }
}
.nav__cta { animation: tw-pulse 1.6s ease-out infinite; }
.nav__cta:hover { animation: none; }
@media (prefers-reduced-motion: reduce){ .nav__cta { animation: none; } }
.nav__brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--cream); transition: color .4s var(--ease); }
.nav__mark { font-size: 1.35rem; color: var(--bronze-glow); font-family: var(--f-display); transition: color .4s var(--ease); }
.nav__name { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: 0.01em; }
/* Nav is light over the video hero, dark once stuck on the light sections */
.nav.is-stuck .nav__brand { color: var(--ink); }
.nav.is-stuck .nav__mark { color: var(--bronze); }
.nav .btn--ghost { border-color: rgba(251,248,241,0.26); color: var(--cream); }
.nav.is-stuck .btn--ghost { border-color: var(--line); color: var(--ink); }
.nav.is-stuck .btn--ghost:hover { border-color: var(--ink); }

/* The enclosing rounded rectangle that wraps the 3 menu items */
.nav__links {
  position: relative; isolation: isolate;
  padding: 5px;
  border-radius: 100px;
  background: hsl(28 24% 8% / 0.42);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
          backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid hsl(40 40% 92% / 0.16);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
@supports (corner-shape: squircle) {
  .nav__links { border-radius: 22px; corner-shape: squircle; }
}
.nav.is-stuck .nav__links {
  background: hsl(40 30% 100% / 0.55);
  border-color: var(--line);
}
.nav__links > ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center;
  gap: 0.25rem;
}
.nav__links > ul > li { display: block; }
.nav__links a {
  display: block; padding: 0.5rem 0.95rem; border-radius: 100px;
  font-size: 0.9rem; color: rgba(251,248,241,0.80); white-space: nowrap;
  transition: color .3s var(--ease);
}
.nav__links a:hover { color: var(--cream); }
.nav.is-stuck .nav__links a { color: var(--ink-soft); }
.nav.is-stuck .nav__links a:hover { color: var(--ink); }


/* ── Mobile : hamburger + drawer (≤720px) ─────────── */
.nav__burger {
  display: none;                 /* shown only ≤720px */
  position: relative; z-index: 60;
  width: 44px; height: 44px; padding: 11px;
  background: transparent; border: none; cursor: pointer;
  flex-direction: column; justify-content: space-between;
}
.nav__burger span {
  display: block; height: 2px; width: 100%; border-radius: 2px;
  background: var(--cream);
  transition: transform .35s var(--ease), opacity .25s var(--ease), background .4s var(--ease);
}
.nav.is-stuck .nav__burger span { background: var(--ink); }
.nav.nav--open .nav__burger span { background: var(--ink); }
/* animate into an X when open */
.nav.nav--open .nav__burger span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.nav--open .nav__burger span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

/* the drawer panel */
.navmobile {
  position: fixed; inset: 0; z-index: 45;
  display: flex; align-items: center; justify-content: center;
  background: rgba(244, 239, 230, 0.97);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.navmobile.is-open { opacity: 1; visibility: visible; }
.navmobile__inner {
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
  text-align: center;
}
/* reveal applies to every drawer item (links + CTA) */
.navmobile__inner > a {
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .25s var(--ease);
}
/* typographic styling only for the text links, NOT the CTA button */
.navmobile__inner > a:not(.btn) {
  font-family: var(--f-display); font-size: 1.7rem; color: var(--ink);
}
.navmobile.is-open .navmobile__inner > a { opacity: 1; transform: none; }
.navmobile__inner > a:nth-child(1) { transition-delay: .06s; }
.navmobile__inner > a:nth-child(2) { transition-delay: .12s; }
.navmobile__inner > a:nth-child(3) { transition-delay: .18s; }
.navmobile__inner > a:nth-child(4) { transition-delay: .24s; }
.navmobile__inner > a:not(.btn):hover { color: var(--bronze); }
.navmobile__cta { margin-top: 1rem; transition-delay: .30s; }

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }          /* CTA lives in the drawer instead */
  .nav__burger { display: flex; }
  .nav__actions { margin-left: auto; }  /* links hidden → push the switch + burger to the right */
  /* the FR/EN switch stays visible in the header, to the LEFT of the hamburger */
}
/* lock background scroll while the drawer is open */
body.nav-locked { overflow: hidden; }

/* ── Language switch (FR / EN) — minimal segmented control ── */
.lang-switch {
  display: inline-flex; align-items: center; overflow: hidden;
  border: 1px solid rgba(251,248,241,0.24); border-radius: 100px;
}
@supports (corner-shape: squircle){ .lang-switch { border-radius: 12px; corner-shape: squircle; } }
.lang-opt {
  font-family: var(--f-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  padding: 0.42rem 0.62rem; line-height: 1; cursor: pointer;
  background: transparent; border: none; color: rgba(251,248,241,0.55);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.lang-opt + .lang-opt { border-left: 1px solid rgba(251,248,241,0.24); }
.lang-opt:hover { color: var(--cream); }
.lang-opt.is-active { color: var(--ink); background: var(--cream); }
/* once the nav sticks over the light sections, shift to ink tones */
.nav.is-stuck .lang-switch--nav { border-color: var(--line); }
.nav.is-stuck .lang-switch--nav .lang-opt { color: var(--ink-soft); }
.nav.is-stuck .lang-switch--nav .lang-opt + .lang-opt { border-left-color: var(--line); }
.nav.is-stuck .lang-switch--nav .lang-opt.is-active { color: var(--cream); background: var(--ink); }
/* drawer variant on the light parchment overlay */
.lang-switch--drawer { margin-top: 0.5rem; border-color: var(--line); }
.lang-switch--drawer .lang-opt { color: var(--ink-soft); }
.lang-switch--drawer .lang-opt + .lang-opt { border-left-color: var(--line); }
.lang-switch--drawer .lang-opt.is-active { color: var(--cream); background: var(--ink); }

/* Fallback (no CSS anchor positioning): a static bubble on the hovered item */
@supports not (anchor-name: --a) {
  .nav__links a:hover { background: hsl(28 70% 52% / 0.22); box-shadow: inset 0 0 0 1px hsl(28 60% 50% / 0.45); }
}

/* The bubble — a rounded pill that appears inside the rectangle and slides
   to the hovered item (CSS anchor positioning, Chromium). */
@supports (anchor-name: --a) {
  .nav__links > ul:has(:not(:hover)) { anchor-name: --twnav; }  /* rest: anchor = whole list */
  .nav__links a:hover { anchor-name: --twnav; }                 /* hover: anchor = the link */

  .nav__links::before {
    content: ""; position: absolute; position-anchor: --twnav; pointer-events: none; z-index: -1;
    top: anchor(top); right: anchor(right); bottom: anchor(bottom); left: anchor(left);
    border-radius: 100px;
    background: hsl(28 72% 52% / 0.22);            /* bronze-tinted glass bubble */
    border: 1px solid hsl(28 60% 50% / 0.45);
    opacity: 0;                                    /* hidden until a link is hovered */
    transition:
      top .5s, right .5s, bottom .5s, left .5s, border-radius .5s,
      opacity .22s ease;
    transition-timing-function: linear(
      0, 0.008 1.1%, 0.031 2.2%, 0.129 4.8%, 0.257 7.2%, 0.671 14.2%,
      0.789 16.5%, 0.881 18.6%, 0.957 20.7%, 1.019 22.9%, 1.063 25.1%,
      1.094 27.4%, 1.114 30.7%, 1.112 34.5%, 1.018 49.9%, 0.99 59.1%, 1
    );
  }
  @supports (corner-shape: squircle) {
    .nav__links::before { corner-shape: squircle; border-radius: 16px; }
  }
  .nav__links:has(a:hover)::before { opacity: 1; }   /* bubble appears on the hovered item */
}


/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 8rem clamp(1.2rem, 4vw, 3rem) 4rem;
  background: var(--ink);   /* fallback behind the video */
  overflow: hidden;
}
/* Video background (cross-fading playlist) */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.2s ease;
}
.hero__video.is-active { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(18,14,11,0.78), rgba(18,14,11,0.34) 52%, rgba(18,14,11,0.12)),
    linear-gradient(to bottom, rgba(18,14,11,0.42), rgba(18,14,11,0.28) 40%, rgba(18,14,11,0.60)),
    radial-gradient(120% 80% at 82% 0%, rgba(176,106,44,0.18), transparent 55%);
}
.hero__grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
.hero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero .eyebrow { color: var(--bronze-glow); }
.hero__title {
  font-family: var(--f-display);
  font-weight: 340;
  font-size: clamp(2.5rem, 6.2vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 1.8rem;
  color: var(--cream);
}
.hero__title .accent { color: var(--bronze-glow); }
.hero__lede {
  max-width: 40ch;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: rgba(251,248,241,0.82);
  margin-bottom: 2.6rem;
}
.hero__cta { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.hero .btn--solid { background: var(--cream); color: var(--ink); }
.hero .btn--solid:hover { background: var(--bronze-glow); color: var(--ink); }
.hero .btn--text { color: var(--cream); }

.hero__scrollhint {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(251,248,241,0.72);
}
.hero__scrollline { width: 1px; height: 48px; background: linear-gradient(var(--bronze), transparent); animation: scrolldrop 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrolldrop { 0% { transform: scaleY(0); } 40% { transform: scaleY(1);} 100% { transform: scaleY(0); transform-origin: bottom; } }


/* ── Gather (signature scroll animation) ──────────── */
.gather { position: relative; background: var(--ink); color: var(--cream); }
.gather__pin {
  position: relative;
  height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden;
  padding-top: 5.5rem;
}
.gather__copy {
  position: relative; z-index: 4; text-align: center; pointer-events: none;
  margin-bottom: 1rem;
}
.gather__head {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: max-content; max-width: 92vw;
  font-family: var(--f-display); font-weight: 330;
  font-size: clamp(1.6rem, 4.4vw, 3.3rem); line-height: 1.1;
  letter-spacing: -0.01em;
}
.gather__head .accent { color: var(--bronze-glow); }
.gather__head--before { opacity: 1; }
.gather__head--after  { opacity: 0; }

.stage {
  position: relative;
  width: min(92vw, 880px);
  height: min(56vh, 500px);
  margin-top: clamp(3rem, 8vh, 5rem);
}

/* The knowledge graph (brain) */
.brain {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  z-index: 2; pointer-events: none;
}
.brain canvas { display: block; width: 100%; height: 100%; }
.brain__glow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(240,168,90,0.16), transparent 68%);
  opacity: 0; filter: blur(14px); z-index: -1;
}

/* Fragments */
/* each savoir-faire is a single node-like point; the .frag box IS the dot, so its
   centre lands exactly on a graph node when merging. The label sits beside it. */
.frag {
  position: absolute; left: 50%; top: 50%;
  width: 11px; height: 11px;
  transform: translate(-50%, -50%);
  z-index: 3; will-change: transform, opacity;
}
.frag__dot {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 12px rgba(251,248,241,0.55), 0 0 0 5px rgba(240,168,90,0.10);
}
.frag__text {
  position: absolute; top: 50%; left: calc(100% + 0.6rem); transform: translateY(-50%);
  white-space: nowrap; font-size: 0.85rem; color: rgba(251,248,241,0.82); letter-spacing: 0.01em;
}
.frag[data-align="left"] .frag__text { left: auto; right: calc(100% + 0.6rem); }

.gather__caption {
  position: relative; z-index: 4; margin-top: clamp(1.5rem, 4vh, 2.5rem);
  font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.5;
  color: rgba(251,248,241,0.62); text-align: center; max-width: 52ch;
}
.gather__caption strong { color: var(--bronze-glow); font-weight: 500; }
@media (max-width: 720px){
  .frag__text { font-size: 0.78rem; }
}


/* ── Prose blocks ─────────────────────────────────── */
.prose {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(6rem, 14vh, 11rem) clamp(1.2rem, 4vw, 3rem);
}
.prose__title {
  font-family: var(--f-display); font-weight: 340;
  font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -0.01em;
  max-width: 22ch;
}
/* the two movements of the risk, stacked to read as one story */
.prose__story {
  display: flex; flex-direction: column; gap: 1.6rem;
  margin-top: 3rem; max-width: 52rem;
}
.prose__story p { color: var(--ink-soft); font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.6; }
.prose__turn {
  display: block; margin-top: 1.1rem;
  font-family: var(--f-display); font-weight: 400; font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.3;
  color: var(--bronze);
}


/* ── Manifeste (reveal mot à mot au scroll) ───────── */
.manifesto {
  background: var(--parchment);
  padding: clamp(6rem, 17vh, 13rem) clamp(1.2rem, 4vw, 3rem);
}
.manifesto__inner { max-width: 58rem; margin: 0 auto; }
.manifesto__line {
  font-family: var(--f-display); font-weight: 340;
  font-size: clamp(1.5rem, 3.1vw, 2.5rem); line-height: 1.34;
  letter-spacing: -0.012em; color: var(--ink);
  margin-bottom: 2.2rem;
}
.manifesto__line--accent { color: var(--bronze); font-style: italic; margin-bottom: 0; }
.manifesto .word { opacity: 0.16; }
@media (prefers-reduced-motion: reduce){ .manifesto .word { opacity: 1; } }


/* ── Notre solution (le flux : entretiens → graphe → agents → vie) ──
   timeline verticale immersive : faisceau bronze qui se remplit au scroll,
   chaque étape s'allume à son tour. Fusion de l'ancien « protocole » (le
   faisceau animé) et de « comment ça marche » (les phases + leur durée). */
.solution {
  background: var(--parchment-2);
  padding: clamp(6rem, 14vh, 11rem) clamp(1.2rem, 4vw, 3rem);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.solution__intro { max-width: 50rem; margin: 0 auto 4.5rem; text-align: center; }
.solution__title {
  font-family: var(--f-display); font-weight: 340;
  font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.08; letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
}
.solution__title .accent { color: var(--bronze); }
.solution__lede { color: var(--ink-soft); font-size: 1.12rem; max-width: 58ch; margin: 0 auto; }
.solution__lede + .solution__lede { margin-top: 1.5rem; }   /* the "saute une ligne" gap */
/* the key insight, set on its own line */
.solution__keyline {
  display: block; margin-top: 0.5rem;
  font-family: var(--f-display); font-style: italic; color: var(--bronze);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.25;
}

/* the flow as alternating image + text cards (left · right · left · right) */
.solution__steps {
  list-style: none; margin: 0 auto; padding: 0; max-width: var(--maxw);
  display: flex; flex-direction: column; gap: clamp(3rem, 7vw, 6rem);
}
.sstep {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 4rem); align-items: center;
}
.sstep__media {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  border-radius: 22px; background: var(--parchment); border: 1px solid var(--line);
  box-shadow: 0 28px 64px -36px rgba(28, 24, 21, 0.55);
}
@supports (corner-shape: squircle){ .sstep__media { border-radius: 30px; corner-shape: squircle; } }
.sstep__vid, .sstep__img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* card 4 screen-recording has white margins (top ~9%, bottom ~11%, sides ~2%):
   object-fit cover removes the top/bottom bands; a gentle scale clears the side slivers */
.sstep__vid--crop { transform: scale(1.05); transform-origin: center bottom; }
.sstep__num {
  display: block; font-family: var(--f-display); font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--bronze); margin-bottom: 0.9rem;
}
.sstep__t {
  display: inline-block; margin-bottom: 1.1rem;
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
  border: 1px solid var(--line); padding: 0.3rem 0.75rem; border-radius: 100px; white-space: nowrap;
}
.sstep__content h3 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.12; letter-spacing: -0.01em; margin-bottom: 0.9rem;
}
.sstep__content p { color: var(--ink-soft); font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.62; max-width: 46ch; }
/* alternate: even cards put the media on the right */
.sstep:nth-child(even) .sstep__media { order: 2; }
.solution__diff {
  text-align: center; margin: clamp(3rem, 6vw, 5rem) auto 0; max-width: 60ch;
  font-family: var(--f-display); font-weight: 330; font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  color: var(--ink); line-height: 1.5; text-wrap: balance;
}
.solution__diff .nb { white-space: nowrap; }   /* keep each clause intact; only break at the · */
.solution__diff .accent { color: var(--bronze); }
@media (max-width: 760px){
  .sstep { grid-template-columns: 1fr; gap: 1.4rem; }
  .sstep:nth-child(even) .sstep__media { order: 0; }   /* media on top on mobile */
}


/* ── Connecteurs (marquee) ────────────────────────── */
.connect {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(5rem, 11vh, 8rem) 0;
  overflow: hidden;
}
.connect__head { text-align: center; max-width: 46rem; margin: 0 auto 3rem; padding: 0 1.2rem; }
.connect__title {
  font-family: var(--f-display); font-weight: 340;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.12; letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}
.connect__sub { color: rgba(251,248,241,0.62); font-size: 1.05rem; }

.marquee {
  position: relative;
  display: flex;
  margin-bottom: 1rem;
  overflow: hidden;
}
/* edge fades painted in the section colour: chips dissolve cleanly into the
   background at both ends — no hard-cut chip, works without mask support */
.marquee::before,
.marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 14%;
  z-index: 2; pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(to right, var(--ink), rgba(28,24,21,0)); }
.marquee::after  { right: 0; background: linear-gradient(to left,  var(--ink), rgba(28,24,21,0)); }
.marquee__track {
  display: flex; flex-wrap: nowrap; width: max-content;
  animation: tw-marquee 52s linear infinite;
  will-change: transform;
}
/* each group is one identical copy; the clone makes the track exactly 2× wide,
   so translateX(-50%) lands the clone precisely where the original began → no seam */
.marquee__group {
  display: flex; flex-wrap: nowrap; flex: none;
  gap: 0.85rem; margin-right: 0.85rem;   /* trailing margin == gap → even spacing at the join */
}
.marquee--rev .marquee__track { animation-duration: 60s; animation-direction: reverse; }
@keyframes tw-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.chip {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: 13px;
  background: rgba(251,248,241,0.045);
  border: 1px solid rgba(251,248,241,0.09);
  color: rgba(251,248,241,0.86);
  font-size: 0.92rem; white-space: nowrap;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.chip:hover { background: rgba(251,248,241,0.09); border-color: rgba(240,168,90,0.4); }
.chip__logo {
  width: 25px; height: 25px; border-radius: 6px; flex: none;
  background: #fbf8f1;
  display: grid; place-items: center; overflow: hidden;
  font-size: 0.72rem; font-weight: 700; color: var(--ink);
}
.chip__logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; box-sizing: border-box; }

.connect__cta {
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.6rem; padding: 0 1.2rem;
}
.connect .btn--solid { background: var(--cream); color: var(--ink); }
.connect .btn--solid:hover { background: var(--bronze-glow); color: var(--ink); }
.btn--ghost-dark { border-color: rgba(251,248,241,0.22); color: var(--cream); }
.btn--ghost-dark:hover { border-color: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}


/* ── Méthodologie ─────────────────────────────────── */
.method {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(6rem, 14vh, 11rem) clamp(1.2rem, 4vw, 3rem);
}
.method__head { max-width: 46rem; margin-bottom: 3rem; }
.method__title {
  font-family: var(--f-display); font-weight: 340;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.1; letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
}
.method__lede { color: var(--ink-soft); font-size: 1.15rem; max-width: 46ch; }
.method__pivot {
  max-width: 52rem; margin: 0 0 3.5rem; padding: 2rem 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.method__pivot p {
  font-family: var(--f-display); font-weight: 330;
  font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.42; color: var(--ink);
}
.method__pivot strong { color: var(--bronze); font-weight: 400; }
.method__adv { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; max-width: 58rem; }
.adv__ico {
  display: block; width: 30px; height: 30px; margin-bottom: 1rem; background: var(--bronze);
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat;
}
.adv h3 { font-family: var(--f-display); font-weight: 400; font-size: 1.3rem; margin-bottom: 0.6rem; }
.adv p { color: var(--ink-soft); font-size: 1.02rem; }
@media (max-width: 760px){ .method__adv { grid-template-columns: 1fr; gap: 2rem; } }


/* ── Technologie (cartes, fond sombre) ────────────── */
.feats {
  background: var(--ink); color: var(--cream);
  padding: clamp(6rem, 14vh, 11rem) clamp(1.2rem, 4vw, 3rem);
}
.feats__head { max-width: var(--maxw); margin: 0 auto 3rem; }
.feats__title {
  font-family: var(--f-display); font-weight: 340;
  font-size: clamp(1.8rem, 3.8vw, 2.8rem); letter-spacing: -0.01em;
}
/* Stacked deck: each card sticks under the nav as you scroll; the next card
   slides up and over it, leaving a thin sliver of the previous one (a deck). */
.feats__stack { max-width: 880px; margin: 0 auto; }
.feats__stack .feat {
  position: sticky;
  display: flex; flex-direction: column;
  /* glassmorphism: translucent panel that frosts whatever sits behind it (incl. the card it slides over) */
  background: rgba(251, 248, 241, 0.06);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
          backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid rgba(251,248,241,0.16);
  border-radius: 24px; padding: clamp(1.9rem, 3.5vw, 2.9rem);
  min-height: 300px; margin-bottom: 2.4rem;
  box-shadow: 0 -18px 44px -24px rgba(0,0,0,0.6),     /* depth on the top edge as it slides over */
              inset 0 1px 0 rgba(251,248,241,0.18);   /* faint top highlight = glass edge */
  transition: border-color .5s var(--ease), background .5s var(--ease);
}
@supports (corner-shape: squircle){ .feats__stack .feat { border-radius: 30px; corner-shape: squircle; } }
.feats__stack .feat:last-child { margin-bottom: 0; }
.feats__stack .feat:hover { border-color: rgba(240,168,90,0.40); }
/* incremental sticky offset → each card rests a touch lower, so the deck peeks */
.feats__stack .feat:nth-child(1){ top: 100px; }
.feats__stack .feat:nth-child(2){ top: 116px; }
.feats__stack .feat:nth-child(3){ top: 132px; }
.feats__stack .feat:nth-child(4){ top: 148px; }
.feat__ico {
  width: 36px; height: 36px; margin-bottom: 1.6rem; background: var(--bronze-glow);
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat;
}
.feat h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.15; margin-bottom: 1rem; }
.feat p { color: rgba(251,248,241,0.70); font-size: clamp(1rem, 1.5vw, 1.12rem); max-width: 54ch; }
.feat__link { margin-top: auto; padding-top: 1.6rem; color: var(--bronze-glow); font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.feat__link span { transition: transform .3s var(--ease); }
.feat__link:hover span { transform: translateX(3px); }
@media (max-width: 600px){
  .feats__stack .feat { min-height: 260px; }
  .feats__stack .feat:nth-child(1){ top: 78px; }
  .feats__stack .feat:nth-child(2){ top: 90px; }
  .feats__stack .feat:nth-child(3){ top: 102px; }
  .feats__stack .feat:nth-child(4){ top: 114px; }
}


/* ── Comparatif ───────────────────────────────────── */
.compare {
  background: var(--parchment-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(6rem, 14vh, 11rem) clamp(1.2rem, 4vw, 3rem);
}
.compare__head { max-width: var(--maxw); margin: 0 auto 3rem; text-align: center; }
.compare__grid {
  max-width: 66rem; margin: 0 auto;
  display: grid; grid-template-columns: 7.5rem 1fr 1fr; gap: 0.7rem;
}
.compare__h {
  display: flex; flex-direction: column; gap: 0.25rem; align-items: center;
  padding: 1rem; border-radius: 16px; text-align: center;
  font-family: var(--f-display); font-size: 1.05rem;
}
.compare__h--us { background: var(--ink); color: var(--cream); }
.compare__h--them { color: var(--ink-soft); border: 1.5px solid rgba(28, 24, 21, 0.20); }
.compare__brand { font-size: 1.15rem; }
.compare__brand span { color: var(--bronze-glow); }
.compare__tag {
  font-family: var(--f-body); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.compare__h--us .compare__tag { color: var(--bronze-glow); }
.compare__h--them .compare__tag { color: var(--ink-soft); }
.compare__label {
  display: flex; align-items: center;
  font-family: var(--f-display); color: var(--bronze); font-size: 0.98rem;
}
.compare__cell {
  padding: 1.1rem 1.2rem; border-radius: 16px; font-size: 0.98rem; line-height: 1.42;
}
.compare__cell--us { background: var(--cream); border: 1px solid rgba(176,106,44,0.28); color: var(--ink); }
.compare__cell--them { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); }
@supports (corner-shape: squircle){ .compare__h, .compare__cell { corner-shape: squircle; border-radius: 18px; } }
@media (max-width: 700px){
  .compare__grid { grid-template-columns: 1fr 1fr; }
  .compare__corner { display: none; }
  .compare__label { grid-column: 1 / -1; padding-top: 0.9rem; font-size: 1.05rem; }
}


/* ── La valeur invisible (capital immatériel) ─────── */
.valeur {
  background: var(--ink); color: var(--cream);
  padding: clamp(6rem, 16vh, 12rem) clamp(1.2rem, 4vw, 3rem);
}
.valeur__head { max-width: 50rem; margin: 0 auto 3.5rem; text-align: center; }
.valeur__title {
  font-family: var(--f-display); font-weight: 340;
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
}
.valeur__title .accent { color: var(--bronze-glow); }
.valeur__lede { color: rgba(251,248,241,0.70); font-size: 1.12rem; max-width: 56ch; margin: 0 auto; }
.valeur__pillars {
  max-width: var(--maxw); margin: 0 auto 3.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem;
}
.pillar { padding: 0; text-align: center; }
/* the capital labels are rounded "bubbles", echoing the nav pills */
.pillar__k {
  display: inline-block; font-family: var(--f-display); color: var(--bronze-glow);
  font-size: 1.02rem; margin-bottom: 1.1rem;
  padding: 0.42rem 1.05rem; border-radius: 100px;
  background: hsl(28 72% 52% / 0.14);
  border: 1px solid hsl(28 60% 50% / 0.42);
}
@supports (corner-shape: squircle){ .pillar__k { border-radius: 16px; corner-shape: squircle; } }
/* animated shiny text (Magic UI style): a cream glint sweeps across the bronze label */
.pillar__k .shiny {
  background-image: linear-gradient(110deg, var(--bronze-glow) 0%, var(--bronze-glow) 40%, var(--cream) 50%, var(--bronze-glow) 60%, var(--bronze-glow) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: tw-shine 4s linear infinite;
}
/* shift by exactly one tile (200% with a 200% background) → perfectly seamless loop */
@keyframes tw-shine { from { background-position: 200% 0; } to { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce){
  .pillar__k .shiny { animation: none; -webkit-text-fill-color: var(--bronze-glow); color: var(--bronze-glow); }
}
.pillar p { color: rgba(251,248,241,0.66); font-size: 1rem; }
.valeur__pivot { max-width: 56rem; margin: 0 auto; text-align: center; }
.valeur__pivot p {
  font-family: var(--f-display); font-weight: 330;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem); line-height: 1.4; color: var(--cream);
}
.valeur__pivot strong { color: var(--bronze-glow); font-weight: 400; }
@media (max-width: 780px){
  .valeur__pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar { padding: 1.4rem 0; }
}


/* ── Réservation (bouton email) ───────────── */
.booking {
  margin: 2.8rem auto 0;
  text-align: center;
}


/* ── FAQ (accordéon natif <details>) ──────────────── */
.faq {
  max-width: 780px; margin: 0 auto;
  padding: clamp(6rem, 14vh, 11rem) clamp(1.2rem, 4vw, 3rem) clamp(2rem, 5vh, 3.5rem);
}
.faq__head { text-align: center; margin-bottom: 3rem; }
.faq__title {
  font-family: var(--f-display); font-weight: 340;
  font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -0.015em;
}
.faq__list { display: flex; flex-direction: column; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.45rem 0;
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.1rem, 2vw, 1.32rem); line-height: 1.3; color: var(--ink);
  transition: color .25s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--bronze); }
.faq__item summary::after {
  content: ""; flex: none; width: 16px; height: 16px; background: var(--bronze);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .35s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__a { padding: 0 0 1.6rem; }
.faq__a p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.62; max-width: 64ch; }
.faq__item[open] .faq__a { animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){ .faq__item[open] .faq__a { animation: none; } }


/* ── CTA ──────────────────────────────────────────── */
.cta {
  text-align: center; padding: clamp(7rem, 16vh, 12rem) clamp(1.2rem, 4vw, 3rem);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(176,106,44,0.10), transparent 60%),
    var(--parchment);
}
.cta__title { font-family: var(--f-display); font-weight: 340; font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 1.6rem; }
.cta__lede { color: var(--ink-soft); font-size: 1.15rem; margin-bottom: 2.6rem; }


/* ── Footer ───────────────────────────────────────── */
.footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  max-width: var(--maxw); margin: 0 auto;
  padding: 2.4rem clamp(1.2rem, 4vw, 3rem) 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--ink-soft);
}
.footer__brand { font-family: var(--f-display); font-size: 1.05rem; color: var(--ink); }
.footer__brand span { color: var(--bronze); }


/* ── Reveal-on-scroll ─────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(22px); }
.is-revealed[data-reveal], [data-reveal].is-revealed {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__scrollline { animation: none; }
}
