/* joindope.app, liste d'attente.
   La promesse : le cinéma en un toucher. Au centre, un iPhone avec la caméra Easy de l'app ;
   les looks glissent autour (Cover Flow) et l'écran prend celui du centre.
   Tout le verre de la page suit une seule recette : .glass. */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-600.woff2") format("woff2"); }

:root {
  --ink: #fff;
  --ink-2: rgba(255, 255, 255, .72);
  --ink-3: rgba(255, 255, 255, .48);
  --line: rgba(255, 255, 255, .1);
  --rec: #ff3b30;
  --silver: linear-gradient(180deg, #fff 0%, #ececf0 45%, #a9a9b2 100%);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --pad: clamp(20px, 4vw, 56px);
  --glow: #ff9a6b;
  --pw: 280px;  /* largeur du téléphone */
  --ptop: 0px;  /* haut du téléphone dans la scène */
  color-scheme: dark;
}

/* Les looks sont de vraies photos étalonnées (looks/), une par look : plus de filtre. --f reste neutre. */
:root { --f: saturate(1); }

* { box-sizing: border-box; }
html { background: #000; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #000; color: var(--ink); overflow-x: hidden;
  font: 400 17px/1.45 "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; font-feature-settings: "ss01", "cv11";
}
body.is-locked { overflow: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.bar-cta, .join-btn, .btn, .pill { word-spacing: .06em; }
img { -webkit-user-drag: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ---------- le verre ----------
   Un fond clair à peine teinté, le flou et la saturation de ce qui est derrière,
   un liseré qui accroche la lumière en haut à gauche et revient en bas à droite, une ombre douce. */
.glass {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
  -webkit-backdrop-filter: blur(24px) saturate(1.8); backdrop-filter: blur(24px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .26), inset 0 -1px 0 rgba(255, 255, 255, .05), 0 14px 36px -14px rgba(0, 0, 0, .6);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: linear-gradient(140deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, .14) 28%, rgba(255, 255, 255, .04) 55%, rgba(255, 255, 255, .26) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* ---------- la barre ---------- */
.bar {
  position: absolute; left: 0; right: 0; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: max(18px, env(safe-area-inset-top)) max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left));
}
.logo { display: block; width: clamp(84px, 8vw, 112px); }
.logo svg { display: block; width: 100%; height: auto; overflow: visible; }
.bar-cta {
  height: 38px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 19px; text-decoration: none;
  font-size: 14px; font-weight: 600; transition: background .2s;
}
.bar-cta:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .09)); }

/* ---------- le haut ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center;
  padding-top: calc(env(safe-area-inset-top) + clamp(36px, 8vh, 96px));
}
.hero-logo { margin: 0 0 clamp(8px, 1.4vh, 16px); width: clamp(128px, 12.8vw, 184px); }
.hero-logo svg { display: block; width: 100%; height: auto; overflow: visible; }
/* seul le symbole bouge : la respiration de la charte (le croissant s'écarte de 9 u
   et revient se poser), en boucle, plus rapide que dans la charte. DOPE reste fixe. */
.dope-logo .dv-cro, .dope-logo .dv-main { transform-box: fill-box; }
.dope-logo .dv-cro { animation: dvCro 2s cubic-bezier(.7, 0, .2, 1) infinite; }
.dope-logo .dv-main { animation: dvMain 2s cubic-bezier(.7, 0, .2, 1) infinite; }
@keyframes dvCro { 0%, 18%, 86%, 100% { transform: translateX(0); } 42%, 62% { transform: translateX(-9px); } }
@keyframes dvMain { 0%, 18%, 86%, 100% { transform: translateX(0); } 42%, 62% { transform: translateX(3px); } }
.ambient { position: absolute; inset: 0 -10%; z-index: -2; filter: brightness(.42) saturate(1.4); pointer-events: none; overflow: hidden; }
.ambient img { position: absolute; left: 0; top: 0; width: 10%; height: 10%; object-fit: cover; object-position: 50% 55%; filter: var(--f) blur(6px); transform: scale(10); transform-origin: 0 0; transition: filter 1s var(--ease); }
.ambient::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 72%, #000 96%), radial-gradient(70% 60% at 50% 64%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .6) 60%, #000 100%); }

.hero-copy {
  display: grid; justify-items: center; text-align: center; position: relative; z-index: 3; width: 100%;
  padding: 0 max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left));
}
.h1 {
  margin: 0; font-weight: 600; letter-spacing: -.055em; line-height: .95;
  font-size: clamp(46px, min(8.4vw, 11vh), 128px); padding-bottom: .06em; text-wrap: balance;
  color: transparent; background: var(--silver); -webkit-background-clip: text; background-clip: text;
}
.lede { margin: clamp(14px, 2.2vh, 22px) 0 0; max-width: 31em; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; text-wrap: balance; }

.join {
  margin-top: clamp(20px, 3.2vh, 32px); display: flex; align-items: center; gap: 8px;
  width: min(100%, 460px); height: 62px; padding: 6px 6px 6px 22px; border-radius: 31px;
}
.join:focus-within { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .35), 0 14px 36px -14px rgba(0, 0, 0, .6); }
.join-field { flex: 1; min-width: 0; position: relative; z-index: 2; }
.join input[type="email"] {
  width: 100%; border: 0; outline: 0; background: none; color: #fff; caret-color: #fff;
  font: 400 17px/1 "Inter", system-ui, sans-serif; padding: 10px 0;
}
.join input::placeholder { color: var(--ink-3); }
.join-btn {
  all: unset; box-sizing: border-box; cursor: pointer; flex: none; position: relative; z-index: 2; height: 50px; padding: 0 22px; border-radius: 25px;
  background: linear-gradient(180deg, #fff, #e9e9ee); color: #000; font-weight: 600; font-size: 15px; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 6px 18px -6px rgba(0, 0, 0, .5); transition: transform .15s var(--ease), opacity .2s;
}
.join-btn:active { transform: scale(.97); }
.join-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.join[data-state="saving"] .join-btn { opacity: .6; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join-note { margin: 12px 0 0; font-size: 14px; color: var(--ink-3); min-height: 1.4em; }
.join-note.is-error { color: #fff; }

/* ---------- la scène : le téléphone, la Cover Flow des looks ---------- */
.stage {
  position: relative; flex: none; width: 100%; height: calc(var(--ptop) + var(--pw) * 2.167 + clamp(12px, 2.4vh, 28px));
  margin-top: clamp(32px, 6vh, 64px); touch-action: pan-y; -webkit-user-select: none; user-select: none; cursor: grab;
}
.stage.is-dragging { cursor: grabbing; }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16%; z-index: 45; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000); }
.flow { position: absolute; inset: 0; perspective: calc(var(--pw) * 4.4); perspective-origin: 50% calc(var(--ptop) + var(--pw) * .9); }
.card {
  all: unset; box-sizing: border-box; position: absolute; left: 50%; top: calc(var(--ptop) + var(--pw) * .3);
  width: calc(var(--pw) * .68); aspect-ratio: 3 / 4.5; margin-left: calc(var(--pw) * -.34);
  border-radius: calc(var(--pw) * .1); cursor: pointer;
}
/* le verre de la carte : flou de ce qui est derrière, liseré de lumière */
.card-glass {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .04) 55%, color-mix(in srgb, var(--g, #fff) 10%, rgba(20, 20, 24, .38)));
  /* le vrai verre : ce qui passe derrière (une autre carte, la lueur) est flouté */
  -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 calc(var(--pw) * .1) calc(var(--pw) * .24) calc(var(--pw) * -.08) rgba(0, 0, 0, .75);
}
.card-glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .12) 30%, rgba(255, 255, 255, .03) 60%, color-mix(in srgb, var(--g, #fff) 60%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.card img {
  position: absolute; left: 5%; right: 5%; top: 3.6%; width: 90%; height: 78%; border-radius: calc(var(--pw) * .07);
  object-fit: cover; object-position: 50% 50%; filter: var(--f); pointer-events: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1);
}
.card-name {
  position: absolute; left: 0; right: 0; bottom: 0; height: 18.4%; display: grid; place-items: center; pointer-events: none;
  font-size: clamp(11px, calc(var(--pw) * .05), 15px); font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
}
/* la lueur : la couleur de l'image, très diffuse */
.card::before {
  content: ""; position: absolute; inset: -55% -45%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--g, #fff) 34%, transparent) 0%, color-mix(in srgb, var(--g, #fff) 16%, transparent) 38%, color-mix(in srgb, var(--g, #fff) 5%, transparent) 70%, transparent 100%);
}
.card:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* la lueur derrière le téléphone : la couleur du look, large et douce */
.phone-glow {
  position: absolute; left: 50%; top: calc(var(--ptop) - var(--pw) * .2); z-index: 1; width: calc(var(--pw) * 3.4); height: calc(var(--pw) * 2.9);
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 26%, transparent) 0%, color-mix(in srgb, var(--glow) 13%, transparent) 35%, color-mix(in srgb, var(--glow) 4%, transparent) 68%, transparent 100%);
  transition: background 1s var(--ease);
}
/* l'iPhone 18 Pro : face écran ; au défilement il pivote doucement vers la droite (app.js règle --ry, --rx, --tx) */
.phone-rig { position: absolute; left: 50%; top: var(--ptop); z-index: 50; width: var(--pw); pointer-events: none; transform: translateX(-50%); }
.phone3d {
  --ry: 0deg; --rx: 0deg; --tx: 0px; --s: 1;
  position: relative; width: 100%; aspect-ratio: 100 / 216.7;
  transform: perspective(calc(var(--pw) * 4)) rotateX(var(--rx)) rotateY(var(--ry)) scale(var(--s));
  will-change: transform;
}
.phone {
  position: absolute; inset: 0;
  padding: calc(var(--pw) * .026); border-radius: calc(var(--pw) * .17);
  background: linear-gradient(150deg, #8a8a92 0%, #2b2b30 10%, #121215 40%, #1a1a1e 70%, #5e5e66 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 0 0 calc(var(--pw) * .008) #0c0c0e, inset 0 0 0 calc(var(--pw) * .012) #1d1d21,
    var(--tx) 0 0 0 #34343a, calc(var(--tx) * .55) 0 0 0 #6c6c74,
    0 calc(var(--pw) * .16) calc(var(--pw) * .45) calc(var(--pw) * -.12) rgba(0, 0, 0, .9);
}
.ph-btn { position: absolute; width: calc(var(--pw) * .012); border-radius: calc(var(--pw) * .006); background: linear-gradient(90deg, #3a3a40, #8a8a92, #3a3a40); }
.ph-btn--action, .ph-btn--volup, .ph-btn--voldn { left: calc(var(--pw) * -.009); }
.ph-btn--power, .ph-btn--camera { right: calc(var(--pw) * -.009); }
.ph-btn--action { top: 17%; height: 4.2%; }
.ph-btn--volup { top: 24.5%; height: 7.2%; }
.ph-btn--voldn { top: 33%; height: 7.2%; }
.ph-btn--power { top: 26%; height: 10.5%; }
.ph-btn--camera { top: 57%; height: 7.5%; width: calc(var(--pw) * .009); background: linear-gradient(90deg, #2a2a2f, #5a5a62); }
.screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--pw) * .14); overflow: hidden; background: #07070a; container-type: inline-size; }
/* le viseur : la scène étalonnée, découpée comme dans l'app */
.vf { position: absolute; inset: 0; -webkit-mask: url("ui-viewfinder.png") 0 0 / 100% 100% no-repeat; mask: url("ui-viewfinder.png") 0 0 / 100% 100% no-repeat; }
.screen-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.chrome { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, .09) 46%, rgba(255, 255, 255, 0) 60%) no-repeat;
  background-size: 260% 100%; background-position: var(--gx, 60%) 0;
}
/* la puce du look, comme dans l'app : nom | intensité */
.lookchip {
  position: absolute; left: 50%; top: 79.833%; transform: translate(-50%, -50%); z-index: 2;
  display: inline-flex; align-items: center; height: 7cqw; padding: 0 2.8cqw; border-radius: 3.5cqw; white-space: nowrap;
  background: rgba(22, 22, 26, .56);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .2);
  font-size: 2.7cqw; font-weight: 600; letter-spacing: -.005em;
}
.lookchip b { font-weight: 600; }
.lookchip em { font-style: normal; font-size: 2.5cqw; color: rgba(255, 255, 255, .6); margin-left: 1.4cqw; padding-left: 1.4cqw; border-left: 1px solid rgba(255, 255, 255, .3); font-variant-numeric: tabular-nums; }

.nav-btn {
  all: unset; position: absolute; z-index: 55; top: calc(var(--ptop) + var(--pw) * .72); width: 48px; height: 48px; margin-top: -24px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06));
  -webkit-backdrop-filter: blur(24px) saturate(1.8); backdrop-filter: blur(24px) saturate(1.8);
}
.nav-btn svg { position: relative; z-index: 2; width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-btn--prev { left: calc(50% - var(--pw) * .5 - 72px); }
.nav-btn--next { left: calc(50% + var(--pw) * .5 + 24px); }
.nav-btn:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .1)); }
.nav-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (hover: none), (max-width: 699px) { .nav-btn { display: none; } }

/* ---------- les sections ---------- */
.sec { position: relative; text-align: center; padding: clamp(64px, 10vh, 120px) max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left)); }
.h2 {
  margin: 0; font-weight: 600; letter-spacing: -.05em; line-height: .98; font-size: clamp(40px, 6.2vw, 92px); text-wrap: balance;
  color: transparent; background: var(--silver); -webkit-background-clip: text; background-clip: text; padding-bottom: .06em;
}
.h2 .l { display: block; text-wrap: balance; }
.h2--line { font-size: clamp(34px, 5.2vw, 84px); }
@media (min-width: 700px) { .h2--line { white-space: nowrap; } }
.sub { margin: 18px auto 0; max-width: 30em; color: var(--ink-2); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.45; text-wrap: balance; }

/* avant, après */
.split {
  position: relative; margin: clamp(40px, 6vh, 64px) auto 0; width: min(100%, 1120px); aspect-ratio: 16 / 9; border-radius: clamp(22px, 2.4vw, 34px);
  overflow: hidden; background: #0f1428; cursor: ew-resize; touch-action: pan-y; -webkit-user-select: none; user-select: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -30px rgba(0, 0, 0, .9);
  --x: 50%;
}
.split img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; pointer-events: none; }
.split-dope { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
.split-dope img { transition: opacity .3s var(--ease); }
.split-tag {
  position: absolute; top: 16px; z-index: 3; height: 32px; display: inline-flex; align-items: center; gap: 7px; padding: 0 13px; border-radius: 16px;
  font-size: 13px; font-weight: 600; white-space: nowrap;
}
.split-tag > * { position: relative; z-index: 2; }
.split-tag svg { width: 14px; height: 14px; }
/* le symbole à la hauteur des capitales de DOPE, posé sur la ligne */
.split-tag .split-mark { width: .72em; height: .72em; align-self: center; transform: translateY(-.02em); }
.split-tag--r { gap: .32em; }
.split-tag--l { position: absolute; left: 16px; color: var(--ink-2); }
.split-tag--r { position: absolute; right: 16px; }
.split-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; pointer-events: none;
  /* la ligne s'arrête autour du logo : le symbole se lit comme en haut de page */
  --hg: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .92) calc(50% - var(--hg)), transparent calc(50% - var(--hg)), transparent calc(50% + var(--hg)), rgba(255, 255, 255, .92) calc(50% + var(--hg))); }
/* la poignée : le symbole DOPE, net, sans ombre */
.split-line i { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; transition: transform .2s var(--ease); }
.split-line i svg { display: block; width: 100%; height: 100%; }
.split.is-dragging .split-line i { transform: scale(1.1); }
@media (max-width: 699px) { .split-line { --hg: 16px; } .split-line i { width: 24px; height: 24px; margin: -12px 0 0 -12px; } }
.split:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* la réglette des looks */
.rail-wrap { margin: -6px auto -30px; width: min(100%, 1240px); }
.rail {
  display: flex; justify-content: safe center; gap: 8px; overflow-x: auto; isolation: isolate; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 52px 20px 56px;
}
.rail::-webkit-scrollbar { display: none; }
.rail-it { all: unset; box-sizing: border-box; cursor: pointer; flex: none; width: 82px; display: grid; gap: 10px; justify-items: center; scroll-snap-align: center; }
.rail-it img {
  width: 74px; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 50%; border-radius: 15px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.rail-it span { font-size: 11.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap; transition: color .3s; }
.rail-it:hover img { transform: translateY(-3px); }
.rail-it { position: relative; }
.rail-it::before {
  content: ""; position: absolute; left: 50%; top: 50px; width: 200px; height: 200px; margin: -100px 0 0 -100px; z-index: -1; pointer-events: none;
  /* une lueur à peine là, très fondue : minimaliste */
  background: radial-gradient(closest-side, color-mix(in srgb, var(--g, #fff) 13%, transparent), color-mix(in srgb, var(--g, #fff) 4%, transparent) 55%, transparent);
  filter: blur(14px);
  opacity: 0; transition: opacity .5s var(--ease);
}
.rail-it[aria-checked="true"]::before { opacity: 1; }
.rail-it[aria-checked="true"] img { transform: translateY(-4px); box-shadow: 0 0 0 2px #fff, 0 10px 24px -12px rgba(0, 0, 0, .8); }
.rail-it[aria-checked="true"] span { color: #fff; }
.rail-it:focus-visible { outline: none; }
.rail-it:focus-visible img { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 1239px) { .rail-wrap { -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); } }

/* pas besoin d'être pro */
.feats { list-style: none; margin: clamp(44px, 7vh, 72px) auto 0; padding: 0; width: min(100%, 1120px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; text-align: left; }
.feat { display: grid; align-content: start; gap: 10px; padding: 14px 14px 28px; border-radius: 30px; overflow: hidden; }
.feat > b, .feat > span { position: relative; z-index: 2; padding: 0 12px; }
.feat > b { font-size: 20px; font-weight: 600; letter-spacing: -.025em; margin-top: 12px; }
.feat > span { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.feat-art { position: relative; z-index: 2; height: 260px; border-radius: 20px; overflow: hidden; background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--glow) 30%, #0b0b0e), #0b0b0e 70%); }
.feat-art img { display: block; filter: var(--f); }
/* un éventail de trois looks */
.fan { position: absolute; left: 50%; top: 50%; width: 118px; aspect-ratio: 3 / 4; object-fit: cover; object-position: 42% 50%; border-radius: 16px; margin: -79px 0 0 -59px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 20px 40px -12px rgba(0, 0, 0, .8); }
.fan--1 { transform: translateX(-62%) rotate(-12deg) scale(.9); }
.fan--3 { transform: translateX(62%) rotate(12deg) scale(.9); z-index: 1; }
.fan--2 { z-index: 2; transform: translateY(-6px); }
/* les effets film : bloom, halation, grain, vignette */
/* les effets film : une vraie photo par combinaison (looks/fx), chaque puce allume ou éteint son effet */
.fx-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.fx-img--next { opacity: 0; transition: opacity .35s var(--ease); }
@media (max-width: 699px) { .feat-art--fx { height: auto; aspect-ratio: 4 / 5; } }
.fx-img--next.is-on { opacity: 1; }
.fx-chips { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.fx-chips button {
  appearance: none; border: 0; margin: 0; font-family: inherit; box-sizing: border-box; cursor: pointer; -webkit-tap-highlight-color: transparent;
  height: 30px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 15px;
  font-size: 12.5px; font-weight: 600; white-space: nowrap; color: rgba(255, 255, 255, .55);
  transition: color .25s var(--ease), background .25s var(--ease), transform .2s var(--ease);
}
/* lisibles sur la photo, comme les outils de la caméra : verre fumé, un léger voile en bas */
.fx-chips button.glass { background: rgba(16, 16, 20, .4); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); color: rgba(255, 255, 255, .6); text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.fx-chips button.glass[aria-pressed="true"] { color: #fff; background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .14)), rgba(16, 16, 20, .3); }
.feat-art--fx::after { content: ""; position: absolute; inset: auto 0 0; height: 38%; z-index: 1; background: linear-gradient(0deg, rgba(0, 0, 0, .26), rgba(0, 0, 0, 0)); pointer-events: none; }
.fx-chips button:active { transform: scale(.95); }
.fx-chips button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* un bout de viseur */
.vf-mini { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.vf-chip { position: absolute; left: 50%; bottom: 72px; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: 15px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.vf-chip > * { position: relative; z-index: 2; }
.vf-chip em { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .6); margin-left: 7px; padding-left: 7px; border-left: 1px solid rgba(255, 255, 255, .3); }
.vf-rec { position: absolute; left: 50%; bottom: 16px; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%; background: radial-gradient(100% 100% at 30% 20%, rgba(255, 255, 255, .38), rgba(255, 255, 255, .1) 60%); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.vf-rec i { position: absolute; inset: 5px; border-radius: 50%; background: var(--rec); }
/* les outils de la caméra : grille des tiers, niveau, zones de sécurité, objectifs */
.vf-grid { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(255, 255, 255, .42) calc(33.33% - .5px) calc(33.33% + .5px), transparent calc(33.33% + .5px) calc(66.66% - .5px), rgba(255, 255, 255, .42) calc(66.66% - .5px) calc(66.66% + .5px), transparent calc(66.66% + .5px)),
              linear-gradient(180deg, transparent calc(33.33% - .5px), rgba(255, 255, 255, .42) calc(33.33% - .5px) calc(33.33% + .5px), transparent calc(33.33% + .5px) calc(66.66% - .5px), rgba(255, 255, 255, .42) calc(66.66% - .5px) calc(66.66% + .5px), transparent calc(66.66% + .5px)); }
.vf-level { position: absolute; left: 50%; top: 56%; z-index: 1; width: 64px; height: 2px; margin: -1px 0 0 -32px; background: #fff; border-radius: 1px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25), 0 1px 6px rgba(0, 0, 0, .6); }
.vf-level::before, .vf-level::after { content: ""; position: absolute; top: 0; width: 18px; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .85); box-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.vf-level::before { right: calc(100% + 6px); } .vf-level::after { left: calc(100% + 6px); }
.vf-tools { position: absolute; left: 10px; right: 10px; top: 10px; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.vf-tools i { font-style: normal; height: 24px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 12px; font-size: 11.5px; font-weight: 600; white-space: nowrap; color: #fff; }
/* lisibles sur n'importe quelle photo : verre fumé, et un léger voile en haut de l'image */
.vf-tools i.glass { background: rgba(16, 16, 20, .4); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.feat-art--vf::after { content: ""; position: absolute; inset: 0 0 auto; height: 38%; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .26), rgba(0, 0, 0, 0)); pointer-events: none; }
@media (max-width: 699px) { .vf-tools { left: 50%; right: auto; width: 210px; margin-left: -105px; gap: 4px; } .vf-tools i { padding: 0 7px; font-size: 10.5px; height: 22px; } }
/* un post */
/* le post : un Reel tel qu'il sort sur Instagram. L'iPhone est cadré par le bas, le haut
   disparaît dans l'ombre : on voit la vidéo, les réactions, la légende et la barre d'onglets */
.feat-art--post::after { content: ""; position: absolute; inset: 0 0 auto; height: 34%; z-index: 3; background: linear-gradient(180deg, rgba(11, 11, 14, .96), rgba(11, 11, 14, 0)); pointer-events: none; }
.post {
  position: absolute; left: 50%; bottom: 16px; width: 158px; margin-left: -79px; aspect-ratio: 100 / 216.7; z-index: 1;
  padding: 4px; border-radius: 30px;
  background: linear-gradient(150deg, #8a8a92 0%, #2b2b30 10%, #121215 40%, #1a1a1e 70%, #5e5e66 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 0 0 2px #0c0c0e, 0 30px 60px -18px rgba(0, 0, 0, .9);
}
.post-scr { position: relative; width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: #000;
  /* texte minuscule : la police du site, sans arrondi des chasses, pour des espaces réguliers */
  font-family: "Inter", system-ui, sans-serif; text-rendering: geometricPrecision; font-kerning: normal; -webkit-font-smoothing: antialiased; letter-spacing: 0; word-spacing: 0; }
.post-scr > img { position: absolute; left: 0; top: 0; width: 100%; height: 91.5%; object-fit: cover; object-position: 50% 50%; }
.post-scr::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 91.5%; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, .55)); }
.post-scr > span { position: absolute; z-index: 2; }
.post-rail { right: 6px; bottom: 11.5%; display: grid; gap: 7px; justify-items: center; }
.post-rail i { display: grid; justify-items: center; gap: 1px; font-style: normal; font-size: 6.5px; font-weight: 600; letter-spacing: .01em; }
.post-rail svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.post-rail i:nth-child(4) svg { fill: #fff; stroke: none; }
.post-rail .is-liked svg { fill: #ff3040; stroke: #ff3040; }
.post-audio { width: 14px; height: 14px; border-radius: 4px; background: url("looks/oneclick/thumb/postcard.webp") 50% 50% / cover; box-shadow: 0 0 0 1.5px #fff; margin-top: 2px; }
.post-meta { left: 8px; right: 30px; bottom: 11%; display: grid; gap: 4px; }
.post-user { display: flex; align-items: center; gap: 5px; font-size: 7.5px; }
.post-user svg { width: 15px; height: 15px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }
.post-user b { font-weight: 600; }
.post-user em { display: inline-flex; align-items: center; justify-content: center; height: 12px; padding: 0 5px; line-height: 1; font-style: normal; font-weight: 600; font-size: 6.5px; border-radius: 4px; box-shadow: inset 0 0 0 .8px rgba(255, 255, 255, .85); }
.post-cap { font-size: 7px; line-height: 1.25; }
.post-music { display: flex; align-items: center; gap: 3px; font-size: 6.5px; opacity: .92; }
.post-music svg { width: 7px; height: 7px; fill: none; stroke: #fff; stroke-width: 2.2; }
.post-nav { left: 0; right: 0; bottom: 0; height: 8.5%; display: flex; justify-content: space-around; align-items: flex-start; padding: 5px 8px 0; background: #000; box-shadow: 0 -1px 0 rgba(255, 255, 255, .08); }
.post-nav svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.post-nav svg:first-child path { fill: none; }
.post-nav .post-me { border-radius: 50%; overflow: hidden; stroke: none; }
.post-chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.post-chip svg { position: relative; z-index: 2; width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.post-chip--likes { right: calc(50% + 58px); top: 116px; }
.post-chip--likes svg { fill: #ff3040; stroke: #ff3040; }
.post-chip--done { left: calc(50% + 50px); top: 26px; }
@media (max-width: 380px) {
  .post-chip { height: 28px; padding: 0 10px 0 8px; font-size: 11px; gap: 5px; }
  .post-chip svg { width: 13px; height: 13px; }
  .post-chip--likes { right: calc(50% + 40px); }
  .post-chip--done { left: calc(50% + 34px); }
}
.post-chip--done svg { stroke: #8cbd6b; }

/* l'offre */
.sec--split { padding-top: clamp(36px, 5vh, 64px); }
.sec--easy { padding-top: clamp(20px, 3vh, 40px); }
.sec--offer { padding-top: 16px; padding-bottom: 20px; }
.offer { width: min(100%, 1120px); margin: 0 auto; padding: clamp(40px, 7vw, 84px) clamp(22px, 5vw, 64px); border-radius: clamp(28px, 3vw, 44px); overflow: hidden; }
.offer > * { position: relative; z-index: 2; }
.offer { --gold: #efc44a; background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); }
.offer-glow { position: absolute; z-index: 0; left: 50%; top: 100%; width: 140%; aspect-ratio: 2 / 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, color-mix(in srgb, #ffd66b 78%, transparent) 0%, color-mix(in srgb, var(--gold) 46%, transparent) 26%, color-mix(in srgb, #e89a3c 18%, transparent) 56%, transparent 90%); mix-blend-mode: screen; transition: background .8s; pointer-events: none; }
/* « Shot on DOPE » : le symbole a la hauteur des capitales, posé sur la ligne de base */
.sod { margin: 0 0 20px; display: inline-flex; align-items: baseline; gap: .3em; font-size: 15px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.sod svg { width: .74em; height: .74em; display: block; flex: none; align-self: baseline; transform: translateY(.02em); }
.sod--big { font-size: clamp(20px, 2vw, 28px); color: #fff; letter-spacing: -.025em; gap: .28em; margin-bottom: clamp(6px, 1vh, 10px); }
.perks { list-style: none; margin: clamp(32px, 5vh, 48px) auto 0; padding: 0; max-width: 720px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.perk { display: grid; align-content: start; gap: 8px; padding: 26px 24px; border-radius: 24px; text-align: left; }
.perk > * { position: relative; z-index: 2; }
.perk b { font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.045em; line-height: 1; white-space: nowrap; }
.perk span { color: var(--ink-2); font-size: 15px; line-height: 1.4; text-wrap: balance; }
/* le parrainage : la même carte, avec une lumière qui fait le tour du bord */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.perk--ref::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 1;
  background: conic-gradient(from var(--spin), transparent 0deg, transparent 230deg, color-mix(in srgb, var(--gold, #efc44a) 25%, transparent) 270deg, var(--gold, #efc44a) 318deg, #fff8e0 336deg, #fff 342deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 4.5s linear infinite;
}
@keyframes spin { to { --spin: 360deg; } }
.join--end { margin: clamp(32px, 5vh, 44px) auto 0; }
@media (min-width: 700px) { .offer-glow { width: 86%; } }
/* le champ du bas : sombre et neutre, le jaune reste derrière */
.join--end {
  background: linear-gradient(180deg, rgba(20, 18, 14, .55) 20%, color-mix(in srgb, var(--gold) 14%, rgba(14, 12, 10, .6)));
  -webkit-backdrop-filter: blur(24px) saturate(1.15); backdrop-filter: blur(24px) saturate(1.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 color-mix(in srgb, var(--gold) 45%, transparent), 0 14px 36px -14px rgba(0, 0, 0, .6);
}
.join--end::before { background: linear-gradient(140deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .1) 30%, rgba(255, 255, 255, .03) 55%, color-mix(in srgb, var(--gold) 70%, transparent) 100%); }

.foot { padding: 0 var(--pad) max(32px, env(safe-area-inset-bottom)); text-align: center; color: var(--ink-3); font-size: 13px; }
.foot p { margin: 0; }
.foot b { color: var(--ink-2); font-weight: 600; letter-spacing: .02em; }
.foot-guides { margin-top: 8px !important; }
.foot a { color: inherit; text-underline-offset: 3px; }

/* ---------- la carte après l'email ---------- */
.sheet-wrap {
  position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; overflow: auto; overscroll-behavior: contain;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: rgba(0, 0, 0, .38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s;
}
.sheet-wrap[hidden] { display: none; }
.sheet-wrap.is-open { opacity: 1; }
.sheet {
  width: min(100%, 420px); padding: 18px 22px 22px; border-radius: 36px;
  background: linear-gradient(180deg, rgba(58, 52, 56, .5), rgba(22, 20, 22, .66));
  -webkit-backdrop-filter: blur(40px) saturate(1.8); backdrop-filter: blur(40px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 40px 100px -20px rgba(0, 0, 0, .75);
  transform: translateY(18px) scale(.98); opacity: 0; transition: transform .5s var(--ease), opacity .35s, width .45s var(--ease);
}
.sheet > * { position: relative; z-index: 2; }
.sheet-wrap.is-open .sheet { transform: none; opacity: 1; }
.sheet.is-wide { width: min(100%, 760px); }
.sheet-top { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; gap: 14px; margin-bottom: 26px; }
.icon-btn { all: unset; cursor: pointer; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; transition: background .2s, opacity .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .1); }
.icon-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn[data-back][disabled] { opacity: 0; pointer-events: none; }
.prog { position: relative; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .16); }
.prog-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 33%; border-radius: inherit; background: linear-gradient(90deg, rgba(255, 255, 255, .5), #fff); transition: width .5s var(--ease); }
.prog-knob {
  position: absolute; top: 50%; left: 33%; transform: translate(-50%, -50%); height: 24px; min-width: 38px; padding: 0 8px; border-radius: 12px;
  display: grid; place-items: center; background: #fff; color: #000; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3); transition: left .5s var(--ease);
}
.entry { display: none; }
.sheet.is-entry .entry { display: block; animation: rise .45s var(--ease); }
.sheet.is-entry .step { display: none; }
.sheet.is-entry .prog { visibility: hidden; }
.join--sheet { margin-top: 22px; width: 100%; }
.entry .join-note { text-align: center; }
.step { display: none; }
.step.is-on { display: block; animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.kicker { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.ob-t { margin: 0; font-weight: 600; letter-spacing: -.04em; line-height: 1.02; font-size: clamp(30px, 8vw, 38px); text-wrap: balance; }
.ob-p { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.rows { margin: 24px 0 22px; display: grid; gap: 8px; }
.row {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 24px 1fr 22px; align-items: center; gap: 14px;
  height: 58px; padding: 0 16px 0 18px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .1); font-size: 16px; transition: background .2s, box-shadow .2s;
}
.row:hover { background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .06)); }
.row:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.row svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.row i { position: relative; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); transition: background .2s, box-shadow .2s; }
.row[aria-pressed="true"] { background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.row[aria-pressed="true"] i { background: #fff; box-shadow: none; }
.row[aria-pressed="true"] i::after { content: ""; position: absolute; left: 7.5px; top: 4.5px; width: 5px; height: 10px; border: solid #000; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.btn {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; width: 100%;
  height: 56px; border-radius: 28px; background: linear-gradient(180deg, #fff, #e9e9ee); color: #000; font-weight: 600; font-size: 16px;
  box-shadow: 0 1px 0 #fff inset, 0 10px 24px -10px rgba(0, 0, 0, .6); transition: transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.btn-quiet { all: unset; cursor: pointer; display: block; margin: 2px auto 0; height: 40px; padding: 0 22px; border-radius: 24px; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.btn-quiet:hover { color: #fff; }
.btn-quiet:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.step--share.is-on { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 28px; align-items: center; }
/* la story, dans un iPhone 18 Pro en 3D, qui flotte */
.ticket { min-width: 0; container-type: inline-size; }
.mrig { --pw: 100cqw; width: 100%; padding: 4% 0; }
.mphone { --ry: 16deg; --rx: 0deg; --tx: calc(var(--pw) * -.02); --gx: 62%; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3%; } }
.story-screen { background: #000; }
.story-screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; border-radius: 0; }
.story-bar { position: absolute; left: 5%; right: 5%; top: 11.6%; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .35); z-index: 2; overflow: hidden; }
.story-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; background: #fff; }
.app-cam { display: none; position: absolute; inset: 0; }
.story-island { position: absolute; left: 50%; top: 1.6%; width: 32%; height: 4%; margin-left: -16%; border-radius: 99px; background: #000; z-index: 3; }
.ref {
  margin-top: 22px; display: flex; align-items: center; gap: 8px; height: 56px; padding: 4px 4px 4px 18px; border-radius: 28px;
  background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.ref input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff; font: 400 15px "Inter", system-ui, sans-serif; }
.pill { all: unset; cursor: pointer; height: 48px; padding: 0 20px; border-radius: 24px; background: linear-gradient(180deg, #fff, #e9e9ee); color: #000; font-weight: 600; font-size: 15px; white-space: nowrap; }
.pill:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.share { margin-top: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.share a, .share button {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; justify-items: center; align-content: center; gap: 5px; height: 64px; border-radius: 20px; text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 1px 0 rgba(255, 255, 255, .12);
  font-size: 13px; font-weight: 600; transition: background .2s;
}
.share svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.share a:hover, .share button:hover { background: rgba(255, 255, 255, .14); }
.share a:focus-visible, .share button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.share-note:empty { display: none; }
.share-note { margin: 8px 0 0; min-height: 1.3em; font-size: 13px; color: var(--ink-3); text-align: center; }

@media (min-aspect-ratio: 13/10) and (max-height: 480px) {
  .sheet { padding: 12px 18px 16px; }
  .sheet-top { margin-bottom: 12px; }
  .ob-t { font-size: 26px; }
  .rows { grid-template-columns: 1fr 1fr; margin: 14px 0; }
  .row { height: 48px; }
  .step--share.is-on { grid-template-columns: minmax(0, 140px) minmax(0, 1fr); gap: 20px; }
}

/* ---------- petits écrans, portrait ---------- */
@media (max-width: 699px) {
  .feats { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
}
@media (max-width: 699px) {
  .bar-cta { height: 34px; font-size: 13px; padding: 0 14px; }
  .join { height: 60px; padding-left: 18px; }
  .join-btn { height: 48px; padding: 0 18px; font-size: 15px; }
  .split { aspect-ratio: 4 / 5; }
  .split img { object-position: 58% 50%; }
  .rail-wrap { margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); width: auto; }
  .rail-it { width: 84px; }
  .rail-it img { width: 72px; }
  .rail { justify-content: flex-start; }
  .perks { grid-template-columns: minmax(0, 1fr); }
  .sheet { padding: 14px 18px 18px; border-radius: 32px; }
  .sheet-top { margin-bottom: 20px; }
  .rows { margin: 20px 0 18px; }
  .row { height: 54px; }
  .step--share.is-on { grid-template-columns: minmax(0, 1fr); gap: 0; }
  /* le haut de l'iPhone seulement, grand, qui s'efface avant le titre */
  .ticket {
    width: 100%; height: clamp(200px, 40svh, 360px); overflow: hidden; margin-top: -6px;
    -webkit-mask: linear-gradient(180deg, #000 52%, transparent 97%); mask: linear-gradient(180deg, #000 52%, transparent 97%);
  }
  .ticket .mrig { --pw: min(64cqw, 260px); width: var(--pw); margin: 0 auto; padding: 22px 0 0; }
  /* sur téléphone, l'iPhone montre l'app : la caméra DOPE, dans le look choisi */
  .ticket .app-cam { display: block; }
  .ticket #poster, .ticket .story-bar { display: none; }
  .step--share .ob-t { font-size: 28px; margin-top: -8px; }
  .step--share .ob-p { font-size: 14px; margin-top: 8px; }
  .step--share .ref { margin-top: 16px; }
  .share-side { text-align: center; }
}
@media (max-width: 699px) and (max-height: 700px) and (max-aspect-ratio: 1/1) {
  .sheet { padding: 10px 16px 14px; }
  .sheet-top { margin-bottom: 10px; }
  .kicker { font-size: 13px; margin-bottom: 4px; }
  .ob-t { font-size: 26px; }
  .rows { margin: 14px 0 12px; gap: 6px; }
  .row { height: 46px; }
  .btn { height: 52px; }
  .ticket { height: clamp(150px, 29svh, 200px); }
  .ticket .mrig { --pw: min(56cqw, 210px); padding-top: 16px; }
  .step--share .ob-t { font-size: 24px; }
  .step--share .ob-p { font-size: 13px; margin-top: 6px; }
  .ref { margin-top: 14px; }
  .share a, .share button { height: 56px; }
}
@media (max-width: 380px) {
  .join { flex-direction: column; height: auto; padding: 6px; border-radius: 28px; gap: 6px; }
  .join-field { width: 100%; padding: 4px 14px 0; }
  .join-btn { width: 100%; text-align: center; }
}

/* ordinateur peu haut : les réponses sur deux colonnes */
@media (max-height: 760px) and (min-aspect-ratio: 13/10) {
  .rows { grid-template-columns: 1fr 1fr; }
  .sheet { width: min(100%, 560px); }
  .step--share.is-on { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); }
}
/* téléphone couché : la feuille compacte, le partage en deux colonnes */
@media (max-height: 480px) and (min-aspect-ratio: 13/10) {
  .sheet-wrap { place-items: start center; }
  .sheet-wrap { padding-top: 6px; padding-bottom: 6px; }
  .sheet, .sheet.is-wide { width: min(100%, 640px); padding: 8px 16px 12px; border-radius: 26px; }
  .sheet-top { margin-bottom: 8px; }
  .kicker { margin-bottom: 4px; font-size: 13px; }
  .ob-t { font-size: 22px; }
  .rows { grid-template-columns: 1fr 1fr; gap: 6px; margin: 10px 0; }
  .row { height: 42px; font-size: 15px; border-radius: 14px; }
  .btn { height: 46px; }
  .step--share.is-on { grid-template-columns: 94px minmax(0, 1fr); gap: 16px; align-items: start; }
  .ticket { width: 94px; justify-self: start; }
  .share-side { text-align: left; }
  .step--share .ob-p { font-size: 13px; margin-top: 6px; }
  .ref { margin-top: 10px; height: 48px; }
  .ref .pill, .pill { height: 40px; }
  .share a, .share button { height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; }
  .share-note { display: none; }
  .btn-quiet { height: 32px; margin-top: 2px; }
  .step--share .ob-t { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- l'interface de l'app dans le téléphone (capture iPhone du 02/11, la même que le site de sortie) ----------
   Positions en % de l'écran, tailles en cqw. Le viseur va de 6,25 % à 88,25 % de la hauteur, sur toute la largeur. */
.screen:has(.au) { background: #000; }
.screen:has(.au) .vf, .app-cam:has(.au) .vf { -webkit-mask: none; mask: none; inset: 6.25% 0 11.75%; overflow: hidden; }
.au { position: absolute; inset: 0; z-index: 2; pointer-events: none; color: #fff; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; font-weight: 600; -webkit-font-smoothing: antialiased; }
.au-status { position: absolute; left: 0; right: 0; top: 0; height: 6.25%; display: flex; align-items: center; justify-content: space-between; padding: 0 7.8% 0 11.2%; }
.au-status b { font-size: 4.1cqw; font-weight: 600; }
.au-status span { display: flex; align-items: center; gap: 1.5cqw; }
.au-sig { width: 4.4cqw; height: 2.85cqw; } .au-wifi { width: 4cqw; height: 2.9cqw; } .au-bat { width: 6.4cqw; height: 3.1cqw; }
.au-pill {
  position: absolute; display: flex; align-items: center; justify-content: center; white-space: nowrap; border-radius: 99px; font-size: 2.06cqw; letter-spacing: .01em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)), rgba(10, 10, 14, .2);
  -webkit-backdrop-filter: blur(10px) saturate(1.7) brightness(1.05); backdrop-filter: blur(10px) saturate(1.7) brightness(1.05);
  box-shadow: inset 0 0 0 .25cqw rgba(255, 255, 255, .22), inset .3cqw .3cqw .4cqw -.2cqw rgba(255, 255, 255, .45), inset -.3cqw -.3cqw .4cqw -.2cqw rgba(255, 255, 255, .25);
}
.au-time { left: 5.2%; width: 16.7%; top: 7.6%; height: 2.9%; }
.au-read { left: 25.7%; width: 39.5%; top: 7.6%; height: 2.9%; justify-content: space-around; padding: 0 2cqw; }
.au-read i { display: grid; justify-items: center; font-style: normal; font-size: 2.5cqw; line-height: 1.05; font-weight: 500; font-variant-numeric: tabular-nums; }
.au-read small { font-size: 1.6cqw; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); font-weight: 600; }
.au-fmt { right: 5.3%; width: 25.6%; top: 7.6%; height: 2.9%; letter-spacing: .03em; }
.au-lens { left: 34.7%; width: 30.5%; top: 74.85%; height: 3.6%; justify-content: space-around; padding: 0 .6cqw; font-size: 2.3cqw; }
.au-lens i { font-style: normal; display: grid; place-items: center; width: 6.7cqw; height: 6.7cqw; border-radius: 50%; }
.au-lens i.on { background: #fff; color: #000; }
.au-btn {
  position: absolute; top: 85.15%; width: 8.2cqw; height: 8.2cqw; margin: -4.1cqw 0 0 -4.1cqw; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)), rgba(20, 20, 24, .3);
  -webkit-backdrop-filter: blur(10px) saturate(1.6); backdrop-filter: blur(10px) saturate(1.6);
  box-shadow: inset 0 0 0 .25cqw rgba(255, 255, 255, .2), inset .3cqw .3cqw .4cqw -.2cqw rgba(255, 255, 255, .4), inset -.3cqw -.3cqw .4cqw -.2cqw rgba(255, 255, 255, .2);
}
.au-btn svg { width: 3.7cqw; height: 3.7cqw; }
.au-thumb { left: 9.15%; border-radius: 1.4cqw; overflow: hidden; box-shadow: none; }
.au-thumb img { width: 100%; height: 100%; object-fit: cover; }
.au-b1 { left: 19.7%; } .au-b2 { left: 30.2%; } .au-b3 { left: 69.9%; } .au-b4 { left: 80.4%; } .au-b5 { left: 90.9%; }
.au-dot { position: absolute; right: .2cqw; top: .2cqw; width: 1.5cqw; height: 1.5cqw; border-radius: 50%; background: #fff; }
.au-tab { position: absolute; left: 0; right: 0; bottom: 0; height: 11.75%; background: #000; }
.au-tab img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }
.au-rec { position: absolute; left: 50%; top: 27.7%; width: 18.4cqw; height: 18.4cqw; transform: translate(-50%, -50%); border-radius: 50%; background: #0c0c0d; box-shadow: inset 0 0 0 .3cqw #3a3a3c; display: grid; place-items: center; }
.au-rec i { width: 14.7cqw; height: 14.7cqw; border-radius: 50%; background: #e9503f; }
/* la puce du look, comme dans l'app : en verre, au-dessus du cran */
.lookchip.au-chip {
  top: 80.7%; height: 2.7%; padding: 0 2.6cqw; border-radius: 99px; font-size: 2.06cqw; z-index: 3;
  background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)), rgba(10, 10, 14, .2);
  -webkit-backdrop-filter: blur(10px) saturate(1.7); backdrop-filter: blur(10px) saturate(1.7);
  box-shadow: inset 0 0 0 .25cqw rgba(255, 255, 255, .22), inset .3cqw .3cqw .4cqw -.2cqw rgba(255, 255, 255, .45);
}
.lookchip.au-chip em { font-size: 2.06cqw; color: rgba(255, 255, 255, .75); }
