/* ============================================
   CABINET LAVAUX — Design System (MOBILE-FIRST)
   Psychiatrie & psychothérapie · Quai Perdonnet 7, 1800 Vevey
   Inspiration : Optilux (mode Fidèle 95%) · palette Teal Lac Léman
   ============================================ */

/* --- Reset & base ---------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-width: 320px;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--brand-100); color: var(--brand-800); }

/* --- Design tokens --------------------------------------- */

:root {
  /* Teal Lac Léman */
  --brand-50:  oklch(0.97 0.018 195);
  --brand-100: oklch(0.92 0.038 195);
  --brand-200: oklch(0.84 0.060 195);
  --brand-300: oklch(0.72 0.078 195);
  --brand-400: oklch(0.62 0.085 195);
  --brand-500: oklch(0.52 0.082 195);
  --brand-600: oklch(0.44 0.078 195);
  --brand-700: oklch(0.34 0.062 195);
  --brand-800: oklch(0.24 0.045 195);
  --brand-900: oklch(0.18 0.032 195);

  /* Ink */
  --ink-950: oklch(0.13 0.018 215);
  --ink-900: oklch(0.20 0.022 215);
  --ink-800: oklch(0.30 0.022 215);
  --ink-700: oklch(0.40 0.020 215);
  --ink-600: oklch(0.52 0.018 215);
  --ink-500: oklch(0.62 0.014 215);
  --ink-400: oklch(0.72 0.010 215);
  --ink-300: oklch(0.84 0.008 215);

  /* Cream rosé */
  --cream-50:  oklch(0.985 0.005 75);
  --cream-100: oklch(0.965 0.011 75);
  --cream-200: oklch(0.93 0.018 75);
  --cream-300: oklch(0.87 0.022 75);

  /* Or sable accent */
  --gold: oklch(0.78 0.10 75);
  --gold-soft: oklch(0.92 0.06 75);

  /* Shadows */
  --shadow-sm: 0 1px 2px -1px oklch(0.20 0.022 215 / 0.10);
  --shadow-md: 0 8px 24px -8px oklch(0.20 0.022 215 / 0.16), 0 2px 6px -2px oklch(0.20 0.022 215 / 0.08);
  --shadow-lg: 0 24px 60px -22px oklch(0.20 0.022 215 / 0.22), 0 8px 24px -10px oklch(0.20 0.022 215 / 0.12);
  --shadow-glow: 0 16px 44px -20px oklch(0.44 0.078 195 / 0.55);

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 22px;
  --r-2xl: 28px;
  --r-pill: 999px;

  /* Layout */
  --container: 1180px;
  --container-narrow: 920px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);

  /* Fonts */
  --ff-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --ff-body: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Typography (mobile-first) --------------------------- */

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--ink-900);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.125rem, 6.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.028em;
}
h2 {
  font-size: clamp(1.75rem, 5vw, 3.125rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
h3 {
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
h4 { font-size: 1.0625rem; line-height: 1.3; font-weight: 700; font-family: var(--ff-display); letter-spacing: -0.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--brand-500);
}

.lead {
  font-family: var(--ff-body);
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  color: var(--ink-600);
  line-height: 1.7;
  max-width: 58ch;
  text-wrap: pretty;
}

.muted { color: var(--ink-500); }

/* --- Layout containers ---------------------------------- */

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); position: relative; }
.section--cream { background: var(--cream-100); }
.section--brand { background: var(--brand-500); color: var(--cream-50); }
.section--brand-dark { background: var(--brand-800); color: var(--cream-50); }
.section--ink { background: var(--ink-900); color: var(--cream-50); }

/* Grids */
.grid { display: grid; gap: 1.25rem; }

/* --- Top bar (≥ 800px only) ----------------------------- */

.topbar { display: none; }
@media (min-width: 800px) {
  .topbar {
    display: block;
    background: var(--brand-900);
    color: oklch(1 0 0 / 0.78);
    font-size: 0.8125rem;
    padding: 10px 0;
    border-bottom: 1px solid oklch(1 0 0 / 0.06);
  }
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.topbar__group { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: oklch(1 0 0 / 0.88); transition: color 0.2s var(--ease-out-quart); }
.topbar__item:hover { color: var(--cream-50); }
.topbar__item svg { width: 13px; height: 13px; color: var(--brand-300); }
.topbar__divider { width: 1px; height: 14px; background: oklch(1 0 0 / 0.14); }
.lang-switch { display: inline-flex; gap: 4px; align-items: center; }
.lang-switch a { padding: 2px 6px; border-radius: 4px; color: oklch(1 0 0 / 0.78); font-weight: 600; }
.lang-switch a.is-active { color: var(--cream-50); background: oklch(1 0 0 / 0.12); }

/* --- Navigation ----------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream-50);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out-quart), background 0.3s var(--ease-out-quart);
}
.nav.is-scrolled {
  background: oklch(0.985 0.005 75 / 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--cream-200);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 14px;
}
@media (min-width: 980px) {
  .nav__inner { gap: 2rem; padding-block: 18px; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-900);
  min-width: 0;
}
.brand__mark {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px -8px oklch(0.44 0.078 195 / 0.55);
}
.brand__mark img,
.brand__mark svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.brand__name {
  line-height: 1.1;
  min-width: 0;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
}
.brand__name small {
  display: block;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  color: var(--ink-700);
  text-transform: uppercase;
  margin-top: 4px;
}
@media (max-width: 480px) {
  .brand__name small { display: none; }
  .brand__name { font-size: 1.0625rem; }
}

.nav .nav__menu { display: none; }
.nav .nav__cta { display: none; }

@media (min-width: 980px) {
  .nav .nav__menu { display: flex; align-items: center; gap: 1.5rem; }
  .nav .nav__cta { display: inline-flex; margin-left: 0.5rem; }
}

.nav__link {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-700);
  padding: 8px 0;
  transition: color 0.25s var(--ease-out-quart);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translate(-50%, 0) scaleX(0);
  transform-origin: center;
  width: 22px; height: 2px;
  background: var(--brand-500);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out-expo);
}
.nav__link:hover { color: var(--brand-600); }
.nav__link:hover::after { transform: translate(-50%, 0) scaleX(1); }
.nav__link.is-active { color: var(--brand-700); }
.nav__link.is-active::after { transform: translate(-50%, 0) scaleX(1); }

.nav__toggle {
  display: inline-flex;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  align-items: center; justify-content: center;
  border: 1px solid var(--cream-200);
  background: var(--cream-50);
}
.nav__toggle svg { width: 20px; height: 20px; color: var(--ink-800); }
@media (min-width: 980px) { .nav__toggle { display: none; } }

/* Mobile drawer */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 100%);
  background: var(--brand-900);
  color: var(--cream-50);
  transform: translate3d(100%, 0, 0);
  transition: transform 0.4s var(--ease-out-expo);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 20px;
  visibility: hidden;
}
.drawer.is-open { transform: translate3d(0, 0, 0); visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; }
.drawer__close { width: 44px; height: 44px; border-radius: var(--r-md); display: grid; place-items: center; background: oklch(1 0 0 / 0.08); color: var(--cream-50); }
.drawer__close svg { width: 18px; height: 18px; }
.drawer__nav { margin-top: 32px; display: flex; flex-direction: column; gap: 4px; }
.drawer__link {
  font-family: var(--ff-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--cream-50);
  padding: 14px 0;
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
  letter-spacing: -0.01em;
}
.drawer__link:last-of-type { border-bottom: none; }
.drawer__cta-wrap { margin-top: auto; padding-top: 24px; }
.drawer .btn { width: 100%; justify-content: center; }
.drawer__contact { font-family: var(--ff-body); font-size: 0.875rem; color: oklch(1 0 0 / 0.65); margin-top: 18px; line-height: 1.6; }
.drawer__contact a { color: var(--brand-200); }

/* --- Buttons (mobile-first, ≥48px touch target) --------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.9375rem;
  min-height: 48px;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo), background 0.3s var(--ease-out-quart), color 0.3s;
  position: relative;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--brand-500);
  color: var(--cream-50);
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { background: var(--brand-700); transform: translateY(-2px); box-shadow: 0 24px 60px -18px oklch(0.34 0.062 195 / 0.65); }

.btn--light {
  background: var(--cream-50);
  color: var(--brand-700);
  box-shadow: var(--shadow-md);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--brand-800); }

.btn--ghost {
  background: transparent;
  color: var(--cream-50);
  border: 1px solid oklch(1 0 0 / 0.22);
}
.btn--ghost:hover { background: oklch(1 0 0 / 0.06); border-color: oklch(1 0 0 / 0.4); }

.btn--ghost-dark {
  background: transparent;
  color: var(--ink-900);
  border: 1px solid var(--cream-300);
  padding: 13px 24px;
}
.btn--ghost-dark:hover { background: var(--cream-100); border-color: var(--ink-400); }

.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out-expo); }
.btn:hover svg { transform: translateX(3px); }

.btn--circle {
  width: 44px; height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--brand-500);
  color: var(--cream-50);
}
.btn--circle:hover { background: var(--brand-700); transform: translate(2px, -2px); }
.btn--circle svg { width: 16px; height: 16px; }

/* --- Hero fullbleed (Optilux H4) ----------------------- */

.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 760px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, oklch(0.20 0.022 215 / 0.72) 0%, oklch(0.20 0.022 215 / 0.42) 48%, oklch(0.20 0.022 215 / 0.12) 100%),
    linear-gradient(180deg, oklch(0.20 0.022 215 / 0.10) 0%, oklch(0.20 0.022 215 / 0.40) 100%);
}

.hero__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter);
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 2rem;
  position: relative;
}

.hero__content {
  align-self: end;
  max-width: 620px;
  color: var(--cream-50);
}
.hero h1 {
  color: var(--cream-50);
  margin-top: 16px;
  max-width: 16ch;
  font-weight: 800;
}
@media (min-width: 980px) {
  .hero h1 { max-width: 18ch; }
}
.hero__eyebrow {
  color: var(--brand-200);
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: var(--brand-300);
}
.hero__lead {
  color: oklch(1 0 0 / 0.82);
  margin-top: 18px;
  margin-bottom: 28px;
  max-width: 50ch;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.hero__actions .btn--primary { width: 100%; justify-content: center; }
@media (min-width: 600px) {
  .hero__actions { flex-direction: row; gap: 16px; align-items: center; flex-wrap: wrap; }
  .hero__actions .btn--primary { width: auto; }
}

.hero__trust {
  position: absolute;
  top: clamp(1.25rem, 3vw, 2rem);
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  background: oklch(1 0 0 / 0.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid oklch(1 0 0 / 0.18);
  padding: 10px 16px 10px 12px;
  border-radius: var(--r-pill);
}
.hero__trust-avatars { display: flex; }
.hero__trust-avatars img {
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 2px solid var(--brand-900);
  object-fit: cover;
  margin-left: -10px;
}
.hero__trust-avatars img:first-child { margin-left: 0; }
.hero__trust-text { line-height: 1.15; color: var(--cream-50); }
.hero__trust-text strong { font-family: var(--ff-display); font-weight: 600; display: block; font-size: 1rem; }
.hero__trust-text span { font-size: 0.6875rem; color: oklch(1 0 0 / 0.7); letter-spacing: 0.02em; }
@media (max-width: 540px) {
  .hero__trust { display: none; }
}

/* --- Stats bar (teal accent) --------------------------- */

.stats-bar { background: var(--brand-500); color: var(--cream-50); padding-block: clamp(2rem, 5vw, 3.25rem); }
.stats-bar__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1rem;
}
@media (min-width: 900px) { .stats-bar__grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.stat {
  text-align: left;
  padding: 8px 4px;
  border-left: 1px solid oklch(1 0 0 / 0.22);
  padding-left: 18px;
}
@media (min-width: 900px) { .stat { padding-left: 22px; } }
.stat__num {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--cream-50);
  font-variant-numeric: tabular-nums;
}
.stat__suffix {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: oklch(1 0 0 / 0.7);
  margin-left: 2px;
}
.stat__label {
  font-family: var(--ff-body);
  font-size: 0.8125rem;
  color: oklch(1 0 0 / 0.82);
  margin-top: 10px;
  line-height: 1.4;
}

/* --- About split (Optilux A6) -------------------------- */

.about-split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 980px) {
  .about-split { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); }
}

.about-split__copy h2 { margin: 14px 0 18px; }
.about-split__list { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 24px 0 32px; }
@media (min-width: 540px) { .about-split__list { grid-template-columns: 1fr 1fr; gap: 16px 28px; } }
.about-split__list-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9375rem; color: var(--ink-800);
  font-weight: 700;
  line-height: 1.45;
}
.about-split__list-item svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--brand-500);
  margin-top: 1px;
}

.about-split__visual {
  position: relative;
  aspect-ratio: 5 / 5;
  min-height: 320px;
}
.about-split__img-1 {
  position: absolute;
  top: 0; left: 0;
  width: 72%;
  aspect-ratio: 4 / 3.5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}
.about-split__img-2 {
  position: absolute;
  bottom: 0; right: 0;
  width: 56%;
  aspect-ratio: 3 / 3.5;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 6px solid var(--cream-50);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.about-split__visual img { width: 100%; height: 100%; object-fit: cover; }

/* --- Expertise progress -------------------------------- */

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px 48px;
}
@media (min-width: 740px) { .expertise-grid { grid-template-columns: 1fr 1fr; } }

.expertise-row { display: flex; flex-direction: column; gap: 8px; }
.expertise-row__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.expertise-row__label {
  font-family: var(--ff-body);
  font-weight: 600;
  color: var(--ink-900);
  font-size: 0.9375rem;
}
.expertise-row__pct {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--brand-600);
  font-size: 1.0625rem;
}
.expertise-row__track {
  height: 6px;
  border-radius: 999px;
  background: var(--cream-200);
  overflow: hidden;
}
.expertise-row__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-600));
  border-radius: 999px;
  width: 0;
  transition: width 1.4s var(--ease-out-expo);
}
.expertise-row.is-in .expertise-row__bar { width: var(--pct); }

/* --- Testimonials slider ------------------------------ */

.tslider-wrap { position: relative; }
.tslider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  padding-bottom: 12px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.tslider::-webkit-scrollbar { display: none; }
.tcard {
  scroll-snap-align: start;
  flex: 0 0 86%;
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
@media (min-width: 640px) { .tcard { flex-basis: 60%; padding: 28px; } }
@media (min-width: 900px) {
  .tslider { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
  .tcard { flex: none; padding: 28px; }
}

.tcard__quote-mark {
  font-family: var(--ff-display);
  font-size: 3rem;
  color: var(--brand-300);
  line-height: 0.6;
  margin-bottom: 6px;
}
.tcard__quote {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.45;
  color: var(--ink-900);
  margin-bottom: 22px;
  letter-spacing: -0.005em;
}
.tcard__stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 16px; }
.tcard__stars svg { width: 16px; height: 16px; }
.tcard__author { display: flex; gap: 14px; align-items: center; padding-top: 18px; border-top: 1px solid var(--cream-200); }
.tcard__author strong { display: block; font-family: var(--ff-body); color: var(--ink-900); font-weight: 600; font-size: 0.9375rem; }
.tcard__author > div > span { font-size: 0.8125rem; color: var(--ink-700); }
.tcard__author span.tcard__author-mark {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--brand-700);
  color: var(--cream-50);
  display: grid;
  place-items: center;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.tslider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  justify-content: center;
}
@media (min-width: 900px) { .tslider-controls { display: none; } }
.tslider-btn {
  width: 46px; height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--brand-500);
  color: var(--cream-50);
  border: none;
  transition: background 0.3s, transform 0.3s;
}
.tslider-btn:hover { background: var(--brand-700); transform: scale(1.05); }
.tslider-btn:disabled { opacity: 0.35; cursor: default; transform: none; }
.tslider-btn svg { width: 16px; height: 16px; }
.tslider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.tslider-dot {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: transparent;
  position: relative;
  padding: 0;
  border: none;
  cursor: pointer;
}
.tslider-dot::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--cream-300);
  transition: background 0.3s, width 0.3s;
}
.tslider-dot.is-active::after { background: var(--brand-500); width: 24px; border-radius: 999px; }

/* --- Services grid (Optilux S1) ------------------------ */

.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (min-width: 980px) { .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.svc-card {
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
  border-radius: var(--r-xl);
  padding: 12px;
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo), border-color 0.3s;
  position: relative;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.svc-card__img {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--cream-200);
}
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out-expo); }
.svc-card:hover .svc-card__img img { transform: scale(1.04); }
.svc-card__cta-overlay {
  position: absolute;
  bottom: 14px; right: 14px;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--brand-500);
  color: var(--cream-50);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  transition: background 0.3s, transform 0.3s;
}
.svc-card:hover .svc-card__cta-overlay { background: var(--brand-700); transform: translate(2px, -2px); }
.svc-card__cta-overlay svg { width: 16px; height: 16px; }
.svc-card__body { padding: 22px 14px 18px; }
.svc-card__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.4375rem;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.svc-card__desc {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  color: var(--ink-600);
  line-height: 1.6;
}

/* --- Process steps on teal background ------------------ */

.process {
  position: relative;
  background-color: var(--brand-800);
  color: var(--cream-50);
  overflow: hidden;
  isolation: isolate;
}
.process__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.process__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, oklch(0.24 0.045 195 / 0.92) 0%, oklch(0.34 0.062 195 / 0.85) 60%, oklch(0.18 0.032 195 / 0.92) 100%);
}
.process .eyebrow { color: var(--brand-200); }
.process .eyebrow::before { background: var(--brand-200); }
.process h2 { color: var(--cream-50); }
.process .lead { color: oklch(1 0 0 / 0.82); }

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  counter-reset: step;
  margin-top: 48px;
}
@media (min-width: 600px) { .steps { grid-template-columns: 1fr 1fr; gap: 22px; } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.step {
  counter-increment: step;
  position: relative;
  padding: 30px 24px 26px;
  background: oklch(1 0 0 / 0.08);
  border: 1px solid oklch(1 0 0 / 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.step:hover { background: oklch(1 0 0 / 0.12); border-color: oklch(1 0 0 / 0.22); transform: translateY(-4px); }
.step__num {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--brand-300);
  color: var(--brand-800);
  display: grid;
  place-items: center;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.0625rem;
  margin-bottom: 18px;
}
.step__num::before { content: "0" counter(step); }
.step h3 {
  color: var(--cream-50);
  margin-bottom: 8px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.step p {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  color: oklch(1 0 0 / 0.78);
  line-height: 1.55;
}

/* --- FAQ tabs + accordion ------------------------------ */

.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-tabs {
  display: inline-flex;
  background: var(--cream-100);
  border: 1px solid var(--cream-200);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 32px;
}
.faq-tab {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--ink-600);
  padding: 10px 18px;
  border-radius: 999px;
  transition: color 0.3s, background 0.3s;
}
.faq-tab.is-active { background: var(--brand-500); color: var(--cream-50); }

.faq-panel { display: none; }
.faq-panel.is-active { display: block; }

.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
  border-radius: var(--r-md);
  padding: 18px 22px;
  transition: border-color 0.2s, background 0.2s;
}
@media (min-width: 640px) { .faq__item { border-radius: var(--r-lg); padding: 22px 28px; } }
.faq__item:hover { border-color: var(--brand-200); }
.faq__item[open] { background: var(--cream-100); border-color: var(--brand-300); }
.faq__item summary {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
@media (min-width: 640px) { .faq__item summary { font-size: 1.1875rem; } }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--cream-200);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23076e75' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 14px;
  transition: transform 0.3s, background-color 0.3s;
  flex-shrink: 0;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--brand-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E");
}
.faq__item p {
  font-family: var(--ff-body);
  color: var(--ink-600);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 64ch;
}

/* --- Section heads ------------------------------------- */

.section-head { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 36px; }
.section-head h2 { margin-top: 10px; max-width: 22ch; }
.section-head__right { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
@media (min-width: 760px) {
  .section-head { grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: end; margin-bottom: 52px; }
}
.section-head--center { text-align: center; }
.section-head--center h2 { margin-inline: auto; }
.section-head--center .lead { margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; margin-inline: auto; }
.section-head--center { display: block; }
.section-head--center > * { margin-inline: auto; }
.section-head--center h2 { margin-top: 14px; }
.section-head--center .lead { margin-top: 16px; max-width: 56ch; }

/* --- CTA band ------------------------------------------ */

.cta-section { background: var(--cream-50); }
.cta-band {
  text-align: center;
  position: relative;
  isolation: isolate;
}
.cta-band__eyebrow { color: var(--brand-600); }
.cta-band h2 {
  margin-inline: auto;
  max-width: 22ch;
  color: var(--brand-800);
  font-size: clamp(1.625rem, 4.5vw, 2.75rem);
  line-height: 1.15;
}
.cta-band p { margin-inline: auto; margin-top: 14px; max-width: 50ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; align-items: stretch; }
.cta-band__actions .btn { justify-content: center; width: 100%; }
@media (min-width: 540px) {
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: center; }
  .cta-band__actions .btn { width: auto; }
}

/* --- Footer 4 col dark --------------------------------- */

.footer {
  background: var(--brand-900);
  color: oklch(1 0 0 / 0.72);
  padding: clamp(3rem, 7vw, 5.5rem) 0 1.75rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
}
@media (min-width: 540px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 3rem; padding-bottom: 3rem; } }

.footer__brand .brand { color: var(--cream-50); }
.footer__brand .brand__name { color: var(--cream-50); }
.footer__brand .brand__name small { color: oklch(1 0 0 / 0.85); }
.footer__about {
  margin-top: 18px;
  max-width: 38ch;
  font-size: 0.875rem;
  line-height: 1.7;
  color: oklch(1 0 0 / 0.7);
}
.footer__social { display: flex; gap: 8px; margin-top: 22px; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid oklch(1 0 0 / 0.14);
  display: grid;
  place-items: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  color: oklch(1 0 0 / 0.7);
}
.footer__social a:hover { background: var(--brand-500); border-color: var(--brand-500); color: var(--cream-50); }
.footer__social svg { width: 15px; height: 15px; }

.footer h3.footer__heading {
  font-family: var(--ff-display);
  color: var(--cream-50);
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 16px;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.footer__list { display: grid; gap: 10px; font-size: 0.875rem; }
.footer__list a { transition: color 0.2s; color: oklch(1 0 0 / 0.72); }
.footer__list a:hover { color: var(--cream-50); }

.footer__contact { display: grid; gap: 18px; }
.footer__contact-item small { display: block; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.14em; color: oklch(1 0 0 / 0.78); font-weight: 600; margin-bottom: 4px; }
.footer__contact-item strong { font-family: var(--ff-body); color: var(--cream-50); font-weight: 600; font-size: 0.9375rem; line-height: 1.5; display: block; }
.footer__contact-item a { color: var(--brand-200); transition: color 0.2s; }
.footer__contact-item a:hover { color: var(--cream-50); }

.footer__bottom {
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: oklch(1 0 0 / 0.5);
}
@media (min-width: 700px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8125rem;
    padding-top: 28px;
  }
}
.footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--cream-50); }

/* --- Page hero (interior pages) ------------------------ */

.page-hero {
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  background:
    linear-gradient(135deg, var(--brand-800) 0%, var(--brand-900) 100%);
  color: var(--cream-50);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 50% 70% at 80% 30%, oklch(0.52 0.082 195 / 0.55), transparent 65%),
    radial-gradient(ellipse 60% 50% at 10% 100%, oklch(0.34 0.062 195 / 0.5), transparent 60%);
  opacity: 0.85;
}
.page-hero__inner { position: relative; z-index: 2; max-width: 820px; }
.page-hero__breadcrumb {
  display: flex;
  gap: 10px;
  font-size: 0.8125rem;
  color: oklch(1 0 0 / 0.6);
  align-items: center;
}
.page-hero__breadcrumb a { color: oklch(1 0 0 / 0.78); transition: color 0.2s; }
.page-hero__breadcrumb a:hover { color: var(--cream-50); }
.page-hero__breadcrumb svg { width: 12px; height: 12px; }
.page-hero h1 {
  color: var(--cream-50);
  margin-top: 16px;
  font-size: clamp(2rem, 5.8vw, 3.75rem);
  max-width: 22ch;
}
.page-hero p {
  color: oklch(1 0 0 / 0.78);
  margin-top: 18px;
  max-width: 60ch;
  font-size: clamp(0.9375rem, 1.3vw, 1.0625rem);
}

/* --- Forms --------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }

.form {
  display: grid;
  gap: 18px;
  min-width: 0;
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; min-width: 0; }
@media (min-width: 600px) { .form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; } }
.form__field { display: grid; gap: 6px; min-width: 0; }
.form__field input, .form__field textarea, .form__field select { min-width: 0; max-width: 100%; }
.form__field label {
  font-family: var(--ff-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-800);
  letter-spacing: 0.02em;
}
.form__field input, .form__field textarea, .form__field select {
  padding: 13px 16px;
  border: 1px solid var(--cream-300);
  border-radius: var(--r-sm);
  background: var(--cream-50);
  color: var(--ink-900);
  font-family: var(--ff-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 48px;
}
.form__field input:focus, .form__field textarea:focus, .form__field select:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px var(--brand-100);
}
.form__field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.form__consent {
  font-size: 0.8125rem;
  color: var(--ink-600);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.55;
}
.form__consent input {
  margin-top: 4px;
  accent-color: var(--brand-500);
  width: 18px; height: 18px;
  flex-shrink: 0;
  min-height: 0;
}
.form button[type="submit"] { width: 100%; justify-content: center; }
@media (min-width: 540px) {
  .form button[type="submit"] { width: auto; justify-self: start; }
}

.contact-info { display: grid; gap: 14px; align-content: start; }
.info-card {
  padding: 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--cream-200);
  background: var(--cream-50);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  transition: border-color 0.3s, background 0.3s;
}
.info-card:hover { border-color: var(--brand-300); background: var(--brand-50); }
.info-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-100);
  color: var(--brand-600);
  display: grid;
  place-items: center;
}
.info-card__icon svg { width: 20px; height: 20px; }
.info-card small {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-700);
  font-weight: 600;
}
.info-card strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--ink-900);
  margin-top: 4px;
  font-size: 1.0625rem;
  line-height: 1.35;
}
.info-card a { color: inherit; }

.map {
  aspect-ratio: 16/9;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--cream-200);
  margin-top: 24px;
}
.map iframe { width: 100%; height: 100%; border: 0; }

/* --- Team grid ---------------------------------------- */

.team {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 600px) { .team { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (min-width: 900px) { .team { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.member { position: relative; }
.member__img {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream-200);
  margin-bottom: 16px;
}
.member__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out-expo); }
.member:hover .member__img img { transform: scale(1.03); }
.member__name {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--ink-900);
  font-size: 1.1875rem;
  letter-spacing: -0.005em;
}
.member__role { font-size: 0.875rem; color: var(--brand-600); margin-top: 2px; font-weight: 700; }
.member__cert { font-size: 0.75rem; color: var(--ink-500); margin-top: 6px; line-height: 1.45; }

/* --- Service detail row (page approches) ------------- */

.svc-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 22px;
  padding: 32px 0;
  align-items: start;
  border-top: 1px solid var(--cream-200);
}
.svc-row:last-child { border-bottom: 1px solid var(--cream-200); }
.svc-row__num {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-500);
  padding-top: 2px;
  min-width: 56px;
}
.svc-row__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.375rem, 3.6vw, 2.125rem);
  color: var(--ink-900);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.svc-row__desc {
  font-family: var(--ff-body);
  color: var(--ink-600);
  margin-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 64ch;
}
.svc-row__meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--ink-500);
}
.svc-row__meta strong { color: var(--brand-700); font-family: var(--ff-body); font-weight: 600; }
@media (min-width: 768px) {
  .svc-row { grid-template-columns: 90px 1fr auto; gap: 36px; padding: 40px 0; align-items: center; }
  .svc-row__cta { justify-self: end; }
}

/* --- Quote founder XXL --------------------------------- */

.quote-founder { text-align: center; max-width: 760px; margin: 0 auto; }
.quote-founder__mark {
  font-family: var(--ff-display);
  font-size: clamp(4rem, 10vw, 7rem);
  color: var(--brand-200);
  line-height: 0.6;
  margin-bottom: -10px;
}
.quote-founder__text {
  font-family: var(--ff-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.375rem, 3.5vw, 2.25rem);
  line-height: 1.35;
  color: var(--ink-900);
  letter-spacing: -0.015em;
}
.quote-founder__signature {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.quote-founder__signature img {
  width: 56px; height: 56px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid var(--cream-50);
  box-shadow: var(--shadow-md);
}
.quote-founder__signature-text { text-align: left; }
.quote-founder__signature-text strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--ink-900);
  font-size: 1.0625rem;
}
.quote-founder__signature-text span {
  font-family: var(--ff-body);
  font-size: 0.8125rem;
  color: var(--ink-500);
}

/* --- Logos strip --------------------------------------- */

.logos-strip {
  padding: 28px 0;
  border-bottom: 1px solid var(--cream-200);
  background: var(--cream-50);
}
.logos-strip__title {
  text-align: center;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-700);
  margin-bottom: 22px;
  font-weight: 600;
}
.logos-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
  align-items: center;
  justify-items: center;
}
.logos-strip__grid > * {
  font-family: var(--ff-display);
  font-weight: 700;
  text-align: center;
  color: var(--ink-700);
  font-size: 1rem;
  letter-spacing: 0.02em;
  opacity: 1;
  transition: opacity 0.3s, color 0.3s;
}
.logos-strip__grid > *:hover { opacity: 1; color: var(--brand-600); }
@media (min-width: 640px) { .logos-strip__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (min-width: 900px) {
  .logos-strip { padding: 42px 0; }
  .logos-strip__grid { grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }
  .logos-strip__grid > * { font-size: 1.0625rem; }
  .logos-strip__title { font-size: 0.75rem; letter-spacing: 0.2em; margin-bottom: 28px; }
}

/* --- Reveal animations --------------------------------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo); }
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo); }
.reveal-stagger.is-in > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0ms; }
.reveal-stagger.is-in > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 80ms; }
.reveal-stagger.is-in > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 160ms; }
.reveal-stagger.is-in > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 240ms; }
.reveal-stagger.is-in > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 320ms; }
.reveal-stagger.is-in > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 400ms; }
.reveal-stagger.is-in > *:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 480ms; }
.reveal-stagger.is-in > *:nth-child(8) { opacity: 1; transform: translateY(0); transition-delay: 560ms; }

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

/* --- Utilities ---------------------------------------- */

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mx-auto { margin-inline: auto; }
.max-w-prose { max-width: 60ch; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.divider { height: 1px; background: var(--cream-200); margin-block: clamp(2rem, 5vw, 3.5rem); }

/* ============================================
   PREMIUM ANIMATIONS — niveau 10k
   ============================================ */

/* --- Smart nav : hide on scroll down / show on scroll up --- */
.nav { transition: background 0.4s var(--ease-out-quart), border-color 0.4s var(--ease-out-quart), transform 0.45s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-quart); will-change: transform; }
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-scrolled { box-shadow: 0 4px 30px -12px oklch(0.20 0.022 215 / 0.18); }

/* --- Hero parallax & sequence reveal --- */
.hero__bg img { will-change: transform; transition: transform 1.6s var(--ease-out-expo); transform: scale(1.08); }
.hero.is-loaded .hero__bg img { transform: scale(1.0); }

.hero__content > * { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo); }
.hero.is-loaded .hero__eyebrow { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.hero.is-loaded h1 { opacity: 1; transform: translateY(0); transition-delay: 0.30s; }
.hero.is-loaded .hero__lead { opacity: 1; transform: translateY(0); transition-delay: 0.50s; }
.hero.is-loaded .hero__actions { opacity: 1; transform: translateY(0); transition-delay: 0.65s; }

.hero__trust { opacity: 0; transform: translateY(-12px) scale(0.95); transition: opacity 0.8s var(--ease-out-expo) 0.85s, transform 0.8s var(--ease-out-expo) 0.85s; }
.hero.is-loaded .hero__trust { opacity: 1; transform: translateY(0) scale(1); }

/* Word-by-word H1 staggered reveal (set up with .h1-words wrapper) */
.h1-word { display: inline-block; opacity: 0; transform: translateY(80%) rotate(2deg); transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo); }
.h1-word.is-in { opacity: 1; transform: translateY(0) rotate(0); }

/* --- Button: magnetic + ripple + arrow translate --- */
.btn { position: relative; overflow: hidden; isolation: isolate; will-change: transform; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), oklch(1 0 0 / 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-quart);
  pointer-events: none;
  z-index: 0;
}
.btn:hover::before { opacity: 1; }
.btn > * { position: relative; z-index: 1; }
.btn svg { transition: transform 0.5s var(--ease-out-expo); }
.btn:hover svg { transform: translateX(5px); }

.btn--primary { background-image: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%); background-size: 200% 100%; background-position: 0 0; transition: background-position 0.6s var(--ease-out-expo), transform 0.45s var(--ease-out-expo), box-shadow 0.45s var(--ease-out-expo); }
.btn--primary:hover { background-position: 100% 0; transform: translateY(-3px); box-shadow: 0 28px 64px -18px oklch(0.34 0.062 195 / 0.7), 0 8px 20px -8px oklch(0.34 0.062 195 / 0.45); }
.btn--primary:active { transform: translateY(-1px); }

.btn--light:hover { transform: translateY(-3px); box-shadow: 0 28px 64px -18px oklch(0.20 0.022 215 / 0.3), 0 6px 20px -8px oklch(0.20 0.022 215 / 0.18); }
.btn--ghost { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--ghost:hover { transform: translateY(-2px); }

/* Pulsing ring on primary buttons in CTA contexts */
.btn--primary.btn--pulse::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--brand-300), var(--brand-500));
  z-index: -1;
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.4s;
}
.btn--primary.btn--pulse:hover::after { opacity: 0.65; animation: pulseGlow 2.4s var(--ease-out-quart) infinite; }
@keyframes pulseGlow { 0%, 100% { transform: scale(1); opacity: 0.65; } 50% { transform: scale(1.04); opacity: 0.85; } }

/* --- Cards premium hover (svc-card, tcard, step) --- */
.svc-card { will-change: transform; }
.svc-card { transition: transform 0.65s var(--ease-out-expo), box-shadow 0.65s var(--ease-out-expo), border-color 0.4s; }
.svc-card:hover { transform: translateY(-10px); box-shadow: 0 40px 80px -28px oklch(0.20 0.022 215 / 0.32), 0 12px 28px -10px oklch(0.20 0.022 215 / 0.20); border-color: var(--brand-300); }
.svc-card__img img { transition: transform 1s var(--ease-out-expo), filter 0.6s; }
.svc-card:hover .svc-card__img img { transform: scale(1.08); filter: saturate(1.1); }
.svc-card__cta-overlay { transition: background 0.4s, transform 0.5s var(--ease-out-expo), box-shadow 0.5s; }
.svc-card:hover .svc-card__cta-overlay { transform: translate(4px, -4px) rotate(-8deg); box-shadow: 0 14px 28px -10px oklch(0.34 0.062 195 / 0.55); }
.svc-card__title { transition: color 0.4s; }
.svc-card:hover .svc-card__title { color: var(--brand-700); }

/* Card image overlay subtle on hover */
.svc-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, oklch(0.20 0.022 215 / 0.18));
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.svc-card:hover .svc-card__img::after { opacity: 1; }

/* --- Testimonial card hover --- */
.tcard { transition: transform 0.55s var(--ease-out-expo), box-shadow 0.55s var(--ease-out-expo), border-color 0.4s; will-change: transform; }
.tcard:hover { transform: translateY(-6px); box-shadow: 0 32px 64px -22px oklch(0.20 0.022 215 / 0.25), 0 10px 20px -8px oklch(0.20 0.022 215 / 0.15); border-color: var(--brand-200); }
.tcard__quote-mark { transition: transform 0.6s var(--ease-out-expo), color 0.4s; }
.tcard:hover .tcard__quote-mark { transform: scale(1.15) rotate(-4deg); color: var(--brand-500); }
.tcard__author-mark { transition: transform 0.5s var(--ease-out-expo), background 0.4s; }
.tcard:hover .tcard__author-mark { transform: scale(1.08); background: var(--brand-600); }

/* --- Step card hover (process) --- */
.step { transition: background 0.45s, border-color 0.45s, transform 0.55s var(--ease-out-expo); will-change: transform; }
.step__num { transition: transform 0.5s var(--ease-out-expo), background 0.4s; }
.step:hover { transform: translateY(-6px); background: oklch(1 0 0 / 0.14); border-color: oklch(1 0 0 / 0.28); }
.step:hover .step__num { transform: scale(1.08); background: var(--brand-200); }

/* --- About-split image hover --- */
.about-split__img-1, .about-split__img-2 { transition: transform 0.7s var(--ease-out-expo), box-shadow 0.6s; will-change: transform; }
.about-split__img-1 img, .about-split__img-2 img { transition: transform 1s var(--ease-out-expo); }
.about-split__visual:hover .about-split__img-1 { transform: translate(-4px, -4px); }
.about-split__visual:hover .about-split__img-2 { transform: translate(6px, 4px); }
.about-split__visual:hover img { transform: scale(1.04); }

/* --- Stats counter pulse --- */
.stat__num { display: inline-block; }
.stat__num span[data-counter] {
  background: linear-gradient(180deg, var(--cream-50) 0%, oklch(0.92 0.038 195) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* --- Expertise progress bar shine effect --- */
.expertise-row__bar {
  background: linear-gradient(90deg, var(--brand-400) 0%, var(--brand-600) 100%);
  position: relative;
  overflow: hidden;
}
.expertise-row__bar::after {
  content: '';
  position: absolute;
  top: 0; left: -40%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, oklch(1 0 0 / 0.45), transparent);
  transition: transform 0s;
}
.expertise-row.is-in .expertise-row__bar::after {
  animation: barShine 2.2s ease-in-out 0.6s 1;
}
@keyframes barShine {
  0% { transform: translateX(0); }
  100% { transform: translateX(800%); }
}

/* --- Info-card hover lift --- */
.info-card { transition: border-color 0.4s, background 0.4s, transform 0.5s var(--ease-out-expo), box-shadow 0.5s; will-change: transform; }
.info-card:hover { transform: translateY(-3px); border-color: var(--brand-400); background: var(--brand-50); box-shadow: 0 18px 40px -16px oklch(0.20 0.022 215 / 0.18); }
.info-card__icon { transition: transform 0.5s var(--ease-out-expo), background 0.4s, color 0.3s; }
.info-card:hover .info-card__icon { transform: scale(1.1) rotate(-4deg); background: var(--brand-500); color: var(--cream-50); }

/* --- Form field premium focus --- */
.form__field input, .form__field textarea, .form__field select {
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s, transform 0.3s var(--ease-out-quart);
}
.form__field input:focus, .form__field textarea:focus, .form__field select:focus {
  box-shadow: 0 0 0 4px var(--brand-100), 0 8px 20px -10px oklch(0.34 0.062 195 / 0.25);
  transform: translateY(-1px);
}
.form__field label { transition: color 0.3s; }
.form__field:focus-within label { color: var(--brand-600); }

/* --- FAQ accordion smooth animation --- */
.faq__item { transition: background 0.35s, border-color 0.35s, transform 0.4s var(--ease-out-quart); will-change: transform; }
.faq__item:hover { transform: translateX(3px); }
.faq__item summary::after { transition: transform 0.45s var(--ease-out-expo), background-color 0.35s; }
.faq__item p {
  overflow: hidden;
  max-height: 0;
  margin-top: 0;
  transition: max-height 0.5s var(--ease-out-quart), margin-top 0.5s var(--ease-out-quart), opacity 0.4s;
  opacity: 0;
}
.faq__item[open] p { max-height: 320px; margin-top: 14px; opacity: 1; }

/* --- Marquee logos (if used) --- */
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Page entrance --- */
body { opacity: 0; transition: opacity 0.6s ease; }
body.is-ready { opacity: 1; }

/* --- Reveal staggered children with more delays --- */
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 110ms; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 220ms; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 330ms; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 440ms; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 550ms; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: 660ms; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: 770ms; }

/* --- Smooth scrolling for anchor links --- */
html { scroll-padding-top: 80px; }

/* --- Focus visible ring premium --- */
:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; border-radius: 4px; }
.using-mouse :focus { outline: none; }

/* --- Process steps animated number reveal --- */
.step__num { position: relative; overflow: hidden; }
.step__num::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--brand-300);
  transform: scale(0);
  transition: transform 0.6s var(--ease-out-expo) 0.2s;
  opacity: 0.4;
  z-index: -1;
}
.step.is-in .step__num::after { transform: scale(1.4); opacity: 0; }

/* --- Section transitions on view --- */
.section { contain: layout style; }

/* --- Hero trust badge subtle float --- */
@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.hero__trust { animation: floatGentle 4.5s ease-in-out infinite; animation-delay: 1.5s; }

/* --- Reduced motion respect --- */
@media (prefers-reduced-motion: reduce) {
  .hero__bg img, .hero__content > *, .hero__trust { opacity: 1; transform: none !important; transition: none !important; animation: none !important; }
  .nav.is-hidden { transform: translateY(0); }
  .svc-card:hover, .tcard:hover, .step:hover, .info-card:hover { transform: none; }
}

/* ============================================
   3D ANIMATIONS — niveau premium
   ============================================ */

/* --- 3D tilt cards (profil cards on pour-qui) --- */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  perspective: 1400px;
}
@media (min-width: 640px) { .profile-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (min-width: 980px) { .profile-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.profile-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink-900);
  transform-style: preserve-3d;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
  cursor: pointer;
  will-change: transform;
  box-shadow: 0 8px 24px -10px oklch(0.20 0.022 215 / 0.18);
}
.profile-card:hover {
  box-shadow:
    0 40px 90px -28px oklch(0.20 0.022 215 / 0.45),
    0 16px 40px -12px oklch(0.34 0.062 195 / 0.30);
}
.profile-card__img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.profile-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo), filter 0.6s;
  transform: scale(1.02);
}
.profile-card:hover .profile-card__img img {
  transform: scale(1.12);
  filter: saturate(1.15) brightness(1.05);
}
.profile-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 30%, oklch(0.18 0.032 195 / 0.55) 65%, oklch(0.13 0.018 215 / 0.92) 100%);
  transition: background 0.5s;
}
.profile-card__content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  transform: translateZ(40px);
  color: var(--cream-50);
}
.profile-card__eyebrow {
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-200);
  margin-bottom: 10px;
  display: inline-block;
  transition: color 0.4s;
}
.profile-card__title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--cream-50);
  margin-bottom: 12px;
  text-wrap: balance;
}
.profile-card__desc {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  color: oklch(1 0 0 / 0.85);
  line-height: 1.55;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-out-expo), opacity 0.5s var(--ease-out-expo), margin-top 0.5s;
  margin-top: 0;
}
.profile-card:hover .profile-card__desc {
  max-height: 200px;
  opacity: 1;
  margin-top: 4px;
}
.profile-card__arrow {
  position: absolute;
  top: clamp(1.25rem, 3vw, 1.75rem);
  right: clamp(1.25rem, 3vw, 1.75rem);
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: oklch(1 0 0 / 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid oklch(1 0 0 / 0.24);
  display: grid;
  place-items: center;
  color: var(--cream-50);
  transform: translateZ(60px);
  transition: background 0.4s, transform 0.5s var(--ease-out-expo);
}
.profile-card:hover .profile-card__arrow {
  background: var(--brand-500);
  border-color: var(--brand-500);
  transform: translateZ(60px) translate(4px, -4px) rotate(-12deg);
}
.profile-card__arrow svg { width: 16px; height: 16px; }

/* --- 3D image floats (gallery) --- */
.float-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  perspective: 1200px;
}
@media (min-width: 740px) { .float-gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .float-gallery { grid-template-columns: repeat(4, 1fr); gap: 22px; } }

.float-tile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--cream-200);
  transition: transform 0.7s var(--ease-out-expo), box-shadow 0.7s;
  transform-style: preserve-3d;
  will-change: transform;
}
.float-tile:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(-3deg);
  box-shadow: 0 36px 70px -24px oklch(0.20 0.022 215 / 0.35);
}
.float-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out-expo); }
.float-tile:hover img { transform: scale(1.1); }
.float-tile--tall { aspect-ratio: 3 / 5; }
.float-tile--wide { aspect-ratio: 5 / 4; }
.float-tile__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, transparent, oklch(0.20 0.022 215 / 0.92));
  color: var(--cream-50);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s, transform 0.5s var(--ease-out-expo);
}
.float-tile:hover .float-tile__caption { opacity: 1; transform: translateY(0); }

/* --- Big quote with image background (testimonial highlight) --- */
.quote-hero {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  isolation: isolate;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.75rem, 6vw, 5rem);
  background: var(--brand-800);
  color: var(--cream-50);
  min-height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
}
.quote-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.quote-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out-expo);
  transform: scale(1.06);
}
.quote-hero:hover .quote-hero__bg img { transform: scale(1.0); }
.quote-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, oklch(0.18 0.032 195 / 0.78) 0%, oklch(0.24 0.045 195 / 0.65) 100%);
}
.quote-hero__mark {
  font-family: var(--ff-display);
  font-size: clamp(4.5rem, 12vw, 8rem);
  color: var(--brand-300);
  line-height: 0.6;
  margin-bottom: -10px;
}
.quote-hero__text {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.625rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--cream-50);
  max-width: 22ch;
  margin: 0 auto;
  text-wrap: balance;
}
.quote-hero__sig {
  font-family: var(--ff-body);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  color: oklch(1 0 0 / 0.75);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

/* --- Magazine grid (journal) --- */
.mag-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  perspective: 1500px;
}
@media (min-width: 740px) {
  .mag-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(240px, auto);
    gap: 24px;
  }
}
@media (min-width: 1100px) {
  .mag-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
  }
  .mag-card--feature { grid-column: span 2; grid-row: span 2; }
}

.mag-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream-100);
  transition: transform 0.7s var(--ease-out-expo), box-shadow 0.7s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  will-change: transform;
  transform-style: preserve-3d;
}
.mag-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 36px 70px -24px oklch(0.20 0.022 215 / 0.35);
}
.mag-card__img {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 200px;
}
.mag-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out-expo);
}
.mag-card:hover .mag-card__img img { transform: scale(1.07); }
.mag-card__body {
  padding: 22px 24px 24px;
  background: var(--cream-50);
  position: relative;
  z-index: 1;
}
.mag-card__meta {
  display: flex;
  gap: 14px;
  font-family: var(--ff-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 10px;
}
.mag-card__title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  margin-bottom: 8px;
  transition: color 0.3s;
}
.mag-card:hover .mag-card__title { color: var(--brand-700); }
.mag-card__excerpt {
  font-family: var(--ff-body);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-600);
  max-width: 50ch;
}

/* Feature card overrides */
.mag-card--feature {
  min-height: 460px;
}
.mag-card--feature .mag-card__img { min-height: 320px; }
.mag-card--feature .mag-card__title { font-size: clamp(1.5rem, 2.8vw, 2.125rem); }

/* --- Cube 3D rotative pour stat --- */
.cube-wrap {
  perspective: 800px;
  width: 60px;
  height: 60px;
  display: inline-block;
}
.cube {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: cubeRotate 16s linear infinite;
}
.cube__face {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: var(--brand-500);
  display: grid;
  place-items: center;
  color: var(--cream-50);
  font-family: var(--ff-display);
  font-weight: 800;
}
.cube__face--front  { transform: translateZ(30px); }
.cube__face--back   { transform: rotateY(180deg) translateZ(30px); }
.cube__face--right  { transform: rotateY(90deg) translateZ(30px); }
.cube__face--left   { transform: rotateY(-90deg) translateZ(30px); }
.cube__face--top    { transform: rotateX(90deg) translateZ(30px); }
.cube__face--bottom { transform: rotateX(-90deg) translateZ(30px); }
@keyframes cubeRotate {
  0%   { transform: rotateX(-20deg) rotateY(0); }
  100% { transform: rotateX(-20deg) rotateY(360deg); }
}

/* --- Reveal 3D (cards flip-in from depth) --- */
.reveal-3d { opacity: 0; transform: perspective(900px) rotateX(-12deg) translateY(40px); transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo); transform-origin: top center; }
.reveal-3d.is-in { opacity: 1; transform: perspective(900px) rotateX(0) translateY(0); }
.reveal-3d-stagger > * { opacity: 0; transform: perspective(900px) rotateX(-10deg) translateY(30px); transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo); transform-origin: top center; }
.reveal-3d-stagger.is-in > *:nth-child(1) { opacity: 1; transform: perspective(900px) rotateX(0) translateY(0); transition-delay: 0ms; }
.reveal-3d-stagger.is-in > *:nth-child(2) { opacity: 1; transform: perspective(900px) rotateX(0) translateY(0); transition-delay: 120ms; }
.reveal-3d-stagger.is-in > *:nth-child(3) { opacity: 1; transform: perspective(900px) rotateX(0) translateY(0); transition-delay: 240ms; }
.reveal-3d-stagger.is-in > *:nth-child(4) { opacity: 1; transform: perspective(900px) rotateX(0) translateY(0); transition-delay: 360ms; }
.reveal-3d-stagger.is-in > *:nth-child(5) { opacity: 1; transform: perspective(900px) rotateX(0) translateY(0); transition-delay: 480ms; }
.reveal-3d-stagger.is-in > *:nth-child(6) { opacity: 1; transform: perspective(900px) rotateX(0) translateY(0); transition-delay: 600ms; }

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .profile-card { transform: none !important; }
  .float-tile:hover, .mag-card:hover { transform: none !important; }
  .cube { animation: none !important; }
  .reveal-3d, .reveal-3d-stagger > * { opacity: 1; transform: none; }
}

/* ============================================
   TEAL FRAME — dégradé bordure latérale + transitions
   ============================================ */

/* Body frame : dégradé teal TRÈS subtle sur les bordures latérales */
body::before,
body::after {
  content: '';
  position: fixed;
  top: 0;
  bottom: 0;
  width: clamp(40px, 7vw, 140px);
  z-index: 0;
  pointer-events: none;
}
body::before {
  left: 0;
  background:
    linear-gradient(90deg,
      oklch(0.72 0.078 195 / 0.08) 0%,
      oklch(0.84 0.060 195 / 0.04) 50%,
      transparent 100%);
}
body::after {
  right: 0;
  background:
    linear-gradient(270deg,
      oklch(0.72 0.078 195 / 0.08) 0%,
      oklch(0.84 0.060 195 / 0.04) 50%,
      transparent 100%);
}

/* Make sure key sections stay above the body frame */
.nav, .topbar, .hero, .section, .footer, .page-hero, .stats-bar { position: relative; z-index: 1; }

/* Mobile : narrow & soft */
@media (max-width: 740px) {
  body::before, body::after { width: 18px; }
}

/* Body — aurora teal douce, presque imperceptible */
body {
  background:
    radial-gradient(ellipse 100% 500px at 50% 0%, oklch(0.84 0.060 195 / 0.07) 0%, transparent 75%),
    radial-gradient(ellipse 100% 500px at 50% 100%, oklch(0.84 0.060 195 / 0.05) 0%, transparent 75%),
    var(--cream-50);
  background-attachment: fixed;
}

/* Section dividers — fine teal ribbon */
.section-ribbon {
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--brand-200) 20%,
    var(--brand-500) 50%,
    var(--brand-200) 80%,
    transparent 100%);
  opacity: 0.85;
}

/* Cream sections — teinte teal très douce */
.section--cream {
  background:
    linear-gradient(180deg,
      oklch(0.965 0.011 75) 0%,
      oklch(0.96 0.014 130) 100%);
  position: relative;
}
.section--cream::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(160px, 30%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-300), transparent);
  opacity: 0.5;
}

/* Stats bar — gradient teal subtle premium */
.stats-bar {
  background:
    radial-gradient(ellipse 80% 100% at 20% 0%, oklch(0.58 0.080 195) 0%, transparent 70%),
    linear-gradient(135deg, var(--brand-500) 0%, var(--brand-600) 100%);
  position: relative;
  isolation: isolate;
}

/* Footer — gradient teal sobre */
.footer {
  background:
    radial-gradient(ellipse 70% 50% at 10% 10%, oklch(0.30 0.058 195) 0%, transparent 65%),
    linear-gradient(180deg, var(--brand-900) 0%, oklch(0.15 0.022 215) 100%);
}

/* CTA-section — halo teal extrêmement doux */
.cta-section {
  background:
    radial-gradient(ellipse 700px 280px at 50% 50%, oklch(0.92 0.038 195 / 0.25) 0%, transparent 75%),
    var(--cream-50);
}
.cta-section .cta-band {
  position: relative;
}
.cta-section .cta-band::before {
  content: '';
  position: absolute;
  top: -32px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-400), transparent);
  opacity: 0.45;
}

/* Page-hero — gradient teal sobre */
.page-hero {
  background:
    radial-gradient(ellipse 80% 100% at 50% 30%, oklch(0.30 0.058 195) 0%, var(--brand-900) 80%);
}

/* Section with teal accent borders (use on key sections) */
.section--teal-accent {
  position: relative;
}
.section--teal-accent::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--brand-300) 15%,
    var(--brand-500) 50%,
    var(--brand-300) 85%,
    transparent 100%);
  opacity: 0.6;
}

/* Hero — no extra glow, le gradient natif suffit */

/* Floating teal blobs on long sections for visual interest */
.section-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, oklch(0.72 0.078 195 / 0.16) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.section-blob--tl { top: -100px; left: -150px; }
.section-blob--br { bottom: -100px; right: -150px; }

/* ============================================
   PAGE LOADER — design teal premium
   ============================================ */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cream-50);
  display: grid;
  place-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s var(--ease-out-expo), visibility 0.55s var(--ease-out-expo);
}
.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
}
.page-loader.is-leaving {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s var(--ease-out-quart), visibility 0.35s var(--ease-out-quart);
}

.page-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.page-loader__mark-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}
.page-loader__mark {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  display: grid;
  place-items: center;
  color: var(--cream-50);
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  box-shadow: 0 10px 30px -10px oklch(0.34 0.062 195 / 0.45);
  animation: loaderBreathe 1.8s var(--ease-out-quart) infinite;
}
.page-loader__ring {
  position: absolute;
  inset: 0;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 2px solid oklch(0.84 0.060 195 / 0.4);
  border-top-color: var(--brand-600);
  border-right-color: var(--brand-500);
  animation: loaderSpin 1.4s linear infinite;
}

.page-loader__label {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-600);
  opacity: 0.85;
  animation: loaderFade 1.8s ease-in-out infinite;
}

@keyframes loaderBreathe {
  0%, 100% { transform: scale(0.95); }
  50% { transform: scale(1.05); }
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}
@keyframes loaderFade {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* Hide loader for users that prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .page-loader__mark, .page-loader__ring, .page-loader__label {
    animation: none;
  }
}

/* Mobile : keep loader but slightly smaller */
@media (max-width: 540px) {
  .page-loader__mark-wrap { width: 56px; height: 56px; }
  .page-loader__mark { width: 46px; height: 46px; font-size: 1.25rem; }
  .page-loader__ring { width: 56px; height: 56px; border-radius: 16px; }
}

/* ─── Sticky Khoma CTA · pill flottant centré ─── */
.khoma-cta {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 14px 12px 22px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(10, 10, 10, 0.35), 0 6px 14px rgba(10, 10, 10, 0.18);
  color: white;
  text-decoration: none;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 320ms cubic-bezier(0.16, 1, 0.3, 1),
              background 180ms cubic-bezier(0.16, 1, 0.3, 1);
  max-width: calc(100% - 28px);
}
.khoma-cta:hover {
  background: rgba(10, 10, 10, 0.96);
  transform: translateX(-50%) translateY(-2px);
}
.khoma-cta__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5B3DF5;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(91, 61, 245, 0.7);
  animation: khomaDotPulse 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes khomaDotPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(91, 61, 245, 0.7); transform: scale(1); }
  50% { box-shadow: 0 0 16px rgba(91, 61, 245, 1); transform: scale(1.2); }
}
.khoma-cta__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.25;
}
.khoma-cta__title {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.khoma-cta__sub {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.62);
}
.khoma-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #5B3DF5;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  transition: background 180ms ease, transform 180ms cubic-bezier(0.34, 1.36, 0.64, 1);
}
.khoma-cta__btn:hover { background: #4530D6; transform: translateY(-1px); }
.khoma-cta__btn svg { width: 11px; height: 11px; }
.khoma-cta.is-hidden {
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 760px) {
  .khoma-cta {
    bottom: 14px;
    max-width: calc(100% - 20px);
    width: calc(100% - 20px);
    padding: 9px 10px 9px 16px;
    gap: 10px;
    box-shadow: 0 14px 32px rgba(10, 10, 10, 0.32), 0 4px 10px rgba(10, 10, 10, 0.20);
  }
  .khoma-cta:hover { transform: translateX(-50%) translateY(-1px); }
  .khoma-cta.is-hidden { transform: translateX(-50%) translateY(140%); }
  .khoma-cta__text { flex: 1; min-width: 0; }
  .khoma-cta__title { font-size: 12.5px; }
  .khoma-cta__sub { font-size: 10.5px; }
  .khoma-cta__btn { padding: 8px 12px; font-size: 12px; }
}
