/* ═══════════════════════════════════════════════════════════════
   ATELIER VERRIÈRE · Lausanne · démo Khoma
   Direction artistique inspirée Optik (Webflow architecture template)
   Sans-serif minimal · noir/blanc · BIG type · éditorial
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
  min-width: 0;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.05; }

/* ─── Tokens ─── */
:root {
  --ink:           #0A0A0A;
  --ink-2:         #1F1F1F;
  --ink-3:         #5C5C5C;
  --ink-4:         #909090;
  --bg:            #FFFFFF;
  --bg-alt:        #F7F7F7;
  --bg-mute:       #EDEDED;
  --bg-bone:       #E8E5DC;
  --border:        #E5E5E5;
  --border-soft:   #F0F0F0;

  --r-pill:        999px;
  --r-card:        16px;
  --r-card-lg:     24px;

  --ease:          cubic-bezier(0.16, 1, 0.3, 1);
  --spring:        cubic-bezier(0.34, 1.36, 0.64, 1);
  --t-fast:        180ms;
  --t-base:        320ms;
  --t-med:         540ms;
  --t-slow:        800ms;
}

/* ─── Utilities ─── */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.container--narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}

.display {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--ink);
  text-transform: uppercase;
}
.display em {
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-transform: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--spring);
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: white;
}
.btn--primary:hover {
  background: var(--ink-2);
  transform: translateY(-2px);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  border: 1px solid rgba(10, 10, 10, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.btn__arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: transform var(--t-fast) var(--ease);
}
.btn--primary .btn__arrow { background: white; }
.btn--ghost .btn__arrow { background: var(--bg-alt); }
.btn--ghost:hover .btn__arrow { background: white; }
.btn:hover .btn__arrow { transform: rotate(-45deg); }
.btn__arrow svg { width: 12px; height: 12px; }

/* ─── Header sticky ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--t-base) var(--ease);
}
.header.scrolled { background: rgba(255, 255, 255, 0.98); box-shadow: 0 4px 14px rgba(10, 10, 10, 0.04); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.header__logo {
  display: inline-flex;
  align-items: center;
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.header__logo-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  margin-right: 12px;
  flex-shrink: 0;
}
.header__nav {
  display: flex;
  gap: 36px;
}
.header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.005em;
  transition: color var(--t-fast) var(--ease);
  position: relative;
}
.header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.header__nav a:hover::after,
.header__nav a.is-current::after { transform: scaleX(1); }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  background: var(--bg-alt);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: background var(--t-fast) var(--ease);
}
.header__phone:hover { background: var(--bg-mute); }
.header__phone-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
}
.header__phone-icon svg { width: 12px; height: 12px; }
.header__phone-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.2; }
.header__phone-label { font-size: 10px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; }
.header__phone-number { font-family: 'Inter Tight', sans-serif; font-weight: 700; font-size: 13.5px; }

/* ─── Menu burger (mobile only) ─── */
.header__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  border: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 110;
}
.header__burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: white;
  border-radius: 1px;
  transition: transform 320ms var(--ease),
              top 240ms var(--ease) 120ms,
              opacity 200ms var(--ease);
}
.header__burger span:nth-child(1) { top: 17px; }
.header__burger span:nth-child(2) { top: 22px; }
.header__burger span:nth-child(3) { top: 27px; }
.header__burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); transition: top 240ms var(--ease), transform 320ms var(--ease) 120ms; }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); transition: top 240ms var(--ease), transform 320ms var(--ease) 120ms; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  color: white;
  display: flex;
  flex-direction: column;
  padding: 100px 28px 40px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 360ms var(--ease),
              transform 360ms var(--ease);
}
.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.mobile-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: 'Inter Tight', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: white;
  text-transform: uppercase;
}
.mobile-nav__list a span {
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.40);
  text-transform: uppercase;
}
.mobile-nav__list a.is-current { color: white; }
.mobile-nav__list a.is-current span { color: white; }
.mobile-nav__foot {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.mobile-nav__phone {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: white;
}
.mobile-nav__phone-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.mobile-nav__social {
  display: flex;
  gap: 14px;
}
.mobile-nav__social a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
}
body.no-scroll { overflow: hidden; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: clamp(560px, 84vh, 820px);
  padding: clamp(40px, 5vw, 64px) 0 clamp(40px, 5vw, 80px);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.55) 35%, rgba(255,255,255,0) 55%, rgba(10,10,10,0.42) 100%);
}
@media (max-width: 760px) {
  .hero__bg::after {
    background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.75) 40%, rgba(255,255,255,0.30) 60%, rgba(10,10,10,0.55) 100%);
  }
}
.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: flex-end;
  min-height: clamp(440px, 70vh, 700px);
}
.hero__copy {
  max-width: 480px;
}
.hero__sub {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 32px;
}
.hero__cta-group { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero__meta {
  font-size: 13px;
  color: var(--ink-3);
  text-align: right;
}
.hero__meta-line {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 4px;
}
.hero__meta-line:last-child { margin-bottom: 0; }
.hero__meta strong { color: var(--ink); font-weight: 600; }

/* Mobile · meta hero · carte compacte 1 col, lignes alignées, stagger reveal */
@media (max-width: 980px) {
  .hero__meta {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(10, 10, 10, 0.08);
    padding: 4px 18px;
    border-radius: var(--r-card);
    box-shadow: 0 8px 24px rgba(10, 10, 10, 0.07);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .hero__meta-line {
    display: flex;
    align-items: baseline;
    gap: 10px;
    justify-content: flex-start;
    margin: 0;
    padding: 11px 0;
    border-bottom: 1px solid rgba(10, 10, 10, 0.06);
    font-size: 13px;
    color: var(--ink-3);
    letter-spacing: -0.005em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* stagger animation initial state */
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 540ms var(--ease),
                transform 540ms var(--ease);
  }
  .hero__meta-line:last-child { border-bottom: 0; }
  .hero__meta-line strong {
    color: var(--ink);
    font-weight: 700;
    font-family: 'Inter Tight', sans-serif;
    letter-spacing: -0.015em;
    font-size: 14.5px;
    min-width: 96px;
    display: inline-block;
  }
  .hero__meta-line::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ink);
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 360ms var(--ease) 200ms,
                transform 480ms var(--spring) 200ms;
  }
  /* Reveal stagger sur is-visible (data-reveal géré par IntersectionObserver) */
  .hero__meta.is-visible .hero__meta-line {
    opacity: 1;
    transform: translateX(0);
  }
  .hero__meta.is-visible .hero__meta-line::before {
    opacity: 1;
    transform: scale(1);
  }
  .hero__meta.is-visible .hero__meta-line:nth-child(1) { transition-delay: 100ms; }
  .hero__meta.is-visible .hero__meta-line:nth-child(2) { transition-delay: 220ms; }
  .hero__meta.is-visible .hero__meta-line:nth-child(3) { transition-delay: 340ms; }
  .hero__meta.is-visible .hero__meta-line:nth-child(4) { transition-delay: 460ms; }
  .hero__meta.is-visible .hero__meta-line:nth-child(1)::before { transition-delay: 280ms; }
  .hero__meta.is-visible .hero__meta-line:nth-child(2)::before { transition-delay: 400ms; }
  .hero__meta.is-visible .hero__meta-line:nth-child(3)::before { transition-delay: 520ms; }
  .hero__meta.is-visible .hero__meta-line:nth-child(4)::before { transition-delay: 640ms; }
}
@media (max-width: 380px) {
  .hero__meta-line { font-size: 12px; }
  .hero__meta-line strong { font-size: 13.5px; min-width: 84px; }
}

/* Big type bottom (kinetic) */
.hero__big {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(90px, 21vw, 320px);
  letter-spacing: -0.06em;
  line-height: 0.85;
  text-align: center;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  mix-blend-mode: difference;
  color: white;
  width: 100%;
  max-width: 100%;
}

/* ─── Stats bar ─── */
.stats {
  background: var(--ink);
  color: white;
  padding: clamp(36px, 5vw, 56px) 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
.stats__item {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: clamp(20px, 2.4vw, 32px);
}
.stats__item:first-child { border-left: 0; padding-left: 0; }
.stats__value {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stats__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.4;
}

/* ─── Section · About teaser ─── */
.section {
  padding: clamp(80px, 10vw, 140px) 0;
}
.section--bg-alt { background: var(--bg-alt); }
.section--bg-ink { background: var(--ink); color: white; }
.section__head {
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section__head--center { text-align: center; }
.section__head .tag { margin-bottom: 18px; }
.section__title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 5.6vw, 76px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-transform: uppercase;
  color: var(--ink);
  max-width: 1100px;
}
.section--bg-ink .section__title { color: white; }
.section__title em { font-style: italic; font-weight: 600; text-transform: none; }
.section__lead {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-3);
  line-height: 1.55;
  margin-top: 18px;
  max-width: 640px;
}
.section--bg-ink .section__lead { color: rgba(255, 255, 255, 0.7); }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: flex-end;
}
.about__visual {
  aspect-ratio: 4/3;
  background: var(--bg-mute);
  border-radius: var(--r-card-lg);
  overflow: hidden;
  position: relative;
}
.about__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.about__visual:hover img { transform: scale(1.04); }
.about__text p {
  font-size: 16.5px;
  color: var(--ink-2);
  line-height: 1.65;
  margin-bottom: 18px;
}
.about__text p:last-child { margin-bottom: 0; }
.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.about__value-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.about__value-text {
  font-family: 'Inter Tight', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}

/* ─── Projects · grid ─── */
.projects__intro {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3.2vw, 48px);
}
.project-card {
  display: block;
  transition: transform var(--t-base) var(--spring);
}
.project-card:hover { transform: translateY(-6px); }
.project-card__media {
  aspect-ratio: 4/3;
  background: var(--bg-mute);
  border-radius: var(--r-card);
  overflow: hidden;
  position: relative;
  margin-bottom: 18px;
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.project-card:hover .project-card__media img { transform: scale(1.05); }
.project-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.project-card__name {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.2;
}
.project-card__location {
  font-size: 13.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.project-card__tags {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.project-card__tag {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: -0.005em;
}
.project-card__tag::before { content: '#'; opacity: 0.5; margin-right: 1px; }

/* ─── Services 01-04 numbered list ─── */
.services__list {
  border-top: 1px solid var(--border);
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background var(--t-base) var(--ease),
              padding var(--t-base) var(--ease);
  position: relative;
  cursor: pointer;
}
.service-row:hover { background: var(--bg-alt); }
.service-row__num {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  padding-left: clamp(12px, 2vw, 20px);
}
.service-row__title {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  text-transform: uppercase;
}
.service-row__title em {
  font-style: italic;
  font-weight: 600;
  text-transform: none;
}
.service-row__tags {
  font-size: 13px;
  color: var(--ink-3);
  text-align: right;
  padding-right: clamp(12px, 2vw, 20px);
}
.service-row__tag { display: inline; }
.service-row__tag::before { content: '#'; opacity: 0.5; margin-right: 1px; }
.service-row__tag + .service-row__tag::before { content: ' #'; }
.service-row__arrow {
  position: absolute;
  right: clamp(12px, 2vw, 20px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity var(--t-base) var(--ease),
              transform var(--t-base) var(--ease);
}
.service-row__arrow svg { width: 14px; height: 14px; }
.service-row:hover .service-row__arrow { opacity: 1; transform: translateX(0); }
.service-row:hover .service-row__tags { opacity: 0; }

/* ─── Awards ─── */
.awards__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.awards__visual {
  aspect-ratio: 4/5;
  background: var(--bg-mute);
  border-radius: var(--r-card-lg);
  overflow: hidden;
}
.awards__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.awards__list { display: flex; flex-direction: column; }
.award-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(20px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.award-row:first-child { border-top: 1px solid var(--border); }
.award-row__year {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.award-row__name {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}
.award-row__cat {
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: right;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Testimonials ─── */
.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.testi-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 32px);
  transition: transform var(--t-base) var(--spring),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10, 10, 10, 0.08); border-color: var(--ink-4); }
.section--bg-alt .testi-card { background: white; }
.testi-card__stars {
  font-size: 14px;
  color: var(--ink);
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.testi-card__quote {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.015em;
}
.testi-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.testi-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-mute);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.testi-card__name { font-family: 'Inter Tight', sans-serif; font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.testi-card__role { font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }

/* ─── Final CTA dark ─── */
.cta-final {
  background: var(--ink);
  color: white;
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.cta-final__title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 6.5vw, 100px);
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: white;
}
.cta-final__title em {
  font-style: italic;
  font-weight: 600;
  text-transform: none;
}
.cta-final__sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.cta-final .btn--primary {
  background: white;
  color: var(--ink);
  padding: 18px 32px;
  font-size: 15.5px;
}
.cta-final .btn--primary:hover {
  background: var(--bg-bone);
  transform: translateY(-2px);
}
.cta-final .btn--primary .btn__arrow {
  background: var(--ink);
  color: white;
}

/* ─── Footer ─── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: clamp(60px, 7vw, 100px) 0 clamp(36px, 4vw, 56px);
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.footer__brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: white;
  margin-bottom: 22px;
}
.footer__brand-logo .header__logo-mark { background: white; color: var(--ink); }
.footer__brand-text { line-height: 1.55; max-width: 320px; margin-bottom: 22px; color: rgba(255, 255, 255, 0.72); }
.footer__addr { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }
.footer__col h4 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: rgba(255, 255, 255, 0.78); transition: color var(--t-fast) var(--ease); }
.footer__col a:hover { color: white; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ─── Sticky Khoma CTA (sur toutes pages du sous-site) ─── */
.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: var(--r-pill);
  box-shadow: 0 18px 40px rgba(10, 10, 10, 0.35),
              0 6px 14px rgba(10, 10, 10, 0.18);
  color: white;
  transition: transform var(--t-base) var(--ease),
              opacity var(--t-base) var(--ease),
              background var(--t-fast) var(--ease);
  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 var(--ease) 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', 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: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: white;
  transition: background var(--t-fast) var(--ease),
              transform var(--t-fast) var(--spring);
}
.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;
}

/* ─── Reveals ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms var(--ease),
              transform 900ms var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 980px) {
  .hero__content { grid-template-columns: 1fr; gap: 32px; align-items: flex-start; }
  .hero__meta { text-align: left; }
  .hero__meta-line { justify-content: flex-start; }
  .hero__big { font-size: clamp(80px, 18vw, 180px); }
  .about__grid { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr; }
  .awards__grid { grid-template-columns: 1fr; }
  .testi__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .header__nav { display: none; }
  .header__phone { display: none; } /* phone caché, accessible via burger */
  .header__burger { display: inline-flex; }
  .header__inner { height: 64px; padding: 0 18px; }
  .header__logo { font-size: 13px; }
  .hero { min-height: 600px; padding-top: 24px; }
  .stats__grid { grid-template-columns: 1fr; }
  .stats__item { border-left: 0; border-top: 1px solid rgba(255,255,255,0.14); padding-left: 0; padding-top: 24px; }
  .stats__item:first-child { border-top: 0; padding-top: 0; }
  .service-row { grid-template-columns: 60px 1fr; gap: 16px; padding: 24px 0; }
  .service-row__tags { display: none; }
  .service-row__arrow { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  /* ─── Sticky Khoma CTA · pill rond flottant avec marge ─── */
  .khoma-cta {
    bottom: 14px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: calc(100% - 20px);
    width: calc(100% - 20px);
    border-radius: var(--r-pill);
    padding: 9px 10px 9px 16px;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 32px rgba(10, 10, 10, 0.32),
                0 4px 10px rgba(10, 10, 10, 0.20);
    outline: none;
  }
  .khoma-cta:focus-visible {
    outline: 2px solid rgba(196, 181, 253, 0.7);
    outline-offset: 3px;
  }
  .khoma-cta:hover { transform: translateX(-50%) translateY(-1px); }
  .khoma-cta.is-hidden { transform: translateX(-50%) translateY(140%); }
  .khoma-cta__text {
    flex: 1 1 auto;
    min-width: 0;
  }
  .khoma-cta__title {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .khoma-cta__sub {
    font-size: 10.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .khoma-cta__btn { padding: 9px 14px; font-size: 12px; flex-shrink: 0; }
}
@media (max-width: 380px) {
  .khoma-cta__sub { display: none; }
}
