/* =====================================================================
   CENTRE KINÉ LÉMAN — Premium portfolio site
   Studio Nexora · 2026
   Stack : HTML / CSS / GSAP / ScrollTrigger / Lenis
   ===================================================================== */

/* ───────── 1. TOKENS ───────── */
:root {
  /* Couleurs */
  --bg:          #F4F6FA;          /* blanc cassé légèrement bleuté */
  --bg-2:        #FFFFFF;
  --bg-3:        #EAF1F8;          /* glacier ultra clair */
  --glacier:     #DDE9F4;
  --ciel:        #6BA4D1;
  --ciel-soft:   #9EC6EC;
  --ink:         #0E1B2E;          /* noir bleuté profond */
  --ink-2:       #1E3A5F;          /* bleu marine (logo) */
  --ink-3:       #3A5778;
  --muted:       #6B7E94;
  --line:        rgba(14, 27, 46, 0.08);
  --line-strong: rgba(14, 27, 46, 0.16);
  --accent:      #4A90C2;
  --shadow-soft: 0 30px 80px -40px rgba(14, 27, 46, 0.25);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.6) inset,
                 0 24px 60px -24px rgba(14, 27, 46, 0.18),
                 0 2px 6px -2px rgba(14, 27, 46, 0.06);

  /* Type */
  --f-display: "Fraunces", "Times New Roman", serif;
  --f-body:    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing */
  --container: 1320px;
  --pad-x: clamp(20px, 4vw, 56px);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 32px;

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

/* ───────── 2. RESET ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02", "cv11";
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; color: var(--ink); }
p { margin: 0; }
em { font-style: italic; font-family: var(--f-display); font-weight: 300; }

/* Selection */
::selection { background: var(--ink-2); color: #fff; }

/* Lock state */
body.is-locked { overflow: hidden; height: 100vh; }
body.is-locked .header,
body.is-locked main { filter: blur(14px) saturate(0.95); transform: scale(1.02); transition: filter 0.6s var(--ease), transform 0.6s var(--ease); pointer-events: none; user-select: none; }

/* ───────── 3. CONTAINER & UTILITIES ───────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-2);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ciel);
  box-shadow: 0 0 0 4px rgba(107, 164, 209, 0.18);
}
.eyebrow--light {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
}
.eyebrow--light::before { background: var(--ciel-soft); box-shadow: 0 0 0 4px rgba(158, 198, 236, 0.18); }

.section-title {
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 400;
  color: var(--ink);
  max-width: 18ch;
}
.section-lead {
  margin-top: 24px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.6;
}

/* ───────── 4. BUTTONS ───────── */
.btn {
  --pad-y: 14px; --pad-x: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 500; font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn--lg { --pad-y: 18px; --pad-x: 28px; font-size: 15px; }

.btn--primary {
  background: var(--ink-2);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(30, 58, 95, 0.6), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn--primary:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 22px 40px -18px rgba(30, 58, 95, 0.7); }

.btn--ghost {
  background: rgba(255,255,255,0.6);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: #fff; border-color: var(--line-strong); transform: translateY(-2px); }

.btn--white { background: #fff; color: var(--ink); box-shadow: 0 22px 40px -18px rgba(14, 27, 46, 0.4); }
.btn--white:hover { transform: translateY(-2px); }

.btn--outline-white {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(10px);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }

/* ───────── 5. PRELOADER ───────── */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__logo { width: 56px; height: 56px; color: var(--ink-2); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.06); opacity: 1; }
}
.preloader__bar {
  width: 180px; height: 2px; background: rgba(14, 27, 46, 0.08); border-radius: 99px; overflow: hidden;
}
.preloader__bar span {
  display: block; width: 0%; height: 100%;
  background: linear-gradient(90deg, var(--ink-2), var(--ciel));
  border-radius: inherit;
  transition: width 1.6s var(--ease);
}
.preloader__label { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }

/* ───────── 6. LOCK SCREEN ───────── */
.lock-screen {
  position: fixed; inset: 0; z-index: 180;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.lock-screen.is-visible { opacity: 1; }
.lock-screen.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lock-screen__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(107, 164, 209, 0.35), transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(30, 58, 95, 0.5), transparent 55%),
    linear-gradient(140deg, #0E2A47 0%, #0B1B2E 100%);
}
.lock-screen__noise {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 4px 4px;
  opacity: 0.6;
  pointer-events: none;
}

.lock-card {
  position: relative;
  width: min(560px, 100%);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border-radius: 28px;
  padding: 44px;
  color: #fff;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
}
.lock-card__brand {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
}
.lock-card__brand-line { width: 28px; height: 1px; background: rgba(255,255,255,0.3); }
.lock-card__chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.75);
}
.lock-card__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 18px 0 16px;
}
.lock-card__title-line { display: block; }
.lock-card__title-line--italic { font-style: italic; opacity: 0.85; }
.lock-card__desc {
  font-size: 14.5px; line-height: 1.6;
  color: rgba(255,255,255,0.7);
  max-width: 46ch;
}

.lock-card__form { margin-top: 28px; display: grid; gap: 18px; }
.lock-field { position: relative; display: block; }
.lock-field__label {
  display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 8px;
}
.lock-field input {
  width: 100%; background: transparent; color: #fff;
  border: 0; outline: 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 8px 0 12px;
  font-family: inherit; font-size: 15px;
  transition: border-color 0.4s var(--ease);
}
.lock-field input::placeholder { color: rgba(255,255,255,0.35); }
.lock-field__line {
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--ciel-soft);
  transition: width 0.5s var(--ease);
}
.lock-field input:focus ~ .lock-field__line,
.lock-field input:not(:placeholder-shown) ~ .lock-field__line { width: 100%; }

.lock-card__submit {
  position: relative;
  margin-top: 8px;
  padding: 16px 24px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 600; font-size: 15px;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
}
.lock-card__submit-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #fff 0%, #DDE9F4 100%);
  border-radius: inherit;
  z-index: -1;
  transition: transform 0.5s var(--ease);
}
.lock-card__submit-label { display: inline-flex; align-items: center; gap: 10px; }
.lock-card__submit:hover .lock-card__submit-bg { transform: scale(1.04); }
.lock-card__submit.is-loading { pointer-events: none; }
.lock-card__submit.is-loading .lock-card__submit-label { opacity: 0.5; }

.lock-card__legal {
  margin-top: 14px;
  font-size: 11.5px; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4); line-height: 1.6;
  text-align: center;
}

/* ───────── 7. HEADER / NAV ───────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  padding: 20px var(--pad-x);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.header.is-scrolled {
  padding: 14px var(--pad-x);
  background: rgba(244, 246, 250, 0.7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 30px -22px rgba(14, 27, 46, 0.18);
}
.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-2); }
.brand__mark { width: 38px; height: 38px; flex: 0 0 auto; color: var(--ink-2); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__top {
  font-family: var(--f-display); font-weight: 400; font-size: 18px;
  letter-spacing: -0.02em; color: var(--ink);
}
.brand__bottom {
  font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}

.nav__list { display: flex; align-items: center; gap: 34px; }
.nav__list a {
  font-size: 14px; color: var(--ink-3);
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--ink);
  transition: width 0.5s var(--ease);
}
.nav__list a:hover { color: var(--ink); }
.nav__list a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,0.6);
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 16px; height: 1.4px; background: var(--ink);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle.is-open span:nth-child(1) { top: 19px; transform: translateX(-50%) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { top: 19px; transform: translateX(-50%) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: 0; right: 0;
  width: 100%; max-width: 360px; height: 100vh;
  background: var(--bg);
  border-left: 1px solid var(--line);
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease);
  z-index: 55;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu a {
  display: block;
  font-family: var(--f-display); font-size: 28px; font-weight: 400;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__cta {
  margin-top: 24px;
  display: inline-flex !important; align-items: center;
  background: var(--ink-2); color: #fff !important;
  padding: 16px 24px !important; border-radius: 999px;
  border: 0 !important;
  font-family: var(--f-body) !important; font-size: 15px !important;
  font-weight: 500;
}

/* ───────── 8. HERO ───────── */
.hero {
  position: relative;
  padding: clamp(140px, 18vh, 200px) var(--pad-x) clamp(60px, 8vh, 100px);
  overflow: hidden;
  min-height: 92vh;
  display: flex; align-items: center;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55;
}
.hero__glow--1 { width: 540px; height: 540px; top: -160px; left: -120px; background: radial-gradient(circle, var(--ciel-soft), transparent 60%); }
.hero__glow--2 { width: 660px; height: 660px; bottom: -260px; right: -180px; background: radial-gradient(circle, #B6D2EB, transparent 60%); opacity: 0.45; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(14,27,46,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,27,46,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 75%);
}

.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px);
  align-items: center;
  width: 100%;
}
.hero__copy { max-width: 620px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 32px;
  opacity: 0; /* anim */
}
.hero__eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #2EBD85;
  box-shadow: 0 0 0 4px rgba(46, 189, 133, 0.18);
}

.hero__title {
  font-size: clamp(46px, 6.5vw, 92px);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -0.04em;
}
.hero__title em { font-weight: 300; font-style: italic; color: var(--ink-2); }
.hero__line { display: block; overflow: hidden; }
.hero__line > * { display: inline-block; }

.hero__subtitle {
  margin-top: 32px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
  max-width: 50ch;
  line-height: 1.6;
  opacity: 0;
}

.hero__ctas {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; gap: 14px;
  opacity: 0;
}

.hero__proof {
  margin-top: 44px;
  display: flex; align-items: center; gap: 16px;
  opacity: 0;
}
.hero__proof-avatars { display: flex; }
.hero__proof-avatars span {
  width: 34px; height: 34px; border-radius: 50%;
  background-size: cover; background-position: center;
  border: 2px solid var(--bg);
  margin-left: -10px;
}
.hero__proof-avatars span:first-child { margin-left: 0; }
.hero__proof-text { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.hero__proof-text strong { display: block; color: var(--ink); font-size: 15px; font-weight: 600; }

/* Hero visual */
.hero__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 580px;
  margin-left: auto;
  opacity: 0;
}
.hero__visual-frame {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 60px 120px -50px rgba(14, 27, 46, 0.45),
    0 1px 0 rgba(255,255,255,0.6) inset;
  isolation: isolate;
}
.hero__visual-frame img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.2s var(--ease);
}
.hero:hover .hero__visual-frame img { transform: scale(1.1); }
.hero__visual-shine {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(160deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0) 40%);
  pointer-events: none;
}

.hero__floating {
  position: absolute;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-soft);
}
.hero__floating--card { left: -28px; top: 18%; }
.hero__floating--badge { right: -16px; bottom: 14%; }
.hero__floating-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--bg-3);
  display: grid; place-items: center;
  color: var(--ink-2);
}
.hero__floating-title { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.hero__floating-desc { font-size: 12px; color: var(--muted); margin-top: 2px; }
.hero__floating-pulse {
  width: 10px; height: 10px; border-radius: 50%; background: #2EBD85;
  box-shadow: 0 0 0 4px rgba(46, 189, 133, 0.2);
  animation: pulseDot 1.8s infinite ease-out;
  margin-right: 4px;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(46, 189, 133, 0.4); }
  100% { box-shadow: 0 0 0 12px rgba(46, 189, 133, 0); }
}

.hero__scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
  opacity: 0;
}
.hero__scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--ink-2), transparent);
  position: relative; overflow: hidden;
}
.hero__scroll-line::before {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 50%;
  background: var(--ink); animation: scrollLine 1.8s infinite var(--ease);
}
@keyframes scrollLine {
  0% { top: -50%; }
  100% { top: 100%; }
}

/* ───────── 9. STATS ───────── */
.stats {
  padding: clamp(80px, 12vh, 140px) var(--pad-x);
  background: var(--bg);
  position: relative;
}
.stats__inner { max-width: var(--container); margin: 0 auto; }
.stats__head { display: grid; gap: 24px; max-width: 760px; margin-bottom: 64px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.stat-card::after {
  content: ""; position: absolute; inset: auto -40% -50% auto;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(107, 164, 209, 0.15), transparent 65%);
  pointer-events: none;
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: rgba(74, 144, 194, 0.3); }
.stat-card:hover::after { opacity: 1; }
.stat-card__num {
  font-family: var(--f-display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.stat-card__label { margin-top: 12px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.stat-card__desc { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ───────── 10. SERVICES ───────── */
.services {
  padding: clamp(80px, 14vh, 160px) var(--pad-x);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-3) 100%);
  position: relative;
}
.services__inner { max-width: var(--container); margin: 0 auto; }
.services__head { display: grid; gap: 24px; max-width: 760px; margin-bottom: 72px; }
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  overflow: hidden;
  transition: transform 0.55s var(--ease), border-color 0.5s var(--ease), box-shadow 0.55s var(--ease);
  isolation: isolate;
}
.service-card::before {
  content: attr(data-num);
  position: absolute; top: 28px; right: 28px;
  font-family: var(--f-display); font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; color: var(--muted);
  opacity: 0.7;
}
.service-card__glow {
  position: absolute; inset: -1px; z-index: -1;
  border-radius: inherit;
  background: linear-gradient(140deg, transparent 40%, rgba(107, 164, 209, 0.45), transparent 65%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(74, 144, 194, 0.35); box-shadow: 0 30px 60px -30px rgba(14, 27, 46, 0.2); }
.service-card:hover .service-card__glow { opacity: 1; }
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--bg-3) 0%, #fff 100%);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-2);
  margin-bottom: 26px;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
}
.service-card:hover .service-card__icon { transform: rotate(-4deg) scale(1.05); background: linear-gradient(135deg, var(--ink-2) 0%, var(--accent) 100%); color: #fff; }
.service-card__title {
  font-family: var(--f-display); font-size: 24px; font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.service-card__desc { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-2);
  transition: gap 0.4s var(--ease);
}
.service-card__link:hover { gap: 12px; }
.service-card__link svg { transition: transform 0.4s var(--ease); }
.service-card__link:hover svg { transform: translateX(2px); }

/* ───────── 11. EXPERIENCE ───────── */
.experience {
  padding: clamp(80px, 14vh, 160px) var(--pad-x);
  background: var(--bg);
  position: relative;
}
.experience__inner { max-width: var(--container); margin: 0 auto; }
.experience__head { display: grid; gap: 24px; max-width: 760px; margin-bottom: 100px; }

.experience__row {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(80px, 14vh, 160px);
}
.experience__row:last-child { margin-bottom: 0; }
.experience__row--2 { grid-template-columns: 1fr 1.05fr; }
.experience__row--4 { grid-template-columns: 1fr 1.05fr; }

.experience__visual { position: relative; }
.experience__image {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 50px 100px -50px rgba(14, 27, 46, 0.35);
  background: var(--bg-3);
}
.experience__image--tall { aspect-ratio: 4/5; }
.experience__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.experience__image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(14,27,46,0.18) 100%);
  pointer-events: none;
}
.experience__row:hover .experience__image img { transform: scale(1.04); }
.experience__tag {
  position: absolute; bottom: 22px; left: 22px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--ink-2); font-weight: 500;
  border: 1px solid var(--line);
}
.experience__tag--right { left: auto; right: 22px; }

.experience__copy { padding: 0 8px; }
.experience__num {
  font-family: var(--f-display); font-style: italic;
  font-size: 14px; color: var(--ink-2); letter-spacing: 0.06em;
  display: block; margin-bottom: 20px;
}
.experience__copy h3 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.1;
  max-width: 18ch;
  margin-bottom: 20px;
}
.experience__copy p {
  color: var(--muted);
  font-size: 16px; line-height: 1.6;
  max-width: 48ch;
  margin-bottom: 24px;
}
.experience__list { display: grid; gap: 12px; }
.experience__list li {
  display: flex; align-items: center; gap: 14px;
  font-size: 14.5px; color: var(--ink-3);
}
.experience__list li span {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  position: relative;
  flex-shrink: 0;
}
.experience__list li span::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(45deg);
  width: 6px; height: 10px;
  border-right: 1.5px solid var(--ink-2);
  border-bottom: 1.5px solid var(--ink-2);
  margin-top: -2px;
}

/* ───────── 12. ADVANTAGES ───────── */
.advantages {
  padding: clamp(80px, 14vh, 160px) var(--pad-x);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-3) 100%);
  position: relative;
}
.advantages__inner { max-width: var(--container); margin: 0 auto; }
.advantages__head { display: grid; gap: 24px; max-width: 760px; margin-bottom: 80px; }
.advantages__timeline {
  position: relative;
  display: grid; gap: 4px;
  padding-left: 50px;
}
.advantages__line {
  position: absolute; top: 14px; bottom: 14px; left: 16px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
}

.advantage-item {
  position: relative;
  display: grid; grid-template-columns: 80px 1fr;
  align-items: start;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease);
}
.advantage-item:last-child { border-bottom: 0; }
.advantage-item__dot {
  position: absolute; left: -42px; top: 50px;
  width: 14px; height: 14px;
  border-radius: 50%; background: var(--bg);
  border: 2px solid var(--ciel);
  box-shadow: 0 0 0 4px rgba(107, 164, 209, 0.15);
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}
.advantage-item:hover .advantage-item__dot { transform: scale(1.3); background: var(--ciel); }
.advantage-item__num {
  font-family: var(--f-display); font-style: italic;
  font-size: 28px; font-weight: 300;
  color: var(--ink-2);
  letter-spacing: -0.02em;
}
.advantage-item__content h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400; letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.advantage-item__content p {
  color: var(--muted); font-size: 15.5px; line-height: 1.6;
  max-width: 60ch;
}

/* ───────── 13. TESTIMONIALS ───────── */
.testimonials {
  padding: clamp(80px, 14vh, 160px) var(--pad-x) clamp(60px, 10vh, 120px);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.testimonials__inner { max-width: var(--container); margin: 0 auto; }
.testimonials__head {
  display: grid; grid-template-columns: 1fr auto; align-items: end;
  gap: 32px; margin-bottom: 56px;
}
.testimonials__head .section-title { grid-column: 1; }
.testimonials__head .eyebrow { grid-column: 1; }
.testimonials__nav { display: flex; gap: 10px; }
.testimonials__btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  display: grid; place-items: center;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.testimonials__btn:hover {
  background: var(--ink-2); color: #fff; border-color: var(--ink-2);
  transform: translateY(-2px);
}

.testimonials__track-wrap {
  position: relative;
  overflow: hidden;
  margin: 0 calc(var(--pad-x) * -1);
  padding: 0 var(--pad-x);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.testimonials__track {
  display: flex;
  gap: 20px;
  cursor: grab;
  will-change: transform;
}
.testimonials__track:active { cursor: grabbing; }

.testi-card {
  flex: 0 0 clamp(300px, 36vw, 460px);
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  min-height: 320px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.testi-card:hover { border-color: rgba(74, 144, 194, 0.3); }
.testi-card__stars { display: flex; gap: 4px; }
.testi-card__stars span {
  width: 14px; height: 14px;
  background: var(--ciel);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l3 7 7 .8-5.2 4.8 1.6 7-6.4-3.8L5.6 21.6 7.2 14.6 2 9.8 9 9l3-7z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l3 7 7 .8-5.2 4.8 1.6 7-6.4-3.8L5.6 21.6 7.2 14.6 2 9.8 9 9l3-7z'/></svg>") center/contain no-repeat;
}
.testi-card blockquote {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.testi-card footer { display: flex; align-items: center; gap: 14px; }
.testi-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background-size: cover; background-position: center;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--line);
}
.testi-card__name { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.testi-card__role { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ───────── 14. CTA FINAL ───────── */
.cta-final {
  position: relative;
  padding: clamp(80px, 16vh, 180px) var(--pad-x);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.cta-final__bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, #0E2A47 0%, #0B1B2E 100%);
}
.cta-final__glow {
  position: absolute; border-radius: 50%; filter: blur(100px);
}
.cta-final__glow--1 {
  width: 700px; height: 700px;
  top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(107, 164, 209, 0.6), transparent 60%);
  opacity: 0.6;
}
.cta-final__glow--2 {
  width: 600px; height: 600px;
  bottom: -200px; right: -150px;
  background: radial-gradient(circle, rgba(74, 144, 194, 0.5), transparent 60%);
  opacity: 0.55;
}
.cta-final__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 80%);
}

.cta-final__inner {
  max-width: 920px; margin: 0 auto;
  text-align: center;
  display: grid; gap: 28px; justify-items: center;
}
.cta-final__title {
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}
.cta-final__title em { font-style: italic; color: var(--ciel-soft); font-weight: 300; }
.cta-final__title span { display: block; }
.cta-final__lead {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,0.7);
  max-width: 60ch;
  line-height: 1.6;
}
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 12px; }

.cta-final__meta {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 60px);
  justify-content: center;
  margin-top: 28px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
  width: 100%;
}
.cta-final__meta > div { text-align: left; display: grid; gap: 6px; }
.cta-final__meta strong {
  display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); font-weight: 500;
}
.cta-final__meta span { font-size: 16px; color: #fff; }

/* ───────── 15. FOOTER ───────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 80px var(--pad-x) 32px;
}
.footer__inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.brand--footer { color: #fff; }
.brand--footer .brand__top { color: #fff; }
.brand--footer .brand__bottom { color: rgba(255,255,255,0.5); }
.footer__desc { margin-top: 20px; max-width: 32ch; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.55); }

.footer__title { color: #fff; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.footer__col p { font-size: 14px; line-height: 1.7; }
.footer__col a { transition: color 0.3s var(--ease); }
.footer__col a:hover { color: #fff; }

.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.7);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.footer__social a:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }

.footer__bottom {
  max-width: var(--container); margin: 0 auto;
  padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: rgba(255,255,255,0.4);
}
.footer__credit a { color: rgba(255,255,255,0.7); border-bottom: 1px solid rgba(255,255,255,0.3); }
.footer__credit a:hover { color: #fff; }

/* ───────── 16. ANIMATIONS UTILITAIRES ───────── */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal-up { opacity: 0; transform: translateY(28px); }

/* ───────── 17. RESPONSIVE ───────── */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { max-width: 520px; margin: 0 auto; aspect-ratio: 5/6; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1.4fr repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav, .header__cta { display: none; }
  .menu-toggle { display: block; }

  .hero { min-height: auto; padding-top: 120px; }
  .hero__title { font-size: clamp(40px, 11vw, 60px); }
  .hero__floating--card { left: -10px; top: 12%; padding: 10px 14px; }
  .hero__floating--badge { right: -10px; bottom: 12%; padding: 10px 14px; }
  .hero__floating-title { font-size: 12px; }
  .hero__floating-desc { font-size: 11px; }
  .hero__visual { max-width: 100%; }

  .stats__grid { grid-template-columns: 1fr; gap: 14px; }
  .services__grid { grid-template-columns: 1fr; gap: 14px; }

  .experience__row { grid-template-columns: 1fr !important; gap: 32px; margin-bottom: 80px; }
  .experience__row .experience__copy { order: 2; padding: 0; }
  .experience__row .experience__visual { order: 1; }

  .advantages__timeline { padding-left: 32px; }
  .advantages__line { left: 7px; }
  .advantage-item { grid-template-columns: 56px 1fr; gap: 16px; padding: 28px 0; }
  .advantage-item__dot { left: -28px; top: 38px; }
  .advantage-item__num { font-size: 22px; }

  .testimonials__head { grid-template-columns: 1fr; }
  .testimonials__nav { justify-self: start; }

  .cta-final__meta { flex-direction: column; gap: 18px; }
  .cta-final__meta > div { text-align: center; }

  .footer__inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .lock-card { padding: 32px 24px; }
  .lock-card__title { font-size: 38px; }
  .btn--lg { --pad-y: 16px; --pad-x: 22px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__title .hero__line > * { transform: none !important; opacity: 1 !important; }
  .reveal, .reveal-up, .hero__eyebrow, .hero__subtitle, .hero__ctas, .hero__proof, .hero__visual, .hero__scroll { opacity: 1 !important; transform: none !important; }
}
