/* ================================================================
   Fidare Gestion — Home page styles
   Builds on colors_and_type.css (tokens: --fg-navy, --fg-champagne, etc.)
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--fg-ivory);
  color: var(--fg-ink);
  font-family: var(--fg-font-body);
  -webkit-font-smoothing: antialiased;
}

/* Reusable atoms ---------------------------------------------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--fg-navy-500);
  font-weight: 500;
}
.eyebrow.on-dark { color: var(--fg-champagne); }
.eyebrow .dia {
  display: inline-block; width: 5px; height: 5px;
  background: var(--fg-champagne); transform: rotate(45deg);
  margin: 0 14px; vertical-align: middle;
}
.gold-rule {
  height: 1px; border: 0;
  background: linear-gradient(90deg, var(--fg-champagne), transparent);
}
.gold-rule.centered {
  background: linear-gradient(90deg, transparent, var(--fg-champagne), transparent);
}

/* Buttons ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--fg-font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all 280ms cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}
.btn .dia {
  width: 5px; height: 5px;
  background: currentColor;
  transform: rotate(45deg);
  transition: transform 280ms ease;
}
.btn:hover .dia { transform: rotate(225deg); }
.btn-champagne {
  background: var(--fg-champagne);
  color: var(--fg-navy);
  border-color: var(--fg-champagne);
}
.btn-champagne:hover {
  background: transparent;
  color: var(--fg-champagne);
}
.btn-navy {
  background: var(--fg-navy);
  color: #fff;
  border-color: var(--fg-navy);
}
.btn-navy:hover {
  background: var(--fg-champagne);
  color: var(--fg-navy);
  border-color: var(--fg-champagne);
}
.btn-ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
}
.btn-ghost-white:hover {
  border-color: var(--fg-champagne);
  color: var(--fg-champagne);
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--fg-font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg-navy);
  cursor: pointer;
  padding: 8px 0;
}
.btn-link .arrow {
  width: 28px; height: 1px;
  background: currentColor;
  position: relative;
  transition: width 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-link .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn-link:hover .arrow { width: 44px; }

/* Maillage pattern ------------------------------------------- */
.pat-maillage {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'><path d='M 0 0 L 36 36 M 36 0 L 0 36' stroke='%23011536' stroke-opacity='0.07' stroke-width='0.4'/></svg>");
  background-size: 36px 36px;
}
.pat-maillage.on-dark {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'><path d='M 0 0 L 36 36 M 36 0 L 0 36' stroke='%23FFE1B6' stroke-opacity='0.10' stroke-width='0.4'/></svg>");
}


/* ============================================================
   1 · HEADER — sticky, two-state (same spec as Header.html)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 56px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
  transition: all 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header.is-scrolled {
  background: rgba(251, 249, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--fg-line);
  padding: 12px 56px;
  box-shadow: 0 1px 0 rgba(1,21,54,0.02), 0 10px 30px -20px rgba(1,21,54,0.18);
}

/* Logo */
.h-logo { display: inline-flex; align-items: center; }
.h-logo img {
  height: 52px;
  display: block;
  transition: height 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.h-logo .logo-light { display: block; }
.h-logo .logo-color { display: none; }
.site-header.is-scrolled .h-logo .logo-light { display: none; }
.site-header.is-scrolled .h-logo .logo-color { display: block; }
.site-header.is-scrolled .h-logo img { height: 44px; }

/* Nav */
.h-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.h-nav > .nav-item { position: relative; }
.h-nav a,
.h-nav .nav-link {
  position: relative;
  font-family: var(--fg-font-body);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 10px 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 240ms ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
}
.h-nav .nav-dropdown a { white-space: normal; }
.h-nav .nav-link .caret {
  display: none;
  width: 5px; height: 5px;
  background: var(--fg-champagne);
  transform: rotate(45deg);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.h-nav .nav-item.is-open .nav-link .caret { transform: rotate(225deg); }
.site-header.is-scrolled .h-nav a,
.site-header.is-scrolled .h-nav .nav-link { color: var(--fg-navy); }

.h-nav a::before,
.h-nav .nav-link::before {
  content: "";
  position: absolute;
  left: 16px; right: 16px;
  bottom: 2px;
  height: 1px;
  background: var(--fg-champagne);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}
.h-nav a::after,
.h-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 5px; height: 5px;
  background: var(--fg-champagne);
  transform: translateX(-50%) rotate(45deg) scale(0);
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}
.h-nav .nav-link::after { display: none; }
.h-nav a:hover::before,
.h-nav a.is-active::before,
.h-nav .nav-item:hover .nav-link::before,
.h-nav .nav-item.is-open .nav-link::before { transform: scaleX(1); }
.h-nav a:hover::after,
.h-nav a.is-active::after  { transform: translateX(-50%) rotate(45deg) scale(1); }

/* Mega-dropdown */
.nav-dropdown {
  position: fixed;
  top: var(--header-h, 88px);
  left: 0; right: 0;
  background-color: rgba(1, 21, 54, 0.93);
  -webkit-backdrop-filter: blur(20px) saturate(120%);
  backdrop-filter: blur(20px) saturate(120%);
  color: #fff;
  padding: 40px 80px 46px;
  box-shadow: 0 30px 80px -20px rgba(1,21,54,0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition:
    opacity 320ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    top 360ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 55;
}
.nav-dropdown::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(1,21,54,0.18) 0%, rgba(1,21,54,0.04) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'><path d='M 0 0 L 36 36 M 36 0 L 0 36' stroke='%23FFE1B6' stroke-opacity='0.05' stroke-width='0.4'/></svg>");
  background-size: auto, 36px 36px;
  pointer-events: none;
}
.nav-dropdown::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 225, 182, 0.5), transparent);
}
.nav-item.is-open .nav-dropdown {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-inner {
  position: relative; z-index: 1;
  max-width: 1480px;
  margin: 0 auto;
}
.nav-dropdown-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 225, 182, 0.18);
}
.nav-dropdown-head .label {
  font-family: var(--fg-font-display);
  font-size: 12px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--fg-champagne);
  font-weight: 400;
}
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  column-gap: 96px;
  row-gap: 4px;
}
.nav-dropdown-grid a {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: start;
  gap: 24px;
  padding: 15px 16px 15px 0;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 225, 182, 0.10);
  transition: padding-left 280ms cubic-bezier(0.22,1,0.36,1), background 240ms ease;
}
.nav-dropdown-grid a .num { align-self: start; padding-top: 5px; }
.nav-dropdown-grid a .go { align-self: center; }
.nav-dropdown-grid a::before,
.nav-dropdown-grid a::after { display: none; }
.nav-dropdown-grid a:hover {
  padding-left: 16px;
  background: linear-gradient(90deg, rgba(255, 225, 182, 0.06), transparent 60%);
}
.nav-dropdown-grid a .num {
  font-family: var(--fg-font-display);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--fg-champagne);
  line-height: 1;
}
.nav-dropdown-grid a .name {
  font-family: var(--fg-font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
  display: block;
}
.nav-dropdown-grid a .desc {
  font-family: var(--fg-font-body);
  font-size: 13px;
  letter-spacing: 0.01em;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
  display: block;
}
.nav-dropdown-grid a .go {
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 225, 182, 0.22);
  display: grid; place-items: center;
  color: rgba(255, 225, 182, 0.7);
  transition: all 280ms cubic-bezier(0.22,1,0.36,1);
  opacity: 0;
  transform: translateX(-6px);
}
.nav-dropdown-grid a .go svg { width: 13px; height: 13px; }
.nav-dropdown-grid a:hover .go {
  opacity: 1;
  transform: translateX(0);
  background: var(--fg-champagne);
  color: var(--fg-navy);
  border-color: var(--fg-champagne);
}
.nav-dropdown-grid a:hover .name { color: var(--fg-champagne); }

/* Header CTA */
.h-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fg-font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 22px;
  border: 1px solid var(--fg-champagne);
  color: var(--fg-champagne);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all 280ms cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}
.h-cta:hover { background: var(--fg-champagne); color: var(--fg-navy); }
.h-cta .dia {
  width: 5px; height: 5px;
  background: currentColor; transform: rotate(45deg);
  transition: transform 280ms ease;
}
.h-cta:hover .dia { transform: rotate(225deg); }
.site-header.is-scrolled .h-cta {
  background: var(--fg-navy); color: #fff; border-color: var(--fg-navy);
}
.site-header.is-scrolled .h-cta:hover {
  background: var(--fg-champagne); color: var(--fg-navy); border-color: var(--fg-champagne);
}

/* Mobile burger */
.h-burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 0; cursor: pointer;
  color: #fff;
  align-items: center; justify-content: center;
  z-index: 70;
}
.site-header.is-scrolled .h-burger { color: var(--fg-navy); }
.h-burger .bars { position: relative; width: 22px; height: 14px; }
.h-burger .bars i {
  position: absolute;
  left: 0; right: 0;
  height: 1.4px;
  background: currentColor;
}
.h-burger .bars i:nth-child(1) { top: 0; }
.h-burger .bars i:nth-child(2) { top: 50%; transform: translateY(-50%); width: 70%; }
.h-burger .bars i:nth-child(3) { bottom: 0; }

@media (max-width: 880px) {
  .site-header { grid-template-columns: auto auto; gap: 16px; padding: 14px 22px; }
  .site-header.is-scrolled { padding: 10px 22px; }
  .h-nav, .h-cta { display: none; }
  .h-burger { display: inline-flex; }
  .h-logo img { height: 40px; }
  .site-header.is-scrolled .h-logo img { height: 34px; }
}

/* Mobile drawer */
.h-drawer {
  position: fixed; inset: 0; z-index: 60;
  background-color: var(--fg-navy);
  background-image: url("assets/conductor.jpg");
  background-size: cover;
  background-position: 35% center;
  color: #fff;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity 380ms ease, transform 380ms ease;
}
.h-drawer.is-open { opacity: 1; pointer-events: auto; transform: translateX(0); }
.h-drawer::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(1,21,54,0.95), rgba(1,21,54,0.78) 30%, rgba(1,21,54,0.78) 70%, rgba(1,21,54,0.96) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'><path d='M 0 0 L 28 28 M 28 0 L 0 28' stroke='%23FFE1B6' stroke-opacity='0.05' stroke-width='0.4'/></svg>");
  background-size: auto, 28px 28px;
}
.h-drawer > * { position: relative; z-index: 1; }
.h-drawer-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; border-bottom: 1px solid rgba(255, 225, 182, 0.18);
}
.h-drawer-top img { height: 40px; display: block; }
.h-drawer-close {
  background: transparent; border: 0; color: #fff;
  width: 40px; height: 40px;
  display: grid; place-items: center; cursor: pointer;
}
.h-drawer-close svg { width: 22px; height: 22px; }
.h-drawer-scroll { flex: 1; overflow-y: auto; padding: 32px 28px 24px; }
.h-drawer-eyebrow {
  font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--fg-champagne); margin-bottom: 28px; font-weight: 500;
}
.h-drawer-eyebrow .dia {
  display: inline-block; width: 4px; height: 4px;
  background: var(--fg-champagne); transform: rotate(45deg);
  margin: 0 12px; vertical-align: middle;
}
.h-drawer-nav { display: flex; flex-direction: column; }
.h-drawer-nav .item { border-bottom: 1px solid rgba(255, 225, 182, 0.16); }
.h-drawer-nav a, .h-drawer-nav .trigger {
  font-family: var(--fg-font-display);
  font-size: 32px; letter-spacing: 0.04em; color: #fff;
  text-decoration: none; padding: 22px 0;
  background: transparent; border: 0;
  width: 100%; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  line-height: 1.1;
}
.h-drawer-nav .arrow {
  color: var(--fg-champagne); font-family: var(--fg-font-body);
  font-size: 18px; letter-spacing: 0.12em;
  transition: transform 240ms ease;
}
.h-drawer-nav .item.is-open .trigger .arrow { transform: rotate(45deg); }
/* Expertises row: the word navigates to the page; the +/× only toggles the sub-domains */
.h-drawer-nav .sub-head { display: flex; align-items: center; }
.h-drawer-nav .sub-head a { flex: 1 1 auto; }
.h-drawer-nav .sub-head .trigger {
  width: auto; flex: 0 0 auto;
  padding: 22px 4px 22px 24px; justify-content: flex-end;
}
.h-drawer-nav .panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 400ms cubic-bezier(0.22, 1, 0.36, 1);
}
.h-drawer-nav .panel-inner { overflow: hidden; min-height: 0; }
.h-drawer-nav .item.is-open .panel { grid-template-rows: 1fr; }
.h-drawer-nav .panel a {
  font-family: var(--fg-font-body); font-size: 14px;
  letter-spacing: 0.04em; color: rgba(255,255,255,0.85);
  padding: 12px 0; display: grid; grid-template-columns: 36px 1fr;
  gap: 14px; align-items: baseline; line-height: 1.4;
}
.h-drawer-nav .panel a + a { border-top: 1px solid rgba(255, 225, 182, 0.10); }
.h-drawer-nav .panel .num {
  font-family: var(--fg-font-display); font-size: 11px;
  letter-spacing: 0.28em; color: var(--fg-champagne);
}
.h-drawer-nav .panel-tag {
  font-family: var(--fg-font-display); font-size: 10px;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255, 225, 182, 0.55); font-style: italic;
  padding: 16px 0 6px;
}
.h-drawer-footer {
  padding: 24px 28px 32px;
  display: flex; flex-direction: column; gap: 16px;
  border-top: 1px solid rgba(255, 225, 182, 0.18);
}
.h-drawer-footer .h-cta {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px; background: var(--fg-champagne); color: var(--fg-navy);
  border: 1px solid var(--fg-champagne);
  padding: 18px 24px; border-radius: 999px;
}


/* ============================================================
   2 · HERO  — centered, with twinkling maillage
   ============================================================ */
.hero {
  background: linear-gradient(180deg, #011536 0%, #021a40 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 200px 56px 140px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'><path d='M 0 0 L 36 36 M 36 0 L 0 36' stroke='%23FFE1B6' stroke-opacity='0.08' stroke-width='0.4'/></svg>");
  background-size: 36px 36px;
  pointer-events: none;
}

/* Twinkling lights layer */
.hero .twinkles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.hero .twinkle-dot {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}
@keyframes fg-twinkle {
  0%, 14%, 100% { opacity: 0;    transform: scale(0.55); }
  22%           { opacity: 1;    transform: scale(1.05); }
  32%           { opacity: 0;    transform: scale(0.55); }
}
@media (prefers-reduced-motion: reduce) {
  .hero .twinkle-dot { animation: none !important; opacity: 0.5; }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 920px;
  margin: 0 auto;
}
.hero h1 {
  font-family: var(--fg-font-display);
  font-size: clamp(40px, 8.4vw, 88px);
  line-height: 1.02;
  letter-spacing: 0.012em;
  color: #fff;
  margin: 0;
  font-weight: 400;
}
.hero h1 .gold { color: var(--fg-champagne); }
.hero .gold-rule { width: 80px; margin: 40px auto 30px; }
.hero p.lede {
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  margin: 0 auto;
  font-weight: 300;
  max-width: 620px;
}
.hero .hero-cta-row {
  display: flex; gap: 14px; margin-top: 48px;
  flex-wrap: wrap; justify-content: center;
}
.hero .hero-scroll-hint {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 225, 182, 0.6);
  display: flex; align-items: center; gap: 16px;
  z-index: 2;
}
.hero .hero-scroll-hint .line {
  width: 40px; height: 1px;
  background: var(--fg-champagne); opacity: 0.6;
}


/* ============================================================
   3 · MANIFESTO — L'art de la lecture patrimoniale
   ============================================================ */
.manifesto {
  background: var(--fg-ivory);
  padding: 140px 56px;
  position: relative;
}
.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
}
.manifesto .eyebrow { margin-top: 14px; }
.manifesto h2 {
  font-family: var(--fg-font-display);
  font-size: 56px; line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--fg-navy);
  margin: 0 0 36px;
  font-weight: 400;
}
.manifesto h2 em {
  font-style: italic;
  font-family: "Marcellus SC", serif;
  color: var(--fg-navy-500);
}
.manifesto p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-ink-2);
  max-width: 680px;
  margin: 0 0 20px;
}
.manifesto p.etymology {
  font-family: var(--fg-font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--fg-navy);
  letter-spacing: 0.04em;
  margin-top: 32px;
  padding-left: 24px;
  border-left: 1px solid var(--fg-champagne);
}
.manifesto .gold-rule { margin: 32px 0 28px; width: 80px; }
.manifesto .cta-row { margin-top: 48px; }


/* ============================================================
   4 · CONDUCTOR — Le chef d'orchestre patrimonial
   ============================================================ */
.conductor {
  background-color: #010c22;
  background-image: url("assets/violin-strings.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  padding: 140px 56px;
  overflow: hidden;
}
.conductor::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(10,35,80,0.55) 0%, rgba(1,21,54,0.82) 50%, rgba(1,12,34,0.93) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'><path d='M 0 0 L 36 36 M 36 0 L 0 36' stroke='%23FFE1B6' stroke-opacity='0.05' stroke-width='0.4'/></svg>");
  background-size: auto, 36px 36px;
  pointer-events: none;
}
.conductor-inner {
  position: relative; z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}
.conductor-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 96px;
}
.conductor-head .eyebrow { margin-bottom: 24px; }
.conductor-head h2 {
  font-family: var(--fg-font-display);
  font-size: 56px; line-height: 1.08;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0;
  font-weight: 400;
}
.conductor-head h2 em {
  font-style: italic;
  font-family: "Marcellus SC", serif;
  color: var(--fg-champagne);
}

/* Diamond animation + citation reveal — right column */
.conductor-stage {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  position: relative;
}

.diamond-stage {
  position: relative;
  width: 360px; height: 360px;
  cursor: pointer;
  --sep: 36px;
  --flow-dur: 6s; /* @kind other */
}
.diamond-stage .quote-reveal {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: 0 16%;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 700ms 220ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 700ms 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.diamond-stage .quote-reveal .q-mark {
  font-family: var(--fg-font-display);
  color: var(--fg-champagne);
  font-size: 56px;
  line-height: 0.5;
  margin-bottom: 14px;
  opacity: 0.9;
}
.diamond-stage .quote-reveal blockquote {
  font-family: var(--fg-font-display);
  font-size: 17px;
  line-height: 1.4;
  color: #fff;
  letter-spacing: 0.02em;
  font-style: italic;
  margin: 0;
  text-align: center;
  text-wrap: balance;
}
.diamond-stage .quote-reveal cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--fg-champagne);
  opacity: 0.8;
}

.diamond-svg {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  overflow: visible;
  z-index: 2;
}
.diamond-svg .half {
  transform-origin: 100px 100px;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.diamond-svg .artery {
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.4;
  transition: opacity 400ms ease;
}
.diamond-svg .left .artery  { stroke: #FFE1B6; opacity: 0.42; }
.diamond-svg .right .artery { stroke: #ffffff; opacity: 0.32; }

.diamond-svg .signal-group { transition: opacity 400ms ease; }
.diamond-svg .signal-halo { fill: #FFE1B6; opacity: 0.08; }
.diamond-svg .signal-mid  { fill: #FFE1B6; opacity: 0.18; }
.diamond-svg .signal-core { fill: #FFF6E0; opacity: 0.38; }

/* Hover / open */
.diamond-stage.open .left,
.diamond-stage:hover .left   { transform: translateX(calc(var(--sep) * -1)); }
.diamond-stage.open .right,
.diamond-stage:hover .right  { transform: translateX(var(--sep)); }
.diamond-stage.open .signal-group,
.diamond-stage:hover .signal-group { opacity: 0; }
.diamond-stage.open .artery,
.diamond-stage:hover .artery { opacity: 0.7; }
.diamond-stage.open .quote-reveal,
.diamond-stage:hover .quote-reveal {
  opacity: 1; transform: scale(1);
}

.diamond-stage .seam { display: none; }

/* ---- Parcours client: 4 journey steps in the diamond's empty corners ---- */
.diamond-stage .parcours {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 3;
}
.diamond-stage .step {
  position: absolute;
  pointer-events: auto;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms ease;
}
.diamond-stage .step .s-num {
  font-family: var(--fg-font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--fg-champagne);
}
.diamond-stage .step .s-label {
  font-family: var(--fg-font-display);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  white-space: nowrap;
}
.diamond-stage .step.top    { top: 3%;  left: 50%; transform: translate(-50%, -50%); align-items: center;     text-align: center; }
.diamond-stage .step.right  { top: 50%; left: 97%; right: auto; transform: translate(-50%, -50%); align-items: center;     text-align: center; }
.diamond-stage .step.bottom { top: 97%; left: 50%; transform: translate(-50%, -50%); align-items: center;     text-align: center; }
.diamond-stage .step.left   { top: 50%; left: 3%;  right: auto; transform: translate(-50%, -50%); align-items: center;     text-align: center; }

/* a corner lights up as the orbiting halo reaches it — opacity is driven
   inline by JS (lit = 1, else 0); hover-hide is handled in JS too */

@media (prefers-reduced-motion: reduce) {
  .diamond-svg { transform: none !important; }
  .diamond-svg .signal-group animateMotion { display: none; }
  .diamond-svg .signal-halo, .diamond-svg .signal-mid, .diamond-svg .signal-core { opacity: 0; }
}

/* H3 sub-blocks below diamond */
.conductor-subs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 56px;
}
.conductor-sub {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 225, 182, 0.22);
}
.conductor-sub .num {
  font-family: var(--fg-font-display);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--fg-champagne);
  margin-bottom: 16px;
}
.conductor-sub h3 {
  font-family: var(--fg-font-display);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 400;
}
.conductor-sub p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 460px;
  font-weight: 300;
}


/* ============================================================
   5 · EXPERTISES — service cards carousel
   ============================================================ */
.expertises {
  padding: 140px 0 120px;
  background: var(--fg-ivory);
  overflow: hidden;
}
.expertises-head {
  display: block;
  padding: 0 56px 36px;
  max-width: 1480px;
  margin: 0 auto;
}
.expertises-head .eyebrow { margin-bottom: 18px; }
.expertises-head h2 {
  font-family: var(--fg-font-display);
  font-size: 56px; line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--fg-navy);
  margin: 0; font-weight: 400;
  max-width: none;
}
.expertises-head h2 em {
  font-style: italic;
  font-family: "Marcellus SC", serif;
  color: var(--fg-navy-500);
}

.expertises-controls {
  display: flex; flex-direction: row;
  align-items: center; gap: 22px;
}
.counter {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--fg-font-display); line-height: 1;
}
.counter .current {
  color: var(--fg-navy);
  font-size: 42px; letter-spacing: 0.04em;
  min-width: 56px; text-align: right;
  transition: opacity 220ms ease;
}
.counter .slash { color: var(--fg-champagne); font-size: 28px; }
.counter .total { color: var(--fg-ink-3); font-size: 20px; letter-spacing: 0.04em; }
.controls { display: flex; gap: 10px; }
.ctrl {
  width: 48px; height: 48px;
  border: 1px solid var(--fg-line-strong);
  background: transparent; cursor: pointer;
  display: grid; place-items: center;
  transition: all 240ms cubic-bezier(0.22,1,0.36,1);
  color: var(--fg-navy);
}
.ctrl:hover:not([disabled]) {
  background: var(--fg-navy); color: #fff;
  border-color: var(--fg-navy);
}
.ctrl[disabled] { opacity: 0.3; cursor: not-allowed; }
.ctrl svg { width: 18px; height: 18px; }

.progress {
  margin: 0 56px 40px;
  max-width: 1480px;
  margin-left: auto; margin-right: auto;
  position: relative; height: 2px;
}
.progress::before {
  content: ""; position: absolute; inset: 0;
  background: var(--fg-line);
}
.progress-fill {
  position: absolute; top: 0; left: 0;
  height: 100%; background: var(--fg-champagne);
  width: 16.67%;
  transition: width 640ms cubic-bezier(0.22,1,0.36,1);
}

.carousel {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 0 56px 12px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 56px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }

.card {
  flex: 0 0 880px;
  height: 560px;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  padding: 56px 64px 44px;
  display: flex;
  flex-direction: column;
}
.card.navy { background-color: var(--fg-navy); color: #fff; }
.card.ivory {
  background-color: var(--fg-ivory);
  color: var(--fg-navy);
  border: 1px solid var(--fg-line-strong);
}

.card-num {
  position: relative; z-index: 2;
  font-size: 11px; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--fg-champagne);
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 500;
}
.card.ivory .card-num { color: var(--fg-navy-500); }
.card-num .dia {
  display: inline-block; width: 5px; height: 5px;
  background: var(--fg-champagne); transform: rotate(45deg);
}
.ghost-num {
  position: absolute;
  bottom: -96px; right: 8px;
  font-family: var(--fg-font-display);
  font-size: 420px; line-height: 0.85;
  letter-spacing: 0.02em;
  color: var(--fg-champagne);
  opacity: 0.08;
  pointer-events: none; user-select: none;
  z-index: 1;
}
.card.ivory .ghost-num { color: var(--fg-navy); opacity: 0.05; }
.card-body {
  position: relative; z-index: 2;
  max-width: 580px;
  margin: auto 0;
}
.card-body h3 {
  font-family: var(--fg-font-display);
  font-size: 52px; line-height: 1.08;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 22px;
  font-weight: 400;
}
.card.ivory .card-body h3 { color: var(--fg-navy); }
.card-body .gold-rule {
  width: 56px; margin: 0 0 24px;
}
.card-body p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin: 0;
  font-weight: 300;
  max-width: 540px;
}
.card.ivory .card-body p { color: var(--fg-ink-2); }

.card-foot {
  position: relative; z-index: 2;
  padding-top: 28px;
  border-top: 1px solid rgba(255,225,182,0.22);
  display: flex; justify-content: space-between;
  align-items: center;
  font-family: var(--fg-font-display);
  font-size: 13px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
}
.card.ivory .card-foot {
  color: var(--fg-navy);
  border-top-color: var(--fg-line-strong);
}
.card-foot .more {
  display: inline-flex; align-items: center;
  gap: 16px; cursor: pointer;
}
/* whole-card hyperlink (stretched over the card, anchored to .card) */
.card > .card-link {
  position: absolute; inset: 0; z-index: 5;
  text-indent: -9999px; overflow: hidden;
}
.card { cursor: pointer; }
.card-foot .arrow {
  width: 28px; height: 1px;
  background: currentColor; position: relative;
  transition: width 280ms cubic-bezier(0.22,1,0.36,1);
}
.card-foot .arrow::after {
  content: ""; position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.card:hover .card-foot .arrow { width: 44px; }
.card-foot .meta {
  font-size: 10px; letter-spacing: 0.36em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}
.card.ivory .card-foot .meta { color: var(--fg-ink-3); }

/* Entry animation */
.card .card-num, .card .card-body h3, .card .card-body .gold-rule,
.card .card-body p, .card .card-foot {
  opacity: 0.35;
  transform: translateY(10px);
  transition: opacity 700ms cubic-bezier(0.22,1,0.36,1),
              transform 700ms cubic-bezier(0.22,1,0.36,1);
}
.card .ghost-num {
  opacity: 0; transform: translateY(8px);
  transition: opacity 900ms cubic-bezier(0.22,1,0.36,1),
              transform 900ms cubic-bezier(0.22,1,0.36,1);
}
.card.is-active .card-num         { opacity: 1; transform: translateY(0); transition-delay: 80ms; }
.card.is-active .card-body h3     { opacity: 1; transform: translateY(0); transition-delay: 220ms; }
.card.is-active .card-body .gold-rule { opacity: 1; transform: translateY(0); transition-delay: 280ms; }
.card.is-active .card-body p      { opacity: 1; transform: translateY(0); transition-delay: 340ms; }
.card.is-active .card-foot        { opacity: 1; transform: translateY(0); transition-delay: 460ms; }
.card.is-active .ghost-num { opacity: 0.08; transform: translateY(0); transition-delay: 380ms; }
.card.ivory.is-active .ghost-num { opacity: 0.05; }

.expertises-foot {
  display: flex; justify-content: space-between;
  padding: 24px 56px 0;
  max-width: 1480px;
  margin: 0 auto;
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--fg-ink-3);
}
.expertises-foot .keys {
  display: inline-flex; align-items: center; gap: 10px;
}
@media (max-width: 768px) {
  .expertises-foot .keys { display: none; }
}
.footer-letter h4 a { color: inherit; text-decoration: none; transition: color 220ms ease; }
.footer-letter h4 a:hover { color: var(--fg-champagne); }
.key {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px;
  border: 1px solid var(--fg-line-strong);
  font-family: var(--fg-font-mono, ui-monospace, monospace);
  font-size: 12px;
  color: var(--fg-navy);
}


/* ============================================================
   6 · TRUST — À l'aune de la confiance accordée
   ============================================================ */
.trust {
  background: var(--fg-ivory);
  padding: 140px 56px;
  position: relative;
}
.trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.trust-head {
  text-align: center;
  margin-bottom: 96px;
}
.trust-head .eyebrow { margin-bottom: 22px; }
.trust-head h2 {
  font-family: var(--fg-font-display);
  font-size: 56px; line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--fg-navy);
  margin: 0 auto;
  max-width: 880px;
  font-weight: 400;
}
.trust-head h2 em {
  font-style: italic;
  font-family: "Marcellus SC", serif;
  color: var(--fg-navy-500);
}
.trust-head .gold-rule {
  width: 80px; margin: 32px auto 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--fg-line-strong);
  border-bottom: 1px solid var(--fg-line-strong);
}
.trust-card {
  padding: 56px 40px;
  border-left: 1px solid var(--fg-line);
  position: relative;
}
.trust-card:first-child { border-left: 0; }
.trust-card .num {
  position: absolute;
  top: 56px; left: 40px;
  font-family: var(--fg-font-display);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--fg-champagne);
}
.trust-card .body {
  padding-top: 48px;
}
.trust-card h3 {
  font-family: var(--fg-font-display);
  font-size: 28px;
  line-height: 1.22;
  letter-spacing: 0.02em;
  color: var(--fg-navy);
  margin: 0 0 22px;
  font-weight: 400;
}
.trust-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-ink-2);
  margin: 0;
}


/* ============================================================
   6 · TEAM — Notre équipe (3 fondateurs)
   ============================================================ */
.team {
  background: var(--fg-ivory);
  padding: 140px 56px;
  position: relative;
}
.team-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.team-head {
  text-align: center;
  margin-bottom: 80px;
}
.team-head .eyebrow { margin-bottom: 22px; }
.team-head h2 {
  font-family: var(--fg-font-display);
  font-size: 56px; line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--fg-navy);
  margin: 0 auto;
  max-width: 880px;
  font-weight: 400;
}
.team-head h2 em {
  font-style: italic;
  font-family: "Marcellus SC", serif;
  color: var(--fg-navy-500);
}
.team-head .gold-rule { width: 80px; margin: 32px auto 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.team-card {
  display: flex;
  flex-direction: column;
}
.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #ece5d3;
  overflow: hidden;
}
.team-photo image-slot {
  display: block;
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #d8cdb1 0%, #b9aa86 100%);
  color: rgba(1, 21, 54, 0.55);
}
/* real portraits: bias framing down so the crown keeps its headroom */
.team-photo img.team-photo-img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 19%;
}
.team-photo .corner {
  position: absolute;
  top: 16px; right: 16px;
  width: 22px; height: 22px;
  border-top: 1px solid var(--fg-champagne);
  border-right: 1px solid var(--fg-champagne);
  pointer-events: none;
  z-index: 2;
}
.team-photo .frame-num {
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: var(--fg-font-display);
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(1, 21, 54, 0.65);
  padding: 4px 10px;
  z-index: 2;
}
.team-info {
  padding: 28px 0 0;
}
.team-info h3 {
  font-family: var(--fg-font-display);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--fg-navy);
  margin: 0 0 8px;
  font-weight: 400;
}
.team-info .role {
  font-family: var(--fg-font-display);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg-navy-500);
  letter-spacing: 0.04em;
  margin: 0;
  white-space: nowrap;
}
.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-top: 14px;
  border: 1px solid rgba(1, 21, 54, 0.2);
  border-radius: 50%;
  color: var(--fg-navy);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.team-linkedin svg {
  width: 16px;
  height: 16px;
  display: block;
}
.team-linkedin:hover {
  background: var(--fg-navy);
  border-color: var(--fg-navy);
  color: var(--fg-champagne);
}
.team-foot {
  margin-top: 64px;
  text-align: center;
}
.team-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 72px;
}
.team-ornament .rule {
  width: 72px;
  height: 1px;
  background: var(--fg-champagne);
  opacity: 0.45;
}
.team-ornament .dot {
  width: 4px;
  height: 4px;
  background: var(--fg-champagne);
  transform: rotate(45deg);
  opacity: 0.65;
  flex-shrink: 0;
}
.team-ornament .dia {
  width: 10px;
  height: 10px;
  background: var(--fg-champagne);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.team-foot .btn-link {
  display: inline-flex;
  color: var(--fg-navy);
}

/* ============================================================
   7 · CLIENTS — Nos clients (navy cards on ivory)
   ============================================================ */
.clients {
  background: var(--fg-ivory);
  padding: 130px 56px;
  border-top: 1px solid var(--fg-line);
}
.clients-inner { max-width: 1280px; margin: 0 auto; }
.clients-head { text-align: center; margin-bottom: 72px; }
.clients-head .eyebrow { margin-bottom: 22px; }
.clients-head h2 {
  font-family: var(--fg-font-display);
  font-weight: 400;
  font-size: 48px; line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--fg-navy);
  margin: 0;
}
.clients-head h2 em {
  font-style: italic;
  font-family: "Marcellus SC", serif;
  color: var(--fg-navy-500);
}
.clients-head .gold-rule { width: 80px; margin: 30px auto 0; }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.client-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 40px 36px 36px;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(255, 225, 182, 0.12) 0%, rgba(255, 225, 182, 0) 46%),
    linear-gradient(152deg, #0a2350 0%, #011536 56%, #021026 100%);
  color: #fff;
  border: 1px solid rgba(255, 225, 182, 0.16);
  overflow: hidden;
  transition: transform 420ms cubic-bezier(.22,1,.36,1),
              border-color 420ms ease, box-shadow 420ms ease;
}
.client-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path d='M 0 0 L 32 32 M 32 0 L 0 32' stroke='%23FFE1B6' stroke-opacity='0.10' stroke-width='0.4'/></svg>");
  background-size: 32px 32px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(140deg, #000 0%, rgba(0,0,0,0.35) 45%, transparent 78%);
          mask-image: linear-gradient(140deg, #000 0%, rgba(0,0,0,0.35) 45%, transparent 78%);
}
.client-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 225, 182, 0.5);
  box-shadow: 0 26px 54px -22px rgba(1, 21, 54, 0.55);
}
.client-card > * { position: relative; z-index: 1; }
.cc-ghost { display: none; }
.cc-num {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--fg-font-display);
  font-size: 15px; letter-spacing: 0.28em;
  color: var(--fg-champagne-600);
  margin-bottom: 26px;
}
.cc-num .dia {
  width: 8px; height: 8px;
  background: var(--fg-champagne);
  transform: rotate(45deg);
}
.client-card h3 {
  font-family: var(--fg-font-display);
  font-weight: 400;
  font-size: 25px; line-height: 1.2;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 0 16px;
  text-wrap: balance;
}
.client-card p {
  font-family: var(--fg-font-body);
  font-size: 15.5px; line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
.cc-rule {
  display: block;
  width: 34px; height: 2px;
  margin-top: auto;
  background: var(--fg-champagne);
  transition: width 480ms cubic-bezier(.22,1,.36,1);
}
.client-card:hover .cc-rule { width: 72px; }

/* ============================================================
   7 · PARTNERS — Bandeau défilant
   ============================================================ */
.partners {
  background: var(--fg-navy);
  color: #fff;
  padding: 56px 0 60px;
  overflow: hidden;
  position: relative;
}
.partners-head {
  text-align: center;
  padding: 0 28px;
  margin-bottom: 52px;
}
.partners-head .eyebrow {
  color: var(--fg-champagne);
  margin-bottom: 14px;
}
.partners-sub {
  font-family: var(--fg-font-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto;
  max-width: 540px;
}
.marquee {
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: partners-scroll 42s linear infinite;
}
.partners:hover .marquee-track { animation-play-state: paused; }
.partner-logo {
  flex-shrink: 0;
  font-family: var(--fg-font-display);
  font-size: 30px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.3s ease;
}
.partner-logo:hover { color: var(--fg-champagne); }
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Partner logo grid — uniform real-logo slots (user drops official files) */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  gap: 52px 64px;
  max-width: 940px;
  margin: 0 auto;
  padding: 0 32px;
}
/* light band so the real (mostly dark/colour) logos read uniformly */
.partners:has(.partner-grid) {
  background: #fff;
  color: var(--fg-ink);
  border-top: 1px solid var(--fg-line);
  border-bottom: 1px solid var(--fg-line);
}
.partner-grid image-slot {
  width: 100%;
  height: 56px;
  max-width: 184px;
}
.partner-grid image-slot::part(frame) { background: transparent; }
.partner-grid image-slot::part(ring)  { border-color: rgba(1, 21, 54, 0.14); }
.partner-grid image-slot::part(empty) { color: rgba(1, 21, 54, 0.5); }
/* uniform treatment: greyscale + dimmed at rest, full colour on hover */
.partner-grid image-slot[data-filled] {
  filter: grayscale(1);
  opacity: 0.6;
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.partner-grid image-slot[data-filled]:hover {
  filter: grayscale(0);
  opacity: 1;
}
/* white-only logos (transparent PNGs) → darken so they read on the light band */
.partner-grid image-slot.is-white[data-filled] {
  filter: brightness(0);
  opacity: 0.55;
}
.partner-grid image-slot.is-white[data-filled]:hover {
  filter: brightness(0);
  opacity: 0.9;
}
@media (max-width: 900px) {
  .partner-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
}
/* mobile: smaller logos + let touch scroll through them (the slot's inner
   touch-action:none was freezing page scroll when a finger landed on a logo) */
/* Touch devices: image-slots are display-only on the live site — let a finger
   scroll through them. The component sets touch-action:none internally, which
   otherwise freezes page scroll whenever a touch starts on an image. */
@media (hover: none), (max-width: 768px) {
  image-slot { pointer-events: none; }
}
@media (hover: none), (max-width: 768px) {
  .partner-grid image-slot { pointer-events: none; height: 34px; }
}
@media (max-width: 560px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  .partner-grid image-slot { height: 29px; }
}

/* ============================================================
   7 · CLOSING CTA
   ============================================================ */
.closing {
  background-color: var(--fg-navy);
  color: #fff;
  padding: 120px 56px 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'><path d='M 0 0 L 36 36 M 36 0 L 0 36' stroke='%23FFE1B6' stroke-opacity='0.08' stroke-width='0.4'/></svg>");
  background-size: 36px 36px;
  pointer-events: none;
}
.closing .mark {
  margin: 0 auto 36px;
  width: 64px;
  opacity: 0.5;
}
.closing .eyebrow {
  color: var(--fg-champagne);
  margin-bottom: 20px;
}
.closing h2 {
  font-family: var(--fg-font-display);
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 auto;
  max-width: 720px;
  font-weight: 400;
}
.closing h2 em {
  font-style: italic;
  font-family: "Marcellus SC", serif;
  color: var(--fg-champagne);
}
.closing .gold-rule {
  width: 100px;
  margin: 36px auto 36px;
}
.closing .btn { font-size: 13px; padding: 18px 32px; }


/* ============================================================
   8 · FOOTER (compact version of Footer.html, reusing structure)
   ============================================================ */
.site-footer {
  background: var(--fg-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'><path d='M 0 0 L 36 36 M 36 0 L 0 36' stroke='%23FFE1B6' stroke-opacity='0.07' stroke-width='0.4'/></svg>");
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
}
.site-footer #footer-twinkles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.footer-signoff #footer-twinkles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.site-footer #footer-twinkles .twinkle-dot,
.footer-signoff #footer-twinkles .twinkle-dot {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}
@keyframes fg-footer-twinkle {
  0%, 14%, 100% { opacity: 0;    transform: scale(0.55); }
  22%           { opacity: 0.9;  transform: scale(1.15); }
  32%           { opacity: 0;    transform: scale(0.55); }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer #footer-twinkles .twinkle-dot { animation: none !important; opacity: 0.3; }
}
.site-footer > * { position: relative; z-index: 2; }

/* ===================================================================
   FOOTER SIGNOFF — the navy "Premier rendez-vous" CTA strip at the
   top of the footer. Sits inside .site-footer so it shares the
   navy bg + maillage + twinkles backdrop.
   =================================================================== */
.footer-signoff {
  position: relative;
  z-index: 2;
  padding: 160px 56px 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 225, 182, 0.18);
}
.footer-signoff > div { position: relative; }
.footer-signoff .eyebrow {
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--fg-champagne);
  font-weight: 500;
  margin-bottom: 28px;
}
.footer-signoff h2 {
  font-family: var(--fg-font-display);
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #fff;
  margin: 0 auto;
  font-weight: 400;
  max-width: 760px;
}
.footer-signoff h2 em {
  font-style: italic;
  font-family: "Marcellus SC", serif;
  color: var(--fg-champagne);
}
.footer-signoff .cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-signoff .cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--fg-champagne);
  color: var(--fg-navy);
  font-family: var(--fg-font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 26px;
  border: 1px solid var(--fg-champagne);
  border-radius: 999px;
  text-decoration: none;
  transition: all 280ms cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}
.footer-signoff .cta:hover {
  background: transparent;
  color: var(--fg-champagne);
}
.footer-signoff .cta .dia {
  width: 6px; height: 6px;
  background: currentColor;
  transform: rotate(45deg);
  transition: transform 280ms ease;
}
.footer-signoff .cta:hover .dia { transform: rotate(225deg); }
@media (max-width: 980px) {
  .footer-signoff { padding: 88px 32px 64px; gap: 32px; }
  .footer-signoff h2 { font-size: 36px; }
}

/* ===================================================================
   SCROLL REVEAL — light fade-up as elements enter viewport
   Applied by scroll-reveal.js. The .reveal class hides the element,
   then .is-in animates it back into place.
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 850ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 850ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
/* media inside a revealed block settles from a soft zoom */
.reveal-media :is(img, .team-photo-img) {
  transform: scale(1.06);
  transition: transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-media.is-in :is(img, .team-photo-img) {
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-media :is(img, .team-photo-img) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.footer-mark {
  position: absolute;
  bottom: -120px; right: -100px;
  width: 420px; opacity: 0.06;
  pointer-events: none; z-index: 1;
}
.footer-grid {
  position: relative; z-index: 2;
  padding: 96px 56px 80px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 56px;
  border-bottom: 1px solid rgba(255, 225, 182, 0.18);
}
.footer-col h4 {
  font-family: var(--fg-font-display);
  font-size: 13px; letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--fg-champagne);
  margin: 0 0 24px;
  font-weight: 400; position: relative;
  padding-bottom: 14px;
}
.footer-col h4::after {
  content: ""; position: absolute;
  left: 0; bottom: 0; width: 22px; height: 1px;
  background: var(--fg-champagne);
}
.col-brand .brand-logo img { height: 38px; display: block; margin-bottom: 24px; }
.col-brand .brand-mission {
  font-family: var(--fg-font-display);
  font-size: 16px; line-height: 1.5;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
  margin: 0 0 24px;
  max-width: 320px;
}
.col-brand .brand-mission em {
  font-style: italic; color: var(--fg-champagne);
}
.col-brand .contact-row {
  display: flex; flex-direction: column;
  gap: 10px;
  font-size: 13px; line-height: 1.55;
  color: rgba(255,255,255,0.7);
}
.col-brand .contact-row a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 220ms ease;
}
.col-brand .contact-row a:hover { color: var(--fg-champagne); }
.col-brand .contact-row .label {
  font-family: var(--fg-font-display);
  font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,225,182,0.55);
  margin-right: 10px;
  display: inline-block; min-width: 60px;
}
/* opening hours removed everywhere (PC + mobile) */
.col-brand .contact-row > div:has(.hours) { display: none; }
.col-brand .contact-row .hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  margin-top: 4px;
}
.col-brand .contact-row .hours .day {
  font-family: var(--fg-font-body);
  font-size: 12px;
  color: rgba(255, 225, 182, 0.7);
  letter-spacing: 0.06em;
}
.col-brand .contact-row .hours .h {
  font-family: var(--fg-font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.04em;
}
.col-brand .book-link,
.footer-letter .book-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 225, 182, 0.4);
  border-radius: 999px;
  color: var(--fg-champagne);
  text-decoration: none;
  font-family: var(--fg-font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 240ms cubic-bezier(0.22, 1, 0.36, 1);
  align-self: flex-start;
}
.col-brand .book-link:hover,
.footer-letter .book-link:hover {
  background: var(--fg-champagne);
  color: var(--fg-navy);
  border-color: var(--fg-champagne);
}
.col-brand .book-link .dia,
.footer-letter .book-link .dia {
  width: 5px; height: 5px;
  background: currentColor;
  transform: rotate(45deg);
  transition: transform 280ms ease;
}
.col-brand .book-link:hover .dia,
.footer-letter .book-link:hover .dia { transform: rotate(225deg); }

/* WhatsApp — placé sous « Prendre rendez-vous » dans la colonne contact (PC + mobile) */
.footer-legal .socials .wa-social { display: none; }
.footer-letter .wa-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-top: 16px;
  border-radius: 50%; background: none; border: none; text-decoration: none;
  box-shadow: 0 8px 20px -6px rgba(37, 211, 102, 0.5);
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.footer-letter .wa-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -6px rgba(37, 211, 102, 0.6); }
.footer-letter .wa-btn img { width: 100%; height: 100%; display: block; border-radius: 50%; }
/* mobile: drop the redundant CTA under "Nous contacter" (signoff CTA stays) */
@media (max-width: 768px) {
  .footer-letter .book-link { display: none; }
}
.footer-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: color 220ms ease;
  display: inline-flex; align-items: center; gap: 10px;
}
.footer-nav a::before {
  content: "";
  width: 0; height: 1px;
  background: var(--fg-champagne);
  transition: width 240ms ease;
}
.footer-nav a:hover { color: #fff; }
.footer-nav a:hover::before { width: 14px; }
.footer-letter .letter-blurb {
  font-size: 13px; line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin: 0 0 22px;
  max-width: 280px;
}
.letter-form {
  position: relative;
  border-bottom: 1px solid rgba(255, 225, 182, 0.4);
  transition: border-color 240ms ease;
}
.letter-form:focus-within { border-bottom-color: var(--fg-champagne); }
.letter-form input {
  width: 100%; background: transparent; border: 0;
  padding: 12px 36px 12px 0;
  font-family: var(--fg-font-body);
  font-size: 14px; color: #fff; outline: none;
}
.letter-form input::placeholder { color: rgba(255,255,255,0.4); }
.letter-form button {
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  background: transparent; border: 0;
  color: var(--fg-champagne);
  width: 32px; height: 32px; cursor: pointer;
  display: grid; place-items: center;
  transition: transform 240ms ease;
}
.letter-form button:hover { transform: translateY(-50%) translateX(4px); }
.letter-form button svg { width: 18px; height: 18px; }

.footer-regul {
  position: relative; z-index: 2;
  padding: 22px 56px;
  display: flex; justify-content: space-between; gap: 32px;
  font-size: 11px; line-height: 1.55;
  color: rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255, 225, 182, 0.12);
}
.footer-regul .body { max-width: 880px; }
.footer-regul .badges {
  display: inline-flex; gap: 10px; flex-shrink: 0;
}
.footer-regul .badge {
  border: 1px solid rgba(255, 225, 182, 0.22);
  padding: 6px 12px; border-radius: 4px;
  font-family: var(--fg-font-display);
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--fg-champagne);
}
.footer-legal {
  position: relative; z-index: 2;
  padding: 24px 56px 22px;
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 32px;
  font-size: 11px; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
}
.footer-legal .copyright {
  display: inline-flex; align-items: center; gap: 14px;
}
.footer-legal .copyright .dia {
  display: inline-block; width: 4px; height: 4px;
  background: var(--fg-champagne); transform: rotate(45deg);
}
.footer-legal nav.legal-links {
  display: inline-flex; align-items: center; gap: 28px;
  justify-content: center;
}
.footer-legal nav.legal-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 220ms ease;
}
.footer-legal nav.legal-links a:hover { color: var(--fg-champagne); }
.footer-legal .socials {
  display: inline-flex; gap: 12px; justify-content: flex-end;
}
.footer-legal .socials a {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 225, 182, 0.25);
  border-radius: 999px;
  color: rgba(255,255,255,0.65);
  transition: all 220ms ease;
}
.footer-legal .socials a:hover {
  color: var(--fg-navy);
  background: var(--fg-champagne);
  border-color: var(--fg-champagne);
}
.footer-legal .socials svg { width: 14px; height: 14px; }


/* ============================================================
   Responsive — at <980px collapse the heavy grids
   ============================================================ */
@media (max-width: 980px) {
  .hero { padding: 140px 28px 96px; min-height: auto; }
  .manifesto { padding: 96px 28px; }
  .manifesto-inner { grid-template-columns: 1fr; gap: 28px; }
  .manifesto h2 { font-size: 38px; }
  .conductor { padding: 96px 28px; }
  .conductor-head { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
  .conductor-head h2 { font-size: 36px; }
  .conductor-subs { grid-template-columns: 1fr; gap: 40px; }
  .expertises { padding: 96px 0; }
  .expertises-head { grid-template-columns: 1fr; padding: 0 28px 28px; }
  .expertises-head h2 { font-size: 36px; }
  .progress, .expertises-foot { padding-left: 28px; padding-right: 28px; }
  .carousel { padding-left: 28px; padding-right: 28px; scroll-padding-left: 28px; }
  .card { flex-basis: 86%; height: 480px; padding: 40px 32px; }
  .card-body h3 { font-size: 36px; }
  .ghost-num { font-size: 280px; }
  .team { padding: 96px 28px; }
  .team-head h2 { font-size: 36px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .clients { padding: 96px 28px; }
  .clients-head h2 { font-size: 34px; }
  .clients-head { margin-bottom: 52px; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .team-info .role { white-space: normal; }
  .closing { padding: 80px 28px; }
  .closing h2 { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; padding: 64px 28px; }
  .footer-legal { grid-template-columns: 1fr; padding: 24px 28px; }
  .footer-legal .copyright, .footer-legal .socials { justify-content: center; }
  .diamond-stage { width: 280px; height: 280px; }
}

@media (max-width: 560px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .team-info h3 { font-size: 22px; }
  /* footer collapses to a single column + opening hours removed (decided) */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .col-brand .contact-row > div:has(.hours) { display: none; }
  .partners { padding: 64px 0; }
  .partners-sub { font-size: 17px; }
  .marquee-track { gap: 48px; }
  .partner-logo { font-size: 24px; }
  .clients-grid { grid-template-columns: 1fr; }
}
