/* Layout concept: a white gallery. Bright paper ground, deep black photography,
   the logo's bordeaux as the only colour. Every block is a clearly framed room. */
:root {
  --paper: #ffffff;
  --paper-2: #f6f3f1;     /* alternate block */
  --ink: #0e0b0c;         /* deep black */
  --ink-2: #1a1416;
  --wine: #7a1a30;        /* logo bordeaux */
  --wine-2: #5c1224;
  --muted: #5e5557;
  --line: rgba(14, 11, 12, .1);
  --line-2: rgba(14, 11, 12, .18);
  --on-dark: #f7f2ee;
  --on-dark-dim: rgba(247, 242, 238, .64);

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --step--1: clamp(.8rem, .76rem + .2vw, .88rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.1rem);
  --step-1: clamp(1.12rem, 1.04rem + .45vw, 1.35rem);
  --step-2: clamp(1.35rem, 1.15rem + .8vw, 1.8rem);
  --step-3: clamp(1.85rem, 1.3rem + 2vw, 3rem);
  --step-4: clamp(2rem, 1.3rem + 2.6vw, 3.6rem);
  --step-5: clamp(2.6rem, 1rem + 5.5vw, 6.5rem);

  --gl: max(16px, env(safe-area-inset-left, 0px));
  --gr: max(16px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.loading { overflow: hidden; }
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 1; letter-spacing: -.03em; margin: 0; text-wrap: balance; }
p { margin: 0; }
em { font-style: italic; font-weight: 300; }
::selection { background: var(--wine); color: #fff; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-left: var(--gl); padding-right: var(--gr); }
@media (min-width: 760px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }

.eyebrow { font: 500 var(--step--1)/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 12px; margin: 0; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--wine); }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65em; padding: 1.05em 1.6em; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 var(--step-0)/1 var(--f-body); text-decoration: none; overflow: hidden; isolation: isolate; transition: color .4s var(--ease); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: none; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink::before { background: var(--wine); }
.btn-wine { background: var(--wine); color: #fff; box-shadow: 0 16px 40px -18px rgba(122,26,48,.8); }
.btn-wine::before { background: var(--ink); }
.btn-line { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line::before { background: var(--ink); }
.btn-line:hover { color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light::before { background: var(--wine); }
.btn-light:hover { color: #fff; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--paper); }
.loader .panel { position: absolute; inset: 0; background: var(--wine); transform: translateY(100%); }
.loader-inner { position: relative; display: grid; justify-items: center; gap: 22px; }
.loader-logo { width: min(300px, 60vw); clip-path: inset(0 100% 0 0); }
.loader-count { font: 500 .8rem/1 var(--f-mono); letter-spacing: .2em; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; display: none; mix-blend-mode: difference; }
.cursor .dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; }
.cursor .ring { position: absolute; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; border: 1px solid #fff; display: grid; place-items: center;
  font: 600 .7rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: #000; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s; }
.cursor .ring span { opacity: 0; transition: opacity .2s; }
.cursor.label .ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: #fff; }
.cursor.label .ring span { opacity: 1; }
.cursor.label .dot { opacity: 0; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 61; background: var(--paper); }
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; height: 2px; width: 100%; z-index: 62; background: var(--wine); transform-origin: 0 50%; transform: scaleX(0); }
.site-head { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 60; transition: background .4s, box-shadow .4s; }
.site-head.scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 80px; }
.brand img { height: 30px; width: auto; }
.brand { position: relative; z-index: 2; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; font-size: .95rem; font-weight: 500; }
.nav-cta { padding: .78em 1.5em; font-size: .92rem; }
.nav .nav-cta::after { display: none; }
.menu-btn { display: none; position: relative; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 26px; }
body.menu-open .menu-btn span:first-child { top: 22px; transform: rotate(45deg); }
body.menu-open .menu-btn span:last-child { top: 22px; transform: rotate(-45deg); }
@media (max-width: 759px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px; background: var(--paper); font: 800 2.2rem/1.1 var(--f-display); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; padding: 0 var(--gr) 0 var(--gl); }
  .nav .nav-cta { font: 600 1.05rem/1 var(--f-body); padding: 1em 2.2em; margin-top: 8px; }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
  body.menu-open .site-head { background: transparent; box-shadow: none; backdrop-filter: none; }
}
section[id] { scroll-margin-top: 72px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.nav a { text-decoration: none; color: var(--ink); position: relative; transition: color .3s; }
.nav a:not(.btn) { opacity: .85; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--wine); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:not(.btn):hover { opacity: 1; color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.head-cta { padding: .8em 1.2em; font-size: .9rem; }

/* ---------- hero (centred) ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding-block: 88px 64px; text-align: center; overflow: hidden;
  background: radial-gradient(50% 45% at 50% 40%, rgba(122,26,48,.07), transparent 70%), var(--paper); }
.logo-stage { position: relative; min-height: 300px; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-text { position: relative; display: grid; justify-items: center; gap: 30px; }
.hero h1 { font-size: var(--step-4); font-weight: 900; max-width: 18ch; }
.hero h1 em { color: var(--wine); }
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.line > span { display: inline-block; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero .lede { font-size: var(--step-1); color: var(--muted); max-width: 46ch; line-height: 1.5; margin-top: -8px; }
.hero .lede strong { color: var(--ink); font-weight: 600; }
.hero-proof { list-style: none; margin: -14px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: .92rem; color: var(--muted); }
.hero-proof li::before { content: "✓ "; color: var(--wine); font-weight: 700; }
.scroll-hint { justify-self: center; margin-top: 8px; width: 1px; height: 46px; background: linear-gradient(var(--wine), transparent); animation: drip 2s var(--ease) infinite; }
@keyframes drip { from { transform: scaleY(0); transform-origin: top } 50% { transform: scaleY(1); transform-origin: top } 51% { transform-origin: bottom } to { transform: scaleY(0); transform-origin: bottom } }

/* ---------- blocks: clear separations ---------- */
.block { position: relative; border-top: 1px solid var(--line); }
.block.alt { background: var(--paper-2); }
.block.dark { background: var(--ink); color: var(--on-dark); border-top-color: transparent; }
.scene { padding-block: clamp(88px, 11vw, 160px); }
.scene-head { display: grid; gap: 22px; max-width: 900px; margin-bottom: clamp(44px, 6vw, 84px); }
.scene-head h2 { font-size: var(--step-3); }
.scene-head h2 em { color: var(--wine); }
.scene-head p { font-size: var(--step-1); color: var(--muted); max-width: 56ch; line-height: 1.5; }
.dark .scene-head p, .dark .muted { color: var(--on-dark-dim); }
.dark .eyebrow { color: var(--on-dark-dim); }
.dark .eyebrow::before { background: #fff; }

/* ---------- trust logos (left → right) ---------- */
.trust { padding-block: 44px 52px; display: grid; gap: 28px; }
.trust .eyebrow { justify-content: center; width: 100%; }
.trust .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--wine); }
.logos { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logos-track { display: flex; align-items: center; width: max-content; animation: logos-ltr 38s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
@keyframes logos-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.logo-item { flex: none; height: 80px; padding-inline: clamp(28px, 4vw, 56px); display: grid; place-items: center; }
.logo-item img { max-height: 48px; max-width: 200px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) brightness(0); opacity: .55; transition: opacity .3s, filter .3s; }
.logo-item img.keep { filter: none; opacity: .9; }
.logo-item img.tall { max-height: 70px; }
.logo-item:hover img { opacity: 1; filter: none; }
.logo-item .word { font: 800 clamp(1.15rem, 1rem + .6vw, 1.5rem)/1 var(--f-display); color: rgba(14,11,12,.5); white-space: nowrap; transition: color .3s; }
.logo-item:hover .word { color: var(--ink); }
.logo-item .ph { font: 500 .78rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line-2); border-radius: 10px; padding: 16px 22px; white-space: nowrap; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding-block: 26px; background: var(--ink); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee span { font: 900 var(--step-5)/1 var(--f-display); letter-spacing: -.04em; white-space: nowrap; padding-right: .35em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); }
.marquee span:nth-child(odd) { color: #fff; -webkit-text-stroke: 0; font-style: italic; font-weight: 300; }

/* ---------- problem: side-by-side comparison ---------- */
.compare { display: grid; gap: 24px; }
@media (min-width: 960px) { .compare { grid-template-columns: 1fr 1fr; gap: 32px; } }
.cmp { border-radius: 24px; display: flex; flex-direction: column; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.cmp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 26px; border-bottom: 1px solid var(--line); }
.cmp-head b { font: 500 .74rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; }
.cmp-head span { font-size: .9rem; color: var(--muted); }
.cmp.before .cmp-head b { color: var(--muted); }
.cmp.after { background: var(--ink); color: var(--on-dark); box-shadow: 0 40px 80px -40px rgba(14,11,12,.6); }
.cmp.after .cmp-head { border-color: rgba(255,255,255,.12); }
.cmp.after .cmp-head b { color: #fff; }
.cmp.after .cmp-head span { color: var(--on-dark-dim); }
.cmp-body { position: relative; aspect-ratio: 1 / 1; max-width: 100%; }
.brochure { position: absolute; inset: 0; padding: clamp(20px, 3vw, 34px); font-size: clamp(.78rem, .7rem + .3vw, .92rem); line-height: 1.65; color: var(--muted); overflow: hidden; }
.brochure h4 { font: 700 1.05rem/1.2 var(--f-body); letter-spacing: 0; color: var(--ink); margin-bottom: 10px; }
.brochure mark { background: rgba(122,26,48,.12); color: var(--wine); padding: 0 .2em; border-radius: 3px; }
.brochure::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, #fff); }
.cmp-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp.after video.cmp-media { object-fit: contain; background: #000; }
.cmp.before .cmp-media { object-fit: contain; background: var(--paper-2); padding: 14px; }
.cmp-zoom { position: absolute; inset: 0; border: 0; padding: 0; margin: 0; background: none; cursor: zoom-in; display: block; width: 100%; height: 100%; }
.cmp-zoom img { transition: transform .8s var(--ease); }
.cmp-zoom:hover img { transform: scale(1.03); }
.modal-media.tall { aspect-ratio: auto; height: min(78vh, 900px); background: var(--paper-2); }
.modal-media img.contain { object-fit: contain; }
.sound { position: absolute; right: 14px; bottom: 14px; z-index: 2; border: 0; cursor: pointer; border-radius: 999px; padding: .6em 1em; font: 600 .8rem/1 var(--f-body); background: rgba(255,255,255,.92); color: #0a0809; }
.sound:hover { background: #fff; }
.video-sim { position: absolute; inset: 0; display: grid; place-items: center; }
.video-sim .s { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 16px; padding: 24px; opacity: 0; animation: scene 9s infinite; }
.video-sim .s:nth-child(2) { animation-delay: 3s; }
.video-sim .s:nth-child(3) { animation-delay: 6s; }
.video-sim .s small { font: 500 .7rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-dim); }
.video-sim .s h4 { font-size: clamp(1.6rem, 1rem + 2.4vw, 2.8rem); font-weight: 900; max-width: 13ch; color: #fff; }
.video-sim .s h4 em { color: #e06a86; }
.video-sim svg { width: clamp(56px, 7vw, 84px); height: auto; }
.video-sim .bar { position: absolute; left: 22px; right: 22px; bottom: 18px; display: flex; gap: 6px; }
.video-sim .bar i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.video-sim .bar i::after { content: ""; position: absolute; inset: 0; width: 0; background: #fff; }
.video-sim .bar i:nth-child(1)::after { animation: fill1 9s linear infinite; }
.video-sim .bar i:nth-child(2)::after { animation: fill2 9s linear infinite; }
.video-sim .bar i:nth-child(3)::after { animation: fill3 9s linear infinite; }
@keyframes scene { 0% { opacity: 0; transform: translateY(22px) scale(.98); } 5%, 28% { opacity: 1; transform: none; } 33.3%, 100% { opacity: 0; transform: translateY(-16px); } }
@keyframes fill1 { 0% { width: 0 } 33.3%, 100% { width: 100% } }
@keyframes fill2 { 0%, 33.3% { width: 0 } 66.6%, 100% { width: 100% } }
@keyframes fill3 { 0%, 66.6% { width: 0 } 99%, 100% { width: 100% } }
.cmp-foot { padding: 22px 26px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center; }
.cmp.after .cmp-foot { border-color: rgba(255,255,255,.12); }
.cmp-foot strong { font: 900 2.2rem/1 var(--f-display); grid-row: span 2; }
.cmp.before .cmp-foot strong { color: var(--muted); }
.cmp-foot span { font-size: .95rem; }
.cmp-foot small { font-size: .88rem; color: var(--muted); }
.cmp.after .cmp-foot small { color: var(--on-dark-dim); }

/* ---------- pour qui (hover index) ---------- */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index li { border-bottom: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 24px; padding: clamp(20px, 3vw, 32px) 0; text-decoration: none; }
.index strong { font: 800 clamp(1.35rem, 1rem + 1.6vw, 2.3rem)/1.1 var(--f-display); letter-spacing: -.03em; transition: transform .6s var(--ease), color .3s; }
.index span { grid-column: 1; color: var(--muted); font-size: .98rem; max-width: 50ch; }
.index em { grid-row: 1 / span 2; grid-column: 2; font: 500 .75rem/1 var(--f-mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--wine); white-space: nowrap; }
.index a:hover strong { transform: translateX(18px); color: var(--wine); font-style: italic; font-weight: 300; }
.float-img { position: fixed; left: 0; top: 0; width: 320px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; pointer-events: none; z-index: 40; opacity: 0; transform: translate(-50%, -50%) scale(.7) rotate(-6deg); transition: opacity .3s, transform .5s var(--ease); box-shadow: 0 30px 60px -20px rgba(14,11,12,.5); }
.float-img.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.float-img img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .float-img { display: none; } }
.who-photo { margin: 56px 0 0; border-radius: 24px; overflow: hidden; aspect-ratio: 21 / 9; max-width: 100%; position: relative; }
.who-photo img { width: 100%; height: 125%; object-fit: cover; }
.who-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 26px 22px; font: 700 var(--step-1)/1.3 var(--f-display); color: #fff; background: linear-gradient(transparent, rgba(14,11,12,.75)); }
@media (max-width: 700px) { .who-photo { aspect-ratio: 4 / 3; } }

/* ---------- method carousel with arrows ---------- */
.method-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.method-top .scene-head { margin-bottom: 0; }
.arrows { display: flex; gap: 10px; }
.arrow { width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--ink); color: #fff; transition: background .3s, transform .4s var(--ease), opacity .3s; }
.arrow:hover { background: var(--wine); transform: scale(1.06); }
.arrow:disabled { opacity: .25; cursor: default; transform: none; background: var(--ink); }
.arrow svg { width: 22px; height: 22px; }
.carousel { display: flex; gap: clamp(16px, 2.4vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; cursor: grab;
  padding-left: var(--gl); padding-right: var(--gr); scroll-padding-left: var(--gl); }
.carousel::-webkit-scrollbar { display: none; }
.carousel.drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
@media (min-width: 760px) { .carousel { padding-left: max(40px, calc((100vw - 1320px) / 2 + 40px)); scroll-padding-left: max(40px, calc((100vw - 1320px) / 2 + 40px)); padding-right: 40px; } }
.step { scroll-snap-align: start; width: min(82vw, 440px); flex: none; border-radius: 24px; padding: clamp(26px, 3vw, 40px); background: #fff; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 16px; min-height: 420px; position: relative; overflow: hidden; user-select: none; }
.step .num { font: 900 clamp(5.5rem, 4rem + 5vw, 8.5rem)/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--wine); letter-spacing: -.05em; }
.step h3 { font-size: var(--step-2); }
.step p { color: var(--muted); }
.step .meta { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font: 500 .72rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--wine); }
.step.photo { padding: 0; background: var(--ink); }
.step.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; pointer-events: none; }
.step.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(14,11,12,.88), rgba(14,11,12,.35) 38%, transparent 55%); }
.step.photo .cap { position: absolute; z-index: 1; left: 28px; right: 28px; top: 26px; font: 700 var(--step-1)/1.25 var(--f-display); color: #fff; }
.carousel-bar { margin-top: 28px; height: 2px; background: var(--line); position: relative; }
.carousel-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--wine); transition: left .2s linear, width .2s; }

/* ---------- works (stacked cards) ---------- */
.works { display: grid; gap: 28px; }
.work { position: sticky; top: 100px; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 -30px 60px -40px rgba(14,11,12,.35); display: grid; cursor: pointer; transform-origin: 50% 0; }
@media (min-width: 900px) { .work { grid-template-columns: 1.35fr 1fr; align-items: center; } }
.work-media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; max-width: 100%; background: var(--ink); }
@media (min-width: 900px) { .work-media { margin: 20px 0 20px 20px; border-radius: 18px; } }
.work-media img, .work-media video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 1.4s var(--ease); }
.work:hover .work-media img { transform: scale(1.05); }
.work-media.whole img { object-fit: contain; }
.work:hover .work-media.whole img { transform: scale(1.02); }
.badge { position: absolute; top: 18px; left: 18px; z-index: 2; font: 500 .68rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; background: rgba(255,255,255,.9); color: var(--ink); padding: 8px 10px; border-radius: 6px; }
.work-body { padding: clamp(26px, 3.4vw, 46px); display: flex; flex-direction: column; gap: 20px; }
.work .idx { font: 500 .75rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--wine); }
.work h3 { font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.4rem); }
.work .badge.inline { position: static; align-self: flex-start; margin-bottom: -6px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.work dl { margin: 0; display: grid; gap: 16px; }
.work dt { font: 500 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.work dd { margin: 0; }
.work .btn { margin-top: auto; align-self: flex-start; }
.works-note { position: relative; z-index: 2; margin-top: 80px; padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: var(--wine); color: #fff; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.works-note p { font-size: var(--step-1); max-width: 46ch; line-height: 1.4; }
.works-note strong { font-family: var(--f-display); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 180; background: rgba(14,11,12,.88); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) var(--gr) max(16px, env(safe-area-inset-bottom, 0px)) var(--gl); backdrop-filter: blur(8px); }
.modal-box { width: min(1100px, 100%); background: #fff; border-radius: 20px; overflow: hidden; }
.modal-media { position: relative; aspect-ratio: 16 / 9; background: #000; max-width: 100%; }
.modal-media img, .modal-media video { width: 100%; height: 100%; object-fit: cover; }
.modal-media video { object-fit: contain; background: #000; }
.modal-media .placeholder { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px; padding: 24px; background: rgba(14,11,12,.55); color: #fff; }
.modal-media .placeholder strong { font: 800 var(--step-2)/1.1 var(--f-display); }
.modal-body { padding: 22px 26px 26px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.modal-body h3 { font-size: var(--step-2); }
.modal-body .sector { font: 500 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--wine); margin-bottom: 8px; }
.modal-close { position: absolute; top: max(18px, env(safe-area-inset-top, 0px)); right: max(18px, env(safe-area-inset-right, 0px)); width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.5rem; cursor: pointer; }

/* ---------- pricing ---------- */
.pricing-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 56px; }
.pricing-top .scene-head { margin-bottom: 0; }
.cur { display: inline-flex; background: #fff; border-radius: 999px; padding: 5px; gap: 4px; box-shadow: 0 0 0 1px var(--line); }
.cur button { border: 0; background: transparent; font: 600 .9rem/1 var(--f-body); padding: .8em 1.3em; border-radius: 999px; cursor: pointer; color: var(--muted); transition: background .3s, color .3s; }
.cur button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.plans { display: grid; gap: 20px; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan.wide { box-shadow: 0 0 0 1px var(--wine), 0 30px 70px -40px rgba(122,26,48,.55); }
.plan.wide .flag { background: var(--ink); color: var(--paper); }
@media (min-width: 720px) {
  .plan.wide { grid-column: 1 / -1; }
  .plan.wide ul { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
}
@media (min-width: 720px) and (max-width: 979px) { .plan.featured { grid-column: 1 / -1; } }
@media (min-width: 980px) {
  .plan.wide { display: grid; gap: 22px 40px; padding: 36px 34px; grid-template-columns: 1.1fr .9fr 1.6fr; grid-template-rows: auto auto; align-items: start; }
  .plan.wide .price { border-block: 0; padding: 0; }
  .plan.wide .btn { margin-top: 0; justify-self: start; }
  .plan.wide > div:nth-of-type(1) { grid-column: 1; grid-row: 1; }
  .plan.wide .price { grid-column: 2; grid-row: 1; }
  .plan.wide .specs { grid-column: 1; grid-row: 2; align-self: end; }
  .plan.wide ul { grid-column: 3; grid-row: 1 / span 2; }
  .plan.wide .btn { grid-column: 2; grid-row: 2; align-self: end; }
}
.plan { position: relative; border-radius: 24px; padding: 32px 26px; display: flex; flex-direction: column; gap: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .6s var(--ease), box-shadow .4s; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -36px rgba(14,11,12,.4); }
.plan.featured { background: var(--ink); color: var(--on-dark); box-shadow: 0 40px 80px -40px rgba(14,11,12,.7); }
.plan .flag { position: absolute; top: -13px; left: 26px; background: var(--wine); color: #fff; font: 600 .68rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.plan h3 { font-size: var(--step-2); }
.plan .muted { color: var(--muted); font-size: .95rem; margin-top: 8px; }
.plan.featured .muted { color: var(--on-dark-dim); }
.price { display: grid; gap: 6px; padding-block: 18px; border-block: 1px solid var(--line); }
.plan.featured .price { border-color: rgba(255,255,255,.14); }
.price small { font: 500 .68rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); min-height: 1em; }
.plan.featured .price small, .plan.featured .price .alt { color: var(--on-dark-dim); }
.price strong { font: 900 clamp(2.1rem, 1.7rem + 1.4vw, 2.9rem)/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price .alt { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; }
.specs span { font: 500 .7rem/1 var(--f-mono); padding: 8px 10px; border-radius: 6px; background: var(--paper-2); color: var(--ink); }
.plan.featured .specs span { background: rgba(255,255,255,.1); color: #fff; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.plan li::before { content: "→"; color: var(--wine); font-weight: 600; }
.plan.featured li::before { color: #e06a86; }
.plan .btn { margin-top: auto; }
.pricing-foot { margin-top: 30px; font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 30px; }
.pricing-foot span::before { content: "— "; color: var(--wine); }

/* ---------- web ---------- */
.web { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .web { grid-template-columns: 1.1fr 1fr; gap: 80px; } }
.web-img { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; position: relative; transition: transform .2s; box-shadow: 0 40px 90px -50px rgba(14,11,12,.55); }
.web-img img { width: 100%; height: 100%; object-fit: cover; }
.web-img .tag { position: absolute; right: 18px; top: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); padding: 14px 16px; border-radius: 14px; font-size: .82rem; max-width: 240px; line-height: 1.4; }
.web-img .tag b { display: block; font-family: var(--f-display); font-size: 1.05rem; color: var(--wine); }
.web h2 { font-size: var(--step-3); margin-top: 22px; }
.web h2 em { color: var(--wine); }
.web .muted { margin-top: 20px; color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.web ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.web li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.web li::before { content: "✦"; color: var(--wine); font-size: .8rem; line-height: 1.9; }
.web-price { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: end; }
.web-price small { display: block; font: 500 .7rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.web-price strong { font: 900 2.6rem/1 var(--f-display); }
.web-price .combo { font-size: .9rem; color: var(--wine); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 48px; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; font: 700 var(--step-1)/1.3 var(--f-display); transition: color .3s; }
.faq summary:hover { color: var(--wine); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 2rem/1 var(--f-body); color: var(--wine); transition: transform .4s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 26px; color: var(--muted); max-width: 62ch; }

/* ---------- final ---------- */
.final { position: relative; overflow: hidden; padding-block: clamp(110px, 14vw, 210px) clamp(80px, 10vw, 140px); }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 70% at 85% 100%, rgba(122,26,48,.55), transparent 70%); pointer-events: none; }
.final h2 { font-size: var(--step-5); font-weight: 900; line-height: .9; position: relative; }
.final h2 em { color: #e06a86; }
.final-row { position: relative; margin-top: 56px; display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.magnet { width: clamp(150px, 16vw, 200px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; background: #fff; color: var(--ink); text-decoration: none; font: 700 1rem/1.2 var(--f-body); padding: 20px; transition: transform .3s var(--ease), background .3s, color .3s; }
.magnet:hover { background: var(--wine); color: #fff; }
.magnet svg { width: 30px; height: 30px; margin: 0 auto 8px; display: block; }
.final .lede { font-size: var(--step-1); color: var(--on-dark-dim); max-width: 40ch; line-height: 1.5; }
.contact-line { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-family: var(--f-mono); font-size: .9rem; color: var(--on-dark-dim); }
.contact-line .num { user-select: all; color: #fff; font-size: 1.15rem; letter-spacing: .04em; }
.copy { border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; border-radius: 999px; padding: .55em 1em; font: 500 .78rem/1 var(--f-mono); cursor: pointer; }
.copy:hover { border-color: #fff; }

.site-foot { background: var(--ink); color: var(--on-dark-dim); border-top: 1px solid rgba(255,255,255,.1); padding-block: 34px calc(34px + env(safe-area-inset-bottom, 0px)); font-size: .86rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.site-foot img { height: 24px; width: auto; }

.fab { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 70; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.4); transition: transform .4s var(--ease); }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }


/* =====================================================================
   THÈME NOIR — activé par  theme: "noir"  dans contenu.js
   ===================================================================== */
html[data-theme-site="noir"] {
  --paper: #0a0809;
  --paper-2: #131011;
  --ink: #f3ede9;
  --muted: rgba(243, 237, 233, .62);
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .22);
  --wine: #b02a4b;
  --wine-2: #7a1a30;
  --card: #151112;
  --deep: #000;
  --on-light: #0a0809;
  color-scheme: dark;
}
html[data-theme-site="noir"] .hero { background: radial-gradient(50% 45% at 50% 40%, rgba(176,42,75,.22), transparent 70%), var(--paper); }
html[data-theme-site="noir"] .site-head.scrolled { background: rgba(10,8,9,.88); }
html[data-theme-site="noir"] .btn-wine { background: #8f1f3b; box-shadow: 0 16px 40px -18px rgba(176,42,75,.9); }
html[data-theme-site="noir"] .btn-wine::before { background: #f3ede9; }
html[data-theme-site="noir"] .btn-wine:hover { color: var(--on-light); }
html[data-theme-site="noir"] .btn-ink { color: var(--on-light); }
html[data-theme-site="noir"] .btn-ink:hover { color: #fff; }
html[data-theme-site="noir"] .btn-line:hover { color: var(--on-light); }
html[data-theme-site="noir"] .btn-light { color: var(--on-light); }
html[data-theme-site="noir"] .btn-light:hover { color: #fff; }
html[data-theme-site="noir"] .marquee { background: var(--paper-2); border-block: 1px solid var(--line); }
html[data-theme-site="noir"] .marquee span:nth-child(odd) { color: var(--wine); }
html[data-theme-site="noir"] .cmp { background: var(--card); }
html[data-theme-site="noir"] .cmp.after { background: var(--deep); box-shadow: 0 0 0 1px rgba(176,42,75,.5), 0 40px 90px -40px rgba(176,42,75,.55); }
html[data-theme-site="noir"] .brochure::after { background: linear-gradient(transparent, var(--card)); }
html[data-theme-site="noir"] .brochure h4 { color: var(--ink); }
html[data-theme-site="noir"] .brochure mark { background: rgba(176,42,75,.25); color: #f1a3b7; }
html[data-theme-site="noir"] .cmp.before .cmp-media { background: var(--paper-2); }
html[data-theme-site="noir"] .step { background: var(--card); }
html[data-theme-site="noir"] .step.photo { background: var(--deep); }
html[data-theme-site="noir"] .arrow { color: var(--on-light); }
html[data-theme-site="noir"] .arrow:hover { color: #fff; }
html[data-theme-site="noir"] .work { background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 -30px 60px -30px rgba(0,0,0,.9); }
html[data-theme-site="noir"] .badge { background: rgba(10,8,9,.8); color: #fff; }
html[data-theme-site="noir"] .modal { background: rgba(0,0,0,.9); }
html[data-theme-site="noir"] .modal-box { background: var(--card); }
html[data-theme-site="noir"] .modal-close, html[data-theme-site="noir"] .magnet { color: var(--on-light); }
html[data-theme-site="noir"] .magnet:hover { color: #fff; }
html[data-theme-site="noir"] .cur { background: var(--card); }
html[data-theme-site="noir"] .cur button[aria-pressed="true"] { color: var(--on-light); }
html[data-theme-site="noir"] .plan { background: var(--card); }
html[data-theme-site="noir"] .plan:hover { box-shadow: 0 0 0 1px var(--line-2), 0 30px 60px -36px rgba(0,0,0,.9); }
html[data-theme-site="noir"] .plan.featured { background: linear-gradient(165deg, #3d0d1a 0%, #160f11 60%); color: var(--ink); box-shadow: 0 0 0 1px rgba(176,42,75,.7), 0 40px 90px -40px rgba(176,42,75,.6); }
html[data-theme-site="noir"] .specs span { background: rgba(255,255,255,.07); }
html[data-theme-site="noir"] .web-img .tag { background: rgba(10,8,9,.85); }
html[data-theme-site="noir"] .web-img { box-shadow: 0 40px 90px -50px rgba(176,42,75,.5); }
html[data-theme-site="noir"] .block.dark, html[data-theme-site="noir"] .site-foot { background: var(--deep); }
html[data-theme-site="noir"] .block.dark { border-top: 1px solid var(--line); }
html[data-theme-site="noir"] .final::before { background: radial-gradient(55% 70% at 85% 100%, rgba(176,42,75,.5), transparent 70%); }
html[data-theme-site="noir"] .logo-item img { filter: grayscale(1) brightness(0) invert(1); }
html[data-theme-site="noir"] .float-img { box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .001s !important; }
  .loader { display: none; }
  .video-sim .s:first-child { opacity: 1; }
  .carousel { scroll-behavior: auto; }
}
