/* =========================================================
   HEXAGONE — Design System
   Couleurs : Navy #243367 · Gris #8B8B8C · Fond #FCFAF1 · Blanc #FFFFFF
   Typo    : DM Serif Display (titres) · Poppins (corps)
   ========================================================= */

:root {
  --navy: #243367;
  --navy-90: rgba(36, 51, 103, 0.9);
  --navy-60: rgba(36, 51, 103, 0.6);
  --navy-30: rgba(36, 51, 103, 0.3);
  --navy-15: rgba(36, 51, 103, 0.15);
  --navy-08: rgba(36, 51, 103, 0.08);
  --navy-04: rgba(36, 51, 103, 0.04);

  --gray: #8B8B8C;
  --gray-soft: #C9C9CA;

  --bg: #FCFAF1;
  --bg-warm: #FAF6E8;
  --white: #FFFFFF;

  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Poppins', system-ui, -apple-system, sans-serif;

  --container: 1280px;
  --pad: clamp(1.25rem, 4vw, 3rem);

  --radius-sm: 8px;
  --radius: 18px;
  --radius-lg: 28px;

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

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  background: var(--bg);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

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

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

/* ------- Typo helpers ------- */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.h2--light { color: var(--bg); }

.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.15;
  color: var(--navy);
}

.lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--navy-60);
  max-width: 62ch;
  line-height: 1.7;
  font-weight: 400;
}
.lead--light { color: rgba(252, 250, 241, 0.75); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.35));
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    0 8px 24px -10px rgba(36,51,103,0.18),
    inset 0 1px 0 rgba(255,255,255,0.8);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.eyebrow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(36,51,103,0.06), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--navy);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.section-label__num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--navy);
  opacity: 0.4;
  letter-spacing: 0;
}
.section-label--light { color: var(--bg); }
.section-label--light .section-label__num { color: var(--bg); }

/* ------- Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.95rem 1.6rem;
  border-radius: 100px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: var(--navy);
  color: var(--bg);
}
.btn--primary:hover {
  background: #1a2750;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px var(--navy-30);
}

.btn--ghost {
  color: var(--navy);
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.35));
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    0 8px 24px -10px rgba(36,51,103,0.18),
    inset 0 1px 0 rgba(255,255,255,0.8);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.btn--ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(36,51,103,0.06), transparent 60%);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.4s var(--ease);
}
.btn--ghost:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
  border-color: rgba(255,255,255,0.85);
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px -10px rgba(36,51,103,0.25),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.btn--light {
  background: var(--bg);
  color: var(--navy);
}
.btn--light:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.3);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease);
}
.link-arrow svg { width: 14px; height: 14px; }
.link-arrow:hover { gap: 0.9rem; }

/* ------- Scroll progress ------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--navy);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 1rem;
  transition: top 0.4s var(--ease);
}
.nav.is-scrolled {
  top: 0.7rem;
}
.nav__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0.55rem 0.55rem 0.55rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.35));
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    0 8px 24px -10px rgba(36,51,103,0.18),
    inset 0 1px 0 rgba(255,255,255,0.8);
  transition: box-shadow 0.4s var(--ease);
  position: relative;
  isolation: isolate;
}
.nav__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(36,51,103,0.05), transparent 60%);
  pointer-events: none;
  z-index: -1;
  border-radius: inherit;
}
.nav.is-scrolled .nav__inner {
  box-shadow:
    0 14px 36px -12px rgba(36,51,103,0.25),
    inset 0 1px 0 rgba(255,255,255,0.9);
}
.nav__logo img { height: 32px; width: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.86rem;
  font-weight: 400;
}
.nav__menu a {
  position: relative;
  color: var(--navy);
  transition: color 0.3s;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--navy);
  transition: width 0.4s var(--ease);
}
.nav__menu a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.83rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--bg);
  transition: all 0.3s var(--ease);
}
.nav__cta svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nav__cta:hover { background: #1a2750; }
.nav__cta:hover svg { transform: translateX(3px); }

.nav__menu-cta {
  display: none;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__burger span {
  width: 22px; height: 1.5px;
  background: var(--navy);
  transition: 0.3s;
}

@media (max-width: 860px) {
  .nav__menu {
    display: none;
    position: fixed;
    top: calc(0.7rem + 56px + 0.5rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.4rem 1.4rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    border: 1px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-radius: 18px;
    box-shadow: 0 18px 40px -12px rgba(36,51,103,0.25);
    z-index: 99;
    font-size: 1rem;
  }
  .nav__menu.is-open {
    display: flex;
  }
  .nav__menu a {
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--navy-08);
    color: var(--navy);
  }
  .nav__menu a:not(.nav__menu-cta):last-child {
    border-bottom: none;
  }
  .nav__menu a:not(.nav__menu-cta)::after { display: none; }

  .nav__menu-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.83rem;
    font-weight: 500;
    padding: 0.95rem 1rem !important;
    border-radius: 12px;
    background: var(--navy);
    color: #FFF !important;
    border: none;
    margin-top: 0.4rem;
    border-top: 1px solid var(--navy-08);
    text-decoration: none;
    min-height: 2.2rem;
  }
  .nav__menu-cta span {
    color: #FFF !important;
    display: inline;
  }
  .nav__menu-cta:hover {
    background: #1a2750;
  }
  .nav__menu-cta svg {
    width: 14px;
    height: 14px;
    color: #FFF;
    stroke: #FFF;
    transition: transform 0.3s var(--ease);
    flex-shrink: 0;
  }
  .nav__menu-cta:hover svg {
    transform: translateX(3px);
  }

  .nav__cta { display: none; }

  .nav__burger { display: flex; }
  .nav__burger[aria-expanded="true"] span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }
  .nav__burger[aria-expanded="true"] span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }

  .hero {
    padding: 9rem 0 5rem;
  }

  .hero__logos {
    margin-top: 1rem;
  }

  .hero__logos.reveal,
  .hero__logos.reveal.is-visible {
    animation: none !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}
@media (max-width: 480px) {
  .nav__cta span { display: none; }
  .nav__cta { padding: 0.5rem 0.6rem; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 3rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(36, 51, 103, 0.18) 1.2px, transparent 1.6px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 50% 45%, black 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, black 15%, transparent 78%);
}
.hero__mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.6;
  animation: meshFloat 22s ease-in-out infinite;
}
.hero__mesh--1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(36,51,103,0.32), transparent 70%);
  top: -140px; right: -120px;
}
.hero__mesh--2 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(139,139,140,0.28), transparent 70%);
  bottom: -160px; left: -100px;
  animation-delay: -7s;
}
.hero__mesh--3 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(74,95,163,0.22), transparent 70%);
  top: 40%; left: 35%;
  animation-delay: -12s;
}
@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.1); }
}
.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.14 0 0 0 0 0.2 0 0 0 0 0.4 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero__content {
  position: relative;
  max-width: 1280px;
}
.hero__content .eyebrow { margin: 0 auto; }
.hero__content .hero__title {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.hero__content .hero__lead {
  margin-left: auto;
  margin-right: auto;
}
.hero__content .hero__cta {
  justify-content: center;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.9vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 1.8rem 0 2rem;
}
.hero__title em,
.conviction__text h2 em {
  font-style: italic;
  background: linear-gradient(120deg, #8B8B8C 0%, var(--navy) 70%, #4a5fa3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  padding-right: 0.12em;
  padding-left: 0.02em;
  margin-right: -0.08em;
  margin-left: -0.02em;
}
.hero__title-accent {
  display: inline-block;
  position: relative;
  padding-bottom: 0.15em;
}
.hero__underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1em;
  width: 100%;
  height: 0.4em;
  color: var(--navy);
  opacity: 0.55;
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  animation: drawLine 1.6s var(--ease-out) 0.8s forwards;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.hero__lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--navy-60);
  max-width: 72ch;
  margin-bottom: 2.5rem;
  font-weight: 400;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 3rem;
}

.hero__logos {
  margin-top: 5rem;
}
.hero__logos-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-60);
  margin-bottom: 1.3rem;
}
.hero__logos-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  flex-wrap: nowrap;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .hero__logos-row { flex-wrap: wrap; justify-content: center; }
}
.hero__logos-row img {
  height: auto;
  width: auto;
  max-height: 26px;
  filter: brightness(0);
  opacity: 0.4;
  transition: opacity 0.3s var(--ease);
}
.hero__logos-row img:hover { opacity: 0.75; }
.hero__logos-more {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.85rem;
  color: #000;
  opacity: 0.4;
  white-space: nowrap;
  letter-spacing: 0.01em;
  transition: opacity 0.3s var(--ease);
}
.hero__logos-more:hover { opacity: 0.75; }
.hero__logos-row img[src*="flexpme"]    { max-height: 24px; }
.hero__logos-row img[src*="multiloc"]   { max-height: 26px; }
.hero__logos-row img[src*="northstone"] { max-height: 18px; }
.hero__logos-row img[src*="square"]     { max-height: 32px; }
.hero__logos-row img[src*="pentagone"]  { max-height: 32px; }

.hero__trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--navy-08);
  max-width: 440px;
}
.hero__trust-avatars {
  display: flex;
  align-items: center;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: var(--sans);
  border: 2px solid var(--bg);
  margin-left: -10px;
  box-shadow: 0 2px 8px rgba(36,51,103,0.12);
}
.avatar:first-child { margin-left: 0; }
.avatar--1 { background: var(--navy); color: var(--bg); }
.avatar--2 { background: #4a5fa3; color: var(--bg); font-size: 1rem; }
.avatar--3 {
  background: var(--bg-warm);
  color: var(--navy);
  font-size: 1.1rem;
  font-family: var(--serif);
}
.hero__trust-text {
  font-size: 0.82rem;
  color: var(--navy-60);
  line-height: 1.5;
  font-weight: 400;
}
.hero__trust-text strong {
  color: var(--navy);
  font-weight: 500;
}

/* ---- Composition visuelle à droite ---- */
.hero__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 480px;
  max-height: 620px;
  transform: translateX(8%);
}
@media (max-width: 980px) {
  .hero__visual {
    max-width: 520px;
    margin: 0 auto;
    min-height: 420px;
    transform: none;
  }
}
@media (max-width: 540px) {
  .hero__visual { min-height: 340px; }
}

.hero__hex {
  position: absolute;
  color: var(--navy-15);
}
.hero__hex--big {
  width: 100%;
  height: 100%;
  inset: 0;
  animation: spin 80s linear infinite;
  color: var(--navy-08);
}
.hero__hex--small {
  width: 38%;
  height: 38%;
  top: 8%;
  right: 8%;
  animation: spin 35s linear infinite reverse;
  color: var(--navy-15);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero__dots {
  position: absolute;
  bottom: 8%;
  left: 6%;
  display: grid;
  grid-template-columns: repeat(3, 8px);
  gap: 10px;
  opacity: 0.5;
}
.hero__dots span {
  width: 5px; height: 5px;
  background: var(--navy);
  border-radius: 50%;
}

/* Float cards */
.float-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--navy-08);
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  box-shadow:
    0 10px 30px -10px var(--navy-15),
    0 4px 10px -4px rgba(36,51,103,0.06);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: floatY 6s ease-in-out infinite;
  transition: transform 0.4s var(--ease);
  z-index: 2;
}
.float-card:hover { transform: translateY(-4px) scale(1.03); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Carte stat principale */
.float-card--stat {
  top: 6%;
  left: -4%;
  padding: 1rem 1.3rem;
  animation-delay: 0s;
}
.float-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-card__icon svg { width: 18px; height: 18px; }
.float-card__value {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--navy);
}
.float-card__sub {
  font-size: 0.72rem;
  color: var(--navy-60);
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.float-card__spark {
  width: 50px;
  height: 22px;
  color: var(--navy);
  opacity: 0.7;
  margin-left: 4px;
}

/* Cartes logos */
.float-card--logo {
  padding: 0.7rem 1rem;
}
.float-card__logo {
  width: 56px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.float-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* Les PNG des sociétés sont blancs → on les colore en navy via mask-image */
.float-card--flexpme    .float-card__logo img,
.float-card--multiloc   .float-card__logo img,
.float-card--northstone .float-card__logo img,
.float-card--square     .float-card__logo img,
.float-card--pentagone  .float-card__logo img {
  opacity: 0;
}
.float-card--flexpme    .float-card__logo::after,
.float-card--multiloc   .float-card__logo::after,
.float-card--northstone .float-card__logo::after,
.float-card--square     .float-card__logo::after,
.float-card--pentagone  .float-card__logo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  pointer-events: none;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
}
.float-card--flexpme .float-card__logo::after {
  -webkit-mask-image: url("assets/logos/companies/logo-flexpme.png");
          mask-image: url("assets/logos/companies/logo-flexpme.png");
}
.float-card--multiloc .float-card__logo::after {
  -webkit-mask-image: url("assets/logos/companies/logo-multiloc.png");
          mask-image: url("assets/logos/companies/logo-multiloc.png");
}
.float-card--northstone .float-card__logo::after {
  -webkit-mask-image: url("assets/logos/companies/logo-northstone.png");
          mask-image: url("assets/logos/companies/logo-northstone.png");
}
.float-card--square .float-card__logo::after {
  -webkit-mask-image: url("assets/logos/companies/logo-square.png");
          mask-image: url("assets/logos/companies/logo-square.png");
}
.float-card--pentagone .float-card__logo::after {
  -webkit-mask-image: url("assets/logos/companies/logo-pentagone.png");
          mask-image: url("assets/logos/companies/logo-pentagone.png");
}
.float-card__tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-60);
  padding-left: 0.7rem;
  border-left: 1px solid var(--navy-08);
}

.float-card--flexpme {
  top: 10%;
  right: -2%;
  animation-delay: -2s;
}
.float-card--multiloc {
  top: 44%;
  left: 6%;
  animation-delay: -4s;
}
.float-card--northstone {
  bottom: 35%;
  right: 6%;
  animation-delay: -1s;
}
.float-card--square {
  top: 30%;
  right: 22%;
  animation-delay: -1.5s;
}
.float-card--formation {
  bottom: 10%;
  left: 12%;
  animation-delay: -3.5s;
}
.float-card--pentagone {
  bottom: 16%;
  right: 30%;
  animation-delay: -2.5s;
}

/* Logos fictifs (icône + wordmark serif) */
.float-card__logo--mock {
  width: auto;
  height: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
}
.mock-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--navy);
}
.mock-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* Badge localisation */
.float-card--badge {
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.65rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  animation-delay: -3s;
  white-space: nowrap;
}
.float-card--badge:hover { transform: translateX(-50%) translateY(-4px) scale(1.03); }

.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
  flex-shrink: 0;
}
.status-dot::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #4ade80;
  opacity: 0.4;
  animation: ping 2s ease-out infinite;
}

/* Responsive : on cache certaines cartes en petit écran */
@media (max-width: 540px) {
  .float-card__spark { display: none; }
  .float-card--stat { left: -2%; padding: 0.7rem 0.9rem; }
  .float-card__value { font-size: 1.1rem; }
  .float-card--badge { font-size: 0.74rem; padding: 0.5rem 0.9rem; }
  .float-card--logo .float-card__tag { display: none; }
  .float-card__logo { width: 50px; }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: var(--pad);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-60);
  font-weight: 500;
  z-index: 3;
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: var(--navy-15);
  position: relative;
  overflow: hidden;
}
.hero__scroll-dot {
  position: absolute;
  width: 1px;
  height: 12px;
  background: var(--navy);
  top: -12px;
  animation: scroll-down 2.4s ease-in-out infinite;
}
@keyframes scroll-down {
  0%   { top: -12px; }
  100% { top: 50px;  }
}

/* ============ MARQUEE LOGOS ============ */
.marquee-section {
  padding: 2.5rem 0 2.2rem;
  background: var(--navy);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.marquee-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(252,250,241,0.05), transparent 45%),
    radial-gradient(circle at 85% 50%, rgba(252,250,241,0.05), transparent 45%);
  pointer-events: none;
}
.marquee-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(252,250,241,0.65);
  margin-bottom: 1.3rem;
  position: relative;
}
.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-right: 4rem;
}
.marquee__item {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.marquee__item img {
  max-height: 38px;
  width: auto;
  opacity: 0.85;
  filter: brightness(0) invert(1);
  transition: all 0.4s var(--ease);
}
/* Équilibrage visuel des logos (chacun a son propre poids visuel) */
.marquee__item img[src*="flexpme"]    { max-height: 36px; }
.marquee__item img[src*="multiloc"]   { max-height: 40px; }
.marquee__item img[src*="northstone"] { max-height: 26px; }
.marquee__item img[src*="square"]     { max-height: 50px; }
.marquee__item img[src*="pentagone"]  { max-height: 50px; }
.marquee__item:hover img {
  opacity: 1;
  transform: scale(1.05);
}
.marquee__placeholder {
  min-width: 130px;
  height: 60px;
  border: 1px dashed rgba(252,250,241,0.2);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(252,250,241,0.4);
  background: rgba(252,250,241,0.03);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============ STATS ============ */
.stats {
  padding: 7rem 0 6rem;
}
.stats__head {
  max-width: 700px;
  margin-bottom: 5rem;
}
.stats__head .h2 { margin-bottom: 1.5rem; }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}
@media (max-width: 1000px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .stats__grid { grid-template-columns: 1fr; }
}

.stat {
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.35));
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 24px -10px rgba(36,51,103,0.18);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(36, 51, 103, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  z-index: -1;
}
.stat:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.9);
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
  box-shadow: 0 18px 40px -10px rgba(36,51,103,0.28);
}
.stat:hover::before { opacity: 1; }

.stat__value {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 4.5vw, 3.6rem);
  line-height: 1;
  color: var(--navy);
  margin-bottom: 0.8rem;
  position: relative;
}
.stat__plus {
  font-family: var(--serif);
  font-size: 0.7em;
  font-weight: 400;
  vertical-align: 0.05em;
  margin-right: 2px;
  color: var(--gray);
}
.stat__label {
  font-size: 0.92rem;
  color: var(--navy-60);
  line-height: 1.4;
  position: relative;
}

/* ============ COMPANIES ============ */
.companies {
  padding: 6rem 0;
  background:
    radial-gradient(ellipse 60% 50% at 12% 18%, rgba(139, 139, 140, 0.20), transparent 70%),
    radial-gradient(ellipse 55% 45% at 88% 82%, rgba(36, 51, 103, 0.18), transparent 70%),
    radial-gradient(ellipse 70% 40% at 60% 50%, rgba(74, 95, 163, 0.06), transparent 80%),
    linear-gradient(135deg, #FFFFFF 0%, #F5F6FA 100%);
  position: relative;
}
.companies__head {
  max-width: 800px;
  margin-bottom: 4rem;
}
.companies__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 980px) {
  .companies__grid { grid-template-columns: 1fr; }
}

.company {
  background: var(--navy);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease);
  border: 1px solid rgba(252,250,241,0.06);
}
.company::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(252,250,241,0.06), transparent 50%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.company:hover {
  transform: translateY(-6px);
  border-color: rgba(252,250,241,0.18);
  background: #1a2750;
  box-shadow: 0 30px 60px -20px rgba(36,51,103,0.5);
}
.company:hover::after { opacity: 1; }

/* === Override : cartes entreprises page (cartes cream + logos couleurs) === */
.companies-full .company {
  background: var(--bg);
  color: var(--navy);
  border: 1px solid var(--navy-08);
}
.companies-full .company::after {
  background: radial-gradient(circle at 30% 30%, var(--navy-04), transparent 50%);
}
.companies-full .company:hover {
  border-color: var(--navy-15);
  background: var(--white);
  box-shadow: 0 30px 60px -20px var(--navy-30);
}

.company__head {
  margin-bottom: 1.8rem;
}
.company__sector {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(252,250,241,0.55);
  line-height: 1.4;
  min-height: 2.8em;
}
.companies-full .company__sector { color: var(--navy-60); }
.company__logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 1.5rem 0 0.5rem;
  height: 80px;
  width: 80%;
}
.company__logo img {
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  transition: transform 0.4s var(--ease);
}
/* === Hauteur calibrée pour équilibre visuel des logos (entreprises page) === */
.companies-full .company__logo img[src*="flexpme"]    { max-height: 40px; }
.companies-full .company__logo img[src*="multiloc"]   { max-height: 36px; }
.companies-full .company__logo img[src*="northstone"] { max-height: 24px; }
.companies-full .company__logo img[src*="square"]     { max-height: 70px; }
.companies-full .company__logo img[src*="gestimmo"]   { max-height: 40px; }
.companies-full .company__logo img[src*="pentagone"]  { max-height: 80px; }
.companies-full .company__logo img[src*="cube"]       { max-height: 38px; }
.companies-full .company__logo img[src*="atelier51"]  { max-height: 64px; }
.companies-full .company__logo img[src*="mecatec"]    { max-height: 72px; }
.company:hover .company__logo img {
  transform: scale(1.04);
}

/* === Logos home : mask-image cream sur cartes navy === */
.companies .company__logo img {
  opacity: 0;
}
.companies .company__logo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  pointer-events: none;
  -webkit-mask-position: left center;
          mask-position: left center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: contain;
          mask-size: contain;
  transition: transform 0.4s var(--ease);
}
.companies .company__logo:has(img[src*="flexpme"])::after {
  -webkit-mask-image: url("assets/logos/companies/logo-flexpme.png");
          mask-image: url("assets/logos/companies/logo-flexpme.png");
  -webkit-mask-size: auto 40px;
          mask-size: auto 40px;
}
.companies .company__logo:has(img[src*="multiloc"])::after {
  -webkit-mask-image: url("assets/logos/companies/logo-multiloc.png");
          mask-image: url("assets/logos/companies/logo-multiloc.png");
  -webkit-mask-size: auto 36px;
          mask-size: auto 36px;
}
.companies .company__logo:has(img[src*="northstone"])::after {
  -webkit-mask-image: url("assets/logos/companies/logo-northstone.png");
          mask-image: url("assets/logos/companies/logo-northstone.png");
  -webkit-mask-size: auto 24px;
          mask-size: auto 24px;
}
.companies .company:hover .company__logo::after {
  transform: scale(1.04);
}
.company__desc {
  font-size: 0.92rem;
  color: rgba(252,250,241,0.7);
  line-height: 1.7;
  margin: 0.5rem 0 1.5rem;
  flex: 1;
  font-weight: 400;
}
.companies-full .company__desc { color: var(--navy-60); }
.company__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(252,250,241,0.12);
}
.companies-full .company__foot { border-top: 1px solid var(--navy-08); }
.company__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--bg);
  transition: gap 0.3s var(--ease);
}
.companies-full .company__link { color: var(--navy); }
.company__link svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.company__link:hover { gap: 0.7rem; }
.company__link:hover svg { transform: translate(2px, -2px); }

.company__location {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(252,250,241,0.5);
}
.companies-full .company__location { color: var(--gray); }

.companies__cta {
  margin-top: 3rem;
  text-align: center;
}

/* ============ FRAMEWORK ============ */
.framework {
  padding: 7rem 0;
  background: linear-gradient(180deg, #243367 0%, #2E3C6B 55%, #39456E 100%);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.framework::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(252,250,241,0.04), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(252,250,241,0.04), transparent 50%);
  pointer-events: none;
}
.framework__head {
  max-width: 800px;
  margin-bottom: 5rem;
  position: relative;
}
.framework__head .h2 { margin-bottom: 1.5rem; }

.framework__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(252,250,241,0.1);
  border: 1px solid rgba(252,250,241,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
@media (max-width: 1100px) {
  .framework__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .framework__grid { grid-template-columns: 1fr; }
}

.pillar {
  background: var(--navy);
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: background 0.4s var(--ease);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.pillar:hover {
  background: #1a2750;
}
.pillar__num {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: rgba(252,250,241,0.4);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
}
.pillar__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(252,250,241,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--bg);
  transition: all 0.4s var(--ease);
}
.pillar__icon svg { width: 22px; height: 22px; }
.pillar:hover .pillar__icon {
  background: var(--bg);
  color: var(--navy);
  transform: rotate(-6deg);
}
.pillar__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--bg);
}
.pillar__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(252,250,241,0.7);
}

/* ============ CONVICTION ============ */
.conviction {
  padding: 7rem 0;
  background: var(--bg);
}
.conviction__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.conviction__text {
  max-width: none;
}
.conviction__text .h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.9rem, 4.3vw, 3.6rem);
}
.conviction__text .lead {
  margin: 0 0 2rem;
  max-width: 52ch;
}
.conviction__image {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #E4E4E6 0%, #D3D5D9 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid var(--navy-08);
}
.conviction__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.conviction__image-label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-60);
}
@media (max-width: 900px) {
  .conviction__top {
    grid-template-columns: 1fr;
  }
  .conviction__image {
    aspect-ratio: 16 / 10;
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
  }
}

.real-estate {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.35));
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    0 8px 24px -10px rgba(36,51,103,0.18),
    inset 0 1px 0 rgba(255,255,255,0.8);
}
@media (max-width: 900px) {
  .real-estate {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

.real-estate__text h3 {
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 3vw, 2.8rem);
}
.real-estate__text p {
  color: var(--navy-60);
  margin-bottom: 1.8rem;
  line-height: 1.7;
}

.map {
  position: relative;
  aspect-ratio: 5 / 4;
  background: #EEEEEE;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--navy-08);
}
.map__leaflet {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #F2F1ED;
}

/* Désaturer/éclaircir un peu les tuiles pour rester cohérent */
.map__leaflet .leaflet-tile-pane {
  filter: grayscale(100%) brightness(1.02) contrast(0.95);
}
.map__leaflet .leaflet-control-attribution {
  font-size: 9px;
  background: rgba(255,255,255,0.7);
  color: var(--navy-60);
  padding: 2px 6px;
  border-radius: 6px 0 0 0;
}
.map__leaflet .leaflet-control-attribution a { color: var(--navy); }

.map__leaflet .leaflet-control-zoom {
  border: none;
  box-shadow: 0 6px 18px -8px var(--navy-30);
  border-radius: 10px;
  overflow: hidden;
  margin: 12px;
}
.map__leaflet .leaflet-control-zoom a {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--navy-08);
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-weight: 400;
  font-family: var(--sans);
  transition: background 0.2s;
}
.map__leaflet .leaflet-control-zoom a:hover {
  background: var(--bg);
}
.map__leaflet .leaflet-control-zoom a:first-child {
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}
.map__leaflet .leaflet-control-zoom a:last-child {
  border-radius: 0 0 10px 10px;
}

/* Marker custom navy */
.hex-marker {
  position: relative;
  width: 16px !important;
  height: 16px !important;
  margin-left: -8px !important;
  margin-top: -8px !important;
}
.hex-marker__dot {
  position: absolute;
  inset: 0;
  background: var(--navy);
  border: 2px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 4px 12px -2px rgba(36,51,103,0.45);
  z-index: 2;
}
.hex-marker__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.35;
  animation: ping 2.4s ease-out infinite;
}
.hex-marker--2 .hex-marker__pulse { animation-delay: -0.8s; }
.hex-marker--3 .hex-marker__pulse { animation-delay: -1.6s; }
@keyframes ping {
  0%   { transform: scale(1);   opacity: 0.35; }
  100% { transform: scale(2.6); opacity: 0;    }
}
.hex-marker__label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  background: var(--white);
  color: var(--navy);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 500;
  font-family: var(--sans);
  white-space: nowrap;
  box-shadow: 0 6px 18px -6px var(--navy-30);
  border: 1px solid var(--navy-08);
  pointer-events: none;
}

.map__caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-60);
  background: rgba(255,255,255,0.85);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  border: 1px solid var(--navy-08);
  z-index: 500;
  pointer-events: none;
}

/* ============ CTA FINAL ============ */
.cta {
  padding: 7rem 0;
  background:
    radial-gradient(ellipse 60% 50% at 12% 18%, rgba(139, 139, 140, 0.20), transparent 70%),
    radial-gradient(ellipse 55% 45% at 88% 82%, rgba(36, 51, 103, 0.18), transparent 70%),
    radial-gradient(ellipse 70% 40% at 60% 50%, rgba(74, 95, 163, 0.06), transparent 80%),
    linear-gradient(135deg, #FFFFFF 0%, #F5F6FA 100%);
  color: var(--navy);
  position: relative;
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(36, 51, 103, 0.18) 1.2px, transparent 1.6px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 80%);
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  text-align: center;
}
.cta__content { width: 100%; }
.cta__content .lead {
  margin: 0 auto 2.5rem;
  max-width: 72ch;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.7;
}
.cta__content .h2 { margin-bottom: 1.5rem; }
.cta__logo {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
}
.cta__hex {
  position: absolute;
  color: var(--navy);
}
.cta__hex--big {
  width: 100%;
  height: 100%;
  inset: 0;
  opacity: 0.55;
  animation: spin 80s linear infinite;
}
.cta__hex--small {
  width: 38%;
  height: 38%;
  top: 8%;
  right: 8%;
  opacity: 0.75;
  animation: spin 35s linear infinite reverse;
}
@media (max-width: 900px) {
  .cta__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .cta__content .lead { margin: 0 auto 2.5rem; }
  .cta__logo {
    justify-content: center;
    margin: 0 auto;
    order: -1;
    max-width: 280px;
  }
}

/* ============ FOOTER ============ */
.footer {
  background: #1a2452;
  color: rgba(252,250,241,0.75);
  padding: 5rem 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 3rem;
  padding-bottom: 4rem;
}
@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; }
}
.footer__brand {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.footer__brand img {
  width: 100%;
  max-width: 180px;
  height: auto;
}
@media (max-width: 800px) {
  .footer__brand {
    justify-content: flex-start;
  }
  .footer__brand img { max-width: 140px; }
}
.footer__col h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  margin-bottom: 1.2rem;
}
.footer__col a, .footer__col p {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
  transition: color 0.3s;
}
.footer__col a:hover { color: var(--bg); }
.footer__addr {
  font-size: 0.85rem;
  opacity: 0.6;
}
.footer__bottom {
  border-top: 1px solid rgba(252,250,241,0.08);
  padding: 1.8rem 0;
  font-size: 0.82rem;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(252,250,241,0.5);
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  animation: revealIn 0.9s var(--ease-out) backwards;
}
@keyframes revealIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
}

/* Stagger inside containers */
.stats__grid    .reveal:nth-child(2).is-visible { animation-delay: 0.08s; }
.stats__grid    .reveal:nth-child(3).is-visible { animation-delay: 0.16s; }
.stats__grid    .reveal:nth-child(4).is-visible { animation-delay: 0.24s; }
.stats__grid    .reveal:nth-child(5).is-visible { animation-delay: 0.32s; }

.companies__grid .reveal:nth-child(2).is-visible { animation-delay: 0.1s; }
.companies__grid .reveal:nth-child(3).is-visible { animation-delay: 0.2s; }

.framework__grid .reveal:nth-child(2).is-visible { animation-delay: 0.07s; }
.framework__grid .reveal:nth-child(3).is-visible { animation-delay: 0.14s; }
.framework__grid .reveal:nth-child(4).is-visible { animation-delay: 0.21s; }
.framework__grid .reveal:nth-child(5).is-visible { animation-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .hero { padding-top: 7rem; }
  .hero__scroll { display: none; }
  .stats, .companies, .framework, .conviction, .cta { padding: 4.5rem 0; }
  .real-estate { padding: 1.5rem; }
  .company { padding: 1.5rem; }
}

/* ============ PAGE ENTREPRISES ============ */
.page-hero {
  position: relative;
  padding: 11rem 0 5rem;
  overflow: hidden;
  background: var(--bg);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.page-hero__bg .hero__mesh--1 { animation: meshFloat 22s ease-in-out infinite; }
.page-hero__bg .hero__mesh--2 { animation-delay: -7s; }
.page-hero__bg .hero__mesh--3 { animation-delay: -12s; }
.page-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1280px;
}
.page-hero__inner .eyebrow {
  margin: 0 auto;
}
.page-hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.9vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 1.8rem 0 2rem;
}
.page-hero__lead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--navy-60);
  line-height: 1.7;
  max-width: 72ch;
  margin: 0 auto;
  font-weight: 400;
}

.companies-full {
  padding: 5rem 0 7rem;
  background: var(--navy);
  position: relative;
}
.companies-full__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 980px) {
  .companies-full__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .companies-full__grid { grid-template-columns: 1fr; }
}

/* Logo en texte (placeholder pour entreprises sans logo) */
.company__logo--text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 80%;
}
.company__logo--text span {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.05;
  padding: 0;
}

/* Wordmark style "logo" pour MLH (Groupe / Services) */
.company__logo--mlh {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: auto;
  gap: 0.15rem;
}
.company__logo-brand {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 2.1rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1;
}
.company__logo-variant {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: var(--navy-60);
  text-transform: uppercase;
  line-height: 1;
}

/* Lien désactivé / muted */
.company__link--muted {
  font-size: 0.92rem;
  color: var(--navy-30);
  font-style: italic;
}

/* État actif dans le menu nav */
.nav__menu a.is-active {
  color: var(--navy);
  font-weight: 500;
}
.nav__menu a.is-active::after {
  width: 100%;
}
.nav__cta.is-active {
  background: #1a2750;
}

/* ============ PAGE CONTACT ============ */
.contact-main {
  padding: 4rem 0 4rem;
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: flex-start;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Colonne gauche : intro + adresses */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-info__intro {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.35;
  color: var(--navy);
  max-width: 28ch;
  margin-bottom: 0.5rem;
}
.contact-block {
  border-top: 1px solid var(--navy-08);
  padding-top: 1.4rem;
}
.contact-block__label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-60);
  margin-bottom: 0.7rem;
}
.contact-block__text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--navy);
}
.contact-block__email {
  color: var(--navy);
  border-bottom: 1px solid var(--navy-15);
  padding-bottom: 1px;
  transition: border-color 0.3s var(--ease);
}
.contact-block__email:hover { border-color: var(--navy); }

/* Colonne droite : formulaire glass */
.contact-form {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    0 14px 40px -20px rgba(36, 51, 103, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.2vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.contact-form__label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-60);
  margin-bottom: 0.2rem;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.form-label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.74rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--navy);
  background-color: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--navy-08);
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  outline: none;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  width: 100%;
  resize: vertical;
}
.form-row textarea {
  min-height: 80px;
  line-height: 1.5;
}
.form-row select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 6l4 4 4-4' stroke='%23243367' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 12px 12px;
  padding-right: 2.2rem;
  cursor: pointer;
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--navy-30);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(36, 51, 103, 0.08);
}
.contact-form__submit {
  align-self: flex-start;
  margin-top: 0.3rem;
}

/* Section carte */
.contact-map-section {
  padding: 1.5rem 0 6rem;
  background: var(--bg);
}

/* ============ PAGE NOS SITES ============ */
.sites-stats {
  padding: 3rem 0 5rem;
  background: var(--bg);
}
.stats__grid--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) {
  .stats__grid--three { grid-template-columns: 1fr; }
}
.stat__unit {
  font-family: var(--serif);
  font-size: 0.55em;
  font-weight: 400;
  margin-left: 2px;
  color: var(--gray);
  vertical-align: 0.15em;
}

/* Lots à louer */
.sites-lots {
  padding: 6rem 0;
  background: var(--bg);
}
.sites-lots__head {
  max-width: 760px;
  margin-bottom: 4rem;
}
.sites-lots__head .h2 {
  margin-bottom: 1.5rem;
  margin-top: 1.2rem;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}
.sites-lots__intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--navy-60);
  max-width: 60ch;
}
.lots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 900px) {
  .lots-grid { grid-template-columns: 1fr; }
}
.lot-card {
  background: var(--white);
  border: 1px solid var(--navy-08);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 2.5vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.lot-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy-15);
  box-shadow: 0 24px 50px -20px rgba(36, 51, 103, 0.18);
}
.lot-card__type {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-60);
}
.lot-card__count {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 0.3rem;
}
.lot-card__count span {
  font-size: 0.45em;
  color: var(--navy-60);
  letter-spacing: -0.005em;
  margin-left: 0.2em;
}
.lot-card__intro {
  font-size: 0.95rem;
  color: var(--navy-60);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1.4rem;
}
.lot-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.lot-card__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--navy-08);
}
.lot-card__list li:last-child {
  padding-bottom: 0;
}
.lot-card__cat {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--navy);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.lot-card__size {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--navy-60);
  text-align: right;
}

/* Site principal */
.sites-main {
  padding: 6rem 0;
  background: var(--white);
}
.sites-main__head {
  max-width: 760px;
  margin-bottom: 3rem;
}
.sites-main__head .h2 {
  margin-bottom: 0;
  margin-top: 1.2rem;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}
.sites-main__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .sites-main__grid { grid-template-columns: 1fr; }
}
.sites-main__pin {
  display: block;
  width: 42px;
  height: 42px;
  color: var(--navy);
  opacity: 0.5;
  margin-bottom: 1.5rem;
}
.sites-main__address {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 1.2rem;
  margin-bottom: 1.5rem;
}
.sites-main__divider {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--navy);
  opacity: 0.4;
  margin-bottom: 1.8rem;
}
.sites-main__desc {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  color: var(--navy-60);
  max-width: 62ch;
  font-weight: 400;
}
.sites-main__map .map {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--navy-08);
  box-shadow: 0 24px 60px -30px rgba(36, 51, 103, 0.3);
}
.sites-main__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s var(--ease);
  transform: scale(1.12);
}
.sites-main__map .map:hover .sites-main__photo {
  transform: scale(1.18);
}

/* Voisins / tenants */
.sites-tenants {
  padding: 6rem 0;
  background: var(--bg);
}
.sites-tenants__head {
  max-width: 760px;
  margin-bottom: 3rem;
}
.sites-tenants__head .h2 {
  margin-bottom: 0;
  margin-top: 1.2rem;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}
.tenants-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 1000px) { .tenants-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .tenants-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .tenants-grid { grid-template-columns: 1fr; } }
.tenant-card {
  background: var(--white);
  border: 1px solid var(--navy-08);
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.4s var(--ease);
  min-height: 120px;
}
.tenant-card:hover {
  transform: translateY(-4px);
  border-color: var(--navy-15);
  box-shadow: 0 18px 40px -20px rgba(36, 51, 103, 0.2);
}
.tenant-card__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.15;
}
.tenant-card__desc {
  font-size: 0.85rem;
  color: var(--navy-60);
  line-height: 1.5;
}
.tenant-card--more {
  background: linear-gradient(135deg, rgba(36, 51, 103, 0.06), rgba(36, 51, 103, 0.02));
  border-color: var(--navy-15);
  position: relative;
  text-decoration: none;
  color: inherit;
}
.tenant-card--more:hover {
  background: linear-gradient(135deg, rgba(36, 51, 103, 0.1), rgba(36, 51, 103, 0.04));
  border-color: var(--navy);
}
.tenant-card--more .tenant-card__name {
  font-size: 2rem;
  color: var(--navy);
}
.tenant-card--more .tenant-card__desc {
  color: var(--navy-60);
  font-style: italic;
}
.tenant-card__link-arrow {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease);
}
.tenant-card__link-arrow svg { width: 14px; height: 14px; }
.tenant-card--more:hover .tenant-card__link-arrow {
  transform: translate(3px, -3px);
}

/* Ce qui fait le lieu */
.sites-place {
  padding: 6rem 0;
  background: var(--white);
}
.sites-place__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .sites-place__grid { grid-template-columns: 1fr; }
}
.sites-place__image {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--navy-08);
  box-shadow: 0 24px 60px -30px rgba(36, 51, 103, 0.3);
}
.sites-place__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sites-place__text .h2 {
  margin-top: 1.2rem;
  margin-bottom: 1.5rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
}

/* Témoignages */
.sites-testimonials {
  padding: 6rem 0;
  background: var(--navy);
  color: var(--bg);
}
.sites-testimonials__head {
  max-width: 760px;
  margin-bottom: 4rem;
}
.sites-testimonials__head .h2 {
  margin-bottom: 0;
  margin-top: 1.2rem;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1000px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: rgba(252, 250, 241, 0.04);
  border: 1px solid rgba(252, 250, 241, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  transition: all 0.4s var(--ease);
}
.testimonial-card:hover {
  background: rgba(252, 250, 241, 0.07);
  border-color: rgba(252, 250, 241, 0.22);
  transform: translateY(-4px);
}
.testimonial-card__quote-mark {
  width: 32px;
  height: 24px;
  color: rgba(252, 250, 241, 0.25);
  flex-shrink: 0;
}
.testimonial-card__quote {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--bg);
  margin: 0;
  flex: 1;
}
.testimonial-card__author {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(252, 250, 241, 0.12);
  font-size: 0.86rem;
  font-style: italic;
  line-height: 1.5;
  color: rgba(252, 250, 241, 0.7);
}

/* CTA buttons row */
.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

/* ============ PAGE À PROPOS ============ */
.about-head {
  max-width: 760px;
  margin-bottom: 4rem;
}
.about-head .h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.1;
}
.about-head .section-label { margin-bottom: 1.2rem; }

/* --- Timeline --- */
.about-timeline {
  padding: 6rem 0;
  background: var(--bg);
}
.timeline-today {
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    0 14px 40px -20px rgba(36,51,103,0.18),
    inset 0 1px 0 rgba(255,255,255,0.8);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.8rem, 3vw, 3rem);
  margin-bottom: 4rem;
  align-items: start;
}
.timeline-today__year {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.2rem, 7vw, 5.2rem);
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.timeline-today__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.8rem;
}
.timeline-today__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--navy-60);
  max-width: 60ch;
}
@media (max-width: 700px) {
  .timeline-today { grid-template-columns: 1fr; }
}

.timeline-divider {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--navy-60);
  text-align: center;
  margin: 0 0 3.5rem;
}

.timeline {
  list-style: none;
  position: relative;
  padding: 0;
  margin: 0 auto;
  max-width: 680px;
  display: flex;
  flex-direction: column-reverse;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--navy-15);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  column-gap: 3rem;
  padding-bottom: 3rem;
}
.timeline-marker {
  position: absolute;
  left: 113px;
  top: 9px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--bg);
  border: 2.5px solid var(--navy);
  z-index: 1;
}
.timeline-year {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.65rem;
  color: var(--navy);
  line-height: 1;
  align-self: start;
  padding-top: 2px;
}
.timeline-content { padding-left: 0.2rem; }
.timeline-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.timeline-content p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--navy-60);
  max-width: 60ch;
}
@media (max-width: 700px) {
  .timeline::before { left: 8px; }
  .timeline-item {
    grid-template-columns: 1fr;
    column-gap: 0;
    padding-left: 2rem;
  }
  .timeline-marker { left: 2px; }
  .timeline-year { font-size: 1.2rem; margin-bottom: 0.4rem; }
}

/* --- Dirigeants --- */
.about-leaders {
  padding: 6rem 0;
  background: var(--navy);
  color: var(--bg);
}
.leader-spotlight {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .leader-spotlight { grid-template-columns: 1fr; gap: 2.5rem; }
}
.leader-spotlight__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
.leader-spotlight__role {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(252, 250, 241, 0.7);
  margin-bottom: 1.2rem;
}
.leader-spotlight__bio {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(252, 250, 241, 0.9);
  margin-bottom: 1.5rem;
}
.leader-spotlight__link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bg);
  text-decoration: none;
  transition: all 0.3s var(--ease);
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid transparent;
}
.leader-spotlight__link:hover {
  gap: 0.9rem;
  border-bottom-color: var(--bg);
}
.leader-spotlight__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}
.leader-spotlight__link:hover svg {
  transform: translate(2px, -2px);
}
.leader-spotlight__quote {
  margin-top: 2.5rem;
  padding: 2rem;
  border-left: 4px solid var(--bg);
  background: rgba(252, 250, 241, 0.05);
  border-radius: 4px;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(252, 250, 241, 0.8);
}
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 800px) {
  .leaders-grid { grid-template-columns: 1fr; }
}
.leader-card {
  background: rgba(252, 250, 241, 0.04);
  border: 1px solid rgba(252, 250, 241, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.8rem;
  transition: all 0.4s var(--ease);
  cursor: pointer;
}
.leader-card:hover {
  background: rgba(252, 250, 241, 0.07);
  border-color: rgba(252, 250, 241, 0.22);
  transform: translateY(-4px);
}
.leader-card:hover .leader-link {
  color: var(--bg);
  border-color: var(--bg);
  gap: 0.7rem;
}
.leader-card:hover .leader-link svg { transform: translateX(3px); }
.leader-card:focus-visible {
  outline: 2px solid var(--bg);
  outline-offset: 4px;
}
.leader-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(252,250,241,0.18), rgba(252,250,241,0.04));
  border: 1px solid rgba(252,250,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.leader-avatar span {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: 0.02em;
  color: var(--bg);
}
.leader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s var(--ease);
}
.leader-card:hover .leader-avatar img {
  transform: scale(1.06);
}
.leader-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.15;
  color: var(--bg);
}
.leader-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: rgba(252, 250, 241, 0.7);
  padding: 0 0 4px 0;
  border: none;
  border-bottom: 1px solid rgba(252, 250, 241, 0.2);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  width: max-content;
  transition: gap 0.3s var(--ease), color 0.3s, border-color 0.3s;
}
.leader-link svg {
  width: 13px;
  height: 13px;
  transition: transform 0.3s var(--ease);
}
.leader-link:hover {
  color: var(--bg);
  border-color: var(--bg);
  gap: 0.7rem;
}
.leader-link:hover svg { transform: translateX(3px); }

/* ============ FOUNDER MODAL ============ */
body.modal-open { overflow: hidden; }

.founder-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.founder-modal[hidden] { display: none; }
.founder-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.founder-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 18, 42, 0.55);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
}
.founder-modal__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  background: var(--bg);
  border-radius: 22px;
  border: 1px solid var(--navy-08);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.55);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s var(--ease);
}
.founder-modal.is-open .founder-modal__panel {
  transform: translateY(0) scale(1);
}
.founder-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--navy-08);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.founder-modal__close:hover {
  background: var(--navy);
  color: var(--bg);
  border-color: var(--navy);
}
.founder-modal__close svg { width: 14px; height: 14px; }

.founder-modal__head {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-right: 2.5rem;
  margin-bottom: 1.8rem;
}
.founder-modal__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--navy-08);
  flex-shrink: 0;
  background: var(--white);
}
.founder-modal__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.founder-modal__title {
  flex: 1;
  min-width: 0;
}
.founder-modal__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.founder-modal__role {
  font-size: 0.82rem;
  color: var(--navy-60);
  line-height: 1.4;
}

.founder-modal__body {
  border-top: 1px solid var(--navy-08);
  padding-top: 1.4rem;
}
.founder-modal__bio {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 1.6rem;
  max-width: 52ch;
}
.founder-modal__section {
  margin-top: 1.4rem;
}
.founder-modal__section:first-of-type { margin-top: 0; }
.founder-modal__subtitle {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-60);
  margin-bottom: 0.7rem;
}
.founder-modal__roles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.founder-modal__roles li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--navy-08);
}
.founder-modal__roles li:first-child {
  border-top: none;
  padding-top: 0.15rem;
}
.founder-modal__role-name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--navy);
  letter-spacing: 0.005em;
  line-height: 1.35;
  flex: 1;
}
.founder-modal__role-year {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--navy-60);
  flex-shrink: 0;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.founder-modal__highlight {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--navy);
  background: rgba(36, 51, 103, 0.04);
  border-left: 2px solid var(--navy);
  padding: 0.8rem 1rem;
  border-radius: 0 8px 8px 0;
}
.founder-modal__highlight strong { font-weight: 500; }

.founder-modal__foot {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--navy-08);
  display: flex;
  justify-content: flex-end;
}
.founder-modal__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--bg);
  background: var(--navy);
  padding: 0.7rem 1.2rem;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}
.founder-modal__linkedin:hover {
  background: #1a2750;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px var(--navy-30);
}
.founder-modal__linkedin svg { width: 16px; height: 16px; }

@media (max-width: 500px) {
  .founder-modal__head { flex-direction: column; align-items: flex-start; gap: 1rem; padding-right: 2.5rem; }
  .founder-modal__timeline li { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* --- Valeurs --- */
.about-values {
  padding: 6rem 0;
  background: var(--bg);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
@media (max-width: 1000px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .values-grid { grid-template-columns: 1fr; }
}
.value-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.4));
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    0 12px 32px -18px rgba(36,51,103,0.15),
    inset 0 1px 0 rgba(255,255,255,0.8);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.2vw, 2.2rem);
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.value-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(36, 51, 103, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  z-index: -1;
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 24px 50px -16px rgba(36,51,103,0.28),
    inset 0 1px 0 rgba(255,255,255,0.95);
}
.value-card:hover::before { opacity: 1; }
.value-card:hover .value-card__line { width: 56px; }
.value-card:hover .value-card__num { color: var(--navy); }

.value-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.value-card__num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--navy);
  opacity: 0.4;
  letter-spacing: -0.01em;
  transition: opacity 0.5s var(--ease), color 0.5s var(--ease);
}
.value-card__line {
  display: block;
  height: 1px;
  width: 28px;
  background: var(--navy);
  opacity: 0.4;
  transition: width 0.5s var(--ease);
}
.value-card__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 1.8vw, 1.7rem);
  color: var(--navy);
  margin-bottom: 0.8rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.value-card__desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--navy-60);
}

.contact-map-embed {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #EEEEEE;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--navy-08);
  box-shadow: 0 24px 60px -30px rgba(36, 51, 103, 0.25);
}
.contact-map-embed .contact-map__leaflet {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-map {
  position: relative;
  aspect-ratio: 16 / 7;
  background: #EEEEEE;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--navy-08);
  box-shadow: 0 24px 60px -30px rgba(36, 51, 103, 0.25);
}
.contact-map__leaflet {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #F2F1ED;
}
@media (max-width: 860px) {
  .page-hero {
    padding: 6rem 0 5rem;
  }
}

@media (max-width: 700px) {
  .contact-map { aspect-ratio: 4 / 5; }
}
