/* ============================================================
   PEC — Motion-driven home
   Cinematic choreography. Subliminal continuous motion.
   ============================================================ */

:root {
  --pec-ink:        #0A0A0A;
  --pec-ink-2:      #060606;
  --pec-slate:      #161616;
  --pec-ivory:      #F5F2EA;
  --pec-ivory-2:    #EDE9DD;
  --pec-stone:      #8B8680;
  --pec-stone-2:    #5C5854;
  --pec-bronze:     #A88556;
  --pec-bronze-2:   #C9A672;

  --pec-display: "Cormorant Garamond", "EB Garamond", Garamond, serif;
  --pec-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --pec-mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Slow easings — luxury never bounces */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --ease-soft:    cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Durations — defaults skew long */
  --d-fast:    400ms;
  --d-base:    600ms;
  --d-slow:    1200ms;
  --d-slower:  1800ms;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--pec-ink); color: var(--pec-ivory); }
html { scroll-behavior: smooth; }
body {
  font-family: var(--pec-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02";
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

h1, h2, h3, h4 { font-family: var(--pec-display); font-weight: 300; letter-spacing: -0.012em; line-height: 1.04; margin: 0; }
p { margin: 0; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--pec-bronze); color: var(--pec-ink); }

/* ----- Black gate (the very first frame) ----- */
.gate {
  position: fixed; inset: 0;
  background: #000;
  z-index: 100;
  pointer-events: none;
  opacity: 1;
  transition: opacity 900ms var(--ease-out) 1200ms;
}
body:not(.is-loading) .gate { opacity: 0; }

/* ----- Custom cursor (desktop only) ----- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; mix-blend-mode: difference; will-change: transform; }
.cursor {
  width: 24px; height: 24px;
  margin: -12px 0 0 -12px;
  border: 1px solid rgba(245, 242, 234, 0.92);
  border-radius: 50%;
  transition: width 300ms var(--ease-out), height 300ms var(--ease-out), margin 300ms var(--ease-out), background-color 300ms var(--ease-out), opacity 300ms var(--ease-out);
}
.cursor-dot {
  width: 4px; height: 4px;
  margin: -2px 0 0 -2px;
  background: var(--pec-ivory);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
}
body.cur-link .cursor { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
body.cur-link .cursor-dot { opacity: 1; }
body.cur-cta .cursor {
  width: 60px; height: 60px; margin: -30px 0 0 -30px;
  border-color: rgba(245, 242, 234, 0.8);
  background-image: linear-gradient(90deg, transparent 0, transparent 100%);
}
body.cur-cta .cursor::after {
  content: "→";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--pec-mono); font-size: 14px; color: var(--pec-ivory);
}
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
}

/* ----- Top bar — transparent over hero, opaque on scroll ----- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 800ms var(--ease-out), border-color 800ms var(--ease-out), padding 600ms var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: rgba(245, 242, 234, 0.08);
  padding: 14px 40px;
}
.nav__brand {
  font-family: var(--pec-display);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--pec-ivory);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-6px);
  justify-self: start;
}
.nav__brand .seg { display: inline-block; transition: padding 700ms var(--ease-out); }
.nav__brand .dot { display: inline-block; padding: 0 6px; color: var(--pec-bronze); transition: padding 700ms var(--ease-out); }
.nav__brand:hover .dot { padding: 0 14px; }
.nav__center {
  display: flex; gap: 32px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.78);
}
.nav__center a {
  position: relative; padding-bottom: 4px;
}
.nav__center a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--pec-bronze-2);
  transform: scaleX(0); transform-origin: left;
  transition: transform 320ms var(--ease-out);
}
.nav__center a:hover::after { transform: scaleX(1); }
.nav__center a { opacity: 0; transform: translateY(-4px); }
.nav__right {
  display: flex; justify-content: flex-end; align-items: center; gap: 22px;
  font-family: var(--pec-mono); font-size: 11px; letter-spacing: 0.10em;
  color: rgba(245, 242, 234, 0.7);
  opacity: 0; transform: translateY(-4px);
  white-space: nowrap;
}
.nav__phone { transition: color 300ms var(--ease-out); }
.nav__phone:hover { color: var(--pec-ivory); }

/* ----- Language dropdown ----- */
.lang-switch { position: relative; }
.lang-switch__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid rgba(245,242,234,0.18);
  color: var(--pec-ivory);
  font-family: var(--pec-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 12px 8px 14px;
  cursor: pointer;
  transition: border-color 320ms var(--ease-out), background-color 320ms var(--ease-out), color 320ms var(--ease-out);
}
.lang-switch__btn:hover { border-color: rgba(245,242,234,0.42); background: rgba(245,242,234,0.04); }
.lang-switch__chev { transition: transform 320ms var(--ease-out); }
.lang-switch.is-open .lang-switch__btn { border-color: var(--pec-bronze); color: var(--pec-bronze-2); }
.lang-switch.is-open .lang-switch__chev { transform: rotate(180deg); }
.lang-switch__menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 200px;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgba(245,242,234,0.10);
  list-style: none; padding: 8px 0; margin: 0;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 280ms var(--ease-out), transform 320ms var(--ease-out);
  z-index: 60;
}
.lang-switch.is-open .lang-switch__menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lang-switch__menu li {
  display: grid; grid-template-columns: 56px 1fr;
  align-items: center; gap: 14px;
  padding: 10px 18px;
  font-family: var(--pec-mono); font-size: 11px; letter-spacing: 0.10em;
  color: rgba(245,242,234,0.78);
  cursor: pointer;
  position: relative;
  transition: color 220ms var(--ease-out), background-color 220ms var(--ease-out);
}
.lang-switch__menu li::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 2px; height: 0;
  background: var(--pec-bronze);
  transform: translateY(-50%);
  transition: height 320ms var(--ease-out);
}
.lang-switch__menu li:hover { color: var(--pec-ivory); background: rgba(245,242,234,0.03); }
.lang-switch__menu li:hover::before { height: 18px; }
.lang-switch__menu li[data-on="1"] { color: var(--pec-bronze-2); }
.lang-switch__menu li[data-on="1"]::before { height: 22px; }
.lang-switch__menu li .code { letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.lang-switch__menu li .name { font-family: var(--pec-display); font-style: italic; font-size: 14px; letter-spacing: 0; text-transform: none; color: inherit; opacity: 0.85; }

/* ----- Hamburger (mobile only) ----- */
.hamburger {
  display: none;
  width: 36px; height: 36px;
  background: transparent; border: 1px solid rgba(245,242,234,0.18);
  color: var(--pec-ivory);
  cursor: pointer;
  position: relative;
  align-items: center; justify-content: center;
  padding: 0;
  transition: border-color 320ms var(--ease-out);
}
.hamburger:hover { border-color: rgba(245,242,234,0.42); }
.hamburger span {
  display: block;
  position: absolute; left: 50%;
  width: 16px; height: 1px;
  background: var(--pec-ivory);
  transform: translateX(-50%);
  transition: transform 360ms var(--ease-out), opacity 280ms var(--ease-out), top 360ms var(--ease-out);
}
.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 17px; }
.hamburger span:nth-child(3) { top: 21px; }
.hamburger.is-open span:nth-child(1) { top: 17px; transform: translateX(-50%) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 17px; transform: translateX(-50%) rotate(-45deg); }

/* ----- Drawer ----- */
.drawer {
  position: fixed; inset: 0;
  z-index: 80;
  visibility: hidden;
  pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 480ms var(--ease-out);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(86vw, 380px);
  background: #060606;
  border-left: 1px solid rgba(245,242,234,0.08);
  padding: 28px 28px 24px;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 600ms var(--ease-out);
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(245,242,234,0.08);
}
.drawer__brand {
  font-family: var(--pec-display); font-weight: 300;
  font-size: 11px; letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--pec-ivory);
}
.drawer__brand .dot { color: var(--pec-bronze); padding: 0 4px; }
.drawer__close {
  background: transparent; border: 0; color: var(--pec-stone);
  padding: 6px; cursor: pointer;
  transition: color 220ms var(--ease-out);
}
.drawer__close:hover { color: var(--pec-ivory); }
.drawer__nav { display: flex; flex-direction: column; padding: 28px 0; flex: 1; }
.drawer__nav a {
  display: grid; grid-template-columns: 36px 1fr;
  align-items: center; gap: 18px;
  padding: 18px 0;
  font-family: var(--pec-display); font-weight: 300;
  font-size: 28px; letter-spacing: -0.005em;
  color: var(--pec-ivory);
  border-bottom: 1px solid rgba(245,242,234,0.06);
  opacity: 0; transform: translateX(20px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out), color 300ms var(--ease-out);
}
.drawer__nav a:hover { color: var(--pec-bronze-2); }
.drawer.is-open .drawer__nav a { opacity: 1; transform: translateX(0); }
.drawer.is-open .drawer__nav a:nth-child(1) { transition-delay: 200ms; }
.drawer.is-open .drawer__nav a:nth-child(2) { transition-delay: 280ms; }
.drawer.is-open .drawer__nav a:nth-child(3) { transition-delay: 360ms; }
.drawer.is-open .drawer__nav a:nth-child(4) { transition-delay: 440ms; }
.drawer__nav .num {
  font-family: var(--pec-mono); font-size: 10px;
  letter-spacing: 0.22em; color: var(--pec-stone);
  text-transform: uppercase;
}
.drawer__foot {
  padding-top: 22px;
  border-top: 1px solid rgba(245,242,234,0.08);
  display: flex; flex-direction: column; gap: 6px;
}
.drawer__phone {
  font-family: var(--pec-mono); font-size: 13px;
  letter-spacing: 0.10em;
  color: var(--pec-ivory);
}
.drawer__avail {
  font-family: var(--pec-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pec-stone);
}

/* Old .nav__langs neutralised — kept hidden for safety */
.nav__langs { display: none !important; }

/* ----- HERO ----- */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}
.hero__media {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1800ms var(--ease-out) 800ms;
}
body:not(.is-loading) .hero__media { opacity: 1; }

.hero__img {
  position: absolute; inset: -3%;
  background-image: url("https://images.unsplash.com/photo-1502602898657-3e91760cbb34?w=2400&q=85&auto=format&fit=crop");
  background-size: cover;
  background-position: center 50%;
  filter: brightness(0.58) contrast(1.10) saturate(0.70);
  transform-origin: 50% 55%;
  animation: kenburns 28s var(--ease-in-out) infinite alternate;
}
@keyframes kenburns {
  0%   { transform: scale(1.00) translate3d(0, 0, 0); }
  100% { transform: scale(1.035) translate3d(-0.6%, -0.4%, 0); }
}

/* Overlay — starts dense, lifts slowly */
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.30) 30%, rgba(0,0,0,0.0) 55%, rgba(0,0,0,0.55) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0.0) 60%);
  opacity: 0.95;
  transition: opacity 2200ms var(--ease-out) 800ms;
}
body:not(.is-loading) .hero__overlay { opacity: 0.68; }

.hero__inner {
  position: relative;
  min-height: 100vh;
  padding: 132px 64px 88px;
  display: flex; flex-direction: column; justify-content: flex-end;
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.30em; text-transform: uppercase;
  color: rgba(245, 242, 234, 0.78);
  margin-bottom: 28px;
  opacity: 0; transform: translateY(8px);
}
.hero__eyebrow .tick {
  width: 32px; height: 1px; background: var(--pec-bronze); display: inline-block;
}

.hero__h1 {
  font-size: clamp(56px, 7.4vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.018em;
  max-width: 14ch;
  margin-bottom: 36px;
}
.hero__h1 em { font-style: italic; color: var(--pec-ivory-2); }
.hero__h1 .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-right: 0.18em;
}
.hero__h1 .word > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

.hero__sub {
  font-family: var(--pec-display); font-style: italic;
  font-size: 22px; line-height: 1.4;
  color: rgba(245, 242, 234, 0.78);
  max-width: 44ch;
  margin-bottom: 56px;
  opacity: 0; transform: translateY(8px);
}

.hero__ctas { display: flex; gap: 18px; align-items: center; opacity: 0; transform: translateY(10px); }

.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px;
  border: 1px solid rgba(245, 242, 234, 0.92);
  background: transparent;
  color: var(--pec-ivory);
  font-family: var(--pec-sans); font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 480ms var(--ease-out), border-color 480ms var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--pec-ivory);
  transform: scaleX(0); transform-origin: left;
  transition: transform 600ms var(--ease-out);
  z-index: -1;
}
.btn:hover { color: var(--pec-ink); }
.btn:hover::before { transform: scaleX(1); }
.btn .arr { transition: transform 480ms var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }

.btn--ghost { border: 0; padding: 16px 0; }
.btn--ghost::before { display: none; }
.btn--ghost { position: relative; }
.btn--ghost::after {
  content: ""; position: absolute; left: 0; bottom: 4px;
  width: 100%; height: 1px;
  background: rgba(245, 242, 234, 0.4);
  transform: scaleX(1); transform-origin: left;
  transition: background 380ms var(--ease-out);
}
.btn--ghost:hover { color: var(--pec-bronze-2); }
.btn--ghost:hover::after { background: var(--pec-bronze); }

/* Scroll cue — bottom right */
.scrollcue {
  position: absolute; right: 56px; bottom: 56px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--pec-mono); font-size: 10px; letter-spacing: 0.30em;
  color: rgba(245, 242, 234, 0.6); text-transform: uppercase;
  opacity: 0; transition: opacity 700ms var(--ease-out);
  writing-mode: vertical-rl; transform: rotate(180deg);
}
.scrollcue.is-in { opacity: 1; }
.scrollcue__line {
  width: 1px; height: 64px;
  background: linear-gradient(180deg, transparent, var(--pec-bronze), transparent);
  background-size: 100% 200%;
  animation: cuepulse 2400ms linear infinite;
}
@keyframes cuepulse {
  0%   { background-position: 50% 0%; }
  100% { background-position: 50% 200%; }
}

/* ============================================================
   Section choreography helpers (.reveal / data-stagger)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1100ms var(--ease-out), transform 1100ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal--up   { transform: translateY(48px); }
.reveal--blur { filter: blur(8px); transition: opacity 1300ms var(--ease-out), transform 1300ms var(--ease-out), filter 1300ms var(--ease-out); }
.reveal--blur.is-in { filter: blur(0); }

/* word-by-word for any [data-words] heading */
.words .word { display: inline-block; overflow: hidden; padding-right: 0.18em; vertical-align: bottom; }
.words .word > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1100ms var(--ease-out), opacity 900ms var(--ease-out);
}
.words.is-in .word > span { transform: translateY(0); opacity: 1; }

/* Section base */
section.scene { position: relative; padding: 168px 64px; }
.scene__head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 96px;
  align-items: end;
  margin-bottom: 96px;
}
.scene__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.30em; text-transform: uppercase;
  color: var(--pec-stone);
  margin-bottom: 28px;
}
.scene__eyebrow .tick { width: 32px; height: 1px; background: var(--pec-bronze); }
.scene__h {
  font-size: clamp(40px, 5.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 14ch;
}
.scene__h em { color: var(--pec-bronze-2); font-style: italic; }
.scene__aside {
  font-family: var(--pec-display); font-style: italic;
  font-size: 20px; line-height: 1.5;
  color: rgba(245, 242, 234, 0.66);
  max-width: 44ch;
  padding-bottom: 12px;
}

/* ----- Section transition voiles (curtains, fold, slide) ----- */
.voile {
  position: absolute; left: 0; right: 0;
  height: 56vh; z-index: 4;
  pointer-events: none;
}
.voile--top    { top: -56vh; }
.voile--bottom { bottom: -56vh; }

/* ============================================================
   "Quatre manières" — services
   ============================================================ */
.scene--services { background: var(--pec-ink); }
.svc__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(245, 242, 234, 0.08);
  border-top: 1px solid rgba(245, 242, 234, 0.08);
  border-bottom: 1px solid rgba(245, 242, 234, 0.08);
}
.svc {
  position: relative;
  background: var(--pec-ink);
  padding: 56px 36px 44px;
  min-height: 460px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 800ms var(--ease-out);
}
.svc__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  filter: brightness(0.5) saturate(0.7) contrast(1.1);
  transform: scale(1.04);
  transition: opacity 1100ms var(--ease-out), transform 2400ms var(--ease-out);
  z-index: 0;
}
.svc__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.10) 0%, rgba(10,10,10,0.85) 100%);
  opacity: 0;
  transition: opacity 900ms var(--ease-out);
  z-index: 1;
}
.svc:hover .svc__bg { opacity: 0.95; transform: scale(1.00); }
.svc:hover .svc__veil { opacity: 1; }

.svc__body { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; }
.svc__label {
  font-family: var(--pec-mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pec-bronze-2); margin-bottom: 28px;
  display: inline-flex; align-items: center; gap: 10px;
}
.svc__label .pic { width: 10px; height: 10px; border: 1px solid currentColor; display: inline-block; transition: transform 600ms var(--ease-out); }
.svc:hover .svc__label .pic { transform: rotate(45deg); }

.svc__h {
  font-family: var(--pec-display); font-weight: 300;
  font-size: 38px; line-height: 1.08; letter-spacing: -0.01em;
  margin-bottom: 8px;
  position: relative;
}
.svc__hline {
  position: absolute; left: 0; bottom: -10px;
  height: 1px; background: var(--pec-bronze);
  width: 0;
  transition: width 700ms var(--ease-out);
}
.svc:hover .svc__hline { width: 48px; }

.svc__d {
  margin-top: 28px;
  font-size: 14px; line-height: 1.6;
  color: rgba(245, 242, 234, 0.7);
  max-width: 30ch;
}
.svc__more {
  margin-top: auto;
  padding-top: 32px;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--pec-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245, 242, 234, 0.85);
}
.svc__more .arr { transition: transform 380ms var(--ease-out); }
.svc:hover .svc__more .arr { transform: translateX(6px); }

/* Greeter — signature card */
.svc--feature { background: linear-gradient(180deg, #161311 0%, var(--pec-ink) 100%); }
.svc--feature .svc__hline { background: var(--pec-bronze-2); }
.svc__label--feature { color: var(--pec-bronze-2) !important; }
.svc__label--feature .pic { background: var(--pec-bronze); border-color: var(--pec-bronze); }

/* ============================================================
   Fleet — three vehicles
   ============================================================ */
.scene--fleet { background: var(--pec-ink); padding-top: 168px; padding-bottom: 168px; }
.fleet__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
}
.fleet__card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--pec-slate);
  border: 1px solid rgba(245, 242, 234, 0.06);
  overflow: hidden;
  transition: transform 800ms var(--ease-out), border-color 800ms var(--ease-out);
}
.fleet__card:hover { border-color: rgba(168,133,86,0.45); transform: translateY(-4px); }
.fleet__img {
  aspect-ratio: 3 / 2;
  background-size: cover; background-position: center;
  filter: brightness(0.78) contrast(1.05) saturate(0.82);
  transform: scale(1.0);
  transition: transform 1600ms var(--ease-out), filter 800ms var(--ease-out);
}
.fleet__card:hover .fleet__img { transform: scale(1.04); filter: brightness(0.88) contrast(1.05) saturate(0.86); }
.fleet__body { padding: 36px 28px 32px; position: relative; }
.fleet__roman {
  position: absolute; top: -20px; right: 24px;
  font-family: var(--pec-display); font-style: italic;
  font-size: 48px; line-height: 1; color: var(--pec-bronze);
  background: var(--pec-slate);
  padding: 6px 14px;
}
.fleet__model {
  font-family: var(--pec-display); font-weight: 300;
  font-size: 28px; line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.fleet__niche {
  font-family: var(--pec-mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pec-bronze-2);
  margin-bottom: 28px;
}
.fleet__specs { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid rgba(245,242,234,0.08); padding-top: 22px; }
.fleet__specs li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: baseline; font-size: 13px; color: rgba(245,242,234,0.78); line-height: 1.5; }
.fleet__specs li span:first-child { font-family: var(--pec-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pec-stone); }

.fleet__card--feature { background: linear-gradient(180deg, var(--pec-slate) 0%, #1c1815 100%); }
.fleet__card--feature .fleet__roman { background: #1c1815; }

.fleet__note {
  margin-top: 56px;
  display: flex; align-items: center; gap: 16px;
  font-family: var(--pec-display); font-style: italic;
  font-size: 18px; color: rgba(245,242,234,0.66);
  max-width: 80ch;
}
.fleet__note .tick { width: 28px; height: 1px; background: var(--pec-bronze); flex-shrink: 0; }

/* ============================================================
   Citation scene — black, video bokeh, word-by-word build
   ============================================================ */
.scene--quote {
  background: #000;
  padding: 14vh 64px;
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
}
.scene--quote .bokeh {
  position: absolute; inset: -6%;
  background:
    radial-gradient(circle at 12% 30%, rgba(168,133,86,0.20) 0, transparent 28%),
    radial-gradient(circle at 78% 56%, rgba(168,133,86,0.16) 0, transparent 24%),
    radial-gradient(circle at 42% 72%, rgba(245,242,234,0.06) 0, transparent 30%),
    radial-gradient(circle at 88% 14%, rgba(245,242,234,0.04) 0, transparent 26%);
  filter: blur(28px);
  animation: drift 36s var(--ease-in-out) infinite alternate;
  opacity: 0.85;
}
.scene--quote .streaks {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    100deg,
    transparent 0 80px,
    rgba(245,242,234,0.018) 80px 82px
  );
  animation: streakdrift 60s linear infinite;
  opacity: 0.6;
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1.0); }
  100% { transform: translate3d(-2.2%, 1.2%, 0) scale(1.08); }
}
@keyframes streakdrift {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-200px, 0, 0); }
}

.quote {
  position: relative; z-index: 2;
  font-family: var(--pec-display); font-weight: 300; font-style: italic;
  font-size: clamp(36px, 4.2vw, 72px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--pec-ivory);
  max-width: 22ch;
  margin: 0 auto;
}
.quote__sig {
  position: relative; z-index: 2;
  margin-top: 64px;
  font-family: var(--pec-mono); font-size: 11px;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--pec-bronze-2);
  opacity: 0; transition: opacity 1000ms var(--ease-out);
}
.quote__sig.is-in { opacity: 1; }
.quote__sig .tick { display: inline-block; width: 32px; height: 1px; background: var(--pec-bronze); margin: 0 14px; vertical-align: middle; }

/* ============================================================
   Confiance — trois colonnes
   ============================================================ */
.scene--trust { background: var(--pec-ivory); color: var(--pec-ink); padding-top: 200px; padding-bottom: 200px; }
.scene--trust .scene__eyebrow { color: var(--pec-stone-2); }
.scene--trust .scene__eyebrow .tick { background: var(--pec-bronze); }
.scene--trust .scene__h em { color: var(--pec-bronze); }
.scene--trust .scene__aside { color: rgba(10,10,10,0.6); }

.trust__cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  margin-top: 80px;
  border-top: 1px solid rgba(10,10,10,0.10);
  padding-top: 80px;
}
.trust__col { position: relative; }
.trust__num {
  font-family: var(--pec-display); font-weight: 300;
  font-size: clamp(72px, 9vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.022em;
  color: var(--pec-ink);
  margin-bottom: 28px;
  font-feature-settings: "tnum", "lnum";
  display: flex; align-items: baseline; gap: 4px;
}
.trust__num .sep { color: var(--pec-bronze); font-size: 0.6em; padding: 0 4px; }
.trust__num .digit { display: inline-block; min-width: 0.62ch; text-align: right; }
.trust__num.arrow { letter-spacing: -0.01em; font-size: clamp(48px, 5.6vw, 84px); }
.trust__num.arrow svg { display: inline-block; margin: 0 22px; }
.trust__num.arrow svg path { stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1600ms var(--ease-out); }
.trust__col.is-in .trust__num.arrow svg path { stroke-dashoffset: 0; }
.trust__h {
  font-family: var(--pec-display); font-weight: 300; font-style: italic;
  font-size: 24px; line-height: 1.3;
  color: rgba(10,10,10,0.85);
  max-width: 22ch;
  margin-bottom: 14px;
}
.trust__d {
  font-size: 14px; color: rgba(10,10,10,0.6); line-height: 1.6;
  max-width: 30ch;
}
.trust__partners {
  margin-top: 120px;
  padding-top: 56px;
  border-top: 1px solid rgba(10,10,10,0.10);
}
.trust__partners__h {
  font-family: var(--pec-mono); font-size: 10px;
  letter-spacing: 0.30em; text-transform: uppercase;
  color: var(--pec-stone-2);
  margin-bottom: 36px;
}
.trust__partners__list {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 36px;
}
.trust__partner {
  font-family: var(--pec-display); font-weight: 300;
  font-size: 20px; line-height: 1.2;
  color: rgba(10,10,10,0.78);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(10,10,10,0.10);
}
.trust__partner small {
  display: block;
  font-family: var(--pec-mono); font-size: 9px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pec-stone-2);
  margin-top: 6px;
}
.trust__partners__note {
  margin-top: 40px;
  font-family: var(--pec-display); font-style: italic;
  font-size: 17px; line-height: 1.5;
  color: rgba(10,10,10,0.62);
  max-width: 72ch;
}

/* ============================================================
   Section finale — "Une maison indépendante"
   ============================================================ */
.scene--final {
  background: var(--pec-ink);
  text-align: center;
  padding: 200px 64px;
  position: relative;
  overflow: hidden;
}
.scene--final .vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(168,133,86,0.10) 0%, transparent 55%);
}
.final__line1, .final__line2 { font-size: clamp(48px, 6.4vw, 104px); line-height: 1.04; letter-spacing: -0.018em; }
.final__line1 { margin-bottom: 8px; }
.final__line2 em { color: var(--pec-bronze-2); font-style: italic; }

.final__btn-wrap {
  margin-top: 80px;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
}
.final__btn-wrap::before,
.final__btn-wrap::after {
  content: ""; position: absolute;
  border: 1px solid var(--pec-bronze);
  inset: -16px;
  opacity: 0;
  animation: pulse 4800ms var(--ease-out) infinite;
}
.final__btn-wrap::after { animation-delay: 1600ms; }
@keyframes pulse {
  0%   { transform: scale(0.96); opacity: 0; }
  18%  { opacity: 0.7; }
  100% { transform: scale(1.06); opacity: 0; }
}
.final__btn {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 18px;
  padding: 20px 32px;
  background: var(--pec-ivory);
  color: var(--pec-ink);
  font-family: var(--pec-sans); font-size: 12px;
  letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 500;
  border: 0; cursor: pointer; overflow: hidden;
  transition: color 480ms var(--ease-out);
}
.final__btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--pec-bronze);
  transform: scaleX(0); transform-origin: right;
  transition: transform 700ms var(--ease-out);
  z-index: -1;
}
.final__btn:hover { color: var(--pec-ivory); }
.final__btn:hover::before { transform: scaleX(1); transform-origin: left; }

.final__contact {
  margin-top: 80px;
  display: inline-flex; gap: 40px; align-items: center;
  font-family: var(--pec-mono); font-size: 12px;
  letter-spacing: 0.16em; color: rgba(245,242,234,0.65);
}
.final__contact .phone { color: var(--pec-ivory); }
.final__contact .phone .digit {
  display: inline-block; min-width: 0.6ch;
  font-feature-settings: "tnum";
}

.final__sig {
  margin-top: 96px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--pec-mono); font-size: 10px;
  letter-spacing: 0.30em; text-transform: uppercase;
  color: var(--pec-stone);
}
.final__sig .tick { width: 32px; height: 1px; background: var(--pec-bronze); }

/* ============================================================
   Footer
   ============================================================ */
.foot {
  background: #050505;
  padding: 96px 64px 24px;
  border-top: 1px solid rgba(245,242,234,0.06);
}
.foot__top {
  display: grid; grid-template-columns: 1.2fr 3fr;
  gap: 80px; align-items: start;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(245,242,234,0.06);
}
.foot__brand .word {
  font-family: var(--pec-display); font-weight: 300;
  font-size: 16px; letter-spacing: 0.40em; text-transform: uppercase;
  color: var(--pec-ivory); display: inline-block;
  cursor: pointer;
}
.foot__brand .word .seg { display: inline-block; transition: padding 700ms var(--ease-out); }
.foot__brand .word:hover .dot { padding: 0 18px; }
.foot__brand .word .dot { color: var(--pec-bronze); padding: 0 8px; transition: padding 700ms var(--ease-out); }
.foot__brand p {
  margin-top: 22px; font-family: var(--pec-display); font-style: italic;
  color: rgba(245,242,234,0.6); font-size: 16px; max-width: 30ch;
}
.foot__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.foot__col h5 {
  font-family: var(--pec-mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--pec-stone);
  margin-bottom: 18px;
}
.foot__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot__col a { font-size: 13px; color: rgba(245,242,234,0.72); position: relative; padding-bottom: 2px; }
.foot__col a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--pec-bronze-2);
  transform: scaleX(0); transform-origin: left;
  transition: transform 320ms var(--ease-out);
}
.foot__col a:hover::after { transform: scaleX(1); }

.foot__marquee {
  margin-top: 32px;
  font-family: var(--pec-mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(245,242,234,0.30);
  overflow: hidden;
  white-space: nowrap;
}
.foot__marquee-inner {
  display: inline-block; padding-right: 64px;
  animation: marquee 80s linear infinite;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   Animation documentation appendix
   ============================================================ */
.appendix {
  background: var(--pec-ivory);
  color: var(--pec-ink);
  padding: 160px 64px;
}
.appendix__head { margin-bottom: 64px; }
.appendix__h {
  font-size: clamp(40px, 4.4vw, 64px); line-height: 1.04;
  letter-spacing: -0.015em; max-width: 22ch;
}
.appendix__lede {
  margin-top: 24px;
  font-family: var(--pec-display); font-style: italic;
  font-size: 20px; color: rgba(10,10,10,0.7); max-width: 56ch;
}
.appendix table {
  width: 100%; border-collapse: collapse;
  font-size: 13px;
}
.appendix th, .appendix td {
  text-align: left; padding: 16px 20px;
  border-bottom: 1px solid rgba(10,10,10,0.10);
  vertical-align: top;
}
.appendix th {
  font-family: var(--pec-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--pec-stone-2); font-weight: 500;
  border-bottom: 1px solid rgba(10,10,10,0.20);
}
.appendix td:nth-child(1) { width: 18%; font-weight: 500; }
.appendix td:nth-child(2) { width: 14%; font-family: var(--pec-mono); font-size: 11px; color: var(--pec-stone-2); }
.appendix td:nth-child(3) { width: 36%; }
.appendix td:nth-child(4) { width: 18%; font-family: var(--pec-mono); font-size: 11px; color: var(--pec-stone-2); }
.appendix td:nth-child(5) { width: 14%; font-family: var(--pec-mono); font-size: 11px; color: var(--pec-stone-2); text-align: right; }

/* ----- Responsive ----- */
@media (max-width: 1100px) {
  .nav { padding: 18px 28px; gap: 18px; }
  .nav.is-scrolled { padding: 14px 28px; }
  .nav__center { gap: 22px; font-size: 10px; letter-spacing: 0.16em; }
  .nav__right { gap: 14px; }
  .nav__phone { display: none; }
  .hero__inner { padding: 110px 28px 64px; }
  .scrollcue { right: 24px; bottom: 32px; }
  section.scene, .scene--quote, .scene--final { padding-left: 28px; padding-right: 28px; }
  .scene__head { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
  .svc__grid { grid-template-columns: repeat(2, 1fr); }
  .fleet__grid { grid-template-columns: 1fr; gap: 24px; }
  .trust__cols { grid-template-columns: 1fr; gap: 56px; }
  .trust__partners__list { grid-template-columns: repeat(3, 1fr); }
  .foot__top { grid-template-columns: 1fr; gap: 48px; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .nav { grid-template-columns: 1fr auto; padding: 16px 22px; }
  .nav.is-scrolled { padding: 12px 22px; }
  .nav__center { display: none; }
  .hamburger { display: inline-flex; }
}

@media (max-width: 520px) {
  .nav { padding: 14px 18px; gap: 12px; }
  .nav__brand { font-size: 11px; letter-spacing: 0.30em; }
  .nav__brand .dot { padding: 0 4px; }
  .nav__right { gap: 10px; }
  .lang-switch__btn { padding: 7px 8px 7px 10px; font-size: 10px; }
  .hero__inner { padding: 100px 22px 56px; }
  .hero__h1 { font-size: clamp(40px, 11vw, 64px) !important; }
  .hero__sub { font-size: 17px; margin-bottom: 36px; }
  .scrollcue { display: none; }
  section.scene, .scene--quote, .scene--final { padding-left: 22px; padding-right: 22px; padding-top: 108px; padding-bottom: 108px; }
  .svc__grid { grid-template-columns: 1fr; }
  .svc { min-height: 320px; padding: 36px 24px 28px; }
  .svc__h { font-size: 30px; }
  .fleet__roman { font-size: 36px; right: 18px; top: -16px; }
  .fleet__model { font-size: 22px; }
  .fleet__body { padding: 28px 22px 24px; }
  .trust__num { font-size: clamp(56px, 18vw, 88px) !important; }
  .trust__num.arrow { font-size: clamp(38px, 11vw, 56px) !important; }
  .trust__num.arrow svg { margin: 0 12px; width: 48px; }
  .trust__partners__list { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .trust__partners { margin-top: 80px; }
  .final__line1, .final__line2 { font-size: clamp(36px, 11vw, 56px) !important; }
  .final__contact { flex-direction: column; gap: 14px; font-size: 11px; text-align: center; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 14px; }
  .btn { justify-content: center; }
  .foot { padding: 72px 22px 24px; }
  .foot__cols { grid-template-columns: 1fr; gap: 32px; }
  .scene__h { font-size: clamp(34px, 8vw, 52px) !important; line-height: 1.05 !important; }
}

/* ----- Reduced motion fallback ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .words .word > span { transform: none !important; opacity: 1 !important; }
  .hero__media, .hero__overlay { opacity: 1 !important; }
  .gate { display: none; }
  .cursor, .cursor-dot { display: none; }
  .nav__brand, .nav__center a, .nav__right, .hero__eyebrow, .hero__sub, .hero__ctas { opacity: 1 !important; transform: none !important; }
  .hero__h1 .word > span { transform: none !important; opacity: 1 !important; }
}
