/* PIX|WEB — Styles spécifiques sur-mesure.
   Source page sur-mesure refactorisée. */

:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --text: #ffffff;
  --text-soft: rgba(255,255,255,.74);
  --text-dark: #050505;
  --text-dark-soft: rgba(5,5,5,.60);
  --line: rgba(255,255,255,.12);
  --line-dark: rgba(5,5,5,.12);
  --panel: rgba(255,255,255,.06);
  --panel-strong: rgba(255,255,255,.10);
  --white: #ffffff;
  --surface: #ffffff;
  --radius-xl: 18px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-xl: 0 48px 140px rgba(0,0,0,.45);
  --shadow-lg: 0 32px 88px rgba(0,0,0,.22);
  --ease: cubic-bezier(.22,.61,.36,1);
}





img {
  max-width: 100%;
  display: block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(14px);
  color: rgba(255,255,255,.78);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  width: max-content;
  max-width: 100%;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 8px rgba(255,255,255,.10);
}

.eyebrow--dark {
  color: var(--text-dark);
  background: rgba(5,5,5,.04);
  border-color: rgba(5,5,5,.12);
}

.eyebrow--dark::before {
  background: var(--bg);
  box-shadow: 0 0 0 8px rgba(5,5,5,.08);
}

.btn {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 700;
  letter-spacing: -.01em;
  backdrop-filter: blur(14px);
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.14);
}

.btn--white {
  background: #fff;
  border-color: #fff;
  color: #050505;
}

.btn--black {
  background: #050505;
  border-color: #050505;
  color: #fff;
}

.sur-hero {
  position: relative;
  height: 255svh;
  background: var(--bg);
  isolation: isolate;
}

.sur-hero__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 0 24px;
}

.sur-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 16%, rgba(255,255,255,.12), transparent 34%),
        radial-gradient(circle at 14% 76%, rgba(255,255,255,.06), transparent 26%),
        linear-gradient(180deg, rgba(255,255,255,.04), transparent 44%);
  z-index: -3;
}

.sur-hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.034) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.034) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  opacity: .16;
  pointer-events: none;
  z-index: -2;
}

.sur-hero__visual {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1020px, calc(100vw - 48px));
  height: min(68svh, 640px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transform: translate3d(-50%, -44%, 0) scale(.84);
  box-shadow: var(--shadow-xl);
  background: #111;
  z-index: 0;
  will-change: transform, border-radius;
}

.sur-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.28) 48%, rgba(0,0,0,.72)),
        url('https://images.unsplash.com/photo-1558655146-9f40138edfeb?auto=format&fit=crop&w=1800&q=85') center/cover no-repeat;
  transform: scale(var(--hero-image-scale, 1.08));
}

.sur-hero__copy {
  position: relative;
  z-index: 4;
  width: min(1140px, 100%);
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 0;
  will-change: transform, opacity;
  pointer-events: none;
}

.sur-hero h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(2.4rem, 4.2vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 300;
  text-wrap: balance;
  text-shadow: 0 18px 54px rgba(0,0,0,.42);
  white-space: normal;
}

.section {
  position: relative;
  isolation: isolate;
}

.section__content {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
}

.method {
  height: 320svh;
  background: var(--bg);
  overflow: clip;
}

.method__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 96px 0 38px;
}

.method__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 42%, rgba(255,255,255,.10), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(255,255,255,.06), transparent 18%),
        linear-gradient(180deg, rgba(255,255,255,.03), transparent 48%);
  pointer-events: none;
}

.method__layout {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
}

.method__text {
  max-width: 560px;
}

.method__text h2 {
  max-width: 10ch;
}

.method-line {
  opacity: 0;
  transform: translate3d(-82px, 24px, 0);
  will-change: transform, opacity;
}

.method-line--block {
  display: block;
}

.method-line--eyebrow {
  display: inline-flex;
}

.method__text p.method-line {
  max-width: 620px;
}

.method__visual {
  position: relative;
  min-height: min(72svh, 680px);
  height: min(72svh, 680px);
}

.method__visual::after {
  content: "";
  position: absolute;
  right: 12%;
  top: 14%;
  width: min(280px, 30vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), rgba(255,255,255,.04) 42%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.method-float-card {
  position: absolute;
  border-radius: 28px;
  overflow: hidden;
  background: #111;
  color: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.24);
  border: 1px solid rgba(255,255,255,.10);
  opacity: 0;
  will-change: transform, opacity, filter;
}

.method-float-card--1 {
  left: 4%;
  top: 16%;
  width: min(320px, 28vw);
  height: min(230px, 28svh);
}

.method-float-card--2 {
  right: 2%;
  top: 8%;
  width: min(270px, 24vw);
  height: min(200px, 24svh);
}

.method-float-card--3 {
  left: 12%;
  bottom: 6%;
  width: min(260px, 23vw);
  height: min(220px, 25svh);
}

.method-float-card--4 {
  right: 2.2%;
  bottom: 1%;
  width: min(360px, 32vw);
  height: min(260px, 30svh);
}

.method-float-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  animation: none;
  transform-origin: center;
}

.method-float-card__media {
  position: absolute;
  inset: 0;
}

.method-float-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.82)),
        var(--image, linear-gradient(135deg, #202020, #050505));
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
}

.method-float-card__content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px 20px 18px;
  z-index: 2;
}

.method-float-card__content b {
  display: inline-flex;
  margin-bottom: 10px;
  color: rgba(255,255,255,.70);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
}

.method-float-card__content strong {
  display: block;
  font-size: clamp(1.15rem, 1.9vw, 1.9rem);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 380;
}

.method-float-card__content span {
  display: block;
  margin-top: 10px;
  color: rgba(255,255,255,.74);
  line-height: 1.55;
  font-size: .92rem;
  max-width: 32ch;
}

.method-float-card, .method-float-card__inner, .method-float-card__content, .method-float-card__content b, .method-float-card__content strong, .method-float-card__content span {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-font-smoothing: antialiased;
}

.method h2, .stack h2, .reveal-scene h2, .horizontal h2, .precision h2, .final h2 {
  margin: 18px 0 0;
  font-size: clamp(2.4rem, 4.2vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 300;
  text-wrap: balance;
}

.method__text p, .stack__text p, .reveal-scene__copy p, .horizontal__head p, .precision__head p, .final p {
  margin: 22px 0 0;
  max-width: 620px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.18vw, 1.13rem);
  line-height: 1.75;
}

.step-list {
  display: grid;
  gap: 16px;
}

.step-card {
  position: relative;
  padding: 22px 22px 22px 74px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(16px);
  opacity: .42;
  transform: translateX(32px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}

.step-card.is-active {
  opacity: 1;
  transform: translateX(0);
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}

.step-card__num {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: .82rem;
  color: rgba(255,255,255,.84);
}

.step-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.15rem, 1.7vw, 1.72rem);
  font-weight: 320;
  letter-spacing: -.03em;
}

.step-card span {
  display: block;
  color: rgba(255,255,255,.62);
  line-height: 1.62;
  font-size: .98rem;
}

.stack {
  height: 420svh;
  background: var(--surface);
  color: var(--text-dark);
}

.stack__sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 100px 0 44px;
}

.stack__layout {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(34px, 7vw, 100px);
  align-items: center;
}

.stack__text p, .precision__head p, .final p {
  color: var(--text-dark-soft);
}

.stack-stage {
  position: relative;
  height: min(72svh, 680px);
  perspective: 1900px;
  perspective-origin: 50% 78%;
}

.stack-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(390px, 29vw);
  height: min(54svh, 490px);
  overflow: hidden;
  border-radius: 30px;
  background: #111;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transform-origin: center 92%;
  will-change: transform, opacity;
}

.stack-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.74)),
        var(--image, linear-gradient(135deg, #202020, #050505));
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.stack-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(26px, 4vw, 46px);
}

.stack-card b, .h-card b {
  display: inline-flex;
  margin-bottom: 16px;
  color: rgba(255,255,255,.68);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
}

.stack-card h3, .h-card h3, .precision-card h3 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.15rem, 3.05vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  font-weight: 300;
}

.stack-card p, .h-card p, .precision-card p {
  margin: 16px 0 0;
  max-width: 46ch;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  font-size: clamp(.96rem, 1.08vw, 1.05rem);
}

.reveal-scene {
  height: 920svh;
  background: var(--bg);
}

.reveal-scene__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 24px;
}

.reveal-scene__media {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1060px, calc(100vw - 48px));
  height: min(72svh, 650px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-xl);
  background: #121212;
  will-change: width, height, border-radius;
}

.reveal-scene__cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.78)),
        url('https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=85') center/cover no-repeat;
  transform: scale(var(--reveal-image-scale, 1.04));
  will-change: opacity, transform;
}

.reveal-scene__web {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #ffffff;
  color: #050505;
  opacity: 0;
  overflow: hidden;
  will-change: opacity;
}

.reveal-webpage {
  width: 100%;
  min-height: 185%;
  padding: clamp(26px, 4vw, 58px);
  will-change: transform;
}

.reveal-webpage__nav {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(5,5,5,.12);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(5,5,5,.62);
}

.reveal-webpage__brand {
  color: #050505;
  font-weight: 720;
  letter-spacing: -.04em;
  font-size: 1rem;
  text-transform: none;
}

.reveal-webpage__hero {
  min-height: 58svh;
  display: grid;
  align-items: end;
  padding: clamp(42px, 8vw, 110px) 0 clamp(28px, 5vw, 70px);
  border-bottom: 1px solid rgba(5,5,5,.12);
}

.reveal-webpage__hero h3 {
  margin: 0;
  max-width: 930px;
  font-size: clamp(2.4rem, 4.2vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 300;
}

.reveal-webpage__hero p {
  margin: 26px 0 0;
  max-width: 610px;
  color: rgba(5,5,5,.62);
  line-height: 1.75;
  font-size: clamp(1rem, 1.18vw, 1.15rem);
}

.reveal-webpage__chapter {
  padding: clamp(58px, 6vw, 92px) 0 clamp(64px, 8vw, 108px);
  display: grid;
  gap: clamp(22px, 3vh, 34px);
  min-height: calc(100svh - 58px);
  align-content: start;
}

.reveal-chapter__head {
  display: grid;
  gap: 14px;
  max-width: 740px;
}

.reveal-chapter__head small {
  display: inline-flex;
  width: max-content;
  color: rgba(5,5,5,.52);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.reveal-chapter__head h4 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2.4rem, 4.2vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 300;
  color: #050505;
}

.reveal-chapter__head p {
  margin: 0;
  max-width: 670px;
  color: rgba(5,5,5,.62);
  line-height: 1.75;
  font-size: clamp(1rem, 1.08vw, 1.12rem);
}

.reveal-chapter-card {
  position: relative;
  min-height: clamp(300px, 42svh, 366px);
  border-radius: 30px;
  overflow: hidden;
  background: #111;
  color: #fff;
  box-shadow: 0 28px 80px rgba(0,0,0,.14);
  isolation: isolate;
}

.reveal-chapter-card::before {
  content: none;
}

.reveal-chapter-card__scroller {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  height: calc(var(--reveal-slide-count, 5) * 100%);
  overflow: visible;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.reveal-chapter-card__slide {
  position: relative;
  inset: auto;
  flex: 0 0 calc(100% / var(--reveal-slide-count, 5));
  min-height: 0;
  overflow: hidden;
  opacity: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.18)),
        var(--image, linear-gradient(135deg, #202020, #050505));
  background-size: cover;
  background-position: center;
  transform: scale(var(--chapter-slide-scale, 1.035));
  transform-origin: center;
  will-change: transform;
}

.reveal-chapter-card__slide:nth-child(2) {
  background-position: center 42%;
}

.reveal-chapter-card__slide:nth-child(3) {
  background-position: center 58%;
}

.reveal-chapter-card__slide:nth-child(4) {
  background-position: center 48%;
}

.reveal-chapter-card__slide:nth-child(5) {
  background-position: center 55%;
}

.reveal-chapter-card__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 55% 22%, rgba(255,255,255,.10), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.18));
  pointer-events: none;
}

.reveal-chapter-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.50) 34%, rgba(0,0,0,.08) 70%, rgba(0,0,0,.28) 100%),
        linear-gradient(180deg, rgba(0,0,0,.46) 0%, rgba(0,0,0,.04) 18%, rgba(0,0,0,.08) 58%, rgba(0,0,0,.84) 100%);
}

.reveal-chapter-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(28px, 4vw, 42px);
  z-index: 2;
  max-width: 620px;
}

.reveal-chapter-card__body b {
  display: inline-flex;
  margin-bottom: 12px;
  color: rgba(255,255,255,.70);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
}

.reveal-chapter-card__body strong {
  display: block;
  font-size: clamp(2.15rem, 3.05vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  font-weight: 300;
}

.reveal-chapter-card__body p {
  margin: 16px 0 0;
  max-width: 42ch;
  color: rgba(255,255,255,.74);
  line-height: 1.72;
  font-size: clamp(.98rem, 1.06vw, 1.06rem);
}

.reveal-webpage__footer {
  min-height: 44svh;
  display: grid;
  align-items: center;
  border-top: 1px solid rgba(5,5,5,.12);
}

.reveal-webpage__footer h3 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.4rem, 4.2vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  font-weight: 300;
}

.reveal-webpage__footer--conversion {
  align-items: center;
}

.reveal-conversion {
  max-width: 940px;
  display: grid;
  gap: 22px;
}

.reveal-conversion__label {
  display: inline-flex;
  width: max-content;
  color: rgba(5,5,5,.52);
  font-size: .74rem;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.reveal-conversion h3 {
  max-width: 920px;
}

.reveal-conversion p {
  margin: 0;
  max-width: 680px;
  color: rgba(5,5,5,.62);
  font-size: clamp(1rem, 1.12vw, 1.14rem);
  line-height: 1.72;
}

.reveal-conversion__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.reveal-conversion__btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 650;
  letter-spacing: -.01em;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.reveal-conversion__btn:hover {
  transform: translateY(-2px);
}

.reveal-conversion__btn--dark {
  background: #050505;
  border: 1px solid #050505;
  color: #fff;
}

.reveal-conversion__btn--light {
  background: transparent;
  border: 1px solid rgba(5,5,5,.16);
  color: #050505;
}

.reveal-conversion__btn--light:hover {
  background: rgba(5,5,5,.045);
  border-color: rgba(5,5,5,.26);
}

.reveal-split {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
}

.reveal-split__pane {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.2%;
  overflow: hidden;
  background: #121212;
  will-change: transform, opacity;
  box-shadow: 0 0 80px rgba(0,0,0,.24);
}

.reveal-split__pane--left {
  left: 0;
  transform-origin: left center;
}

.reveal-split__pane--right {
  right: 0;
  transform-origin: right center;
}

.reveal-split__pane::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 200%;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.78)),
        url('https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=85') center/cover no-repeat;
  transform: scale(var(--reveal-image-scale, 1.04));
  will-change: transform;
}

.reveal-split__pane--left::before {
  left: 0;
  background-position: center;
}

.reveal-split__pane--right::before {
  right: 0;
  background-position: center;
}

.reveal-scene__copy, .reveal-scene__result {
  position: relative;
  z-index: 5;
  width: min(980px, calc(100vw - 48px));
  text-align: center;
  will-change: transform, opacity;
  pointer-events: none;
}

.reveal-scene__copy p, .reveal-scene__result p {
  margin-left: auto;
  margin-right: auto;
}

.reveal-scene__result {
  opacity: 0;
  transform: translateY(40px);
  padding: clamp(24px, 4vw, 44px);
  border-radius: 30px;
  background: rgba(5,5,5,.58);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(18px);
}

.horizontal {
  height: 410svh;
  background: var(--bg);
}

.horizontal__sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.horizontal__head {
  position: absolute;
  left: clamp(26px, 4vw, 58px);
  top: clamp(108px, 15.1vh, 152px);
  z-index: 4;
  width: min(560px, calc(100vw - 48px));
}

.horizontal__track {
  display: flex;
  gap: 24px;
  padding: 0 clamp(26px, 4vw, 58px);
  will-change: transform;
}

.h-card {
  position: relative;
  flex: 0 0 min(72vw, 780px);
  height: min(62svh, 580px);
  overflow: hidden;
  border-radius: 30px;
  background: #111;
  box-shadow: 0 34px 84px rgba(0,0,0,.34);
}

.h-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.74)),
        var(--image, linear-gradient(135deg, #202020, #050505));
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.h-card__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(28px, 4vw, 48px);
}

.precision {
  background: var(--surface);
  color: var(--text-dark);
  padding: 120px 0 140px;
  overflow: hidden;
}

.precision__head {
  width: min(1060px, calc(100vw - 48px));
  margin: 0 auto;
  text-align: center;
}

.precision__head p {
  margin-left: auto;
  margin-right: auto;
}

.precision-carousel-wrap {
  width: min(1180px, calc(100vw - 48px));
  margin: 68px auto 0;
  position: relative;
  perspective: 1800px;
}

.precision-carousel {
  position: relative;
  height: min(61svh, 594px);
  min-height: 468px;
  transform-style: preserve-3d;
}

.precision-slide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(378px, 31vw);
  min-width: 234px;
  height: min(50svh, 468px);
  transform-style: preserve-3d;
  border-radius: 30px;
  overflow: hidden;
  background: #111;
  color: #fff;
  box-shadow: 0 34px 90px rgba(0,0,0,.18);
  will-change: transform, opacity, filter;
  transition: transform .8s var(--ease),
        opacity .8s var(--ease),
        filter .8s var(--ease),
        box-shadow .8s var(--ease);
  cursor: pointer;
}

.precision-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.80)),
        var(--image, linear-gradient(135deg, #202020, #050505));
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.precision-slide__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px;
  z-index: 2;
}

.precision-slide b {
  display: inline-flex;
  margin-bottom: 14px;
  color: rgba(255,255,255,.68);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
}

.precision-slide p {
  margin-top: 14px;
  color: rgba(255,255,255,.74);
  line-height: 1.7;
  max-width: 34ch;
}

.precision-controls {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.precision-btn {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(5,5,5,.12);
  background: rgba(255,255,255,.74);
  color: #050505;
  display: inline-grid;
  place-items: center;
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(0,0,0,.08);
  transition: transform .25s var(--ease), background .25s var(--ease);
}

.precision-btn:hover {
  transform: translateY(-2px);
  background: #fff;
}

.precision-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.precision-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(5,5,5,.18);
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}

.precision-dot.is-active {
  background: #050505;
  transform: scale(1.15);
  box-shadow: 0 0 0 8px rgba(5,5,5,.08);
}

.final {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 120px 24px;
  background: #ffffff;
  color: var(--text-dark);
  text-align: center;
}

.final__panel {
  width: min(1040px, 100%);
  padding: clamp(30px, 5vw, 58px);
  border-radius: 34px;
  background: #ffffff;
  border: 1px solid rgba(5,5,5,.10);
  box-shadow: 0 36px 120px rgba(0,0,0,.08);
  backdrop-filter: blur(14px);
}

.final h2 {
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
  font-size: clamp(2.4rem, 4.2vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.title-hover-effect {
  position: relative;
  cursor: default;
  user-select: none;
}

.title-hover-effect .title-hover__line {
  display: block;
}

.title-hover-effect .title-hover__char {
  display: inline-block;
  transform-origin: 50% 78%;
  will-change: transform, filter, opacity;
  transition: opacity .22s ease;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.title-hover-effect .title-hover__space {
  display: inline;
  white-space: pre;
}

.final__title-hover {
  cursor: pointer;
}

.final__title-hover .title-hover__word {
  display: inline-block;
  white-space: nowrap;
}

.final__title-hover .title-hover__char {
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform .42s var(--ease), filter .42s var(--ease), text-shadow .42s var(--ease), opacity .22s ease;
}

.final__title-hover .title-hover__char.is-lifted {
  transform: translate3d(0, -.075em, 0) scale(1.12);
  filter: drop-shadow(0 16px 20px rgba(0,0,0,.14));
  text-shadow: 0 16px 40px rgba(0,0,0,.15);
}

.final__title-hover .title-hover__char.is-soft {
  transform: translate3d(0, -.095em, 0) scale(1.16);
}

.final p {
  margin-left: auto;
  margin-right: auto;
  max-width: 660px;
}

.final__actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sur-hero__visual, .reveal-scene__media, .final__panel {
  border-radius: 18px;
}

.method-float-card, .stack-card, .reveal-chapter-card, .h-card, .precision-slide, .mega__panel, .menu-panel {
  border-radius: 16px;
}

.eyebrow, .eyebrow--dark, .btn, .nav__pill, .reveal-conversion__btn, .precision-btn, .site-nav__link, .login-link {
  border-radius: 12px;
}

.mega__img-wrap, .mega__carousel, .mega__carousel-slide, .menu-panel .menu-link, .site-footer__cookie {
  border-radius: 8px;
}

.burger__lines span {
  border-radius: 2px;
}

.precision-dot, .eyebrow::before, .eyebrow--dark::before, .step-card__num {
  border-radius: 50%;
}

.sur-mesure-page .btn--white {
  background: #ffffff;
  color: #111111;
  border-color: transparent;
  box-shadow: 0 18px 34px rgba(255,255,255,.10);
}

.sur-mesure-page .btn--white:hover {
  background: #ffffff;
  color: #111111;
}

.sur-mesure-page .reveal-conversion__btn--light {
  background: transparent;
  color: #050505;
  border-color: rgba(5,5,5,.14);
  box-shadow: none;
}

.sur-mesure-page .reveal-conversion__btn--light:hover {
  background: rgba(5,5,5,.04);
  color: #050505;
  border-color: rgba(5,5,5,.22);
}

.sur-mesure-page .precision-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ccc;
  box-shadow: none;
  transform: none;
  transition: background .3s, width .3s;
}

.sur-mesure-page .precision-dot.is-active {
  width: 24px;
  background: #050505;
  box-shadow: none;
  transform: none;
}

.sur-mesure-page .site-nav__link, .sur-mesure-page .login-link {
  border-radius: 8px;
}

.sur-mesure-page .btn, .sur-mesure-page .reveal-conversion__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -.015em;
  font-size: clamp(.9rem, 1vw, 1rem);
  line-height: 1;
  backdrop-filter: none;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  pointer-events: auto;
}

.sur-mesure-page .btn:hover, .sur-mesure-page .reveal-conversion__btn:hover {
  transform: translateY(-1px);
}

.sur-mesure-page .btn--black, .sur-mesure-page .reveal-conversion__btn--dark {
  background: #0071e3;
  color: #ffffff;
  border-color: #050505;
  box-shadow: 0 18px 38px rgba(0, 113, 227, .30);
  border: 1px solid rgba(255, 255, 255, .16);
}

.sur-mesure-page .btn--black:hover, .sur-mesure-page .reveal-conversion__btn--dark:hover {
  background: #147ce5;
  color: #ffffff;
  border-color: rgba(255, 255, 255, .16);
  box-shadow: 0 22px 44px rgba(0, 113, 227, .36);
}

.sur-mesure-page .reveal-conversion__btn--light, .sur-mesure-page .btn--secondary-index {
  background: transparent;
  color: #050505;
  border: 1px solid rgba(5, 5, 5, .16);
  box-shadow: none;
}

.sur-mesure-page .reveal-conversion__btn--light:hover, .sur-mesure-page .btn--secondary-index:hover {
  background: rgba(5, 5, 5, .045);
  color: #050505;
  border-color: rgba(5, 5, 5, .26);
  box-shadow: none;
}

.sur-mesure-page .precision-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, .16);
  background: rgba(255, 255, 255, .72);
  color: #111111;
  box-shadow: none;
  backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
  font-size: 1.1rem;
  cursor: pointer;
}

.sur-mesure-page .precision-btn:hover {
  background: #050505;
  color: #ffffff;
  border-color: #050505;
  transform: none;
}

@keyframes methodFloat {
0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
      25% { transform: translate3d(0, -8px, 0) rotate(.6deg); }
      50% { transform: translate3d(0, 6px, 0) rotate(-.7deg); }
      75% { transform: translate3d(0, -4px, 0) rotate(.45deg); }
}

@media (min-width: 1600px) {
  .sur-hero__copy,
  .section__content,
  .method__layout,
  .stack__layout,
  .reveal-scene__media,
  .reveal-scene__copy,
  .reveal-scene__result,
  .horizontal__head,
  .precision__grid,
  .final__panel {
    width: min(var(--layout-wide-max), calc(100vw - (var(--section-x) * 2)));
  }
}

@media (max-width: 980px) {
  .method__layout, .stack__layout, .precision__grid {
    grid-template-columns: 1fr;
  }

  .precision__grid {
    gap: 18px;
  }

  .precision-card {
    min-height: 380px;
  }

}

@media (max-width: 900px) {
  .method, .stack, .horizontal {
    height: auto;
  }

  .method__sticky, .stack__sticky, .horizontal__sticky {
    position: relative;
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  .method__sticky, .stack__sticky {
    padding: 110px 0 70px;
  }

  .method__visual {
    min-height: 470px;
    height: 470px;
    margin-top: 14px;
  }

  .stack-stage {
    height: auto;
    display: grid;
    gap: 18px;
    perspective: none;
  }

  .stack-card {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    min-height: 430px;
    transform: none;
    opacity: 1;
  }

  .horizontal__sticky {
    overflow-x: auto;
    padding: 190px 0 70px;
  }

  .horizontal__track {
    transform: none;
  }

  .h-card {
    flex-basis: min(86vw, 560px);
  }

  .reveal-scene {
    height: 680svh;
  }

  .reveal-chapter-card {
    min-height: 300px;
  }

  .reveal-chapter__head h4 {
    max-width: 100%;
  }

  .precision-carousel-wrap {
    perspective: none;
  }

  .method-float-card--1 {
    left: 2%;
    width: min(270px, 58vw);
    height: 190px;
  }

  .method-float-card--2 {
    right: 1%;
    width: min(220px, 48vw);
    height: 170px;
  }

  .method-float-card--3 {
    left: 10%;
    width: min(220px, 48vw);
    height: 180px;
  }

  .method-float-card--4 {
    right: 4%;
    width: min(300px, 64vw);
    height: 220px;
  }

  .precision-carousel {
    min-height: 396px;
    height: 396px;
  }

  .precision-slide {
    width: min(288px, 67vw);
    min-width: 216px;
    height: 360px;
  }

}

@media (max-width: 640px) {
  .sur-hero__visual, .reveal-scene__media {
    width: calc(100vw - 24px);
    border-radius: 22px;
  }

  .h-card, .stack-card, .precision-slide, .final__panel {
    border-radius: 22px;
  }

  .sur-hero h1 {
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 1.06;
    letter-spacing: -.03em;
  }

  .reveal-conversion {
    gap: 18px;
  }

  .reveal-conversion__actions {
    align-items: stretch;
  }

  .reveal-conversion__btn {
    width: 100%;
  }

  .sur-hero__visual, .reveal-scene__media, .final__panel {
    border-radius: 14px;
  }

  .method-float-card, .stack-card, .reveal-chapter-card, .h-card, .precision-slide, .mega__panel, .menu-panel {
    border-radius: 14px;
  }

}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms;
    transition-duration: .001ms;
    scroll-behavior: auto;
  }

}

.sur-media-01 {
  --image: url('https://images.unsplash.com/photo-1558655146-9f40138edfeb?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-02 {
  --image: url('https://images.unsplash.com/photo-1547658719-da2b51169166?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-03 {
  --image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-04 {
  --image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-05 {
  --image: url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-06 {
  --image: url('https://images.unsplash.com/photo-1547658719-da2b51169166?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-07 {
  --image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-08 {
  --image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-09 {
  --image: url('https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-10 {
  --image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-11 {
  --image: url('https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-12 {
  --image: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-13 {
  --image: url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-14 {
  --image: url('https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-15 {
  --image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-16 {
  --image: url('https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-17 {
  --image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-18 {
  --image: url('https://images.unsplash.com/photo-1558655146-9f40138edfeb?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-19 {
  --image: url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-20 {
  --image: url('https://images.unsplash.com/photo-1547658719-da2b51169166?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-21 {
  --image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1800&q=85');
}

.sur-media-22 {
  --image: url('https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=1800&q=85');
}
