/* Proof · landing waitlist v7
   Hero : photo filee + trame + verre sombre. Suite : clair, minimal. */
:root {
  --bg: #f4f4f2;
  --card: #eaeae7;
  --ink: #131419;
  --mute: #686870;
  --line: rgba(19, 20, 25, .1);
  --bad: #ff5b4a;
  --ok: #86e3ae;
  --glass: rgba(10, 11, 18, .56);
  --glass-line: rgba(255, 255, 255, .1);
  --r: 26px;
  --wrap: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font: 400 16px/1.5 Geist, ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 500; letter-spacing: -.035em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 6px; }

/* ───────── Boutons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px; font: 500 15px/1 Geist, sans-serif; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), background .2s, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn-white { background: #fff; color: #111; }
.btn-white:hover { background: #ecebe8; }
.btn-glass {
  height: 38px; padding: 0 15px; font-size: 14px; color: #fff; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .24); }

/* ───────── Scene (hero + fin) ───────── */
.stage {
  position: relative; margin: 10px; border-radius: var(--r); overflow: hidden; color: #fff; isolation: isolate;
  background: #070912 url(assets/v7/backdrop.jpg?v=5) center / cover no-repeat;
  min-height: calc(100svh - 20px); display: flex; flex-direction: column;
}
.stage::before { /* assombrit juste assez pour le texte blanc */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(4, 6, 18, .62) 0%, rgba(4, 6, 18, .36) 46%, rgba(4, 6, 18, .18) 100%);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px clamp(20px, 3.4vw, 44px) 0;
}
.logo { font-weight: 600; font-size: 21px; letter-spacing: -.045em; }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: #fff; }

.hero {
  flex: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center;
  gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 5vh, 64px) clamp(20px, 3.4vw, 44px) clamp(36px, 7vh, 80px);
}
.hero-copy { display: flex; flex-direction: column; max-width: 520px; }
h1 { font-size: clamp(42px, 5.1vw, 78px); line-height: .98; letter-spacing: -.045em; }
.lede { order: 2; margin-top: 22px; font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.45; color: rgba(255, 255, 255, .84); max-width: 30em; }
.hero-copy .join { order: 3; margin-top: 32px; }

/* trame de points animee (dessinee par script.js) */
.dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* formulaire */
.join { max-width: 440px; }
.join-row {
  display: flex; gap: 6px; padding: 6px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(28px) saturate(1.4); -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 20px 50px -20px rgba(0, 0, 0, .5);
  transition: border-color .2s;
}
.join-row:focus-within { border-color: rgba(255, 255, 255, .4); }
.join input[type=email] {
  flex: 1; min-width: 0; height: 44px; padding: 0 6px 0 16px; border: 0; background: none; color: #fff;
  font: 400 16px/1 Geist, sans-serif; letter-spacing: -.01em; outline: none;
}
.join input::placeholder { color: rgba(255, 255, 255, .5); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join-note { margin: 12px 0 0 18px; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.join.is-done .join-row { display: none; }
.join.is-done .join-note {
  margin: 0; padding: 16px 20px; border-radius: 18px; font-size: 16px; color: #fff;
  background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
}
.join.is-error .join-note { color: #ffb4aa; }
.join.is-busy button { opacity: .6; pointer-events: none; }

/* ───────── Fenetre de verre ───────── */
.hero-visual { position: relative; }
.win {
  position: relative; padding: 8px; border-radius: 22px;
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(34px) saturate(1.5); -webkit-backdrop-filter: blur(34px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 50px 90px -30px rgba(0, 0, 0, .6);
}
.win-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 8px 6px 10px; font-size: 13px; }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.win-file { color: rgba(255, 255, 255, .62); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px 0 9px; border-radius: 999px;
  background: rgba(255, 91, 74, .16); color: #ffb0a6; font-size: 12.5px; white-space: nowrap; transition: background .4s, color .4s;
}
.pill b { font-weight: 500; }
.pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--bad); transition: background .4s; }
.pill.ok { background: rgba(134, 227, 174, .16); color: #b6f0cf; }
.pill.ok i { background: var(--ok); }

/* ───────── Comparateur ───────── */
.cmp { position: relative; overflow: hidden; border-radius: 15px; background: #0e0d0c; user-select: none; -webkit-user-select: none; }
.cmp img { width: 100%; height: auto; pointer-events: none; }
.cmp-before { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--p)); }
.cmp-before img { height: 100%; object-fit: cover; }
.cmp-line { position: absolute; top: 0; bottom: 0; left: clamp(1px, var(--p), calc(100% - 1px)); width: 1.5px; margin-left: -.75px; background: rgba(255, 255, 255, .9); pointer-events: none; }
.cmp-line i {
  position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%;
  background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.cmp-line i::before, .cmp-line i::after {
  content: ""; position: absolute; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  border: solid #fff; border-width: 1.5px 1.5px 0 0;
}
.cmp-line i::before { left: 8px; transform: rotate(-135deg); }
.cmp-line i::after { right: 8px; transform: rotate(45deg); }
.cmp-hero .cmp-line { left: clamp(18px, var(--p), calc(100% - 18px)); }
.tag {
  position: absolute; top: 12px; height: 24px; padding: 0 9px; border-radius: 7px; font-size: 12.5px; line-height: 24px; color: #fff;
  background: rgba(20, 18, 17, .5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); pointer-events: none; transition: opacity .3s;
}
.tag-l { left: 12px; } .tag-r { right: 12px; }
.cmp[data-edge=l] .tag-l, .cmp[data-edge=r] .tag-r { opacity: 0; }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; }

.squiggles { position: absolute; inset: 0; width: 100%; height: 100%; }
.squiggles path {
  fill: none; stroke: var(--bad); stroke-width: 3.2; stroke-linecap: round; vector-effect: non-scaling-stroke;
  opacity: 0; filter: drop-shadow(0 0 5px rgba(255, 70, 50, .7));
  transition: opacity .45s var(--ease); transition-delay: calc(.35s + var(--i) * .12s);
}
.is-live .squiggles path { opacity: 1; }

/* liste des corrections, posee sur la fenetre */
.fixes {
  position: absolute; top: 58px; right: -30px; width: clamp(168px, 35cqw, 232px); padding: 12px 6px 8px; border-radius: 16px; font-size: clamp(11.5px, 2cqw, 13px);
  background: rgba(20, 17, 16, .7); border: 1px solid var(--glass-line);
  backdrop-filter: blur(30px) saturate(1.5); -webkit-backdrop-filter: blur(30px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 30px 60px -20px rgba(0, 0, 0, .65);
}
.fixes header { display: flex; justify-content: space-between; padding: 0 8px 9px; color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.fixes ol { list-style: none; padding: 0; }
.fixes li {
  display: flex; align-items: center; gap: 9px; height: clamp(20px, 3.9cqw, 27px); padding: 0 8px; border-radius: 8px;
  opacity: 0; transform: translateY(4px); transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s;
  transition-delay: calc(.35s + var(--i) * .12s), calc(.35s + var(--i) * .12s), 0s;
}
.is-live .fixes li { opacity: 1; transform: none; }
.fixes li i { flex: none; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--bad); position: relative; transition: background .3s, border-color .3s; }
.fixes li i::after {
  content: ""; position: absolute; left: 3.2px; top: 1px; width: 3px; height: 6px; border: solid #10231a; border-width: 0 1.6px 1.6px 0;
  transform: rotate(42deg) scale(0); transition: transform .3s var(--ease);
}
.fixes .w { position: relative; overflow: hidden; height: 20px; flex: 1; }
.fixes .w span { position: absolute; left: 0; top: 0; line-height: 20px; white-space: nowrap; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.fixes .w .bad { color: #ffb0a6; text-decoration: underline wavy rgba(255, 91, 74, .9) 1px; text-underline-offset: 3px; }
.fixes .w .good { color: #fff; transform: translateY(100%); opacity: 0; }
.fixes li.ok i { background: var(--ok); border-color: var(--ok); }
.fixes li.ok i::after { transform: rotate(42deg) scale(1); }
.fixes li.ok .bad { transform: translateY(-100%); opacity: 0; }
.fixes li.ok .good { transform: none; opacity: 1; }

/* ───────── Sections claires ───────── */
.sec { max-width: var(--wrap); margin: 0 auto; padding: clamp(72px, 11vw, 136px) 24px 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.04; }
.sec-head p { color: var(--mute); font-size: 17px; max-width: 30em; }
.fineprint { margin-top: 20px; color: var(--mute); font-size: 13.5px; }

/* exemples : l'image entiere (pour l'envie) + le gros plan avant / apres (pour la preuve) */
.ex-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ex-tabs button {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 1px solid var(--line); border-radius: 999px;
  background: none; color: var(--ink); font: 500 15px/1 Geist, sans-serif; letter-spacing: -.01em; cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.ex-tabs button img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.ex-tabs button:hover { background: var(--card); }
.ex-tabs button[aria-selected=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.exs {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 12px; padding: 12px; border-radius: 28px;
  background: #0c0d13; color: #fff;
}
.ex-full { position: relative; overflow: hidden; border-radius: 18px; min-height: 100%; background: rgba(0, 0, 0, .25); }
/* cadre au format de l'image (4:5), centre : le repere du gros plan reste cale quel que soit le recadrage */
.ex-fit { position: absolute; top: 0; left: 50%; height: 100%; min-width: 100%; aspect-ratio: 4 / 5; transform: translateX(-50%); }
.ex-full img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ex-side { display: flex; flex-direction: column; min-width: 0; }
.exs .cmp { border-radius: 18px; }
.exs .tag { top: 14px; } .exs .tag-l { left: 14px; } .exs .tag-r { right: 14px; }
.ex-txt { padding: 22px 12px 12px; }
.ex-txt h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.03em; margin-bottom: 8px; }
.ex-txt p { color: rgba(255, 255, 255, .76); font-size: 16px; max-width: 34em; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chips li { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 9px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 13.5px; white-space: nowrap; }
.chips li::before { content: ""; width: 5px; height: 9px; margin: -3px 2px 0 3px; border: solid var(--ok); border-width: 0 1.7px 1.7px 0; transform: rotate(42deg); }
.exs.is-swap .ex-full img, .exs.is-swap .cmp img, .exs.is-swap .ex-txt { opacity: 0; }
.ex-full img, .exs .cmp img, .ex-txt { transition: opacity .28s var(--ease); }

/* repere du gros plan sur l'image */
.mark { position: absolute; border: 1.5px solid rgba(255, 255, 255, .92); border-radius: 7px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25), 0 0 24px rgba(0, 0, 0, .25); pointer-events: none; transition: all .5s var(--ease); }

/* loupe du hero : le gros plan de l'etiquette, pose sur la fenetre */
.loupe {
  position: absolute; right: -30px; bottom: -40px; width: 46%; margin: 0; padding: 7px; border-radius: 19px;
  background: rgba(12, 13, 20, .62); border: 1px solid var(--glass-line);
  backdrop-filter: blur(30px) saturate(1.5); -webkit-backdrop-filter: blur(30px) saturate(1.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .1) inset, 0 30px 70px -20px rgba(0, 0, 0, .7);
}
.loupe-img { position: relative; overflow: hidden; border-radius: 13px; }
.loupe-img img { width: 100%; height: auto; }
.loupe-before { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--q)); }
.loupe-before img { height: 100%; object-fit: cover; }
.loupe-img::after { content: ""; position: absolute; top: 0; bottom: 0; left: clamp(0px, var(--q), 100%); width: 1.5px; margin-left: -.75px; background: rgba(255, 255, 255, .9); opacity: var(--line, 0); }
.loupe figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 9px 7px 3px; font-size: 13px; color: rgba(255, 255, 255, .7); font-variant-numeric: tabular-nums; white-space: nowrap; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { background: var(--card); border-radius: 20px; padding: 22px 22px 0; display: flex; flex-direction: column; overflow: hidden; }
.step-txt { display: flex; gap: 16px; min-height: 128px; }
.num { font-size: 44px; line-height: .95; font-weight: 300; letter-spacing: -.04em; color: #a8a39b; }
.step h3 { font-size: 20px; letter-spacing: -.025em; margin-bottom: 6px; }
.step p { color: var(--mute); font-size: 15.5px; line-height: 1.42; }
.mock { position: relative; height: 210px; margin-top: 22px; }
.m-card {
  position: absolute; left: 6px; right: 6px; top: 12px; bottom: -20px; padding: 14px; border-radius: 16px; background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 14px 30px -18px rgba(0, 0, 0, .25); display: flex; gap: 14px;
}
.m-thumb { width: 104px; border-radius: 9px; background: #222 center 40% / cover; }
.m-card ul { list-style: none; padding: 2px 0 0; display: grid; gap: 7px; align-content: start; font-size: 13px; }
.m-card li { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 11px 0 9px; border-radius: 8px; background: #f3f2ee; color: #45413c; white-space: nowrap; }
.m-card li i { width: 9px; height: 11px; border-radius: 2px; border: 1.4px solid #a09a91; }
.mock-warp { display: grid; place-items: center; perspective: 520px; }
.m-warp {
  position: relative; padding: 16px 22px; border: 1.2px solid #2b6fff; background: #ead3c6; color: #3a1e1a;
  font: 400 21px/1 Georgia, "Times New Roman", serif; white-space: nowrap; transform: rotateY(-24deg) rotateX(7deg) translateY(-12px);
  box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .5);
}
.m-warp b { position: absolute; width: 9px; height: 9px; background: #fff; border: 1.2px solid #2b6fff; }
.m-warp b:nth-of-type(1) { left: -5px; top: -5px; } .m-warp b:nth-of-type(2) { right: -5px; top: -5px; }
.m-warp b:nth-of-type(3) { left: -5px; bottom: -5px; } .m-warp b:nth-of-type(4) { right: -5px; bottom: -5px; }
.m-zoom { position: absolute; left: 6px; right: 6px; top: 12px; bottom: -20px; border-radius: 16px; background: #111 50% 46% / 135% no-repeat; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .4); }
.m-chip, .m-dl { position: absolute; top: 24px; height: 26px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; line-height: 26px; }
.m-chip { left: 18px; background: rgba(20, 18, 17, .55); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.m-dl { right: 18px; background: #fff; color: #111; font-weight: 500; }

.fixgrid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.fixgrid > div { padding: 24px 28px 28px 0; border-bottom: 1px solid var(--line); }
.fixgrid > div:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.fixgrid dt { font-size: 19px; font-weight: 500; letter-spacing: -.025em; margin-bottom: 6px; }
.fixgrid dd { color: var(--mute); font-size: 15.5px; line-height: 1.42; }

.credits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cr { background: var(--card); border-radius: 20px; padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 46px; }
.cr b { font-size: clamp(40px, 4.4vw, 60px); line-height: 1; font-weight: 400; letter-spacing: -.05em; }
.cr small { font-size: 16px; font-weight: 400; letter-spacing: -.01em; color: var(--mute); margin-left: 4px; }
.cr span { font-size: 16px; }
.cr-dark { background: var(--ink); color: #fff; }
.cr-dark small { color: rgba(255, 255, 255, .6); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-size: 19px; font-weight: 500; letter-spacing: -.025em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 26px; line-height: 1; color: var(--mute); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--mute); font-size: 16.5px; max-width: 40em; }

/* ───────── Fin ───────── */
.stage-end { min-height: 0; margin-top: clamp(72px, 11vw, 136px); background-position: 30% 70%; }
.stage-end::before { background: rgba(4, 6, 18, .4); }
.end { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(72px, 13vw, 150px) 20px clamp(56px, 9vw, 110px); }
.end h2 { font-size: clamp(38px, 5.6vw, 80px); line-height: 1; letter-spacing: -.045em; margin-bottom: 36px; }
.end .join { width: 100%; }
.end .join-note { margin-left: 0; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 clamp(20px, 3.4vw, 44px) 22px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.foot .logo { color: #fff; font-size: 18px; }
.foot-links { display: flex; gap: 22px; }
.foot a:hover { color: #fff; }

/* apparition au defilement */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ───────── Tablette ───────── */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; align-items: start; }
  .hero-copy { max-width: 600px; }
  .nav-links { display: none; }
  .steps, .credits { grid-template-columns: 1fr; }
  .step-txt { min-height: 0; }
  .mock { max-width: 420px; width: 100%; }
  .fixgrid { grid-template-columns: 1fr 1fr; }
  .fixgrid > div, .fixgrid > div:not(:nth-child(3n+1)) { padding: 22px 22px 24px 0; border-left: 0; }
  .fixgrid > div:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line); }
  .cr { gap: 28px; }
}

/* ───────── Mobile : titre, visuel, formulaire dans le premier ecran ───────── */
@media (max-width: 760px) {
  .stage { margin: 6px; border-radius: 22px; min-height: 0; background-image: url(assets/v7/backdrop-m.jpg?v=5); }
  .stage::before { background: linear-gradient(180deg, rgba(4, 6, 18, .55), rgba(4, 6, 18, .3) 60%, rgba(4, 6, 18, .45)); }
  .nav { padding: 14px 14px 0 18px; }
  .hero { display: flex; flex-direction: column; gap: 0; padding: 26px 12px 26px; }
  .hero-copy { display: contents; }
  h1 { order: 1; font-size: clamp(38px, 11.4vw, 52px); padding: 0 6px; }
  .hero-visual { order: 2; margin-top: 22px; width: 100%; }
  .demo-steps { font-size: 12px; gap: 4px; padding: 8px 2px 2px; }
  .demo-steps li { height: 26px; }
  .early { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .loupe { width: 58%; right: -2px; bottom: -28px; padding: 5px; border-radius: 15px; }
  .loupe figcaption { font-size: 11.5px; padding: 6px 5px 2px; }
  .loupe-img { border-radius: 10px; }
  .ex-tabs { gap: 6px; }
  .ex-tabs button { padding: 5px 12px 5px 5px; font-size: 14px; }
  .exs { grid-template-columns: 1fr; padding: 8px; border-radius: 22px; }
  .ex-full { aspect-ratio: 4 / 5; min-height: 0; }
  .ex-txt { padding: 16px 8px 10px; }
  .hero-copy .join { order: 3; margin-top: 14px; max-width: none; width: 100%; }
  .lede { order: 4; margin-top: 22px; padding: 0 6px; font-size: 16px; }
  .win { padding: 6px; border-radius: 18px; }
  .win-bar { height: 34px; }
  .cmp { border-radius: 13px; }
  .fixes { display: none; }
  .join-note { margin-left: 6px; }
  .btn-white { padding: 0 15px; }
  .sec { padding-left: 16px; padding-right: 16px; }
  .sec-head { grid-template-columns: 1fr; }
  .grid-ex { grid-template-columns: 1fr; }
  .fixgrid { grid-template-columns: 1fr; }
  .fixgrid > div, .fixgrid > div:nth-child(even), .fixgrid > div:not(:nth-child(3n+1)) { padding: 18px 0 20px; border-left: 0; }
  .faq summary { font-size: 17px; }
  .stage-end { margin-top: 72px; }
  .foot { padding-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .rv { opacity: 1; transform: none; }
}

/* ───────── Demonstration animee du hero (v7.9) ─────────
   Etapes (data-stage, posees par script.js) : 0 vide, 1 produit depose par le curseur, 2 scene generee,
   3 zoom sur l'etiquette, 4 fautes soulignees, 5 correction, 6 retour a l'image entiere corrigee.
   Le curseur et la carte tenue sont animes en JS (trajectoires courbes) ; le reste en transitions a rebond. */
.demo { --back: cubic-bezier(.34, 1.56, .64, 1); --snap: cubic-bezier(.7, 0, .15, 1); }
.demo-view { position: relative; overflow: hidden; border-radius: 15px; aspect-ratio: 4 / 3; background: #0b0c12; }
.demo-view img { display: block; width: 100%; height: 100%; object-fit: cover; }
.demo-drop { position: absolute; inset: 14px; display: grid; place-items: center; border: 1.5px dashed rgba(255, 255, 255, .22); border-radius: 12px; color: rgba(255, 255, 255, .5); font-size: 15px; transition: opacity .3s, border-color .25s, background .25s, transform .35s var(--back); }
.demo.is-over .demo-drop { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .05); transform: scale(.985); }

.demo-ref {
  position: absolute; left: 50%; top: 50%; width: 40% !important; height: auto !important; aspect-ratio: 1; border-radius: 12px; z-index: 3;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); opacity: 0;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(var(--s, 1));
  transition: transform .5s var(--back), left .55s var(--back), top .55s var(--back), width .55s var(--back), border-radius .5s, opacity .25s;
}
.demo-ref.drag { transition: opacity .2s; box-shadow: 0 46px 70px -18px rgba(0, 0, 0, .8); }

.demo-gen {
  position: absolute; left: 50%; bottom: 7%; z-index: 3; display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px;
  background: #fff; color: #0b0c12; font-size: 14.5px; font-weight: 500; white-space: nowrap; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7);
  opacity: 0; transform: translate(-50%, 16px) scale(.8); transition: transform .4s var(--back), opacity .2s;
}
.demo.has-gen .demo-gen { opacity: 1; transform: translate(-50%, 0) scale(1); }
.demo.has-gen.is-press .demo-gen { transform: translate(-50%, 0) scale(.9); transition-duration: .1s; }

.demo-scene {
  position: absolute; inset: 0; opacity: 0; clip-path: circle(0% at 50% 88%); filter: blur(14px) saturate(.5) brightness(1.5); transform-origin: 45.56% 66.67%;
  transition: clip-path .85s var(--snap), filter 1s var(--ease), transform .75s var(--snap), opacity .3s;
}
.demo-scene img { position: absolute; inset: 0; }
.s-after { opacity: 0; }
.demo-zoom { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; }
.demo-zoom > img, .z-before img { position: absolute; inset: 0; }
.z-before { position: absolute; inset: 0; clip-path: inset(0 0 0 0); }
.z-line { position: absolute; top: -5%; bottom: -5%; left: 0; width: 2px; margin-left: -1px; background: #fff; opacity: 0; box-shadow: 0 0 22px 4px rgba(255, 255, 255, .8), 0 0 60px 14px rgba(140, 200, 255, .35); }
.demo-shine { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .34) 50%, transparent 65%); transform: translateX(-110%); opacity: 0; pointer-events: none; }
.demo .squiggles path { stroke-width: 3; transition: opacity .16s; transition-delay: calc(var(--i) * 70ms); }
.pops { position: absolute; inset: 0; width: 100%; height: 100%; }
.pops circle { fill: var(--ok); opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: center; }

.demo-ring { position: absolute; left: var(--x, 50%); top: var(--y, 50%); z-index: 4; width: 26%; aspect-ratio: 1; margin: -13% 0 0 -13%; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9); opacity: 0; transform: scale(.1); pointer-events: none; }
.demo-ring.go { opacity: 0; transform: scale(1); transition: transform .6s cubic-bezier(.1, .7, .2, 1), opacity .6s ease-in; }
.demo-ring.arm { opacity: .9; transform: scale(.1); transition: none; }

.demo-tag { opacity: 0; transform: scale(.5); transform-origin: 100% 0; z-index: 3; }
.demo-tag:not(:empty) { opacity: 1; transform: none; transition: transform .45s var(--back), opacity .2s; }
.demo[data-stage="6"] .demo-tag { background: rgba(134, 227, 174, .92); color: #06210f; font-weight: 500; }

.demo-cursor { position: absolute; left: -10%; top: 110%; z-index: 6; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; opacity: 0; transition: opacity .25s; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .5)); }
.demo-cursor.on { opacity: 1; }
.demo-cursor svg { flex: none; transform: scale(var(--cs, 1)); transform-origin: 20% 15%; transition: transform .12s; }
.demo-cursor.down { --cs: .78; }
.demo-cursor span { margin-top: 16px; height: 20px; padding: 0 8px; border-radius: 7px 999px 999px 999px; background: #fff; color: #0b0c12; font-size: 11.5px; font-weight: 600; line-height: 20px; letter-spacing: -.01em; }

/* rideau de fin de boucle : la scene s'eteint, tout est remis a zero derriere, puis la zone vide revient */
.demo-fade { position: absolute; inset: 0; z-index: 5; background: #0b0c12; opacity: 0; pointer-events: none; transition: opacity .45s var(--ease); }
.demo.is-out .demo-fade { opacity: 1; }
.demo.is-out .demo-scene { transform: scale(1.04); transition: transform .6s var(--ease); }
.demo.is-reset * { transition: none !important; }

/* etats */
.demo[data-stage="1"] .demo-ref { opacity: 1; }
.demo:not([data-stage="0"]):not([data-stage="1"]) .demo-drop { opacity: 0; }
.demo:not([data-stage="0"]):not([data-stage="1"]) .demo-ref { opacity: 1; left: 14px; top: 14px; width: 15% !important; border-radius: 8px; transform: none; }
.demo:not([data-stage="0"]):not([data-stage="1"]) .demo-scene { opacity: 1; clip-path: circle(150% at 50% 88%); filter: none; }
.demo[data-stage="2"] .demo-shine { opacity: 1; transform: translateX(110%); transition: transform 1s var(--ease) .25s, opacity .2s; }
.demo[data-stage="3"] .demo-scene, .demo[data-stage="4"] .demo-scene, .demo[data-stage="5"] .demo-scene { transform: scale(4); }
.demo[data-stage="3"] .demo-ref, .demo[data-stage="4"] .demo-ref, .demo[data-stage="5"] .demo-ref { opacity: 0 !important; }
.demo[data-stage="4"] .demo-zoom, .demo[data-stage="5"] .demo-zoom { opacity: 1; }
.demo[data-stage="4"] .squiggles path, .demo[data-stage="5"] .squiggles path { opacity: 1; }
.demo[data-stage="5"] .squiggles path { transition: none; }
.demo[data-stage="5"] .z-before, .demo[data-stage="6"] .z-before { clip-path: inset(0 0 0 100%); }
.demo[data-stage="5"] .z-before { transition: clip-path 1.05s var(--snap); }
.demo[data-stage="5"] .z-line { left: 100%; opacity: 1; transition: left 1.05s var(--snap), opacity .15s; }
.demo[data-stage="5"] .pops circle { opacity: 1; transform: scale(1); transition: transform .4s var(--back), opacity .15s; transition-delay: var(--d); }
.demo[data-stage="5"] .s-after, .demo[data-stage="6"] .s-after { opacity: 1; }

.demo-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 8px 0 0; margin: 0; font-size: 13px; }
.demo-steps li { display: grid; place-items: center; height: 30px; border-radius: 9px; color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .05); transition: background .3s, color .3s, transform .35s var(--back); white-space: nowrap; }
.demo-steps li.on { color: #fff; background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.demo-steps li.done { color: rgba(255, 255, 255, .78); }
.pill.idle { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .7); }
.pill.idle i { background: rgba(255, 255, 255, .5); }
.pill.busy { background: rgba(120, 170, 255, .18); color: #c3d6ff; }
.pill.busy i { background: #7aa8ff; }
.pill.bump { transform: scale(1.08); }
.demo .pill { transition: background .3s, color .3s, transform .18s var(--back); }

/* etapes : selection posee sur le texte du whisky, gros plan du parfum */
.m-whisky { background-size: 118% !important; background-position: 30% 72% !important; }
.m-perfume { background-size: 112% !important; background-position: 40% 42% !important; }
.m-sel { position: absolute; left: 7%; top: 60%; width: 80%; height: 17%; border: 1.3px solid #5b93ff; background: rgba(91, 147, 255, .1); transform: rotate(1deg); }
.m-sel b { position: absolute; width: 8px; height: 8px; background: #fff; border: 1.3px solid #5b93ff; }
.m-sel b:nth-of-type(1) { left: -5px; top: -5px; } .m-sel b:nth-of-type(2) { right: -5px; top: -5px; }
.m-sel b:nth-of-type(3) { left: -5px; bottom: -5px; } .m-sel b:nth-of-type(4) { right: -5px; bottom: -5px; }

/* acces anticipe (remplace le bloc prix) */
.early { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 48px); border-radius: 28px; background: #0c0d13; color: #fff; }
.early h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.04; margin-bottom: 10px; }
.early p { color: rgba(255, 255, 255, .72); font-size: 17px; max-width: 30em; }

/* ───────── v7.11 : fond vivant ─────────
   Deux calques de la meme image (crees par script.js) derivent lentement en sens contraires :
   le second, en fusion claire, glisse le long du file et fait "couler" la lumiere. */
.stage { --bd: url(assets/v7/backdrop.jpg?v=5); }
@media (max-width: 760px) { .stage { --bd: url(assets/v7/backdrop-m.jpg?v=5); } }
.stage.has-bg { background-image: none; }
.stage-bg { position: absolute; inset: -16%; z-index: -2; background: var(--bd) center / cover no-repeat; will-change: transform; pointer-events: none; }
.stage-bg.b { mix-blend-mode: screen; opacity: .5; }

/* ───────── v7.12 : le hero tient dans le premier ecran (desktop) ─────────
   La fenetre de demo est bornee par la hauteur de l'ecran : largeur max = (hauteur dispo) x 4/3. */
@media (min-width: 1021px) {
  .stage:not(.stage-end) { height: calc(100svh - 20px); min-height: 520px; }
  .nav { padding-top: clamp(12px, 2.2vh, 22px); }
  .hero { padding-top: clamp(12px, 2.4vh, 40px); padding-bottom: clamp(16px, 3.4vh, 56px); min-height: 0; }
  .hero-visual { display: flex; justify-content: flex-end; min-width: 0; }
  .demo { width: 100%; max-width: max(420px, calc((100svh - 252px) * 1.333)); }
  h1 { font-size: clamp(38px, min(5.1vw, 8.6vh), 78px); }
  .lede { margin-top: clamp(12px, 2.2vh, 22px); }
  .hero-copy .join { margin-top: clamp(16px, 3.2vh, 32px); }
}

/* v7.13 : titre plus long (« AI product shots you can actually publish. ») */
@media (min-width: 1021px) { h1 { font-size: clamp(36px, min(4.5vw, 7.6vh), 70px); } }
@media (max-width: 760px) { h1 { font-size: clamp(32px, 9.6vw, 44px); } }
