/* ============================================================
   ARC EN CIEL — Brand Stylesheet
   Direction artistique fidèle à la charte graphique:
   - Hiérarchie en Poppins gras (comme le brand book)
   - Playfair italique en accent émotionnel rare
   - Système numéroté 01 / 02 / 03 ancré en marge
   - Sidebar avec labels verticaux
   - Filigrane du swirl du A en arrière-plan
   - Palette : maron clair / gris souris / dark / beige / blanc
   ============================================================ */

:root {
  --maron: #BE9C77;
  --maron-soft: #D4B894;
  --maron-deep: #9C7E5C;
  --maron-shadow: #8A6A48;
  --gris: #8C8C8B;
  --gris-soft: #C5C5C4;
  --dark: #0A0A0A;
  --ink: #1A1815;
  --beige: #F5EDE1;
  --beige-warm: #EFE5D4;
  --beige-deep: #E5D7C0;
  --white: #FFFFFF;
  --line: rgba(10,10,10,0.10);
  --line-soft: rgba(10,10,10,0.05);
  --line-warm: rgba(190,156,119,0.35);

  --font-sans: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-script: 'Cormorant Garamond', Georgia, serif;

  --maxw: 1440px;
  --pad: clamp(20px, 4vw, 56px);
  --sidebar: 64px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  background: var(--beige);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html { scroll-behavior: smooth; }

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

::selection { background: var(--maron); color: var(--white); }

/* ----------- Type system (Poppins-led, brand-book accurate) ----------- */
.display {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.display em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--maron);
  letter-spacing: -0.02em;
}
.h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.h1 em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--maron);
}
.h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.h2 em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--maron);
}
.eyebrow {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--maron-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--maron);
}
.lede {
  font-weight: 300;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.7;
  color: rgba(26,24,21,0.72);
  max-width: 60ch;
}
.num-marker {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--maron-deep);
}

/* ----------- Layout ----------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.section {
  padding: clamp(80px, 11vw, 160px) 0;
  position: relative;
}
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }

/* ----------- Watermark swirl (signature brand element) ----------- */
.swirl {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.swirl svg { width: 100%; height: 100%; }

/* ----------- Buttons ----------- */
.btn {
  --bg: var(--dark);
  --fg: var(--white);
  --bd: var(--dark);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bd);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--maron);
  transform: translateY(101%);
  transition: transform 0.6s var(--ease-out);
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { border-color: var(--maron); color: var(--white); }
.btn:hover::after { transform: translateY(0); }
.btn .arrow {
  display: inline-block;
  transition: transform 0.5s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--white);
  --bd: rgba(255,255,255,0.4);
}
.btn--ghost:hover { border-color: var(--maron); }

.btn--outline {
  --bg: transparent;
  --fg: var(--ink);
  --bd: var(--ink);
}

.btn--lg { padding: 22px 40px; font-size: 13px; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.link:hover { color: var(--maron); border-color: var(--maron); }
.link .arrow { transition: transform 0.4s var(--ease); }
.link:hover .arrow { transform: translateX(4px); }

.link--light {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.link--light:hover { color: var(--maron-soft); border-color: var(--maron-soft); }

/* ----------- Top bar ----------- */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar__left { display: flex; gap: 32px; }
.topbar__left b {
  color: var(--maron-soft);
  font-weight: 500;
  margin-right: 8px;
}
.topbar__right { display: flex; gap: 24px; }
.topbar a { transition: color 0.3s var(--ease); }
.topbar a:hover { color: var(--maron-soft); }

/* ----------- Nav ----------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,237,225,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav .wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 96px;
  gap: 24px;
}
.nav__menu {
  display: flex;
  gap: 40px;
}
.nav__menu a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 10px 0;
  position: relative;
  color: var(--ink);
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--maron);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.nav__menu a:hover::after,
.nav__menu a.is-active::after { transform: scaleX(1); }
.nav__menu a.is-active { color: var(--maron-deep); }

.nav__brand {
  justify-self: center;
  display: block;
  line-height: 0;
}
.nav__brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.nav__right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}
.nav__lang {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  gap: 4px;
}
.nav__lang b { color: var(--maron); font-weight: 600; }
.nav__lang span { opacity: 0.4; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--dark);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.5s var(--ease);
}
.nav__cta:hover { background: var(--maron); }

.nav__burger {
  width: 48px; height: 48px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
}
.nav__burger span {
  width: 18px; height: 1px; background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  background: var(--beige);
  z-index: 60;
  transform: translateY(-100%);
  transition: transform 0.6s var(--ease-out);
  overflow-y: auto;
  padding: 120px var(--pad) 60px;
}
.drawer.is-open { transform: translateY(0); }
.drawer__close {
  position: absolute; top: 28px; right: var(--pad);
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 18px;
}
.drawer__num {
  position: absolute; top: 28px; left: var(--pad);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--maron-deep);
}
.drawer__menu {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.drawer__menu li {
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.drawer__menu a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 28px 4px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(32px, 7vw, 48px);
  letter-spacing: -0.025em;
  color: var(--ink);
  transition: color 0.4s var(--ease);
}
.drawer__menu a:hover { color: var(--maron); }
.drawer__menu .num {
  font-size: 12px;
  font-weight: 500;
  color: var(--maron-deep);
  letter-spacing: 0;
}
.drawer__foot {
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px;
  font-size: 13px;
  color: rgba(26,24,21,0.7);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.drawer__foot h6 {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--maron-deep); margin-bottom: 10px;
}

/* ----------- Vertical sidebar with rotated label (signature device) ----------- */
.sidebar-rail {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--sidebar);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  z-index: 2;
  pointer-events: none;
}
.sidebar-rail .tag {
  background: var(--maron);
  color: var(--white);
  padding: 6px 12px;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.sidebar-rail .vlabel {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(26,24,21,0.55);
  font-weight: 400;
}
.sidebar-rail .vlabel.is-current { color: var(--ink); font-weight: 500; }
.sidebar-rail .vlabels {
  display: flex; flex-direction: column; gap: 28px;
  align-items: center;
}
.sidebar-rail .num {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--maron-deep);
  letter-spacing: 0.04em;
}

/* Big section number anchored bottom-left of section (like brand book) */
.section-num {
  position: absolute;
  bottom: 56px;
  left: calc(var(--sidebar) + 24px);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(80px, 11vw, 160px);
  color: rgba(190,156,119,0.18);
  line-height: 0.9;
  letter-spacing: -0.04em;
  pointer-events: none;
  z-index: 1;
}

.section__inner {
  padding-left: calc(var(--sidebar) + clamp(24px, 4vw, 56px));
  position: relative;
  z-index: 2;
}

/* ----------- HERO ----------- */
.hero {
  position: relative;
  background: var(--beige);
  overflow: hidden;
  min-height: calc(100vh - 96px - 38px);
  display: grid;
  grid-template-columns: var(--sidebar) 1.05fr 0.95fr;
}
.hero .sidebar-rail { position: relative; }
.hero__copy {
  position: relative;
  padding: clamp(56px, 7vw, 100px) clamp(32px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 56px;
  z-index: 2;
}
.hero__eyebrow-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__breadcrumb {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26,24,21,0.5);
  font-weight: 400;
}
.hero__breadcrumb b { color: var(--ink); font-weight: 500; }

.hero__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(56px, 8.6vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--maron);
  letter-spacing: -0.02em;
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__title .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease-out) forwards;
}
.hero__title .line:nth-child(1) span { animation-delay: 0.2s; }
.hero__title .line:nth-child(2) span { animation-delay: 0.32s; }
.hero__title .line:nth-child(3) span { animation-delay: 0.44s; }
@keyframes rise { to { transform: translateY(0); } }

.hero__sub {
  max-width: 46ch;
  color: rgba(26,24,21,0.7);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  font-weight: 300;
}
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero__meta dt {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero__meta dt em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--maron);
}
.hero__meta dd {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26,24,21,0.5);
  margin-top: 8px;
  font-weight: 400;
}

.hero__signature {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--maron-deep);
  line-height: 1.4;
  border-left: 1px solid var(--maron);
  padding-left: 20px;
  max-width: 32ch;
}

.hero__media {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.hero__media image-slot { width: 100%; height: 100%; }
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,10,10,0.1) 0%, transparent 30%, transparent 70%, rgba(10,10,10,0.4));
  z-index: 1;
  pointer-events: none;
}
.hero__badge {
  position: absolute;
  top: 32px; left: 32px;
  z-index: 3;
  background: rgba(245,237,225,0.95);
  padding: 18px 22px;
  display: flex; flex-direction: column; gap: 4px;
  backdrop-filter: blur(8px);
}
.hero__badge b {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.hero__badge small {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--maron-deep); font-weight: 500;
}
.hero__caption {
  position: absolute;
  bottom: 28px; left: 32px; right: 32px;
  z-index: 3;
  display: flex; justify-content: space-between; align-items: flex-end;
  color: var(--white);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 400;
}
.hero__caption b { font-weight: 500; color: var(--maron-soft); }

.hero__monogram-bg {
  position: absolute;
  bottom: -180px; right: -180px;
  width: 560px; height: 560px;
  background: url("assets/monogram-a-tan.jpg") center/contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  filter: contrast(1.2) saturate(0);
}

/* ----------- Manifesto strip (italic editorial) ----------- */
.manifesto {
  background: var(--ink);
  color: var(--white);
  padding: 56px 0;
  overflow: hidden;
  position: relative;
}
.manifesto__inner {
  display: flex;
  align-items: center;
  gap: 56px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  width: fit-content;
}
.manifesto__inner span { color: rgba(255,255,255,0.85); }
.manifesto__inner .sep {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--maron); flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----------- Section header (shared) ----------- */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 56px;
  margin-bottom: clamp(56px, 6vw, 88px);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.sec-head__left { display: flex; flex-direction: column; gap: 24px; }
.sec-head__title { max-width: 14ch; }
.sec-head__aside {
  display: flex; flex-direction: column; gap: 24px;
  align-items: flex-end;
  text-align: right;
  padding-bottom: 4px;
}
.sec-head__aside .lede { text-align: right; }

/* ----------- Services ----------- */
.services { background: var(--beige); }

.svc-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 64px;
}
.svc-intro .num-marker { margin-bottom: 16px; display: block; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.svc {
  background: var(--beige);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  min-height: 400px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.6s var(--ease);
}
.svc:hover { background: var(--white); }
.svc::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--maron);
  transition: width 0.7s var(--ease-out);
}
.svc:hover::before { width: 100%; }
.svc__top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--maron-deep);
  font-weight: 500;
}
.svc__top .ico {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--maron);
}
.svc__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.svc__title em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--maron);
}
.svc__desc {
  font-size: 14px;
  color: rgba(26,24,21,0.65);
  line-height: 1.65;
  font-weight: 300;
}
.svc__tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
}
.svc__tags span {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: rgba(26,24,21,0.55);
  font-weight: 400;
}
.svc__more {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); font-weight: 500;
}
.svc__more .arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.svc:hover .svc__more .arrow {
  background: var(--maron);
  border-color: var(--maron);
  color: var(--white);
  transform: rotate(-45deg);
}

/* ----------- Portfolio ----------- */
.portfolio {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.portfolio .section-num { color: rgba(190,156,119,0.14); }
.portfolio .sidebar-rail { border-right-color: rgba(255,255,255,0.08); }
.portfolio .sidebar-rail .vlabel { color: rgba(255,255,255,0.45); }
.portfolio .sidebar-rail .num { color: var(--maron-soft); }

.portfolio .sec-head { border-bottom-color: rgba(255,255,255,0.12); }
.portfolio .sec-head__aside .lede { color: rgba(255,255,255,0.6); }
.portfolio .eyebrow { color: var(--maron-soft); }
.portfolio .eyebrow::before { background: var(--maron-soft); }
.portfolio .h1 { color: var(--white); }

.pf-filters {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pf-filters button {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 12px 20px;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.65);
  transition: all 0.4s var(--ease);
}
.pf-filters button:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }
.pf-filters button.is-active {
  background: var(--maron);
  color: var(--white);
  border-color: var(--maron);
}
.pf-filters .count {
  font-size: 9px;
  margin-left: 8px;
  opacity: 0.5;
  vertical-align: top;
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 16px;
}
.pf-item {
  position: relative;
  overflow: hidden;
  background: #1c1a17;
  cursor: pointer;
}
.pf-item image-slot { width: 100%; height: 100%; }
.pf-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.85));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  z-index: 1;
}
.pf-item:hover::after { opacity: 1; }
.pf-item__meta {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  z-index: 2;
  color: var(--white);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease);
}
.pf-item:hover .pf-item__meta { transform: translateY(0); opacity: 1; }
.pf-item__meta b {
  display: block;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  line-height: 1.1;
}
.pf-item__meta b em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--maron-soft);
}
.pf-item__meta small {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}
.pf-item__tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(6px);
  color: var(--white);
  padding: 7px 12px;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.pf-item__num {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
  color: rgba(255,255,255,0.65);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

/* Asymmetric placements */
.pf-item--xl { grid-column: span 7; grid-row: span 4; }
.pf-item--md { grid-column: span 5; grid-row: span 2; }
.pf-item--sm { grid-column: span 5; grid-row: span 2; }
.pf-item--wide { grid-column: span 8; grid-row: span 2; }
.pf-item--tall { grid-column: span 4; grid-row: span 4; }
.pf-item--reg { grid-column: span 4; grid-row: span 2; }

.pf-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 56px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* ----------- Process (Méthode) ----------- */
.process { background: var(--beige-warm); position: relative; overflow: hidden; }
.process .section-num { color: rgba(190,156,119,0.22); }

.proc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.proc {
  padding: 48px 28px 48px 0;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
}
.proc:last-child { border-right: 0; }
.proc + .proc { padding-left: 28px; }
.proc__step {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--maron-deep);
  font-weight: 500;
}
.proc__step b {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 48px;
  color: var(--maron);
  line-height: 1;
  letter-spacing: -0.04em;
}
.proc__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.proc__title em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--maron);
}
.proc__desc {
  font-size: 13px;
  color: rgba(26,24,21,0.65);
  line-height: 1.65;
  font-weight: 300;
}
.proc__time {
  margin-top: auto;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(26,24,21,0.5);
  display: flex; align-items: center; gap: 8px;
  font-weight: 500;
}
.proc__time::before {
  content: ""; width: 16px; height: 1px; background: currentColor;
}

/* ----------- Stats (Chiffres clés) ----------- */
.stats {
  background: var(--dark);
  color: var(--white);
  padding: clamp(72px, 9vw, 128px) 0;
  position: relative;
  overflow: hidden;
}
.stats .eyebrow { color: var(--maron-soft); }
.stats .eyebrow::before { background: var(--maron-soft); }
.stats__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 56px;
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.stats__head .h2 { color: var(--white); max-width: 18ch; }
.stats__head .lede { color: rgba(255,255,255,0.7); text-align: right; margin-left: auto; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: end;
}
.stat { display: flex; flex-direction: column; gap: 10px; }
.stat__num {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(64px, 8.5vw, 120px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--white);
}
.stat__num em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--maron-soft);
}
.stat__num sup {
  font-size: 0.42em;
  vertical-align: top;
  margin-left: 4px;
  color: var(--maron-soft);
  font-weight: 500;
}
.stat__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}

/* ----------- Editorial / About teaser ----------- */
.editorial {
  background: var(--beige);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  position: relative;
  overflow: hidden;
}
.editorial__media {
  position: relative;
  min-height: 760px;
  background: var(--maron-soft);
  overflow: hidden;
}
.editorial__media image-slot { width: 100%; height: 100%; }
.editorial__media .stamp {
  position: absolute;
  left: 40px; bottom: 40px;
  background: var(--beige);
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 8px;
  max-width: 300px;
}
.editorial__media .stamp b {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.3;
}
.editorial__media .stamp small {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--maron-deep);
  font-weight: 500;
}
.editorial__copy {
  padding: clamp(72px, 8vw, 120px) clamp(40px, 6vw, 96px);
  display: flex; flex-direction: column; gap: 32px;
  justify-content: center;
  position: relative;
}
.editorial__copy .h1 { max-width: 14ch; }
.editorial__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.45;
  color: var(--ink);
  padding-left: 24px;
  border-left: 2px solid var(--maron);
  max-width: 38ch;
}
.editorial__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.editorial__val {
  display: flex; flex-direction: column; gap: 4px;
}
.editorial__val .num {
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--maron-deep); font-weight: 600;
}
.editorial__val b {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.editorial__val span {
  font-size: 13px;
  color: rgba(26,24,21,0.6);
  line-height: 1.55;
  font-weight: 300;
}
.editorial__sign {
  display: flex; align-items: center; gap: 20px;
  margin-top: 8px;
}
.editorial__sign-text {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--maron-deep); font-weight: 500;
}
.editorial__sign-text b {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-transform: none;
  font-weight: 400;
}

/* ----------- Testimonials ----------- */
.testi {
  background: var(--beige);
  border-top: 1px solid var(--line-warm);
}
.testi__head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px; margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.testi__head .h2 { max-width: 18ch; }
.testi__nav { display: flex; gap: 8px; align-items: center; }
.testi__nav button {
  width: 56px; height: 56px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: all 0.4s var(--ease);
}
.testi__nav button:hover {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.testi__nav .count {
  font-size: 11px;
  letter-spacing: 0.18em;
  margin: 0 16px;
  color: rgba(26,24,21,0.5);
  font-weight: 500;
}
.testi__nav .count b { color: var(--ink); font-weight: 600; }

.testi__viewport { overflow: hidden; }
.testi__track {
  display: flex;
  gap: 24px;
  transition: transform 0.8s var(--ease-out);
}
.testi-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--white);
  padding: 40px 36px;
  display: flex; flex-direction: column; gap: 24px;
  border: 1px solid var(--line-soft);
  position: relative;
}
.testi-card__stars {
  display: flex; gap: 4px;
  color: var(--maron);
  font-size: 16px;
}
.testi-card__quote {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink);
  flex-grow: 1;
}
.testi-card__quote::before {
  content: """;
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 0;
  color: var(--maron);
  vertical-align: -28px;
  margin-right: 4px;
}
.testi-card__author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.testi-card__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--maron);
  color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.testi-card__author b {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.testi-card__author small {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--maron-deep); font-weight: 500;
}
.testi-card__event {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26,24,21,0.4);
  font-weight: 500;
}

/* ----------- CTA ----------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
  padding: clamp(96px, 14vw, 200px) 0;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: url("assets/monogram-a-tan.jpg") center/contain no-repeat;
  opacity: 0.06;
  z-index: 0;
}
.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 40px;
}
.cta__eyebrow {
  color: var(--maron-soft);
}
.cta__eyebrow::before { background: var(--maron-soft); }
.cta__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(48px, 7.5vw, 108px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--white);
}
.cta__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--maron-soft);
}
.cta__sub {
  max-width: 54ch;
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 300;
}
.cta__ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.cta__contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
  width: 100%;
  text-align: left;
}
.cta__contact div {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.cta__contact div b {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.01em;
  text-transform: none;
}

/* ----------- Footer ----------- */
.foot {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}
.foot__big {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(80px, 16vw, 240px);
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: var(--maron);
  margin-bottom: 56px;
  white-space: nowrap;
  overflow: hidden;
}
.foot__big em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: rgba(190,156,119,0.5);
  letter-spacing: -0.02em;
}
.foot__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.foot__col h5 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--maron-soft);
  margin-bottom: 24px;
}
.foot__col ul { display: flex; flex-direction: column; gap: 14px; }
.foot__col a {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  transition: color 0.3s var(--ease);
}
.foot__col a:hover { color: var(--maron-soft); }

.foot__brand {
  margin-bottom: 24px;
}
.foot__brand img {
  height: 80px;
  width: auto;
  filter: invert(1) hue-rotate(180deg) brightness(1.15);
  mix-blend-mode: lighten;
  margin-bottom: 8px;
}
.foot__about p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.7;
  max-width: 38ch;
  margin-bottom: 24px;
  font-weight: 300;
}
.foot__news {
  display: flex; gap: 0;
  border: 1px solid rgba(255,255,255,0.12);
  max-width: 380px;
}
.foot__news input {
  background: transparent;
  border: 0;
  padding: 14px 18px;
  color: var(--white);
  font: inherit;
  font-size: 13px;
  flex: 1;
  outline: none;
}
.foot__news input::placeholder { color: rgba(255,255,255,0.4); }
.foot__news button {
  background: var(--maron);
  color: var(--white);
  padding: 14px 22px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.4s var(--ease);
}
.foot__news button:hover { background: var(--maron-deep); }

.foot__bottom {
  margin-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap; gap: 16px;
  font-weight: 300;
}
.foot__socials { display: flex; gap: 12px; }
.foot__socials a {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  display: grid; place-items: center;
  transition: all 0.4s var(--ease);
}
.foot__socials a:hover {
  background: var(--maron);
  border-color: var(--maron);
  color: var(--white);
}

/* ----------- Floating WhatsApp ----------- */
.fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid; place-items: center;
  z-index: 40;
  box-shadow: 0 14px 36px rgba(37,211,102,0.4);
  transition: transform 0.4s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.4);
  animation: ring 2.2s infinite var(--ease);
}
@keyframes ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}
.fab__tip {
  position: absolute;
  right: 72px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.4s var(--ease);
  font-weight: 500;
  pointer-events: none;
}
.fab:hover .fab__tip { opacity: 1; transform: translateX(0); }

/* ----------- Scroll reveal ----------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[data-d="1"] { transition-delay: 0.06s; }
.reveal[data-d="2"] { transition-delay: 0.12s; }
.reveal[data-d="3"] { transition-delay: 0.18s; }
.reveal[data-d="4"] { transition-delay: 0.24s; }
.reveal[data-d="5"] { transition-delay: 0.3s; }
.reveal[data-d="6"] { transition-delay: 0.36s; }

/* ----------- image-slot brand override ----------- */
image-slot {
  --is-bg: #2a2520;
  --is-fg: rgba(255,255,255,0.6);
  --is-accent: var(--maron);
  --is-border: rgba(190,156,119,0.3);
  --is-radius: 0;
  --is-pattern-opacity: 0.35;
}

/* ----------- Responsive ----------- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: var(--sidebar) 1fr; }
  .hero__media { display: none; }
  :root { --sidebar: 56px; }
}
@media (max-width: 980px) {
  .nav__menu { display: none; }
  .nav__burger { display: flex; }
  .nav .wrap { grid-template-columns: 1fr auto auto; gap: 12px; }
  .nav__brand { justify-self: start; }
  .nav__brand img { height: 44px; }
  .nav__lang { display: none; }
  .nav__cta { display: none; }

  .svc-grid { grid-template-columns: 1fr 1fr; }
  .proc-grid { grid-template-columns: 1fr 1fr; }
  .proc { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 0; }
  .proc + .proc { padding-left: 0; }
  .proc:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .editorial { grid-template-columns: 1fr; }
  .editorial__media { min-height: 520px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .pf-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 120px; }
  .pf-item--xl, .pf-item--wide, .pf-item--tall, .pf-item--md, .pf-item--sm, .pf-item--reg {
    grid-column: span 6; grid-row: span 2;
  }
  .testi-card { flex: 0 0 calc((100% - 24px) / 2); }
  .sec-head { grid-template-columns: 1fr; gap: 24px; }
  .sec-head__aside { text-align: left; align-items: flex-start; }
  .sec-head__aside .lede { text-align: left; }
  .stats__head { grid-template-columns: 1fr; gap: 24px; }
  .stats__head .lede { text-align: left; margin-left: 0; }
  .svc-intro { grid-template-columns: 1fr; gap: 24px; }
  .editorial__values { grid-template-columns: 1fr; }
  .cta__contact { grid-template-columns: 1fr; gap: 20px; }
  .testi__head { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --sidebar: 0px; }
  .sidebar-rail { display: none; }
  .section__inner { padding-left: 0; }
  .section-num { left: 0; }
  .topbar { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero__copy { padding: 56px var(--pad); gap: 40px; }
  .hero__title { font-size: clamp(44px, 12vw, 64px); }
  .hero__meta { grid-template-columns: 1fr 1fr; gap: 20px; }
  .svc-grid { grid-template-columns: 1fr; }
  .proc-grid { grid-template-columns: 1fr; }
  .proc:nth-child(2n) { padding-left: 0; border-left: 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .foot__cols { grid-template-columns: 1fr; gap: 40px; }
  .foot__big { font-size: 64px; }
  .testi-card { flex: 0 0 100%; }
  .editorial__copy { padding: 56px var(--pad); }
  .nav__brand img { height: 38px; }
  .fab__tip { display: none; }
}
