/* ==========================================================================
   VETRINA — feuille de style
   Couleurs, polices et espacements : variables ci-dessous.
   ========================================================================== */

:root {
  --noir: #0C0B0A;
  --noir-2: #151311;
  --ivoire: #EEE8DC;
  --blanc: #F7F4EE;
  --gris: #9A958C;
  --gris-ink: #5F5A53;
  --or: #C6AE80;
  --or-clair: #E2CC9C;
  --or-ink: #75603F;
  --line-dark: rgba(238, 232, 220, .16);
  --line-light: rgba(12, 11, 10, .14);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Hoefler Text", "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --pad: clamp(20px, 5vw, 72px);
  --max: 1440px;
  --header-h: 64px;
  --ease: cubic-bezier(.22, .61, .21, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 1024px) { :root { --header-h: 76px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--noir); color: var(--ivoire);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--or); color: var(--noir); }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--noir); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--or); color: var(--noir); padding: 10px 16px; font-weight: 600; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.wrap > * { min-width: 0; }
.light { background: var(--ivoire); color: var(--noir); }

.sig { font: 500 11px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.h2 { font: 300 clamp(44px, 7vw, 112px)/.98 var(--serif); letter-spacing: -.015em; }
.lede { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; max-width: 30em; color: var(--gris); }
.br-m { display: inline; }
@media (min-width: 1024px) { .br-m { display: none; } }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  font: 600 14px/1.2 var(--sans); letter-spacing: .03em;
  border: 1px solid currentColor; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fill, var(--ivoire));
  transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease);
}
.btn--gold { background: var(--or); border-color: var(--or); color: var(--noir); --fill: var(--ivoire); }
.btn--line { color: inherit; border-color: currentColor; --fill: currentColor; }
.btn--glass { color: var(--ivoire); border-color: rgba(238, 232, 220, .45); background: rgba(12, 11, 10, .38); --fill: var(--ivoire); }
@media (hover: hover) {
  .btn:hover::before { transform: scaleY(1); }
  .btn--gold:hover { border-color: var(--ivoire); }
  .btn--glass:hover { color: var(--noir); border-color: var(--ivoire); }
  .light .btn--line:hover { color: var(--ivoire); }
  .btn--line:hover { color: var(--noir); }
}
.btn:active { transform: translateY(1px); }
.link { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .45s var(--ease); }
@media (hover: hover) { .link:hover { background-size: 0 1px; background-position: 100% 100%; } }

/* ==========================================================================
   En-tête
   ========================================================================== */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); background: transparent; border-bottom: 1px solid transparent; transition: background-color .45s, border-color .45s; }
.hdr.is-scrolled { background: var(--noir); border-bottom-color: var(--line-dark); }
.hdr .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr-logo { font: 500 19px/1 var(--serif); letter-spacing: .32em; margin-right: -.32em; color: var(--ivoire); transition: opacity .5s var(--ease), transform .5s var(--ease); }
@media (min-width: 1024px) {
  html.js .hdr:not(.show-logo) .hdr-logo { opacity: 0; transform: translateY(6px); pointer-events: none; }
}
.nav { display: none; }
.nav ul { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 40px); }
.nav a:not(.btn) { font: 500 13.5px/1 var(--sans); letter-spacing: .04em; color: rgba(238, 232, 220, .8); padding: 8px 0; position: relative; transition: color .3s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--or); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
@media (hover: hover) { .nav a:not(.btn):hover { color: var(--ivoire); } .nav a:not(.btn):hover::after { transform: scaleX(1); } }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 13px; color: var(--ivoire); border-color: rgba(238, 232, 220, .5); }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 500 13px/1 var(--sans); letter-spacing: .08em; color: var(--ivoire); }
.menu-btn .bars { position: relative; width: 22px; height: 9px; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn .bars::before { top: 0; } .menu-btn .bars::after { top: 8px; }
.menu-open .menu-btn .bars::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-btn .bars::after { top: 4px; transform: rotate(-45deg); }
.menu-open .hdr { background: var(--noir); }
@media (min-width: 1024px) { .nav { display: block; } .menu-btn { display: none; } }

.mnav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 55; background: var(--noir); display: flex; flex-direction: column; justify-content: space-between; padding: 28px var(--pad) calc(28px + env(safe-area-inset-bottom)); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility 0s linear .35s; }
.menu-open .mnav { visibility: visible; opacity: 1; transition: opacity .35s var(--ease), visibility 0s; }
.mnav li { border-bottom: 1px solid var(--line-dark); }
.mnav li a { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 0; font: 300 clamp(36px, 10vw, 54px)/1.05 var(--serif); }
.mnav li a span { font: 500 11px/1 var(--sans); letter-spacing: .2em; color: var(--gris); }
.mnav-foot { display: grid; gap: 14px; margin-top: 32px; }
.mnav-foot .btn { width: 100%; }
.mnav-foot .mail { font-size: 15px; color: var(--or); }
@media (prefers-reduced-motion: no-preference) {
  html.js .mnav li { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease-out); }
  html.js .menu-open .mnav li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 50ms + 80ms); }
}
@media (min-width: 1024px) { .mnav { display: none; } }

/* ==========================================================================
   Hero — l'or liquide
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 600px;
  background: var(--noir);
  touch-action: pan-y;
}
.gold { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s var(--ease); }
.gold.is-on { opacity: 1; }
.logo-sentinel { position: absolute; left: 0; width: 1px; height: 1px; top: var(--logo-bottom, 40%); }

/* Secours sans WebGL */
.hero-fallback { display: none; position: absolute; inset: 0; background: radial-gradient(120% 70% at 60% 30%, #22211f 0%, var(--noir) 60%); }
html:not(.js) .hero-fallback, .no-gl .hero-fallback { display: block; }
.fb-mono { position: absolute; left: 50%; top: calc(var(--header-h) + 10px); transform: translateX(-50%); font: 500 min(62vw, 38vh)/.9 var(--serif); color: #E9E4DA; }
.fb-word { display: none; position: absolute; left: var(--pad); right: var(--pad); top: 18vh; justify-content: space-between; font: 500 min(calc((100vw - 2 * var(--pad)) / 5.85), 24vh)/.8 var(--serif); color: #E9E4DA; }
@media (min-width: 700px) and (min-aspect-ratio: 1/1) { .fb-mono { display: none; } .fb-word { display: flex; } }

.hero-inner {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: var(--header-h);
  padding-bottom: calc(clamp(20px, 3.6vh, 48px) + env(safe-area-inset-bottom));
}
.hero-sig { position: absolute; left: 0; right: 0; top: calc(var(--logo-bottom, 50%) + 20px); text-align: center; color: rgba(238, 232, 220, .74); padding-inline: var(--pad); }
.hero-foot { display: grid; gap: 16px; justify-items: center; text-align: center; }
.hero-sub { font-size: 15px; line-height: 1.55; color: rgba(238, 232, 220, .84); max-width: 24em; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; }
.hero-actions .btn { flex: 1 1 auto; }
.open { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--sans); letter-spacing: .04em; color: rgba(238, 232, 220, .66); }
.open .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--or); }
.open time { font-variant-numeric: tabular-nums; padding-left: 10px; border-left: 1px solid var(--line-dark); color: var(--ivoire); }
@media (min-width: 1024px) {
  .hero-foot { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; text-align: left; justify-items: stretch; column-gap: 32px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { width: auto; }
  .hero-actions .btn { flex: 0 0 auto; }
  .open { justify-self: end; }
  .hero-sig { font-size: 12px; letter-spacing: .5em; top: calc(var(--logo-bottom, 50%) + 34px); }
}
.touch-hint {
  position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); top: calc(var(--logo-bottom, 50%) + 52px); white-space: nowrap;
  display: flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--sans); letter-spacing: .08em; color: rgba(238, 232, 220, .7);
  opacity: 0; transition: opacity .8s var(--ease); pointer-events: none;
}
.touch-hint .ring { width: 14px; height: 14px; border: 1px solid var(--or); border-radius: 50%; }
.hero.show-hint .touch-hint { opacity: 1; }
@media (hover: hover) and (pointer: fine), (max-height: 700px) { .touch-hint { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .touch-hint .ring { animation: ping 2.2s var(--ease) infinite; }
  @keyframes ping { 0% { transform: scale(.6); opacity: 1; } 70% { transform: scale(1.5); opacity: 0; } 100% { opacity: 0; } }
}

/* Entrée du texte après la coulée d'or */
@media (prefers-reduced-motion: no-preference) {
  html.js .hero-sig, html.js .hero-foot { opacity: 0; transform: translateY(14px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease-out); }
  html.js .hero-sig { letter-spacing: .6em; transition: opacity 1.4s var(--ease), letter-spacing 2s var(--ease-out), transform 1.2s var(--ease-out); }
  html.js .hero.is-ready .hero-sig { opacity: 1; transform: none; letter-spacing: .26em; transition-delay: 100ms; }
  html.js .hero.is-ready .hero-foot { opacity: 1; transform: none; transition-delay: 500ms; }
  html.js .hdr { opacity: 0; transition: opacity 1s var(--ease), background-color .45s, border-color .45s; }
  html.js .hdr.is-ready { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
  html.js .hero.is-ready .hero-sig { letter-spacing: .5em; }
}

/* ==========================================================================
   Les vitrines — cartes plein écran empilées
   ========================================================================== */
.cases { background: var(--noir); }
.cases-head { display: grid; gap: 22px; padding-top: clamp(96px, 14vw, 200px); padding-bottom: clamp(56px, 8vw, 120px); }
@media (min-width: 900px) { .cases-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: 48px; } }

.case {
  --c-acc: var(--or); --c-on: var(--noir);
  position: sticky; top: var(--header-h);
  height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); min-height: 520px;
  overflow: hidden; background: var(--noir); color: #F6F1E7;
  border-radius: 22px 22px 0 0;
}
.case:nth-child(1) { z-index: 1; } .case:nth-child(2) { z-index: 2; } .case:nth-child(3) { z-index: 3; } .case:nth-child(4) { z-index: 4; }
.case-media { position: absolute; inset: 0; transform-origin: 50% 0; }
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 6, .5) 0%, rgba(8, 7, 6, .06) 26%, rgba(8, 7, 6, .16) 50%, rgba(8, 7, 6, .86) 100%);
}
.case-dim { position: absolute; inset: 0; z-index: 5; background: var(--noir); opacity: 0; pointer-events: none; }
.case.is-missing .case-media img { display: none; }
.case-body {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column;
  padding-top: 22px; padding-bottom: calc(clamp(24px, 4.5vh, 56px) + env(safe-area-inset-bottom));
}
.case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.case-n { font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 241, 231, .85); font-variant-numeric: tabular-nums; }
.case-n i { font-style: normal; color: rgba(246, 241, 231, .5); }
.case-pack {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  padding: 9px 12px; border: 1px solid rgba(246, 241, 231, .45); color: #F6F1E7;
}
.case-pack span { font-weight: 500; color: rgba(246, 241, 231, .7); }
.case-name { font-weight: 400; line-height: .9; letter-spacing: -.02em; color: #FBF7EF; margin-top: auto; margin-bottom: clamp(16px, 3vh, 28px); }
.case-foot { display: grid; gap: 20px; }
.case-line { font-size: 15.5px; line-height: 1.55; color: rgba(246, 241, 231, .86); max-width: 30em; }
.case-cta {
  justify-self: start; display: inline-flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 0 24px;
  font: 600 14px/1 var(--sans); letter-spacing: .03em;
  background: var(--c-acc); color: var(--c-on);
  transition: background-color .35s, color .35s;
}
.case-cta svg { width: 11px; height: 11px; }
@media (hover: hover) { .case-cta:hover { background: #FBF7EF; color: #111; } }
@media (min-width: 900px) {
  .case { border-radius: 28px 28px 0 0; }
  .case-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 48px; }
}

.case--lina { --c-acc: #CDAF72; --c-on: #0F2A1F; }
.case--lina .case-name { font-family: "Fraunces", Georgia, serif; font-variation-settings: "opsz" 144; font-size: clamp(60px, 15vw, 210px); }
.case--carre { --c-acc: #F2EDE4; --c-on: #15120F; }
.case--carre .case-media img { filter: grayscale(1) contrast(1.05); }
.case--carre .case-name { font-family: "Bodoni Moda", Didot, "Bodoni 72", serif; font-size: clamp(54px, 13.4vw, 196px); }
.case--calibre { --c-acc: #E8591A; --c-on: #121418; }
.case--calibre .case-name { font-family: "Archivo", "Arial Black", sans-serif; font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; text-transform: uppercase; font-size: clamp(46px, 12.6vw, 180px); letter-spacing: -.01em; }
.case--brut { --c-acc: #E6D6BD; --c-on: #22211E; }
.case--brut .case-name { font-family: "Instrument Serif", "Iowan Old Style", Georgia, serif; font-size: clamp(62px, 15.6vw, 224px); }

/* ==========================================================================
   Formules
   ========================================================================== */
.plans-sec { background: var(--ivoire); color: var(--noir); padding-top: clamp(96px, 13vw, 180px); overflow: hidden; }
.plans-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 80px); }
.plans-head .lede { color: var(--gris-ink); }
@media (min-width: 900px) { .plans-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: 48px; } }

.plans-track {
  display: flex; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 24px var(--pad) 8px; scroll-padding-inline: var(--pad);
  scrollbar-width: none;
}
.plans-track::-webkit-scrollbar { display: none; }
.plan {
  position: relative; flex: 0 0 min(86vw, 380px); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 18px;
  padding: 30px 26px 26px;
  background: var(--blanc); border: 1px solid var(--line-light);
}
.plan--signature { background: var(--noir); color: var(--ivoire); border-color: var(--noir); }
.plan--immersive { background: #1A1712; color: var(--ivoire); border-color: #1A1712; }
.plan-flag { position: absolute; top: -1px; right: -1px; font: 600 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 9px 12px; background: var(--or); color: var(--noir); }
.gauge { display: flex; gap: 5px; }
.gauge i { width: 30px; height: 3px; background: rgba(12, 11, 10, .15); }
.plan--signature .gauge i, .plan--immersive .gauge i { background: rgba(238, 232, 220, .18); }
.gauge i.on { background: var(--or); }
.plan-name { font: 600 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; }
.plan-price { font: 300 clamp(60px, 6vw, 84px)/.9 var(--serif); letter-spacing: -.02em; }
.plan-price small { font: 500 14px/1 var(--sans); letter-spacing: .02em; color: var(--gris); vertical-align: middle; }
.plan-pitch { font: italic 400 24px/1.2 var(--serif); }
.plan ul { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line-light); }
.plan--signature ul, .plan--immersive ul { border-top-color: var(--line-dark); }
.plan li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border: 1px solid var(--or-ink); }
.plan--signature li::before, .plan--immersive li::before { border-color: var(--or); }
.plan-meta { margin-top: auto; font-size: 13.5px; color: var(--gris-ink); }
.plan--signature .plan-meta, .plan--immersive .plan-meta { color: var(--gris); }
.plan-meta a { text-decoration: underline; text-underline-offset: 3px; }
.plan .btn { width: 100%; }
.plan--immersive .btn--line, .plan--signature .btn--line { color: var(--ivoire); }
@media (hover: hover) { .plan--immersive .btn--line:hover { color: var(--noir); } }
.plans-dots { display: flex; justify-content: center; gap: 8px; padding: 18px 0 0; }
.plans-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(12, 11, 10, .2); transition: background-color .3s, transform .3s; }
.plans-dots i.on { background: var(--noir); transform: scale(1.25); }
@media (min-width: 980px) {
  .plans-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; overflow: visible; max-width: var(--max); margin-inline: auto; padding-top: 30px; }
  .plan { padding: 40px 36px 34px; }
  .plan--signature { transform: translateY(-24px); padding-bottom: 58px; margin-bottom: -24px; }
  .plans-dots { display: none; }
}

.marquee { margin-top: clamp(64px, 9vw, 120px); background: var(--noir); color: var(--or); overflow: hidden; padding: 26px 0; border-block: 1px solid rgba(198, 174, 128, .3); }
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; font: italic 300 clamp(30px, 4.6vw, 60px)/1 var(--serif); white-space: nowrap; }
.marquee-track i { font-style: normal; font-size: .4em; color: rgba(198, 174, 128, .6); }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 48s linear infinite; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}

/* ==========================================================================
   Studio + méthode
   ========================================================================== */
.studio { background: var(--noir); padding-block: clamp(96px, 13vw, 180px); }
.studio-top { display: grid; gap: 26px; margin-bottom: clamp(56px, 8vw, 110px); }
.studio-text { display: grid; gap: 18px; max-width: 32em; }
.studio-text p:first-child { font: 300 clamp(26px, 2.8vw, 38px)/1.2 var(--serif); color: var(--ivoire); }
.studio-text .who { font-size: 14.5px; color: var(--gris); }
.studio-text .who strong { color: var(--ivoire); font-weight: 600; }
@media (min-width: 900px) { .studio-top { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: end; column-gap: 64px; } }
.steps { display: grid; border-top: 1px solid var(--line-dark); }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.steps span { font: 400 15px/1 var(--serif); color: var(--or); font-variant-numeric: lining-nums; }
.steps strong { font: 400 26px/1.15 var(--serif); }
.steps em { grid-column: 2; font-style: normal; font-size: 14.5px; color: var(--gris); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 0; column-gap: 24px; }
  .steps li { display: flex; flex-direction: column; gap: 10px; padding: 24px 0 0; border-bottom: 0; position: relative; }
  .steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line-dark); }
  .steps li::after { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 1px; background: var(--or); transition: width 1.2s var(--ease); }
  .steps.is-in li::after { width: 100%; transition-delay: calc(var(--i) * 150ms); }
  .steps span { font-size: 40px; font-weight: 300; margin-bottom: 14px; }
  .steps em { grid-column: auto; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) { .steps li::after { width: 100%; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--ivoire); color: var(--noir); padding-block: clamp(96px, 13vw, 180px); }
.contact-grid { display: grid; gap: 48px; }
.contact-aside { display: grid; gap: 28px; align-content: start; }
.mail-big { font: 400 clamp(22px, 2.6vw, 34px)/1.2 var(--serif); justify-self: start; overflow-wrap: anywhere; }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(48px, 7vw, 128px); }
  .contact-aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}
.form { display: grid; gap: 20px; }
.form .row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form .row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 8px; }
.field label { font: 600 13px/1.3 var(--sans); letter-spacing: .02em; }
.field label small { font-weight: 400; color: var(--gris-ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  background: var(--blanc); border: 1px solid rgba(12, 11, 10, .28); border-radius: 0;
  font-size: 16px; color: var(--noir); -webkit-appearance: none; appearance: none;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field ::placeholder { color: #6E6860; opacity: 1; }
.field select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230C0B0A' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--noir); box-shadow: 0 0 0 1px var(--noir), 0 0 0 4px rgba(198, 174, 128, .55); }
.field [aria-invalid="true"] { border-color: #9B2C1F; }
.err { font-size: 13px; color: #9B2C1F; }
.err:empty { display: none; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.field .consent label { font: 400 14px/1.55 var(--sans); letter-spacing: 0; color: var(--gris-ink); }
.field .consent input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 1px 0 0; border: 1px solid rgba(12, 11, 10, .5); background: var(--blanc); display: grid; place-items: center; cursor: pointer; }
.field .consent input:checked { background: var(--noir); border-color: var(--noir); }
.field .consent input:checked::after { content: ""; width: 9px; height: 5px; border-left: 1.6px solid var(--ivoire); border-bottom: 1.6px solid var(--ivoire); transform: translateY(-1px) rotate(-45deg); }
.consent a { color: var(--noir); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: grid; gap: 14px; }
.form-foot .btn { justify-self: start; min-width: 230px; }
.contact .btn--gold { background: var(--noir); border-color: var(--noir); color: var(--ivoire); --fill: var(--or); }
@media (hover: hover) { .contact .btn--gold:hover { color: var(--noir); border-color: var(--or); } }
.form-mode { font-size: 13px; color: var(--gris-ink); }
.form-status { padding: 18px 20px; font-size: 15px; line-height: 1.55; border: 1px solid; }
.form-status[hidden] { display: none; }
.form-status.ok { border-color: var(--or-ink); background: var(--blanc); }
.form-status.ko { border-color: #9B2C1F; background: #FBF1EE; color: #5E1A11; }
.form-status strong { display: block; font: 400 22px/1.2 var(--serif); margin-bottom: 4px; }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.ftr { background: var(--noir); color: var(--ivoire); padding-top: clamp(80px, 11vw, 150px); padding-bottom: calc(26px + env(safe-area-inset-bottom)); overflow: hidden; }
.slogan { font: italic 300 clamp(46px, 12vw, 200px)/.95 var(--serif); color: var(--or); letter-spacing: -.02em; }
.ftr-row { display: grid; gap: 32px; margin-top: clamp(40px, 6vw, 80px); padding-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
.ftr-brand { display: grid; gap: 12px; }
.ftr-logo { font: 500 24px/1 var(--serif); letter-spacing: .32em; justify-self: start; }
.ftr-brand .sig { color: var(--gris); }
.ftr-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.ftr-links a { font-size: 15px; color: rgba(238, 232, 220, .85); transition: color .3s; }
@media (hover: hover) { .ftr-links a:hover { color: var(--or); } }
.ftr-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 22px; font-size: 13px; color: var(--gris); }
.ftr-bottom a { color: var(--gris); }
@media (min-width: 900px) {
  .ftr-row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .ftr-links { grid-template-columns: repeat(3, auto); column-gap: 40px; }
}

/* ==========================================================================
   Apparitions au défilement
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); }
  html.js [data-reveal].is-in { opacity: 1; transform: none; transition-delay: calc(var(--d, 0) * 1ms); }
}

/* ==========================================================================
   Pages secondaires
   ========================================================================== */
.hdr.solid { background: var(--noir); border-bottom-color: var(--line-dark); opacity: 1; }
.hdr.solid .hdr-logo { opacity: 1; transform: none; pointer-events: auto; }
.back-link { font: 500 13.5px/1 var(--sans); letter-spacing: .04em; color: rgba(238, 232, 220, .8); }
.page-hero { padding-top: calc(var(--header-h) + clamp(56px, 9vw, 120px)); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { font: 300 clamp(38px, 7vw, 96px)/1 var(--serif); letter-spacing: -.01em; hyphens: auto; -webkit-hyphens: auto; }
.page-hero p { margin-top: 18px; color: var(--gris); max-width: 40em; }
.doc { padding-block: clamp(56px, 8vw, 112px); }
.doc-body { max-width: 46em; display: grid; gap: 14px; line-height: 1.7; }
.doc-body h2 { font: 400 clamp(26px, 2.6vw, 34px)/1.15 var(--serif); margin-top: 34px; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body a { text-decoration: underline; text-underline-offset: 3px; }
.doc-body li { padding-left: 20px; position: relative; }
.doc-body li::before { content: ""; position: absolute; left: 0; top: .78em; width: 7px; height: 1px; background: currentColor; }
.todo { background: rgba(198, 174, 128, .35); padding: 1px 6px; font-weight: 600; }
.notfound { min-height: 100svh; display: grid; align-content: center; padding-block: calc(var(--header-h) + 40px) 64px; }
.notfound h1 { font: 300 clamp(48px, 9vw, 128px)/.98 var(--serif); letter-spacing: -.012em; max-width: 10em; }
.notfound p { margin: 24px 0 34px; color: var(--gris); max-width: 32em; }
.ftr--mini { padding-top: 0; }

/* Sécurité : si les scripts ne se lancent pas, tout s'affiche quand même */
@media (prefers-reduced-motion: no-preference) {
  html.js .hdr, html.js .hero-sig, html.js .hero-foot { animation: vt-failsafe 0s 4s forwards; }
  @keyframes vt-failsafe { to { opacity: 1; transform: none; } }
}

@media (max-width: 380px) {
  .hero-sig, html.js .hero.is-ready .hero-sig { letter-spacing: .14em; font-size: 10.5px; }
}

/* ==========================================================================
   Ouverture : une fente de lumière qui s'ouvre
   ========================================================================== */
.intro { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
html:not(.js) .intro, .intro.is-done { display: none; }
.intro i { position: absolute; left: 0; right: 0; background: var(--noir); }
.intro-top { top: 0; height: 50.5%; transition: transform 1.15s cubic-bezier(.76, 0, .24, 1) .6s; }
.intro-bot { bottom: 0; height: 50.5%; transition: transform 1.15s cubic-bezier(.76, 0, .24, 1) .6s; }
.intro .intro-line { top: 50%; height: 1px; margin-top: -.5px; background: rgba(238, 232, 220, .95); transform: scaleX(0); transition: transform .75s cubic-bezier(.65, 0, .35, 1), opacity .5s ease 1s; z-index: 2; }
.intro.is-open .intro-line { transform: scaleX(1); opacity: 0; }
.intro.is-open .intro-top { transform: translateY(-100%); }
.intro.is-open .intro-bot { transform: translateY(100%); }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }
.intro { animation: intro-failsafe 0s 3.2s forwards; }
@keyframes intro-failsafe { to { visibility: hidden; } }

/* ==========================================================================
   Tout le site en sombre : plus de passage brutal du noir au crème
   ========================================================================== */
:root { --noir-3: #171513; --noir-4: #1D1A16; }
.plans-sec { background: linear-gradient(180deg, var(--noir) 0, #110F0E 320px); color: var(--ivoire); }
.plans-head .lede { color: var(--gris); }
.plan { background: var(--noir-3); border-color: var(--line-dark); color: var(--ivoire); }
.plan--signature { background: var(--noir-4); border-color: rgba(198, 174, 128, .6); }
.plan--immersive { background: var(--noir-3); border-color: var(--line-dark); }
.gauge i { background: rgba(238, 232, 220, .16); }
.plan ul { border-top-color: var(--line-dark); }
.plan li::before { border-color: var(--or); }
.plan-meta { color: var(--gris); }
.plan-price small { color: var(--gris); }
.plan .btn--line { color: var(--ivoire); border-color: rgba(238, 232, 220, .45); }
@media (hover: hover) { .plan .btn--line:hover { color: var(--noir); border-color: var(--ivoire); } .light .btn--line:hover { color: var(--noir); } }
.plans-dots i { background: rgba(238, 232, 220, .22); }
.plans-dots i.on { background: var(--or); }
.marquee { background: #110F0E; }
.studio { background: linear-gradient(180deg, #110F0E 0, var(--noir) 280px); }
.contact { background: linear-gradient(180deg, var(--noir) 0, #110F0E 360px); color: var(--ivoire); }
.contact :focus-visible { outline-color: var(--or); }
.field label small { color: var(--gris); }
.field input, .field select, .field textarea { background-color: var(--noir-3); border-color: rgba(238, 232, 220, .22); color: var(--ivoire); }
.field ::placeholder { color: #8E897F; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23EEE8DC' stroke-width='1.3'/%3E%3C/svg%3E"); }
.field select option { background: var(--noir-3); color: var(--ivoire); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--or); box-shadow: 0 0 0 1px var(--or), 0 0 0 4px rgba(198, 174, 128, .25); }
.field [aria-invalid="true"] { border-color: #E08A76; }
.err { color: #F0A090; }
.field .consent label { color: var(--gris); }
.field .consent input { border-color: rgba(238, 232, 220, .5); background: var(--noir-3); }
.field .consent input:checked { background: var(--or); border-color: var(--or); }
.field .consent input:checked::after { border-color: var(--noir); }
.consent a { color: var(--ivoire); }
.form-mode { color: var(--gris); }
.form-status.ok { background: var(--noir-3); border-color: var(--or); }
.form-status.ko { background: #24130F; border-color: #C0503B; color: #F3C9BF; }
.contact .btn--gold { background: var(--or); border-color: var(--or); color: var(--noir); --fill: var(--ivoire); }
@media (hover: hover) { .contact .btn--gold:hover { color: var(--noir); border-color: var(--ivoire); } }
.ftr { background: #0A0908; }
.doc.light { background: #110F0E; color: var(--ivoire); }
.doc.light .todo { color: var(--ivoire); background: rgba(198, 174, 128, .28); }

/* ==========================================================================
   A — Carrousel de vitrines
   ========================================================================== */
.rail-sec { background: #0C0B0A; padding: clamp(96px, 13vw, 180px) 0 clamp(80px, 10vw, 140px); transition: background-color 1s var(--ease); overflow: hidden; }
.rail-sec[data-active="0"] { background-color: #0C0D0B; }
.rail-sec[data-active="1"] { background-color: #0E0D0D; }
.rail-sec[data-active="2"] { background-color: #0B0C0E; }
.rail-sec[data-active="3"] { background-color: #100E0C; }
.rail-head { display: grid; gap: 22px; margin-bottom: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .rail-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: 48px; } }
.packbar { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line-dark); margin-bottom: 26px; }
.pk { display: grid; gap: 6px; justify-items: start; padding: 10px 6px 14px 0; text-align: left; color: var(--gris); transition: color .45s var(--ease); }
.pk-n { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.pk-p { font: 300 clamp(20px, 2.4vw, 30px)/1 var(--serif); color: inherit; transition: color .45s var(--ease); }
.pk.is-on { color: var(--ivoire); }
.pk.is-on .pk-p { color: var(--or); }
.pk-ink { position: absolute; left: 0; bottom: -1px; height: 2px; width: 33.334%; background: var(--or); transform: translateX(calc(var(--pk, 0) * 100%)); transition: transform .6s var(--ease); }
.rail {
  --sw: 78vw;
  display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 8px calc((100vw - var(--sw)) / 2) 12px; scroll-padding-inline: calc((100vw - var(--sw)) / 2);
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.slide {
  position: relative; isolation: isolate; flex: 0 0 var(--sw); height: min(64svh, 580px); min-height: 380px;
  scroll-snap-align: center; scroll-snap-stop: always; border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; padding: 16px;
  color: #FBF7EF; background: #151311;
  transform: scale(.9); opacity: .45; transition: transform .55s var(--ease), opacity .55s var(--ease);
}
.slide.is-on { transform: none; opacity: 1; }
.slide-media { position: absolute; inset: 0; z-index: -1; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.slide.is-on .slide-media img { transform: none; }
.slide--bw .slide-media img { filter: grayscale(1) contrast(1.05); }
.slide-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 7, 6, .55) 0%, rgba(8, 7, 6, .05) 30%, rgba(8, 7, 6, .2) 55%, rgba(8, 7, 6, .88) 100%); }
.slide-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.slide-pack { font: 600 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 9px 11px; border: 1px solid rgba(251, 247, 239, .5); background: rgba(8, 7, 6, .35); }
.slide-pack b { font-weight: 600; color: var(--or-clair); letter-spacing: .06em; margin-left: 4px; }
.slide .gauge i { background: rgba(251, 247, 239, .3); width: 22px; }
.slide .gauge i.on { background: var(--or); }
.slide-bot { display: grid; gap: 10px; }
.slide-name { font-size: clamp(44px, 12.5vw, 112px); line-height: .92; letter-spacing: -.02em; color: #FBF7EF; }
.slide-cat { font: 500 11.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(251, 247, 239, .75); }
@supports (animation-timeline: view()) {
  .slide { transition: none; animation: slide-focus linear both; animation-timeline: view(inline); animation-range: cover 0% cover 100%; }
  @keyframes slide-focus { 0% { transform: scale(.86); opacity: .4; } 50% { transform: none; opacity: 1; } 100% { transform: scale(.86); opacity: .4; } }
}
.rail-info { display: grid; gap: 20px; margin-top: 26px; }
.ri-line { font-size: 16px; line-height: 1.55; color: rgba(238, 232, 220, .82); max-width: 34em; min-height: 3.1em; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.ri-line.swap { opacity: 0; transform: translateY(6px); }
.ri-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.ri-actions .case-cta { transition: background-color .5s var(--ease), color .5s var(--ease); }
.ri-nav { display: flex; align-items: center; gap: 10px; }
.ri-count { font: 500 13px/1 var(--sans); letter-spacing: .1em; color: var(--gris); margin-right: 6px; font-variant-numeric: tabular-nums; }
.ri-count b { color: var(--ivoire); font-weight: 600; }
.ri-btn { width: 46px; height: 46px; border: 1px solid var(--line-dark); color: var(--ivoire); font-size: 22px; line-height: 1; display: grid; place-items: center; transition: border-color .3s, background-color .3s; }
@media (hover: hover) { .ri-btn:hover { border-color: var(--or); } }
@media (min-width: 900px) {
  .rail { --sw: min(40vw, 560px); gap: 22px; }
  .slide { height: min(72vh, 640px); padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .slide, .slide-media img { transition: none; animation: none; transform: none; opacity: 1; } }

/* ==========================================================================
   B — Démos en direct dans un téléphone
   ========================================================================== */
.dev-sec { background: #0C0B0A; padding: clamp(96px, 13vw, 180px) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.dev-head { display: grid; gap: 22px; margin-bottom: clamp(24px, 4vw, 48px); }
@media (min-width: 900px) { .dev-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: 48px; } }
.dev-stage { position: relative; }
.dev-giant {
  position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%); z-index: 0;
  font-size: clamp(90px, 26vw, 360px); line-height: .85; white-space: nowrap; color: rgba(238, 232, 220, .06);
  pointer-events: none; transition: opacity .5s var(--ease);
}
.dev-giant.swap { opacity: 0; }
.dev-row { position: relative; z-index: 1; display: grid; gap: 28px; justify-items: center; }
.phone-wrap { perspective: 1400px; padding: 10px 0 6px; }
.phone {
  --k: .66;
  position: relative; width: min(66vw, 300px); aspect-ratio: 390 / 844;
  padding: 9px; border-radius: 46px; background: #1A1816;
  border: 1px solid rgba(238, 232, 220, .2);
  outline: 1px solid rgba(198, 174, 128, .35); outline-offset: -4px;
  transform: rotateY(var(--ry, -9deg)) rotateX(var(--rx, 3deg));
  transform-style: preserve-3d; transition: transform .8s var(--ease);
}
@media (prefers-reduced-motion: no-preference) {
  .phone.idle { animation: phone-float 9s ease-in-out infinite alternate; }
  @keyframes phone-float { from { transform: rotateY(-10deg) rotateX(4deg) translateY(0); } to { transform: rotateY(6deg) rotateX(-2deg) translateY(-8px); } }
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #000; }
.phone-screen iframe { position: absolute; left: 0; top: 0; width: 390px; height: 844px; border: 0; transform-origin: 0 0; transform: scale(var(--k)); pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); background: #000; }
.phone-screen.is-live iframe { opacity: 1; }
.phone-load { position: absolute; inset: 0; display: grid; place-items: center; font: 500 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gris); transition: opacity .4s; }
.phone-screen.is-live .phone-load { opacity: 0; }
.phone-island { position: absolute; left: 50%; top: 18px; width: 86px; height: 24px; margin-left: -43px; border-radius: 14px; background: #000; z-index: 2; }
.dev-side { width: 100%; display: grid; gap: 20px; }
.dev-tabs { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding: 2px var(--pad); }
.dev-tabs::-webkit-scrollbar { display: none; }
.dt {
  flex: 0 0 auto; scroll-snap-align: start; display: grid; gap: 8px; justify-items: start; text-align: left;
  padding: 14px 16px; min-width: 168px; border: 1px solid var(--line-dark); color: var(--gris);
  transition: border-color .4s var(--ease), color .4s var(--ease), background-color .4s var(--ease);
}
.dt-pk { font: 600 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.dt-pk b { font-weight: 600; color: inherit; letter-spacing: .06em; margin-left: 4px; }
.dt-name { font: 400 24px/1.05 var(--serif); color: var(--ivoire); }
.dt .gauge i { width: 20px; }
.dt.is-on { border-color: var(--or); color: var(--or-clair); background: rgba(198, 174, 128, .06); }
.dev-line { font-size: 16px; line-height: 1.55; color: rgba(238, 232, 220, .82); max-width: 34em; min-height: 3.1em; transition: opacity .25s var(--ease); }
.dev-line.swap { opacity: 0; }
.dev-side .case-cta { transition: background-color .5s var(--ease), color .5s var(--ease); }
@media (min-width: 960px) {
  .dev-row { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; column-gap: clamp(48px, 7vw, 120px); }
  .phone { width: min(30vw, 340px); }
  .dev-tabs { flex-direction: column; overflow: visible; margin: 0; padding: 0; }
  .dt { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "pk g" "name g"; align-items: center; width: 100%; max-width: 520px; }
  .dt-pk { grid-area: pk; } .dt-name { grid-area: name; font-size: 30px; } .dt .gauge { grid-area: g; }
  .dev-giant { top: 46%; left: 62%; }
}

/* Barre de formules au-dessus du téléphone + indice de glisser */
.dev-sec .packbar { margin-bottom: clamp(18px, 3vw, 34px); }
.phone-wrap { touch-action: pan-y; }
@media (max-width: 959px) { .dev-tabs .dt { min-width: 150px; padding: 12px 14px; } .dt-name { font-size: 21px; } }

/* A — entrée bien visible dans les démos */
.slide-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.slide-go {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  min-height: 40px; padding: 0 16px; font: 600 13px/1 var(--sans); letter-spacing: .03em;
  background: var(--acc, var(--or)); color: var(--on, var(--noir));
  opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.slide-go svg { width: 10px; height: 10px; }
.slide.is-on .slide-go { opacity: 1; transform: none; }
@media (max-width: 899px) {
  .ri-actions .case-cta { flex: 1 1 100%; justify-content: center; min-height: 56px; }
  .ri-nav { width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   Corrections UX (audit)
   ========================================================================== */
/* Accueil : phrase d'activité lisible */
.hero-text { display: grid; gap: 10px; justify-items: center; }
.hero-h1 { font: 400 clamp(26px, 7.2vw, 46px)/1.08 var(--serif); letter-spacing: -.01em; color: var(--ivoire); text-wrap: balance; max-width: 16em; }
.hero-text .hero-sub { font-size: 15px; color: rgba(238, 232, 220, .8); max-width: 25em; }
@media (min-width: 1024px) {
  .hero-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; text-align: left; }
  .hero-text { justify-items: start; }
  .hero-h1 { font-size: clamp(32px, 3vw, 46px); }
}
/* En-tête visible tout de suite, au-dessus de l'ouverture */
html.js .hdr { opacity: 1; z-index: 95; }
.hdr .wrap { gap: 14px; }
.hdr-logo { margin-right: auto; }
.hdr-cta {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  font: 600 12.5px/1 var(--sans); letter-spacing: .04em;
  background: var(--or); color: var(--noir); border: 1px solid var(--or);
}
@media (min-width: 1024px) { .hdr-cta { display: none; } }
@media (max-width: 1023px) { html.js .hdr:not(.show-logo) .hdr-logo { opacity: 1; transform: none; pointer-events: auto; } }
/* Repère : section en cours */
.nav a.is-current:not(.btn) { color: var(--ivoire); }
.nav a.is-current:not(.btn)::after { transform: scaleX(1); }
.mnav li a.is-current { color: var(--or); }
/* Téléphone cliquable */
.phone { cursor: pointer; }
.phone:focus-visible { outline: 2px solid var(--or); outline-offset: 6px; }
.phone-hint { margin-top: 16px; text-align: center; font: 500 12px/1.3 var(--sans); letter-spacing: .08em; color: var(--or-clair); }
.phone-wrap { display: grid; justify-items: center; }
/* Formules : les trois visibles sur mobile */
@media (max-width: 979px) {
  .plans-track { display: grid; gap: 14px; overflow: visible; scroll-snap-type: none; padding: 20px var(--pad) 8px; }
  .plan { flex: none; width: auto; }
  .plans-dots { display: none; }
}

/* ===== Immersive en direct (B recentré sur une seule démo) ===== */
.dev-sec--solo .dev-pack{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;max-width:520px;padding:16px 0;border-top:1px solid rgba(198,174,128,.45);border-bottom:1px solid rgba(238,232,220,.1);color:var(--or-clair)}
.dev-sec--solo .dev-pack .gauge i{width:24px}
.dev-sec--solo .dev-line{min-height:0}
.dev-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px}
.dev-more{font:500 14.5px/1.3 var(--sans);color:var(--ivoire);text-decoration:underline;text-decoration-color:rgba(238,232,220,.35);text-underline-offset:5px;padding:12px 0;transition:text-decoration-color .3s var(--ease)}
@media (hover:hover){.dev-more:hover{text-decoration-color:var(--or)}}
.plan{scroll-margin-top:96px}
@media (max-width:959px){
  .dev-sec--solo .dev-actions .case-cta{flex:1 1 100%;justify-content:center;min-height:56px}
  .dev-sec--solo .dev-more{margin-inline:auto}
}

/* Listes numérotées des pages légales (CGV) */
.doc-body ol { counter-reset: st; display: grid; gap: 6px; }
.doc-body ol li { counter-increment: st; padding-left: 26px; }
.doc-body ol li::before { content: counter(st) "."; width: auto; height: auto; background: none; top: 0; color: var(--or); font-variant-numeric: lining-nums; }
.doc-body .siret { white-space: nowrap; }

/* ==========================================================================
   v7 — Une seule section : formules + démos en direct
   ========================================================================== */
.cfg { position: relative; background: #0C0B0A; padding: clamp(84px, 11vw, 160px) 0 0; scroll-margin-top: calc(var(--header-h) * -1); }
.cfg .anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; scroll-margin-top: calc(var(--header-h) * -1); }
.cfg-head { display: grid; gap: 18px; margin-bottom: clamp(20px, 3.5vw, 44px); }
@media (min-width: 900px) { .cfg-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: 48px; } }
.cfg-body { position: relative; display: grid; grid-template-areas: "bar" "stage" "panels"; }
.cfg-bar { grid-area: bar; position: sticky; top: var(--header-h); z-index: 6; background: #0C0B0A; margin-inline: calc(var(--pad) * -1); padding: 4px var(--pad) 0; }
.cfg-bar .packbar { margin-bottom: 0; }
.cfg-bar .pk { padding-top: 12px; padding-bottom: 14px; }
.cfg-stage { grid-area: stage; position: relative; overflow: hidden; margin-inline: calc(var(--pad) * -1); padding: 26px var(--pad) 4px; display: grid; justify-items: center; gap: 14px; }
.cfg .dev-giant { top: 44%; }
.cfg .phone-wrap { position: relative; z-index: 1; }
.cfg .phone { width: min(58vw, 262px); }
.cfg-cap { position: relative; z-index: 1; font: 500 12.5px/1.4 var(--sans); color: var(--gris); text-align: center; }
.cfg-panels { grid-area: panels; position: relative; z-index: 1; display: grid; padding: 26px 4px 4px; margin-inline: -4px; overflow: hidden; touch-action: pan-y; }
.cfg-panel { grid-area: 1 / 1; display: grid; gap: 18px; align-content: start; opacity: 0; visibility: hidden; transform: translateX(28px); transition: opacity .3s var(--ease), transform .5s var(--ease), visibility 0s linear .5s; }
.cfg-panel.is-before { transform: translateX(-28px); }
.cfg-panel.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease) .12s, transform .6s var(--ease) .12s, visibility 0s; }
.cfg-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cfg-pitch { font: 300 clamp(30px, 4vw, 46px)/1.06 var(--serif); color: var(--ivoire); letter-spacing: -.01em; }
.cfg-flag { flex: none; margin-top: 6px; font: 600 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 8px 10px; background: var(--or); color: var(--noir); }
.cfg-list { list-style: none; display: grid; gap: 11px; padding: 0; margin: 0; }
.cfg-list li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.45; color: rgba(238, 232, 220, .86); }
.cfg-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--or); }
.cfg-meta { font-size: 13.5px; color: var(--gris); }
.cfg-demos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cfg-demos > span { font-size: 13.5px; color: var(--gris); margin-right: 6px; }
.cd { min-height: 40px; padding: 0 15px; border: 1px solid var(--line-dark); color: var(--gris); font: 500 13.5px/1 var(--sans); transition: border-color .35s var(--ease), color .35s var(--ease), background-color .35s var(--ease); }
.cd.is-on { border-color: var(--or); color: var(--or-clair); background: rgba(198, 174, 128, .07); }
.cfg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.cfg-actions .btn { min-height: 54px; }
.cfg-open { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px; border: 1px solid rgba(238, 232, 220, .38); color: var(--ivoire); font: 600 14px/1 var(--sans); letter-spacing: .02em; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.cfg-open svg { width: 11px; height: 11px; flex: none; }
@media (hover: hover) { .cfg-open:hover { border-color: var(--ivoire); background: rgba(238, 232, 220, .06); } .cd:hover { color: var(--ivoire); } }
@media (max-width: 959px) { .cfg-actions > * { flex: 1 1 100%; justify-content: center; } }
.cfg .marquee { margin-top: clamp(56px, 8vw, 110px); }
/* Reflet doré quand une vitrine s'ouvre dans le téléphone */
.phone-screen::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(105deg, transparent 32%, rgba(226, 204, 156, .45) 47%, rgba(238, 232, 220, .6) 50%, rgba(226, 204, 156, .45) 53%, transparent 68%); transform: translateX(-130%); }
@media (prefers-reduced-motion: no-preference) {
  .phone-screen.sheen::after { animation: cfg-sheen 1.25s var(--ease) both; }
  @keyframes cfg-sheen { to { transform: translateX(130%); } }
}
@media (min-width: 960px) {
  .cfg { overflow: hidden; }
  .cfg-body { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto 1fr; grid-template-areas: "stage bar" "stage panels"; column-gap: clamp(48px, 7vw, 120px); }
  .cfg-bar { position: relative; top: auto; margin: 0; padding: 0; background: none; }
  .cfg-stage { position: static; overflow: visible; margin: 0; padding: 0; }
  .cfg .dev-giant { top: 50%; left: 50%; }
  .cfg .phone { width: min(24vw, 300px); }
  .cfg-panels { padding-top: 38px; }
  .cfg-bar, .cfg-panels { margin-inline: -4px; padding-inline: 4px; }
  .cfg-list li { font-size: 16.5px; }
}
/* Entrer dans les démos : impossible à rater */
.cfg .phone-screen iframe { z-index: 2; opacity: 0; transition: opacity .55s var(--ease); }
.cfg .phone-screen iframe.on, .cfg .phone-screen.is-live iframe.on { opacity: 1; }
.cfg .phone-screen.is-live iframe:not(.on) { opacity: 0; }
.cfg .phone-screen::after { z-index: 4; }
.cfg-go { z-index: 1; width: min(100%, 340px); margin-top: 6px; }
.cfg-go svg { width: 11px; height: 11px; flex: none; }
.cfg-stage .cfg-demos { position: relative; z-index: 1; justify-content: center; margin-top: 4px; }
.cfg-demos[hidden] { display: none; }
.cd { background: rgba(12, 11, 10, .6); }
@media (prefers-reduced-motion: no-preference) {
  .cd.nudge { animation: cd-nudge 1.1s var(--ease) 3; }
  @keyframes cd-nudge { 0%, 100% { border-color: var(--line-dark); color: var(--gris); } 50% { border-color: var(--or); color: var(--or-clair); } }
}
/* Les trois formules en cartes qui défilent horizontalement, comme les vitrines de la version A */
.cfg-panels { display: flex; gap: 12px; overflow-x: auto; overflow-y: visible; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 26px calc(var(--pad) * -1) 0; padding: 4px 10vw 8px; scroll-padding-inline: 10vw; touch-action: auto; align-self: start; align-items: stretch; }
.cfg-panels::-webkit-scrollbar { display: none; }
.cfg-panel { grid-area: auto; position: relative; flex: 0 0 80vw; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 22px; border: 1px solid var(--line-dark); background: #11100E; scroll-snap-align: center; scroll-snap-stop: always; visibility: visible; transform: none; opacity: .6; cursor: pointer; transition: opacity .45s var(--ease), border-color .45s var(--ease); }
.cfg-panel.is-on { opacity: 1; border-color: rgba(198, 174, 128, .6); cursor: auto; }
.cfg-n { font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ivoire); }
.cfg-prow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cfg-pr { font: 300 clamp(36px, 4vw, 46px)/1 var(--serif); color: var(--or); }
.cfg-pr small { font-size: .45em; margin-right: .3em; color: var(--gris); }
.cfg-prow .gauge i { width: 22px; }
.cfg-panel .cfg-pitch { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.12; }
.cfg-panel .cfg-flag { position: absolute; top: -1px; right: -1px; margin: 0; }
.cfg-panel .cfg-meta { margin-top: auto; }
.cfg-panel .cfg-actions { margin-top: 2px; }
.cfg-panel .cfg-actions .btn { flex: 1 1 100%; justify-content: center; }
@media (min-width: 960px) {
  .cfg-panels { margin: 34px 0 0; padding: 4px 9% 8px; scroll-padding-inline: 9%; }
  .cfg-panel { flex-basis: 82%; padding: 30px 30px 28px; }
  .cfg-bar, .cfg-panels { margin-inline: 0; }
}
/* Rythme : moins de vide entre À propos, Contact et le pied de page */
.studio { padding-block: clamp(80px, 10vw, 150px) clamp(56px, 7vw, 100px); }
.contact { padding-block: clamp(72px, 9vw, 130px); }
.ftr { padding-top: clamp(64px, 8vw, 120px); }
.nav .btn--gold { color: var(--noir); border-color: var(--or); }
@media (hover: hover) { .nav .btn--gold:hover { border-color: var(--ivoire); } }
/* Le site dans le téléphone défile tout seul : aucun geste ne l'atteint */
/* le téléphone s'incline en un seul bloc : la vitre reste toujours au-dessus du site, sous tous les angles */
.cfg .phone { transform-style: flat; }
.phone-shield { position: absolute; inset: 0; z-index: 5; background: transparent; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
/* En-tête : fond sombre dès qu'on défile, plus de texte qui glisse dessous */
.hdr.is-scrolled { background: rgba(12, 11, 10, .88); -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px); border-bottom-color: var(--line-dark); }
/* Accueil : la lumière platine se fond dans le noir au lieu de s'arrêter net */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(12, 11, 10, 0) 0%, rgba(12, 11, 10, .6) 55%, var(--noir) 100%); }
.cfg .phone-load { color: rgba(226, 204, 156, .7); }
/* Téléphone tenu à l'horizontale : la barre des formules ne reste pas collée, pour laisser voir le téléphone */
@media (max-height: 500px) and (max-width: 959px) { .cfg-bar { position: relative; top: auto; } }
/* À propos : quatre étapes */
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ==========================================================================
   Éclat des métaux : or « feuille d'or » sur les accents du site
   ========================================================================== */
:root {
  --or-metal: linear-gradient(115deg, #A98546 0%, #D8BA7A 26%, #F4E3B2 45%, #D6B675 60%, #B38F4C 82%, #C9A866 100%);
}
.btn--gold, .contact .btn--gold, .hdr-cta, .nav .btn--gold {
  background-color: #CDAE72; background-image: var(--or-metal); background-size: 180% 100%; background-position: 0% 50%;
  border-color: #CDAE72; color: #14110D;
  transition: color .45s var(--ease), border-color .45s var(--ease), background-position .9s var(--ease);
}
@media (hover: hover) { .btn--gold:hover, .hdr-cta:hover { background-position: 100% 50%; } }
.pk-ink, .gauge i.on, .slide .gauge i.on, .plans-dots i.on, .plan-flag, .cfg-flag { background-image: var(--or-metal); background-color: #CDAE72; }
.cfg-flag, .plan-flag { color: #14110D; }
/* prix et grands textes dorés : dégradé métal dans la lettre */
.cfg-pr, .pk.is-on .pk-p, .slogan, .marquee-track span, .steps span {
  background-image: var(--or-metal); background-size: 100% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.cfg-pr small { -webkit-text-fill-color: var(--gris); color: var(--gris); }
.marquee-track i { -webkit-text-fill-color: currentColor; }
