/* DetectivePnut — crème, noir, corail, citron vert, un peu de bleu.
   Langage de marque : contour encre 3px, ombre dure décalée, pastilles rondes,
   onglets de dossier, annotations manuscrites. */
:root {
  --cream: #FAFAFA;
  --cream2: #FBF7EF;
  --paper: #FFFFFF;
  --ink: #1C1712;
  --coral: #E4A207;
  --lime: #FFF1CC;
  --blue: #F2F2F7;
  --bd: 1px solid var(--line);
  --r: 14px;
  /* trois rayons, trois ombres : tout le site s'y tient */
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px;
  --sh-sm: 0 1px 2px rgba(28, 23, 18, .06), 0 2px 6px -2px rgba(28, 23, 18, .08); --sh-md: 0 1px 2px rgba(28, 23, 18, .05), 0 10px 24px -12px rgba(28, 23, 18, .18); --sh-lg: 0 2px 4px rgba(28, 23, 18, .05), 0 28px 60px -28px rgba(28, 23, 18, .32);
  --spring: cubic-bezier(.3, 1.5, .5, 1);
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --mono: "Space Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--display); font-weight: 500; font-size: 1.125rem; line-height: 1.45; color: var(--ink);
  background: var(--cream) radial-gradient(rgba(20, 18, 16, .09) 1.5px, transparent 1.6px) 0 0 / 26px 26px;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 4px solid var(--coral); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.hand { font-family: var(--hand); font-weight: 700; font-size: 1.35em; line-height: 1; }
.mono { font-family: var(--mono); }
.small { font-size: .8rem; }
.coral { color: var(--coral); }

/* ---------- Éléments de marque réutilisables ---------- */
.card { background: var(--paper); border: var(--bd); border-radius: var(--r); box-shadow: var(--sh-md); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1.1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  padding: 16px 24px; border: var(--bd); border-radius: 999px; background: var(--paper); color: var(--ink);
  box-shadow: var(--sh-sm); transition: transform .14s var(--spring), box-shadow .14s, background .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--sh-md); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); transition-duration: .05s; }
.btn__arrow { display: inline-block; transition: transform .2s var(--spring); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn:hover .btn__arrow--down { transform: translateY(4px); }
.btn:hover .btn__arrow--up { transform: translateY(-5px); }
.btn--coral { background: var(--coral); }
.btn--lime { background: var(--lime); }
.btn--ink { background: var(--ink); color: var(--cream); box-shadow: var(--sh-sm); }
.btn--ink:hover { box-shadow: var(--sh-md); }
.btn--ink:active { box-shadow: 0 0 0 var(--coral); }
.btn--ghost { box-shadow: none; background: transparent; }
.btn--ghost:hover { background: var(--paper); box-shadow: var(--sh-sm); }
.btn--sm { padding: 11px 18px; font-size: 1rem; }
.btn--xl { padding: 22px 36px; font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.link { background: none; border: 0; padding: 6px; font-size: 1rem; font-weight: 500; }
.link b { text-decoration: underline wavy var(--coral) 2px; text-underline-offset: 5px; font-weight: 700; }
.link:hover b { background: var(--lime); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row--center { justify-content: center; }

.badge { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; background: var(--paper); border: var(--bd); border-radius: 999px; padding: 7px 14px; transform: rotate(-2deg); }
.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }

.chip { display: inline-block; font-weight: 700; font-size: 1rem; line-height: 1.1; background: var(--paper); border: var(--bd); border-radius: 999px; padding: 8px 16px; }
.chip--lime { background: var(--lime); } .chip--coral { background: var(--coral); } .chip--blue { background: var(--blue); }
.chip--ink { background: var(--ink); color: var(--cream); }

.sticker { display: grid; place-content: center; text-align: center; font-weight: 700; line-height: 1.05; border: var(--bd); border-radius: 50%; box-shadow: var(--sh-sm); }
.sticker small { display: block; font-family: var(--mono); font-size: .66rem; font-weight: 700; margin-top: 2px; }

.stamp { position: absolute; right: 22px; top: 18px; font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 1.05rem; color: var(--coral); border: 4px double var(--coral); border-radius: 10px; padding: 3px 12px; background: var(--paper); transform: rotate(10deg); animation: slam .5s .45s var(--spring) both; }
.stamp--static { animation: none; }
@keyframes slam { from { opacity: 0; transform: rotate(-10deg) scale(2.6); } }

.pin { flex: none; display: grid; place-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--coral); border: var(--bd); font-weight: 700; font-size: 1.1rem; }
.pin--on { position: absolute; width: 32px; height: 32px; font-size: .95rem; box-shadow: var(--sh-sm); }

.circled { position: relative; display: inline-block; white-space: nowrap; }
.circled svg { position: absolute; left: -7%; top: -6%; width: 114%; max-width: none; height: 122%; overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: var(--coral); stroke-width: 6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s .5s cubic-bezier(.6, 0, .3, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hl { position: relative; display: inline-block; z-index: 0; padding: 0 .12em; }
.hl::before { content: ""; position: absolute; inset: .14em -.02em .02em; background: var(--lime); border-radius: .12em; transform: rotate(-1.4deg); z-index: -1; }
.hl--blue::before { background: var(--blue); }
.hl--coral::before { background: var(--coral); }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; padding: 14px 20px 0; }
.nav__bar {
  width: min(1180px, 100%); margin-inline: auto; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--paper); border: var(--bd); border-radius: 999px;
  padding: 8px 10px 8px 16px; box-shadow: var(--sh-md); transition: box-shadow .2s, transform .2s;
}
.nav.scrolled .nav__bar { box-shadow: var(--sh-sm); }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 1.35rem; letter-spacing: -.04em; }
.logo__mark { width: 40px; height: 40px; transition: transform .3s var(--spring); }
.logo:hover .logo__mark { transform: scale(1.1); }
.logo__word { display: inline-flex; align-items: center; }
.logo__shell { height: 1.62em; width: auto; aspect-ratio: 120 / 48; margin-left: .06em; transform: rotate(-4deg); transition: transform .3s var(--spring); overflow: visible; }
.logo__shell path { fill: var(--lime); stroke: var(--ink); stroke-width: 4; }
.logo__shell text { font-family: var(--display); font-weight: 700; font-size: 31px; letter-spacing: -1.6px; fill: var(--ink); }
.logo:hover .logo__shell { transform: rotate(3deg) scale(1.06); }
.logo__hat { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .3s var(--spring); }
.logo:hover .logo__hat { transform: translateY(-3px) rotate(-8deg); }
.logo__lid { transition: opacity .15s; }
.logo:hover .logo__lid { opacity: 0; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu > a:not(.btn) { text-decoration: none; font-weight: 700; font-size: .98rem; padding: 8px 12px; border-radius: 999px; transition: background .15s; }
.menu > a:not(.btn):hover { background: var(--cream2); }
.menu > a.active { background: var(--lime); }
.menu .btn { margin-left: 8px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: var(--bd); background: var(--lime); position: relative; transition: transform .15s var(--spring); }
.burger:active { transform: scale(.9); }
.burger span { position: absolute; left: 11px; right: 11px; height: 3px; background: var(--ink); border-radius: 3px; transition: transform .25s, top .25s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- 1. Hero ---------- */
.hero { padding: clamp(32px, 5vw, 64px) 0 56px; }
.hero__grid { display: grid; gap: 56px; }
.hero__title { font-weight: 700; font-size: clamp(3.2rem, 13.6vw, 8rem); line-height: .86; letter-spacing: -.055em; margin-top: 22px; isolation: isolate; }
.line { display: block; }
.line--shift { padding-left: clamp(20px, 7vw, 70px); }
.note { display: none; font-size: .2em; letter-spacing: 0; color: var(--coral); transform: rotate(-4deg) translateY(-.6em); margin-left: .5em; white-space: nowrap; }
.hero__lede { max-width: 30ch; margin-top: 28px; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.35; }
.hero__lede .hand { display: block; color: var(--coral); transform: rotate(-2deg); transform-origin: left; margin-top: 8px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-weight: 700; font-size: 1.02rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts b { display: grid; place-content: center; width: 38px; height: 38px; border: var(--bd); border-radius: 50%; background: var(--lime); font-size: 1.2rem; font-weight: 700; }
.facts li:nth-child(2) b { background: var(--coral); transform: rotate(-8deg); }
.facts li:nth-child(3) b { background: var(--blue); transform: rotate(6deg); }

@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: 1.12fr 1fr; align-items: center; gap: 32px; }
  .hero__title { font-size: clamp(4.6rem, 7.7vw, 6.5rem); }
  .note { display: inline-block; }
}

/* La loupe */
.stage { position: relative; display: grid; justify-items: center; gap: 30px; }
.loupe { position: relative; width: min(400px, 66vw); aspect-ratio: 1; margin: 34px 13% 0 0; transform: rotate(-3deg); transition: transform .4s var(--spring); }
.loupe__handle { position: absolute; left: 76%; top: 82%; width: 14%; height: 44%; background: var(--coral); border: var(--bd); border-radius: 999px; transform-origin: 50% 0; transform: rotate(-45deg); box-shadow: 8px 0 0 var(--ink); }
.loupe__handle::after { content: ""; position: absolute; left: -3px; right: -3px; bottom: 16%; height: 16%; background: var(--lime); border-block: var(--bd); }

.lens {
  position: absolute; inset: 0; z-index: 1; border-radius: 50%; border: 10px solid var(--ink); overflow: hidden; cursor: pointer;
  display: grid; place-items: center; text-align: center;
  background: var(--paper) repeating-linear-gradient(-45deg, transparent 0 18px, rgba(198, 241, 53, .32) 18px 36px);
  background-size: 51px 51px; box-shadow: var(--sh-lg);
  transition: transform .35s var(--spring), background-color .2s, box-shadow .2s;
}
.lens__ring { position: absolute; inset: 2.5%; width: 95%; height: 95%; animation: spin 40s linear infinite; }
.lens__ring text { font-family: var(--mono); font-weight: 700; font-size: 9.4px; letter-spacing: 1.5px; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.lens__idle { display: grid; justify-items: center; gap: 4px; padding: 0 16%; transition: transform .3s var(--spring); }
.lens__icon { width: 30%; transition: transform .3s var(--spring); }
.lens__title { font-weight: 700; font-size: clamp(1.5rem, 6.2vw, 2.5rem); line-height: .95; letter-spacing: -.04em; }
.lens__sub { font-size: clamp(.85rem, 2.6vw, 1rem); line-height: 1.2; }
.lens__sub u { text-decoration: underline wavy var(--coral) 2px; text-underline-offset: 4px; font-weight: 700; }
.lens__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.lens__scan { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--lime); box-shadow: 0 0 0 2.5px var(--ink); display: none; }
.lens__glare { position: absolute; left: 12%; top: 10%; width: 34%; height: 34%; border-top: 9px solid #fff; border-radius: 50%; transform: rotate(-32deg); opacity: .85; pointer-events: none; }

/* survol */
.loupe:hover { transform: rotate(-6deg); }
.stage[data-state="idle"] .lens:hover { background-color: #F3FBCF; animation: stripes 1.2s linear infinite; }
.stage[data-state="idle"] .lens:hover .lens__icon { transform: rotate(10deg) scale(1.12); }
@keyframes stripes { to { background-position: 51px 0; } }

/* glisser */
.stage.is-drag .loupe { transform: rotate(3deg) scale(1.07); }
.stage.is-drag .lens { background-color: var(--lime); box-shadow: var(--sh-lg); animation: stripes .5s linear infinite; }
.stage.is-drag .lens__ring { animation-duration: 6s; }
.stage.is-drag .lens__icon { animation: wiggle .5s ease-in-out infinite; }
@keyframes wiggle { 50% { transform: rotate(12deg) scale(1.15); } }
.stage.is-drag .pnut { animation: hop .45s ease-in-out infinite; }
@keyframes hop { 50% { translate: 0 -14px; } }

/* photo sous la loupe */
.stage:not([data-state="idle"]) .lens__idle, .stage:not([data-state="idle"]) .lens__ring { display: none; }
.stage:not([data-state="idle"]) .lens__img { opacity: 1; animation: focus .7s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes focus { from { opacity: 0; transform: scale(1.5); filter: blur(14px); } }
.stage[data-state="loading"] .lens { pointer-events: none; }
.stage[data-state="loading"] .loupe { animation: inspect 2.4s ease-in-out infinite; }
@keyframes inspect { 0%, 100% { transform: rotate(-5deg) translate(-6px, 0); } 50% { transform: rotate(3deg) translate(8px, -6px); } }
.stage[data-state="loading"] .lens__img { animation: zoom 2.4s ease-in-out infinite alternate; }
@keyframes zoom { to { transform: scale(1.18); } }
.stage[data-state="loading"] .lens__scan { display: block; animation: scan 1.5s ease-in-out infinite alternate; }
@keyframes scan { to { top: calc(100% - 6px); } }

/* décorations autour de la loupe */
.deco, .sticker--demo, .pnut { position: absolute; pointer-events: none; }
.deco--star { width: 20%; left: -9%; top: -6%; z-index: 2; animation: spin 16s linear infinite; }
.sticker--demo { z-index: 2; right: -16%; top: 2%; width: 27%; aspect-ratio: 1; background: var(--blue); font-size: clamp(.72rem, 2.4vw, 1rem); transform: rotate(12deg); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(8deg) translateY(-7px); } }


/* sous la loupe */
.caption { width: 100%; max-width: 440px; min-height: 268px; display: grid; align-content: start; justify-items: center; margin-top: 18px; }
.cap { display: none; width: 100%; }
.stage[data-state="idle"] .cap--idle, .stage[data-state="preview"] .cap--preview,
.stage[data-state="loading"] .cap--loading, .stage[data-state="results"] .cap--results { display: grid; gap: 12px; animation: pop .4s var(--spring) both; }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(12px); } }
.cap--idle { justify-items: center; text-align: center; gap: 10px !important; }
.cap.card { padding: 18px 20px 20px; transform: rotate(.8deg); }
.cap__h { font-weight: 700; font-size: clamp(1.5rem, 3vw, 1.9rem); line-height: 1; letter-spacing: -.04em; }
.cap__error { background: var(--coral); border: var(--bd); border-radius: var(--r-sm); padding: 8px 14px; font-weight: 700; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-8px) rotate(-1deg); } 75% { transform: translateX(8px) rotate(1deg); } }
.bar { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; height: 28px; }
.bar i { border: 1px solid var(--line-2); border-radius: 6px; background: var(--paper); transition: background .2s, transform .2s var(--spring); }
.bar i.on { background: var(--coral); transform: translateY(-3px); }
.bar i.on:nth-child(3n) { background: var(--lime); }

/* le dossier */
.dossier { position: relative; margin-top: 56px; padding: clamp(18px, 3vw, 36px); display: grid; gap: 22px; border-radius: var(--r-lg); box-shadow: var(--sh-lg); animation: pop .5s var(--spring) both; outline: none; }
.dossier__h { font-weight: 700; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.05em; }
.notice { background: var(--lime); border: var(--bd); border-radius: var(--r-sm); padding: 12px 16px; font-size: 1rem; line-height: 1.4; max-width: 70ch; }
.res__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.res { background: #fff; border: var(--bd); border-radius: var(--r-md); padding: 12px; box-shadow: var(--sh-md); display: grid; gap: 10px; align-content: start; animation: deal .55s var(--spring) both; transition: transform .2s var(--spring); }
.res:nth-child(odd) { rotate: -1.2deg; } .res:nth-child(even) { rotate: 1.4deg; }
.res:hover { transform: translateY(-6px); }
@keyframes deal { from { opacity: 0; transform: translateY(40px) rotate(8deg); } }
.res__pic { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.res__pic svg { width: 100%; height: auto; border-radius: 9px; }
.res__tag { position: absolute; left: 6px; top: 6px; font-family: var(--mono); font-size: .62rem; font-weight: 700; text-transform: uppercase; background: var(--ink); color: var(--cream); padding: 2px 6px; border-radius: 6px; }
.res__score { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.res__score b { font-size: 2rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; white-space: nowrap; }
.res__score span { font-size: .85rem; font-weight: 700; text-align: right; line-height: 1.1; }
.meter { height: 12px; border: 1px solid var(--line-2); border-radius: 99px; overflow: hidden; background: var(--cream); }
.meter i { display: block; height: 100%; width: 0; background: var(--coral); border-right: 1px solid var(--line-2); transition: width .9s .4s cubic-bezier(.2, .8, .2, 1); }
.res__src { font-family: var(--mono); font-size: .74rem; line-height: 1.35; word-break: break-word; }
.res__src b { display: block; }

/* ---------- Transition : bande ---------- */
.band { position: relative; z-index: 2; background: var(--coral); border-block: var(--bd); overflow: hidden; transform: rotate(-1.6deg) scale(1.03); margin: 20px 0 -26px; }
.band__track { display: flex; width: max-content; align-items: center; animation: slide 40s linear infinite reverse; }
.band__track > * { padding: 12px 20px; font-weight: 700; font-size: clamp(1.2rem, 2.6vw, 2rem); letter-spacing: -.02em; white-space: nowrap; }
.band i { font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(76px, 9vw, 112px) 0 clamp(64px, 8vw, 104px); border-top: var(--bd); }
.section--blue { background: var(--blue); }
.section--cream2 { background: var(--cream2); }
/* onglet de dossier à cheval sur le bord de section */
.tab { position: absolute; top: 0; left: max(20px, (100% - 1180px) / 2); z-index: 3; transform: translateY(-50%) rotate(-2deg); font-family: var(--mono); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; background: var(--ink); color: var(--cream); padding: 8px 16px; border-radius: 10px; }
#principe .tab { top: 62px; }
#principe { padding-top: clamp(112px, 12vw, 150px); }
.h2 { font-weight: 700; font-size: clamp(2.3rem, 7vw, 5.2rem); line-height: .95; letter-spacing: -.05em; isolation: isolate; margin-bottom: clamp(36px, 6vw, 64px); }
.h2--right { text-align: right; }

/* 2. Le principe */
.flip { display: grid; gap: 18px; max-width: 900px; }
.flip__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.flip__row--pnut { margin-left: clamp(0px, 8vw, 110px); }
.flip__who { width: 118px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.flip .chip { font-size: clamp(1.05rem, 2.4vw, 1.6rem); padding: 12px 22px; box-shadow: var(--sh-sm); }
.flip__row:first-child .chip { box-shadow: none; opacity: .75; }
.flip__arrow { font-weight: 700; font-size: 1.8rem; }
.flip__row--pnut .chip--coral { transform: rotate(-2deg); }

.bubbles { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 22px 18px; margin-top: clamp(56px, 8vw, 96px); }
.bubbles__intro { width: 100%; font-size: 2rem; transform: rotate(-1.5deg); transform-origin: left; }
.bubble { position: relative; background: var(--paper); border: var(--bd); border-radius: 26px 26px 26px 6px; padding: 16px 22px; font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.4rem); line-height: 1.2; max-width: 22ch; box-shadow: var(--sh-md); transition: transform .25s var(--spring); }
.bubble:hover { transform: rotate(-2deg) scale(1.04); }
.bubble:nth-of-type(2) { margin-top: 30px; border-radius: 26px 26px 6px 26px; }
.bubble:nth-of-type(4) { margin-top: 16px; }
.bubble--lime { background: var(--lime); }
.bubble--ink { background: var(--ink); color: var(--cream); box-shadow: var(--sh-md); }

/* 3. Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 32px); }
.step { position: relative; border: var(--bd); border-radius: var(--r); padding: 28px 24px 30px; box-shadow: var(--sh-md); }
.step--lime { background: var(--lime); rotate: -2deg; }
.step--blue { background: var(--blue); rotate: 1.2deg; margin-top: 30px; }
.step--coral { background: var(--coral); rotate: -1deg; margin-top: 60px; }
.step__n { position: absolute; top: -24px; left: 20px; width: 56px; height: 56px; display: grid; place-content: center; background: var(--ink); color: var(--cream); border-radius: 50%; font-weight: 700; font-size: 1.7rem; transform: rotate(-8deg); }
.step__art { width: 130px; margin: 6px 0 14px auto; transition: transform .3s var(--spring); }
.step:hover .step__art { transform: rotate(-8deg) scale(1.1); }
.step h3 { font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 8px; }
.step p, .rules p, .legend p { font-size: 1.05rem; line-height: 1.4; }
.aside { margin-top: 56px; text-align: center; transform: rotate(-1.5deg); }

/* 4. Résultats */
.preview { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.preview .h2 { margin-bottom: 24px; font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
.preview__lede { font-size: 1.25rem; max-width: 34ch; }
.legend { display: grid; gap: 18px; margin-top: 36px; }
.legend li { display: flex; gap: 16px; align-items: flex-start; }
.legend li:nth-child(2) { margin-left: clamp(0px, 3vw, 36px); }
.legend li:nth-child(3) { margin-left: clamp(0px, 6vw, 72px); }
.legend h3 { font-weight: 700; font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.1; }
.preview__visual { display: grid; justify-items: center; gap: 34px; }
.fiche { position: relative; width: min(340px, 100% - 40px); padding: 16px 16px 20px; display: grid; gap: 14px; background: #fff; transform: rotate(3deg); box-shadow: var(--sh-lg); transition: transform .35s var(--spring); }
.fiche:hover { transform: rotate(0deg) scale(1.02); }
.fiche .stamp { right: 12px; top: auto; bottom: 18px; z-index: 2; }
.dossier { scroll-margin-top: 110px; }
.fiche__score { position: relative; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fiche__score b { font-size: 3.2rem; font-weight: 700; letter-spacing: -.06em; line-height: .9; }
.fiche__src { position: relative; font-size: .82rem; }
.fiche__btn { justify-self: start; pointer-events: none; }
.scale { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.scale .chip { font-size: .88rem; padding: 6px 12px; }
.scale .chip:nth-child(odd) { transform: rotate(-2deg); }

/* 5. Confiance */
.principles { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.principles__intro { position: sticky; top: 120px; }
.principles .h2 { margin-bottom: 22px; }
.principles__intro > p { max-width: 30ch; font-size: 1.25rem; }
.rules { display: grid; gap: 16px; }
.rules li { display: flex; gap: 18px; padding: 20px 22px; border-radius: var(--r-md); }
.rules li:nth-child(even) { margin-left: clamp(0px, 4vw, 44px); }
.rules__ico { flex: none; width: 46px; height: 46px; display: grid; place-content: center; background: var(--lime); border: var(--bd); border-radius: 50%; font-weight: 700; font-size: 1.3rem; transform: rotate(-6deg); }
.rules .rules__no { background: var(--ink); color: var(--cream); box-shadow: var(--sh-md); }
.rules__no .rules__ico { background: var(--coral); color: var(--ink); }
.rules h3 { font-weight: 700; font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 4px; }

/* 6. FAQ */
.faq__list { display: grid; gap: 14px; max-width: 880px; margin-left: auto; }
.qa { border-radius: var(--r-md); box-shadow: var(--sh-md); transition: transform .2s var(--spring), box-shadow .2s, background .2s; }
.qa:hover { transform: translate(-2px, -2px); box-shadow: var(--sh-lg); }
.qa.open { background: #fff; }
.qa__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; background: none; border: 0; padding: 20px 22px; font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.45rem); letter-spacing: -.03em; line-height: 1.15; border-radius: var(--r-md); }
.qa__ico { flex: none; position: relative; width: 40px; height: 40px; border: var(--bd); border-radius: 50%; background: var(--lime); transition: transform .35s var(--spring), background .2s; }
.qa__ico::before, .qa__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 3.5px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); }
.qa__ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa.open .qa__ico { transform: rotate(135deg); background: var(--coral); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.3, 1, .4, 1); }
.qa.open .qa__a { grid-template-rows: 1fr; }
.qa__a > div { overflow: hidden; visibility: hidden; transition: visibility .35s; }
.qa.open .qa__a > div { visibility: visible; }
.qa__a p { padding: 0 22px 22px; max-width: 62ch; }

/* 7. CTA + pied */
.cta { background: var(--lime); border-block: var(--bd); padding: clamp(80px, 10vw, 120px) 0; text-align: center; overflow: hidden; }
.cta__in { position: relative; display: grid; justify-items: center; gap: 22px; }
.cta__title { font-weight: 700; font-size: clamp(2.8rem, 10vw, 8rem); line-height: .88; letter-spacing: -.055em; }
.cta__in > p { font-size: 1.3rem; max-width: 34ch; }
.cta__star { position: absolute; width: clamp(60px, 11vw, 140px); left: 2%; top: -40px; animation: spin 18s linear infinite reverse; }
.footer { background: var(--ink); color: var(--cream); padding: 44px 0 52px; }
.footer__in { display: grid; gap: 14px; justify-items: start; }
.footer .small { max-width: 60ch; opacity: .8; }
.footer__joke { color: var(--lime); transform: rotate(-1.5deg); }
.footer__tag { font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: -.04em; line-height: 1; }

/* Apparition au défilement (uniquement si le JS tourne) */
.js .reveal { opacity: 0; translate: 0 32px; transition: opacity .6s, translate .6s var(--spring); }
.js .reveal.in { opacity: 1; translate: 0 0; }
.js .reveal:nth-child(2) { transition-delay: .08s; } .js .reveal:nth-child(3) { transition-delay: .16s; }
.js .reveal:nth-child(4) { transition-delay: .24s; } .js .reveal:nth-child(5) { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .burger { display: block; flex: none; }
  .menu { position: absolute; left: 0; right: 0; top: calc(100% + 12px); flex-direction: column; align-items: stretch; gap: 4px; background: var(--paper); border: var(--bd); border-radius: var(--r-md); box-shadow: var(--sh-md); padding: 14px; opacity: 0; visibility: hidden; transform: translateY(-10px) rotate(-1deg); transition: opacity .2s, transform .25s var(--spring), visibility .2s; }
  .menu.open { opacity: 1; visibility: visible; transform: none; }
  .menu > a:not(.btn) { font-size: 1.25rem; padding: 11px 16px; }
  .menu .btn { margin: 6px 0 0; }
}
@media (max-width: 999px) {
  .res__grid { grid-template-columns: repeat(2, 1fr); }
  .principles, .preview { grid-template-columns: 1fr; }
  .principles__intro { position: static; }
  .caption { min-height: 0; }
  /* sur petit écran, la loupe passe avant les trois pastilles */
  .hero__grid { gap: 0; }
  .hero__copy { display: contents; }
  .badge { justify-self: start; }
  .stage { order: 2; margin-top: 40px; }
  .facts { order: 3; justify-content: center; margin-top: 12px; }
}
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .step--blue, .step--coral { margin-top: 0; }
  .h2--right { text-align: left; }
  .flip__who { width: 100%; }
}
@media (max-width: 560px) {
  body { font-size: 1.05rem; }
  .wrap { width: calc(100% - 32px); }
  .nav { padding: 10px 12px 0; }
  .logo { font-size: 1.15rem; } .logo__mark { width: 34px; height: 34px; }
  .lens { border-width: 8px; box-shadow: var(--sh-md); }
  .sticker--demo { width: 31%; right: -18%; font-size: .68rem; box-shadow: var(--sh-sm); }
  .sticker--demo small { font-size: .5rem; }
  .dossier { border-radius: var(--r-lg); box-shadow: var(--sh-md); }
  .stamp { right: 12px; top: 12px; font-size: .85rem; }
  .res__grid { gap: 10px; }
  .res { padding: 8px; border-radius: var(--r-sm); }
  .res__score { flex-direction: column; gap: 2px; }
  .res__score b { font-size: 1.6rem; }
  .res__score span { text-align: left; }
  .cap .btn, .dossier .btn { flex: 1 1 auto; }
  .flip__arrow { font-size: 1.3rem; }
  .bubble:nth-of-type(n) { margin-top: 0; }
  .bubble:nth-of-type(even) { margin-left: auto; }
  .rules li:nth-child(even) { margin-left: 0; }
  .cta__star { top: -66px; left: 0; width: 52px; }
  .fiche .pin--on { right: -10px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .band__track { animation: none; }
  .circled path { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; translate: 0 0; }
}

/* ================= Pnut, la mascotte ================= */
.pn { display: inline-block; line-height: 0; }
.px { width: 100%; height: auto; overflow: visible; }
.px-m { display: none; }
[data-mood="curious"] .px-curious, [data-mood="investigating"] .px-investigating, [data-mood="surprised"] .px-surprised,
[data-mood="thinking"] .px-thinking, [data-mood="excited"] .px-excited, [data-mood="confused"] .px-confused { display: inline; }
[data-mood="excited"] .px-eyes { display: none; }
.px-browL, .px-browR, .px-eyeL, .px-eyeR, .px-look, .px-hat { transform-box: fill-box; transform-origin: center; transition: transform .25s var(--spring); }
.px-hat { transform-origin: 50% 100%; }
.pupil { transition: transform .12s ease-out; }
/* le sourcil levé : la signature de Pnut */
[data-mood="curious"] .px-browL { transform: translateY(-6px) rotate(-8deg); }
[data-mood="investigating"] .px-browR { transform: translateY(-30px); }
[data-mood="investigating"] .px-browL { transform: translateY(3px) rotate(8deg); }
[data-mood="investigating"] .px-eyeR { transform: scale(1.22); }
[data-mood="surprised"] .px-browL, [data-mood="surprised"] .px-browR { transform: translateY(-9px); }
[data-mood="surprised"] .px-look { transform: scale(.6); }
[data-mood="surprised"] .px-hat { transform: translateY(-18px) rotate(-7deg); }
[data-mood="thinking"] .px-browR { transform: translateY(-6px) rotate(8deg); }
[data-mood="thinking"] .px-look { transform: translate(5px, -4px); }
[data-mood="excited"] .px-browL { transform: translateY(-12px) rotate(-10deg); }
[data-mood="excited"] .px-browR { transform: translateY(-12px) rotate(10deg); }
[data-mood="excited"] .px-hat { transform: translateY(-8px) rotate(8deg); }
[data-mood="confused"] .px-browL { transform: translateY(-8px) rotate(-14deg); }
[data-mood="confused"] .px-browR { transform: translateY(3px) rotate(12deg); }
[data-mood="confused"] .px-hat { transform: rotate(-10deg); }
.pn--pop .px { animation: squash .45s var(--spring); transform-origin: 50% 100%; }
@keyframes squash { 0% { transform: scale(1.12, .86); } 55% { transform: scale(.95, 1.07); } }

/* Pnut dans le hero */
.pnut { z-index: 2; width: 42%; left: -24%; bottom: -9%; }
.pnut--live .px-bodyg { transform-origin: 100px 250px; animation: sway 5s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(2.5deg); } }
.pnut--live[data-mood="investigating"] { animation: peer 1.2s ease-in-out infinite alternate; }
@keyframes peer { to { translate: 8px -4px; rotate: 5deg; } }
.pnut--live[data-mood="excited"] { animation: hop .5s ease-in-out infinite; }
.say { position: absolute; z-index: 3; left: -20%; bottom: 39%; max-width: 150px; pointer-events: none; background: var(--paper); border: var(--bd); border-radius: 18px 18px 4px 18px; padding: 8px 12px; font-weight: 700; font-size: .92rem; line-height: 1.15; box-shadow: var(--sh-sm); transform: rotate(-4deg); transform-origin: 100% 100%; }
.say--pop { animation: saypop .4s var(--spring); }
@keyframes saypop { from { transform: rotate(6deg) scale(.5); opacity: 0; } }

/* Pnut ailleurs dans la page */
.dossier__pnut { position: absolute; right: 150px; top: -92px; width: 118px; pointer-events: none; animation: hop 1.2s ease-in-out 3; }
.faq__body { display: grid; grid-template-columns: 230px 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq__pnut { position: sticky; top: 130px; display: grid; justify-items: center; gap: 6px; text-align: center; transform: rotate(-3deg); }
.faq__pnut .pn { width: 190px; }
.faq__pnut .hand { font-size: 1.5rem; }
.faq__list { margin-left: 0; max-width: none; }

.sheet { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.sheet li { display: grid; justify-items: center; gap: 2px; text-align: center; padding: 14px 8px 16px; background: var(--paper); border: var(--bd); border-radius: var(--r-md); box-shadow: var(--sh-md); transition: transform .25s var(--spring), box-shadow .2s; cursor: default; }
.sheet li:nth-child(odd) { rotate: -2deg; } .sheet li:nth-child(even) { rotate: 1.6deg; margin-top: 18px; }
.sheet li:nth-child(2) { background: var(--blue); } .sheet li:nth-child(3) { background: var(--coral); }
.sheet li:nth-child(5) { background: var(--lime); } .sheet li:nth-child(6) { background: var(--cream2); }
.sheet li:hover { transform: translateY(-8px) scale(1.05); box-shadow: var(--sh-lg); }
.sheet li:hover .px { animation: squash .45s var(--spring); transform-origin: 50% 100%; }
.sheet .pn { width: 100%; max-width: 132px; }
.sheet b { font-weight: 700; font-size: 1.15rem; letter-spacing: -.03em; }
.sheet small { font-size: 1.15rem; }

.footer { position: relative; }
.footer__pnut { position: absolute; right: max(20px, 8%); top: 0; width: 120px; transform: translateY(-88%); pointer-events: none; }

@media (max-width: 999px) {
  .sheet { grid-template-columns: repeat(3, 1fr); }
  .faq__body { grid-template-columns: 1fr; }
  .faq__pnut { position: static; grid-template-columns: 96px auto; justify-content: start; align-items: center; text-align: left; gap: 12px; }
  .faq__pnut .pn { width: 96px; }
}
@media (max-width: 560px) {
  .sheet { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .say { left: 15%; bottom: -13%; font-size: .8rem; max-width: 170px; padding: 6px 10px; border-radius: 4px 18px 18px 18px; transform: rotate(-2deg); transform-origin: 0 50%; }
  .pnut { left: -20%; }
  .dossier__pnut { right: 96px; top: -66px; width: 84px; }
  .footer__pnut { width: 88px; }
}

/* ================= L'expérience d'envoi ================= */
.ico { width: 1.15em; height: 1.15em; flex: none; }
.btn--wide { width: 100%; min-height: 58px; font-size: 1.2rem; }
.row--split { justify-content: space-between; flex-wrap: nowrap; }
.cap__error { width: 100%; margin-bottom: 12px; text-align: left; font-size: 1rem; line-height: 1.3; }
.cap--idle .cap__h { font-size: clamp(1.6rem, 3vw, 2rem); }
.cap__meta { opacity: .8; }
.cap__safe { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 700; line-height: 1.2; text-align: left; }
.cap--loading .small { line-height: 1.4; }
.cap--loading b { font-weight: 700; }

.file { display: flex; align-items: center; gap: 10px; min-width: 0; background: var(--cream2); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 6px 12px; font-size: .95rem; font-weight: 700; }
.file__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file__size { flex: none; font-size: .74rem; opacity: .75; }

/* bandeau « changer » dans la lentille */
.lens__swap { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 0 22px; background: var(--ink); color: var(--cream); font-weight: 700; font-size: .95rem; transform: translateY(100%); transition: transform .25s var(--spring); }
.stage[data-state="preview"] .lens:hover .lens__swap { transform: none; }
.lens:active { transform: scale(.975); }

/* bouton retirer, à la place du sticker « démo » */
.lens__x { position: absolute; z-index: 3; right: 1%; top: 1%; width: 52px; height: 52px; display: none; place-content: center; border: var(--bd); border-radius: 50%; background: var(--paper); box-shadow: var(--sh-sm); font-size: 2rem; font-weight: 700; line-height: 1; padding: 0 0 4px; transition: transform .15s var(--spring), background .15s, box-shadow .15s; }
.stage[data-state="preview"] .lens__x { display: grid; animation: pop .4s .25s var(--spring) both; }
.lens__x:hover { background: var(--coral); transform: rotate(90deg) scale(1.08); }
.lens__x:active { transform: scale(.9); box-shadow: 0 0 0 var(--ink); }
.stage:not([data-state="idle"]) .sticker--demo { display: none; }

/* pointillés qui tournent pendant le glisser */
.lens__ants { position: absolute; inset: -9%; width: 118%; max-width: none; height: 118%; pointer-events: none; opacity: 0; transform: scale(.9); transition: opacity .2s, transform .3s var(--spring); }
.lens__ants circle { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-dasharray: 5 4; stroke-linecap: round; transform-origin: center; animation: spin 9s linear infinite; }
.stage.is-drag .lens__ants { opacity: 1; transform: none; }

/* progression sur le bord de la lentille */
.lens__prog { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; transform: rotate(-90deg); opacity: 0; transition: opacity .3s; }
.lens__prog circle { fill: none; stroke: var(--lime); stroke-width: 2; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; transition: stroke-dashoffset .5s linear; }
.stage[data-state="loading"] .lens__prog { opacity: 1; }

/* petit rebond quand la photo atterrit */
.stage.is-dropped .loupe { animation: plop .55s var(--spring); }
@keyframes plop { 0% { transform: rotate(-3deg) scale(1.1); } 45% { transform: rotate(-3deg) scale(.96); } }
.stage[data-state="loading"].is-dropped .loupe { animation: inspect 2.4s ease-in-out infinite; }

.only-fine { display: none; }
@media (pointer: fine) { .only-fine { display: inline; } }

/* Tactile : pas de survol, des cibles larges, le bandeau toujours là */
@media (pointer: coarse) {
  .stage[data-state="preview"] .lens__swap { transform: none; }
  .lens__x { width: 56px; height: 56px; }
  .cap .btn--sm { min-height: 50px; padding-inline: 20px; }
}
@media (max-width: 560px) {
  .loupe { width: 70vw; margin-right: 15%; }
  .caption { max-width: none; }
  .cap.card { transform: none; padding: 16px; }
  .cap--results .btn { width: 100%; }
  .lens__swap { font-size: .82rem; padding: 9px 0 18px; }
  .lens__x { right: -3%; top: -3%; }
}

/* ================= Le dossier de résultats ================= */
.dossier { gap: 26px; transform-origin: 50% 0; animation: unfold .6s var(--spring) both; }
@keyframes unfold { from { opacity: 0; transform: perspective(900px) rotateX(-14deg) translateY(24px) scale(.97); } }
.dossier__head { display: grid; justify-items: start; gap: 12px; padding-right: 110px; }
.dossier__h .hand { display: inline-block; transform: rotate(-3deg); font-size: .8em; }
.dossier__body { display: grid; grid-template-columns: minmax(250px, 300px) 1fr; gap: clamp(20px, 3vw, 34px); align-items: start; }

/* onglets de chemise : même langage que les onglets de section */
.ftab { position: absolute; top: 0; left: 18px; transform: translateY(-55%) rotate(-2deg); font-family: var(--mono); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; background: var(--ink); color: var(--cream); border: var(--bd); padding: 5px 12px; border-radius: 9px; white-space: nowrap; }
.ftab--coral { background: var(--coral); color: var(--ink); }

/* à gauche : ce qui vient de toi */
.evidence { position: relative; display: grid; gap: 16px; justify-items: center; background: var(--cream2); border: var(--bd); border-radius: var(--r-md); padding: 34px 18px 20px; }
.dossier .polaroid { position: relative; width: min(230px, 100%); background: #fff; border: var(--bd); border-radius: 8px; padding: 10px 10px 4px; box-shadow: var(--sh-md); transform: rotate(-3deg); animation: land .6s .2s var(--spring) both; transition: transform .3s var(--spring); }
.dossier .polaroid:hover { transform: rotate(1deg) scale(1.03); }
@keyframes land { from { opacity: 0; transform: translateY(-40px) rotate(9deg) scale(1.15); } }
.dossier .polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line-2); border-radius: 4px; background: var(--paper); }
.dossier .polaroid figcaption { text-align: center; padding: 6px 0 4px; font-size: 1.35rem; }
.tape { position: absolute; left: 50%; top: -14px; width: 84px; height: 26px; margin-left: -42px; background: rgba(198, 241, 53, .85); border: 1px solid var(--line-2); transform: rotate(4deg); }
.evidence .file { width: 100%; background: var(--paper); }

.report { width: 100%; display: grid; gap: 10px; }
.report h3 { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.2rem; letter-spacing: -.03em; line-height: 1; }
.report__pnut { width: 46px; flex: none; margin: -6px 0; }
.report > p { font-size: 1rem; line-height: 1.3; font-weight: 700; }
.report__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.report__stats li { background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 8px 10px; font-size: .78rem; font-weight: 700; line-height: 1.15; animation: pop .4s var(--spring) both; }
.report__stats li:nth-child(1) { animation-delay: .5s; } .report__stats li:nth-child(2) { animation-delay: .6s; background: var(--lime); }
.report__stats li:nth-child(3) { animation-delay: .7s; } .report__stats li:nth-child(4) { animation-delay: .8s; background: var(--blue); }
.report__stats b { display: block; font-size: 1.7rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; }

/* à droite : ce qui est inventé */
.leads { position: relative; display: grid; gap: 16px; border: 1px dashed var(--line-2); border-radius: var(--r-md); padding: 30px 18px 20px; }
.leads__intro { font-size: .98rem; line-height: 1.35; max-width: 62ch; }
.dossier .res__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
.dossier .res { grid-template-columns: 76px 1fr; grid-template-areas: "pic body" "sim sim"; gap: 10px 12px; padding: 14px; align-content: start; border-radius: var(--r-md); }
.dossier .res:nth-child(odd) { rotate: -.6deg; } .dossier .res:nth-child(even) { rotate: .7deg; }
.dossier .res:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.dossier .res__pic { grid-area: pic; width: 76px; height: 76px; border: var(--bd); border-radius: 50%; overflow: hidden; transition: transform .3s var(--spring); }
.dossier .res:hover .res__pic { transform: rotate(-8deg) scale(1.08); }
.dossier .res__pic svg { border-radius: 0; }
.res__body { grid-area: body; min-width: 0; display: grid; gap: 3px; align-content: start; justify-items: start; }
.dossier .res__tag { position: static; font-size: .58rem; letter-spacing: .06em; }
.res__name { font-weight: 700; font-size: 1.2rem; letter-spacing: -.03em; line-height: 1.05; }
.dossier .res__src { font-size: .7rem; }
.dossier .res__src b { display: inline; }
.res__desc { font-size: .92rem; line-height: 1.3; }
.res__sim { grid-area: sim; display: grid; gap: 8px; border-top: 1px dashed var(--line-2); padding-top: 10px; }
.dossier .res__score { align-items: center; }
.dossier .res__score b { font-size: 1.9rem; min-width: 3.2ch; }
.dossier .res__score .chip { font-size: .78rem; padding: 5px 10px; text-align: center; }
.chip--paper { background: var(--cream2); }
.res__open { justify-self: start; padding: 4px 0; font-weight: 700; font-size: .92rem; text-decoration: underline wavy var(--coral) 2px; text-underline-offset: 5px; }
.res__open:hover { background: var(--lime); }
.res__open--nope { font-family: var(--hand); font-size: 1.25rem; line-height: 1; text-decoration: none; color: var(--coral); cursor: default; animation: pop .35s var(--spring); }
.res__open--nope:hover { background: none; }
.dossier__actions { margin-top: 4px; }

@media (max-width: 900px) {
  .dossier__body { grid-template-columns: 1fr; gap: 34px; }
  .evidence { grid-template-columns: auto 1fr; justify-items: stretch; align-items: start; column-gap: 20px; }
  .evidence .polaroid { grid-row: span 2; width: 190px; }
}
@media (max-width: 640px) {
  .dossier .res__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .dossier__head { padding-right: 0; }
  .dossier__head .badge { font-size: .68rem; margin-right: 84px; }
  .evidence { grid-template-columns: 1fr; justify-items: center; padding: 30px 14px 16px; }
  .evidence .polaroid { grid-row: auto; width: min(220px, 80%); }
  .leads { padding: 28px 12px 14px; border-width: 2.5px; }
  .dossier .res { padding: 12px; rotate: none !important; }
  .dossier .res__score { flex-direction: row; }
  .dossier .res__score b { font-size: 1.8rem; }
  .res__open { min-height: 44px; }
  .dossier__actions .btn { width: 100%; }
}

/* ================= Passe de finition ================= */
/* hero : aligné en haut, pour que rien ne bouge quand la carte sous la loupe change */
@media (min-width: 1000px) {
  .hero__grid { align-items: start; }
  .hero__copy { padding-top: clamp(24px, 5vh, 64px); }
}
/* « ce qui se passe ensuite » */
.facts { gap: 10px 6px; counter-reset: none; }
.facts li + li::before { content: "→"; font-weight: 700; margin: 0 6px 0 2px; }
.facts li { font-size: 1rem; white-space: nowrap; }

.btn--paper { background: var(--paper); }
.btn:focus-visible { outline-offset: 5px; }
.rules__ico svg { width: 24px; height: 24px; }
.fiche__btn { pointer-events: auto; justify-self: start; }

/* Pnut chatouillable au repos */
.stage[data-state="idle"] .pnut { pointer-events: auto; cursor: pointer; }
.stage[data-state="idle"] .pnut:active .px { transform: scale(1.06, .92); transform-origin: 50% 100%; }

/* le principe : deux colonnes, plus de vide */
@media (min-width: 900px) {
  #principe > .wrap { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto 1fr; column-gap: clamp(32px, 6vw, 80px); align-items: start; }
  #principe .h2 { grid-column: 1; }
  #principe .flip { grid-column: 1; }
  #principe .bubbles { grid-column: 2; grid-row: 1 / span 2; margin-top: 8px; flex-direction: column; flex-wrap: nowrap; gap: 16px; }
  #principe .bubble:nth-of-type(n) { margin-top: 0; }
  #principe .bubble { max-width: 26ch; }
  #principe .h2 { margin-bottom: clamp(28px, 4vw, 48px); }
  #principe .bubble:nth-of-type(even) { align-self: flex-end; }
  #principe .flip__row--pnut { margin-left: clamp(0px, 4vw, 60px); }
}
.flip__row { flex-wrap: nowrap; }
.flip .chip { white-space: nowrap; }
@media (max-width: 899px) { .flip__row { flex-wrap: wrap; } .flip__row--pnut { margin-left: 0; } .flip__who { width: 100%; } }
/* tablette : un titre un peu moins haut, pour que la loupe arrive plus vite */
@media (min-width: 600px) and (max-width: 999px) {
  .hero__title { font-size: clamp(4rem, 11vw, 6.2rem); }
  .stage { margin-top: 20px; }
}

/* étapes : titre à gauche, comme partout */
.h2--right { text-align: left; }
.aside { text-align: right; margin-top: 44px; }

/* CTA + pied de page */
.cta__star { left: 4%; top: -56px; width: clamp(56px, 8vw, 110px); }
.cta .row { gap: 16px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 6px 0 4px; }
.footer__nav a { font-weight: 700; text-decoration: none; padding: 6px 0; border-bottom: 2.5px solid transparent; transition: border-color .15s, color .15s; }
.footer__nav a:hover { color: var(--lime); border-color: var(--lime); }

/* petit écran : la carte sous la loupe garde une hauteur stable d'un état à l'autre */
@media (max-width: 999px) {
  .caption { min-height: 318px; }
  .facts { margin-top: 20px; }
}
@media (max-width: 560px) {
  .facts li { font-size: .92rem; }
  .facts b { width: 32px; height: 32px; font-size: 1rem; }
  .facts li + li::before { margin: 0 4px 0 0; }
  .cta .row .btn { width: 100%; }
  .aside { text-align: left; }
  .footer__nav { gap: 2px 18px; }
  .footer__nav a { padding: 10px 0; }
}

/* mobile : la loupe remonte, la ligne des trois temps tient sur une ligne */
.facts .sm { display: none; }
@media (max-width: 560px) {
  .hero { padding-top: 18px; }
  .hero__title { margin-top: 16px; }
  .hero__lede { margin-top: 18px; }
  .stage { margin-top: 8px; gap: 22px; }
  .loupe { margin-top: 26px; }
  .facts { flex-wrap: nowrap; gap: 0; margin-top: 6px; }
  .facts .lg { display: none; } .facts .sm { display: inline; }
  .facts li { gap: 6px; }
  .facts li + li::before { margin: 0 6px; }
}

/* ================= Conversion : l'action d'abord ================= */
.btn--second { min-height: 50px; font-size: 1.02rem; box-shadow: var(--sh-sm); }
.btn--second:hover { background: var(--lime); }
.cap--idle { gap: 12px !important; }
.hero__lede .hand { font-size: 1.25em; }

.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--cream); border-top: var(--bd); transform: translateY(110%); visibility: hidden; transition: transform .3s var(--spring), visibility .3s; }
.dock .btn--wide { min-height: 54px; }
@media (max-width: 1080px) {
  .dock--on { transform: none; visibility: visible; }
  .footer { padding-bottom: 110px; }
}
@media (max-width: 560px) {
  /* le badge laisse sa place : la loupe et le bouton remontent */
  .hero__badge { display: none; }
  .hero__title { margin-top: 4px; }
}

/* =====================================================================
   DIRECTION ARTISTIQUE v2 — sobre, précise, « outil d'enquête ».
   Palette relevée sur sherlocksearch.com (fond presque blanc, encre
   brun-noir, filets fins, un seul accent doré). Une variante marine
   existe : <html data-palette="marine">.
   ===================================================================== */
:root {
  --nut: #EBCB8E;
  --accent-deep: #9A6B04;
  --on-accent: #241900;
  --line: rgba(28, 23, 18, .10);
  --line-2: rgba(28, 23, 18, .20);
  --muted: rgba(28, 23, 18, .62);
  --text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --spring: cubic-bezier(.2, .8, .2, 1);
}
:root[data-palette="marine"] {
  --cream: #F7F9FC; --cream2: #EEF3FA; --paper: #FFFFFF; --ink: #0F1F3D;
  --coral: #2F6BFF; --lime: #DCE8FF; --blue: #E9EFF8; --nut: #FFFFFF;
  --accent-deep: #1E4FCC; --on-accent: #FFFFFF;
  --line: rgba(15, 31, 61, .10); --line-2: rgba(15, 31, 61, .22); --muted: rgba(15, 31, 61, .64);
}

/* ---- typographie : titres expressifs, texte neutre ---- */
body { font-family: var(--text); font-weight: 400; font-size: 1.0625rem; line-height: 1.55; background: linear-gradient(180deg, var(--cream2), var(--cream) 640px) no-repeat, var(--cream); }
h1, h2, h3, .btn, .logo, .chip, .say, .facts, .lens__title, .cta__title, .footer__tag, .step__n, .pin,
.res__score b, .report__stats b, .fiche__score b, .qa__q, .file, .menu { font-family: var(--display); }
.hero__title { font-weight: 700; letter-spacing: -.045em; line-height: .92; font-size: clamp(3rem, 12vw, 6.4rem); }
@media (min-width: 1000px) { .hero__title { font-size: clamp(4rem, 6.4vw, 5.5rem); } }
.h2 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.04em; line-height: 1; }
.preview .h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.cta__title { font-size: clamp(2.4rem, 7vw, 5rem); letter-spacing: -.045em; line-height: .95; }
.hand { font-family: var(--text); font-style: italic; font-weight: 400; font-size: .95em; line-height: 1.35; color: var(--muted); }
.coral { color: var(--accent-deep); }
.mono, .small { color: var(--muted); }

/* ---- tout ce qui penchait se redresse ---- */
.badge, .cap.card, .step, .res, .dossier .res, .bubble, .fiche, .rules__ico, .dossier .polaroid, .say, .faq__pnut,
.chip, .scale .chip, .flip__row--pnut .chip--coral, .footer__joke, .aside, .bubbles__intro, .hero__lede .hand,
.loupe, .dossier__h .hand, .logo__shell, .facts b, .facts li:nth-child(n) b, .stamp, .tab, .ftab, .step__n { transform: none; rotate: none; }

/* ---- surfaces ---- */
.section { border-top: 0; }
.section--blue { background: var(--paper); border-block: 1px solid var(--line); }
.section--cream2 { background: var(--cream2); border-block: 1px solid var(--line); }
.card { border-radius: var(--r-md); }
.nav__bar { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: var(--sh-md); }
.nav.scrolled .nav__bar { box-shadow: var(--sh-md); }
.menu > a:not(.btn) { font-weight: 500; color: var(--muted); }
.menu > a:not(.btn):hover, .menu > a.active { background: var(--blue); color: var(--ink); }
.burger { background: var(--paper); border: 1px solid var(--line-2); }
.burger span { height: 2px; }

/* ---- intertitres : une simple étiquette, plus d'onglet ---- */
.tab, #principe .tab { position: static; display: block; width: min(1180px, 100% - 40px); margin: 0 auto 14px; padding: 0; background: none; color: var(--accent-deep); font-size: .74rem; letter-spacing: .16em; border-radius: 0; }
#principe { padding-top: clamp(76px, 9vw, 112px); }
.ftab { position: static; justify-self: start; padding: 0; border: 0; background: none; color: var(--muted); font-size: .7rem; letter-spacing: .14em; }
.ftab--coral { background: none; color: var(--accent-deep); }
.evidence { padding-top: 18px; background: var(--cream2); border: 1px solid var(--line); }
.leads { padding-top: 18px; border: 1px dashed var(--line-2); }
.badge { background: var(--paper); border: 1px solid var(--line); font-size: .7rem; letter-spacing: .1em; padding: 6px 12px; color: var(--muted); }

/* ---- boutons ---- */
.btn { font-weight: 600; font-size: 1rem; border: 1px solid var(--line-2); box-shadow: var(--sh-sm); padding: 14px 22px; transition: transform .15s var(--spring), box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn:active { transform: scale(.98); box-shadow: var(--sh-sm); }
.btn--coral { background: var(--coral); color: var(--on-accent); border-color: transparent; }
.btn--lime, .btn--ink { background: var(--ink); color: #fff; border-color: transparent; }
.btn--ink:hover { box-shadow: var(--sh-md); }
.btn--ghost { box-shadow: none; border-color: transparent; }
.btn--ghost:hover { background: var(--blue); box-shadow: none; }
.btn--second:hover { background: var(--blue); }
.btn--wide { font-size: 1.05rem; min-height: 54px; }
.btn--xl { font-size: clamp(1.05rem, 2vw, 1.25rem); padding: 18px 30px; }
.link b, .lens__sub u, .dz__sub u, .res__open { text-decoration: underline; text-decoration-color: var(--line-2); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link:hover b, .res__open:hover { background: none; text-decoration-color: var(--ink); }
.res__open { font-weight: 600; }
.res__open--nope { font-family: var(--text); font-style: italic; font-size: .9rem; color: var(--muted); }

/* ---- accents de titre : soulignement et crochets de visée ---- */
.hl { padding: 0; }
.hl::before, .hl--blue::before, .hl--coral::before { inset: auto 0 .02em 0; height: .09em; background: var(--coral); border-radius: 2px; transform: none; }
.circled { padding: 0 .16em; }
.circled::before, .circled::after { content: ""; position: absolute; top: .1em; bottom: .04em; width: .14em; border: .045em solid var(--coral); }
.circled::before { left: 0; border-right: 0; }
.circled::after { right: 0; border-left: 0; }
.line--shift { padding-left: 0; }
.dot { background: var(--coral); }

/* ---- hero ---- */
.hero__lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink); }
.hero__lede .hand { color: var(--muted); font-size: .85em; }
.facts { font-weight: 500; color: var(--muted); }
.facts b, .facts li:nth-child(n) b { width: 26px; height: 26px; background: none; border: 1px solid var(--line-2); font-family: var(--mono); font-size: .74rem; font-weight: 700; color: var(--ink); }
.facts li + li::before { color: var(--line-2); font-weight: 400; }

/* ---- la loupe : un instrument, plus un jouet ---- */
.loupe { margin-top: 24px; }
.loupe:hover { transform: none; }
.lens { border: 9px solid var(--ink); background: var(--paper) radial-gradient(circle at 50% 38%, var(--lime), transparent 68%); background-size: auto; box-shadow: 0 0 0 1px var(--line), var(--sh-lg); }
/* repères de visée */
.lens::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; pointer-events: none;
  background:
    linear-gradient(var(--line-2), var(--line-2)) 50% 0 / 1px 14px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) 50% 100% / 1px 14px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) 0 50% / 14px 1px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) 100% 50% / 14px 1px no-repeat; }
.stage:not([data-state="idle"]) .lens::before { display: none; }
.stage[data-state="idle"] .lens:hover { animation: none; background-color: var(--paper); transform: scale(1.015); }
.stage.is-drag .loupe { transform: scale(1.04); }
.stage.is-drag .lens { animation: none; background-color: var(--lime); box-shadow: 0 0 0 1px var(--line), var(--sh-lg); }
.lens__ring { inset: 12%; width: 76%; height: 76%; opacity: .5; animation-duration: 70s; }
.lens__ring text { font-size: 7.6px; letter-spacing: 2.4px; }
.lens__title { font-weight: 700; letter-spacing: -.035em; }
.lens__icon { width: 24%; }
.lens__glare { opacity: .7; border-top-width: 5px; }
.lens__scan { height: 2px; background: var(--coral); box-shadow: 0 0 18px 4px var(--coral); }
.lens__prog circle { stroke: var(--coral); stroke-width: 1.6; }
.lens__ants circle { stroke: var(--coral); stroke-width: 1; stroke-dasharray: 3 4; }
.lens__swap { background: var(--ink); font-weight: 600; }
.lens__x { background: var(--paper); border: 1px solid var(--line-2); box-shadow: var(--sh-md); font-weight: 400; width: 44px; height: 44px; font-size: 1.6rem; }
.lens__x:hover { background: var(--ink); color: #fff; transform: none; }
.loupe__handle { background: var(--ink); border: 0; box-shadow: var(--sh-lg); width: 11%; left: 77.5%; }
.loupe__handle::after { left: 0; right: 0; background: var(--coral); border: 0; height: 9%; }
.stage[data-state="loading"] .loupe, .stage[data-state="loading"].is-dropped .loupe { animation: inspect 3.2s ease-in-out infinite; }
@keyframes inspect { 0%, 100% { transform: translate(-5px, 0); } 50% { transform: translate(6px, -4px); } }
@keyframes plop { 0% { transform: scale(1.05); } 45% { transform: scale(.985); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
@keyframes deal { from { opacity: 0; transform: translateY(18px); } }
@keyframes land { from { opacity: 0; transform: translateY(-16px); } }
@keyframes unfold { from { opacity: 0; transform: translateY(20px); } }

/* ---- sous la loupe ---- */
.cap.card { padding: 20px; }
.cap__h { font-weight: 700; letter-spacing: -.03em; }
.cap__error { background: var(--paper); border: 1px solid var(--line-2); border-left: 3px solid var(--coral); border-radius: var(--r-sm); font-weight: 500; font-size: .95rem; }
.cap__safe { font-weight: 500; color: var(--muted); font-size: .9rem; }
.file { background: var(--blue); border: 1px solid var(--line); font-weight: 500; }
.evidence .file { background: var(--paper); }
.bar { height: 6px; gap: 3px; }
.bar i { border: 0; border-radius: 3px; background: var(--line); }
.bar i.on, .bar i.on:nth-child(3n) { background: var(--coral); transform: none; }
.say { border: 1px solid var(--line); border-radius: 12px 12px 12px 3px; box-shadow: var(--sh-md); font-weight: 600; font-size: .85rem; padding: 8px 12px; }
@keyframes saypop { from { transform: translateY(6px); opacity: 0; } }

/* ---- Pnut : plus de liseré d'autocollant, des mouvements discrets ---- */
.px-cut { display: none; }
.pnut { width: 34%; left: -18%; bottom: -8%; }
.say { left: -14%; bottom: 31%; }
.stage.is-drag .pnut, .pnut--live[data-mood="excited"] { animation: none; }
.pnut--live[data-mood="investigating"] { animation: peer 1.6s ease-in-out infinite alternate; }
@keyframes peer { to { translate: 5px -2px; rotate: 3deg; } }
@keyframes squash { 0% { transform: scale(1.05, .95); } }
.dossier__pnut { animation: none; width: 92px; top: -72px; right: 132px; }
.faq__pnut .pn { width: 150px; }
.faq__pnut .hand { font-size: 1rem; }

/* ---- sections ---- */
.flip .chip { font-weight: 600; box-shadow: var(--sh-sm); font-size: clamp(1rem, 2vw, 1.3rem); }
.flip__row:first-child .chip { opacity: 1; background: var(--blue); color: var(--muted); }
.chip { font-weight: 600; border: 1px solid var(--line); }
.chip--coral { color: var(--on-accent); border-color: transparent; }
.chip--ink { color: #fff; border-color: transparent; }
.chip--paper { background: var(--blue); }
.bubbles__intro { font-size: 1rem; }
.bubble { font-weight: 500; font-size: clamp(1.02rem, 1.6vw, 1.2rem); border-radius: var(--r-md); }
.bubble:nth-of-type(2) { border-radius: var(--r-md); }
.bubble:hover { transform: translateY(-2px); }
.bubble--ink { color: #fff; }

.steps { gap: clamp(14px, 2vw, 22px); }
.step, .step--lime, .step--blue, .step--coral { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--sh-md); border-radius: var(--r-md); margin-top: 0; padding: 24px; }
.step__n { position: static; width: auto; height: auto; display: block; background: none; color: var(--accent-deep); font-family: var(--mono); font-size: .78rem; font-weight: 700; letter-spacing: .1em; }
.step__n::before { content: "ÉTAPE 0"; }
.step__art { width: 96px; margin: 10px 0 18px; }
.step:hover .step__art { transform: none; }
.step h3 { font-weight: 700; font-size: 1.3rem; }
.step p, .rules p, .legend p, .use p { color: var(--muted); font-size: 1rem; }
.aside { font-size: .92rem; }

.pin { background: var(--ink); color: #fff; border: 0; width: 30px; height: 30px; font-size: .82rem; font-weight: 600; }
.pin--on { width: 24px; height: 24px; font-size: .72rem; box-shadow: 0 0 0 3px var(--paper); }
.fiche { border: 1px solid var(--line); border-radius: var(--r-lg); }
.fiche:hover { transform: translateY(-3px); }
.fiche__score b { font-size: 2.6rem; font-weight: 700; }
.meter { height: 6px; border: 0; background: var(--line); }
.meter i { background: var(--coral); border: 0; border-radius: 99px; }
.res__pic { border: 1px solid var(--line); }
.res__tag, .dossier .res__tag { background: var(--paper); color: var(--muted); border: 1px solid var(--line); font-weight: 400; }
.stamp, .fiche .stamp { transform: none; animation: none; border: 1px solid var(--accent-deep); border-radius: 999px; background: transparent; color: var(--accent-deep); font-size: .68rem; letter-spacing: .14em; padding: 4px 10px; }
.legend h3, .rules h3 { font-weight: 700; font-size: 1.15rem; }

.rules li { border-radius: var(--r-md); }
.rules li:nth-child(even) { margin-left: 0; }
.rules__ico { background: var(--lime); border: 0; color: var(--accent-deep); width: 38px; height: 38px; }
.rules__ico svg { width: 18px; height: 18px; }
.rules .rules__no { background: var(--ink); color: #fff; box-shadow: var(--sh-md); border-color: transparent; }
.rules .rules__no p { color: rgba(255, 255, 255, .72); }
.rules__no .rules__ico { background: rgba(255, 255, 255, .14); color: #fff; }

.qa { border-radius: var(--r-md); box-shadow: none; }
.qa:hover { transform: none; box-shadow: var(--sh-sm); }
.qa__q { font-weight: 600; font-size: clamp(1.05rem, 1.8vw, 1.2rem); }
.qa__ico { width: 30px; height: 30px; border: 1px solid var(--line-2); background: transparent; }
.qa__ico::before, .qa__ico::after { width: 12px; height: 1.5px; }
.qa.open .qa__ico { background: var(--ink); border-color: var(--ink); }
.qa.open .qa__ico::before, .qa.open .qa__ico::after { background: #fff; }
.qa__a p { color: var(--muted); }

/* ---- dossier ---- */
.dossier { border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
.dossier__h { font-weight: 700; letter-spacing: -.04em; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.dossier .polaroid { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 8px 2px; box-shadow: var(--sh-md); }
.dossier .polaroid:hover { transform: none; }
.dossier .polaroid img { border: 0; border-radius: 4px; }
.dossier .polaroid figcaption { font-size: .8rem; padding: 8px 0; }
.tape { display: none; }
.report h3 { font-weight: 700; font-size: 1.05rem; }
.report > p { font-weight: 400; font-style: italic; color: var(--muted); font-size: .95rem; }
.report__stats li, .report__stats li:nth-child(n) { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); font-weight: 500; color: var(--muted); }
.report__stats b { color: var(--ink); font-size: 1.5rem; font-weight: 700; }
.leads__intro { color: var(--muted); }
.leads__intro b { color: var(--ink); }
.dossier .res { border: 1px solid var(--line); box-shadow: var(--sh-sm); border-radius: var(--r-md); }
.dossier .res:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.dossier .res__pic { border: 1px solid var(--line); }
.dossier .res:hover .res__pic { transform: none; }
.res__name { font-weight: 700; font-size: 1.1rem; }
.res__desc { color: var(--muted); }
.res__sim { border-top: 1px solid var(--line); }
.dossier .res__score b { font-weight: 700; font-size: 1.7rem; }

/* ---- fin de page : le seul bloc sombre ---- */
.cta { background: var(--ink); color: #fff; border: 0; }
.cta__in > p { color: rgba(255, 255, 255, .7); font-size: 1.1rem; }
.cta .btn--ink { background: var(--coral); color: var(--on-accent); }
.cta .btn--paper { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); box-shadow: none; }
.cta .btn--paper:hover { background: rgba(255, 255, 255, .1); }
.footer { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__tag { font-weight: 700; font-size: clamp(1.4rem, 3vw, 2rem); }
.footer__joke { color: rgba(255, 255, 255, .5); }
.footer .small { color: rgba(255, 255, 255, .6); opacity: 1; }
.footer__nav a { font-weight: 500; }
.footer__nav a:hover { color: var(--coral); border-color: var(--coral); }
.logo { font-weight: 700; letter-spacing: -.03em; }
.logo__shell path { fill: var(--coral); stroke: none; }
.logo__shell text { fill: var(--on-accent); font-weight: 700; }
.logo:hover .logo__shell { transform: none; }
.dock { background: rgba(255, 255, 255, .92); border-top: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

.js .reveal { translate: 0 16px; transition: opacity .5s, translate .5s var(--spring); }

@media (max-width: 560px) {
  .say { left: 15%; bottom: -12%; border-radius: 3px 12px 12px 12px; }
  .pnut { left: -17%; }
  .lens { border-width: 7px; }
  .dossier__pnut { right: 84px; top: -58px; width: 74px; }
  .cap.card { padding: 16px; }
}

/* retouches après contrôle */
.lens__ring { display: none; }
.lens::before { inset: 3.5%;
  background:
    linear-gradient(var(--line-2), var(--line-2)) 50% 0 / 1px 16px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) 50% 100% / 1px 16px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) 0 50% / 16px 1px no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) 100% 50% / 16px 1px no-repeat; }
.lens__idle { padding: 0 18%; gap: 6px; }
.lens__sub { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
.cap--results .cap__h .hand { display: block; margin-top: 4px; font-size: .6em; }

/* =====================================================================
   LA RECHERCHE SIGNATURE — loupe + console = un seul instrument
   ===================================================================== */
.stage { gap: 0; }
.loupe { z-index: 1; width: min(380px, 66vw); }
.caption { position: relative; z-index: 0; width: 100%; max-width: 440px; min-height: 0; margin-top: -44px; padding: 62px 20px 14px;
  display: grid; gap: 14px; align-content: start; justify-items: stretch;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
.console__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.console__status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; }
.console__status .dot { width: 8px; height: 8px; animation: none; background: var(--line-2); transition: background .2s; }
.stage[data-state="preview"] .console__status .dot, .stage[data-state="results"] .console__status .dot { background: var(--coral); }
.stage[data-state="loading"] .console__status .dot { background: var(--coral); animation: blink 1s infinite; }
.stage.has-error .console__status { color: var(--accent-deep); }
.stage.has-error .console__status .dot { background: var(--accent-deep); }

/* le corps de la console : même gabarit d'un état à l'autre */
.caption .cap { min-height: 196px; align-content: center; }
.caption .cap.card { padding: 0; border: 0; box-shadow: none; background: none; border-radius: 0; }
.cap--idle .cap__h, .cap__h { font-size: clamp(1.35rem, 2.4vw, 1.6rem); }
.cap__error { margin: 0; animation: pop .3s var(--spring); }
.cap__meta { font-size: .72rem; }
.console__foot { justify-content: center; padding-top: 12px; border-top: 1px solid var(--line); font-size: .8rem; font-weight: 400; }
.console__foot .ico { width: 14px; height: 14px; }
.cap--loading .row--split { align-items: center; }
.cap--results > p { color: var(--muted); }

/* lentille : icône au trait, cadre de visée, verrouillage */
.lens__icon { width: 21%; color: var(--ink); transition: transform .3s var(--spring); }
.lens__plus { stroke: var(--accent-deep); transition: transform .3s var(--spring); transform-box: fill-box; transform-origin: center; }
.stage[data-state="idle"] .lens:hover .lens__icon { transform: translateY(-3px); }
.stage[data-state="idle"] .lens:hover .lens__plus { transform: rotate(90deg); }
.stage.is-drag .lens__icon { animation: none; transform: translateY(-5px) scale(1.06); }
.lens__title { font-size: clamp(1.4rem, 5.6vw, 2.1rem); }

.lens__frame { position: absolute; inset: 20%; pointer-events: none; opacity: 0; --c: #fff; --l: 22px;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / var(--l) 2px, linear-gradient(var(--c), var(--c)) 0 0 / 2px var(--l),
    linear-gradient(var(--c), var(--c)) 100% 0 / var(--l) 2px, linear-gradient(var(--c), var(--c)) 100% 0 / 2px var(--l),
    linear-gradient(var(--c), var(--c)) 0 100% / var(--l) 2px, linear-gradient(var(--c), var(--c)) 0 100% / 2px var(--l),
    linear-gradient(var(--c), var(--c)) 100% 100% / var(--l) 2px, linear-gradient(var(--c), var(--c)) 100% 100% / 2px var(--l);
  background-repeat: no-repeat; filter: drop-shadow(0 0 3px rgba(0, 0, 0, .45)); }
.stage[data-state="preview"] .lens__frame { opacity: 1; animation: lockon .55s .25s var(--spring) both; }
.stage[data-state="loading"] .lens__frame { opacity: 1; animation: breathe 1.6s ease-in-out infinite alternate; }
@keyframes lockon { from { opacity: 0; transform: scale(1.35); } }
@keyframes breathe { to { transform: scale(.94); } }

/* « photo chargée » : un tour de bague, puis plus rien */
.stage.is-dropped[data-state="preview"] .lens__prog { animation: ringfade 1.3s .1s both; }
.stage.is-dropped[data-state="preview"] .lens__prog circle { animation: ringsweep .7s .1s cubic-bezier(.3, .7, .2, 1) both; transition: none; }
@keyframes ringsweep { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes ringfade { 0% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }

/* Pnut : posé sur le bord de la console */
.pnut { width: 30%; left: -17%; bottom: 9%; }
.say { left: -15%; bottom: 44%; }

/* aperçu de dossier dans le hero */
.peek { margin-top: 32px; max-width: 400px; display: grid; gap: 10px; }
.peek__label { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.peek ul { display: grid; gap: 8px; }
.peek li { display: grid; grid-template-columns: 30px 1fr 86px 40px; align-items: center; gap: 10px; padding: 7px 12px 7px 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .86rem; box-shadow: var(--sh-sm); }
.peek li:nth-child(2) { margin-left: 16px; opacity: .78; }
.peek li:nth-child(3) { margin-left: 32px; opacity: .52; }
.peek li b { font-family: var(--display); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.peek__av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); }
.peek__av svg { display: block; width: 100%; height: 100%; }
.peek__bar { height: 4px; border-radius: 9px; background: var(--line); }
.peek__bar i { display: block; height: 100%; border-radius: 9px; background: var(--coral); }
.peek em { font-style: normal; font-family: var(--mono); font-size: .72rem; text-align: right; color: var(--muted); }

@media (max-width: 999px) {
  .caption { min-height: 0; max-width: 480px; }
  .peek { order: 3; width: 100%; max-width: 480px; margin: 28px auto 0; }
}
@media (max-width: 560px) {
  .loupe { width: 68vw; margin-top: 18px; }
  .caption { max-width: none; margin-top: -36px; padding: 52px 16px 12px; border-radius: var(--r-md); }
  .caption .cap { min-height: 188px; }
  .say { left: 17%; bottom: 7%; border-radius: 3px 12px 12px 12px; }
  .pnut { left: -17%; bottom: 7%; width: 32%; }
  .peek li { grid-template-columns: 28px 1fr 64px 38px; }
  .peek li:nth-child(2) { margin-left: 10px; } .peek li:nth-child(3) { margin-left: 20px; }
  .console__foot { font-size: .76rem; text-align: left; }
}

/* l'étape se range à côté du statut : le manche de la loupe ne la masque plus */
.console__bar { justify-content: flex-start; gap: 10px; padding-right: 22%; }
.console__step::before { content: "·"; margin-right: 10px; }

@media (max-width: 560px) {
  /* la bulle descend dans la marge haute de la console : elle ne couvre plus la photo */
  .say { left: 18%; bottom: -5%; max-width: 64%; font-size: .78rem; padding: 6px 10px; }
  .console__bar { padding-right: 15%; font-size: .6rem; letter-spacing: .08em; white-space: nowrap; gap: 8px; }
  .console__step::before { margin-right: 8px; }
}

/* la console ne peut jamais élargir la page : la colonne et ses boutons savent rétrécir */
.hero__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); } }
.stage, .caption, .caption .cap { min-width: 0; }
.caption .btn { white-space: normal; text-align: center; }
@media (max-width: 560px) {
  .btn--second { font-size: .95rem; padding-inline: 12px; }
}

@media (min-width: 561px) { .say { left: -26%; max-width: 150px; } }

/* =====================================================================
   v3 — RETENUE. Une seule surface en relief (la console), des filets
   plutôt que des cartes, deux familles de caractères, trois rayons,
   aucun mouvement décoratif.
   ===================================================================== */
:root {
  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r: 10px;
  --sh-sm: none;
  --sh-md: 0 1px 2px rgba(28, 23, 18, .06);
  --sh-lg: 0 1px 2px rgba(28, 23, 18, .05), 0 14px 34px -18px rgba(28, 23, 18, .24);
  --space: clamp(56px, 7vw, 88px);
}

/* ---- mouvement : seulement ce qui informe ---- */
.js .reveal, .js .reveal.in { opacity: 1; translate: none; transition: none; }
.dossier__pnut, .cap__error { animation: none; }

/* ---- typographie : deux familles, des tailles mesurées ---- */
.h2, .preview .h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; margin-bottom: clamp(24px, 3.5vw, 36px); }
.section .hl::before { display: none; }
.section .circled::before, .section .circled::after { display: none; }
.section .circled { padding: 0; }
.section .hand, .footer .hand, .dossier .hand, .cta .hand { font-style: normal; }
.mono, .small { letter-spacing: 0; }
.tab, #principe .tab { font-family: var(--text); font-size: .9rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); margin-bottom: 10px; }

/* ---- étiquettes ---- */
.chip { border-radius: var(--r-sm); padding: 4px 8px; font-size: .82rem; font-weight: 500; }
.stamp, .fiche .stamp { display: none; }
.evidence .file { border-radius: var(--r-sm); background: none; border: 1px solid var(--line); padding: 8px 10px; font-weight: 400; font-size: .9rem; }

/* Le hero garde ses propres réglages : rayons et ombres d'avant la passe de retenue */
.hero__grid, .nav {
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px;
  --sh-sm: 0 1px 2px rgba(28, 23, 18, .06), 0 2px 6px -2px rgba(28, 23, 18, .08);
  --sh-md: 0 1px 2px rgba(28, 23, 18, .05), 0 10px 24px -12px rgba(28, 23, 18, .18);
  --sh-lg: 0 2px 4px rgba(28, 23, 18, .05), 0 28px 60px -28px rgba(28, 23, 18, .32);
}

/* ---- sections : un fond, des filets ---- */
.section, .section--blue, .section--cream2 { padding: var(--space) 0; background: none; border: 0; border-top: 1px solid var(--line); }
#principe { padding-top: var(--space); }

/* étapes : trois colonnes de texte */
.steps { gap: 0; }
.step, .step--lime, .step--blue, .step--coral { padding: 0 28px 0 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step__art { display: none; }
.step__n { font-family: var(--display); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: 10px; }
.step__n::before { content: none; }
.step h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.015em; margin-bottom: 6px; }
.aside { margin-top: 28px; text-align: left; font-size: .9rem; }

/* confiance : une liste */
.principles { grid-template-columns: 4fr 6fr; }
.principles__intro > p { font-size: 1.05rem; color: var(--muted); }
.rules { gap: 0; }
.rules li, .rules .rules__no { padding: 18px 0; gap: 14px; background: none; color: var(--ink); border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.rules li:last-child { border-bottom: 1px solid var(--line); }
.rules__ico, .rules__no .rules__ico { width: 20px; height: 24px; background: none; color: var(--ink); }
.rules .rules__no p { color: var(--muted); }
.rules h3, .legend h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }

/* questions : un accordéon à filets */
.faq__body { grid-template-columns: minmax(0, 760px); gap: 0; }
.qa, .qa.open { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa:hover { box-shadow: none; }
.qa__q { padding: 18px 0; border-radius: 0; font-size: 1.05rem; font-weight: 500; letter-spacing: -.01em; }
.qa__ico, .qa.open .qa__ico { width: 20px; height: 20px; border: 0; background: none; }
.qa__ico::before, .qa__ico::after, .qa.open .qa__ico::before, .qa.open .qa__ico::after { background: var(--ink); width: 13px; }
.qa.open .qa__ico { transform: rotate(45deg); }
.qa__a p { padding: 0 0 18px; }

/* fin de page : claire, comme le reste */
.cta { padding: var(--space) 0; background: none; color: var(--ink); border-top: 1px solid var(--line); }
.cta__in { gap: 14px; }
.cta__title { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.cta__in > p { color: var(--muted); font-size: 1.05rem; }
.cta .row { margin-top: 10px; }
.cta .btn--ink { background: var(--coral); color: var(--on-accent); }
.cta .btn--paper { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.cta .btn--paper:hover { background: var(--blue); }
.footer { padding: 32px 0 40px; background: none; color: var(--ink); border-top: 1px solid var(--line); }
.footer__in { gap: 10px; }
.footer__tag { display: none; }
.footer .small, .footer__joke { color: var(--muted); font-size: .85rem; }
.footer__nav a { font-weight: 400; color: var(--muted); border: 0; }
.footer__nav a:hover { color: var(--ink); }
.dock { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--cream); }

/* ---- dossier : une fiche structurée, sans cartes dans les cartes ---- */
.dossier { margin-top: 48px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: none; animation: fade .25s ease-out both; outline: none; }
.dossier__head { display: grid; gap: 8px; padding: 0; }
.dossier__kicker, .dossier__sub { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.dossier__h { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
.dossier__note { max-width: 66ch; color: var(--muted); font-size: .98rem; }
.dossier__note b { color: var(--ink); font-weight: 600; }
.dossier__body { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; }
.evidence { display: grid; gap: 12px; justify-items: stretch; align-content: start; padding: 0; background: none; border: 0; border-radius: 0; }
.evidence img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--blue); }
.evidence .file { background: none; }
.report { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: 6px 0 0; }
.report div { display: grid; gap: 2px; }
.report dt { font-size: .82rem; color: var(--muted); }
.report dd { margin: 0; font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.leads { display: grid; gap: 12px; align-content: start; padding: 0 0 0 40px; border: 0; border-left: 1px solid var(--line); border-radius: 0; }
.dossier .res__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.dossier .res, .dossier .res:nth-child(n) { display: grid; grid-template-columns: 44px minmax(0, 1fr) 160px; grid-template-areas: none; gap: 14px; align-items: start; padding: 16px 0; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; rotate: none; animation: none; }
.dossier .res:hover { transform: none; box-shadow: none; }
.dossier .res__pic { grid-area: auto; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); display: block; }
.dossier .res__pic svg { display: block; width: 100%; height: 100%; }
.dossier .res__body, .dossier .res__sim { grid-area: auto; }
.res__name { font-family: var(--text); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.res__tag, .dossier .res__tag { position: static; margin-left: 6px; padding: 1px 6px; font-size: .72rem; font-weight: 400; text-transform: none; letter-spacing: 0; border-radius: 4px; vertical-align: 1px; }
.dossier .res__src, .res__desc { font-size: .9rem; color: var(--muted); line-height: 1.4; }
.res__sim { display: grid; gap: 6px; justify-items: start; padding: 0; border: 0; }
.dossier .res__score { display: block; margin: 0; }
.dossier .res__score b { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; min-width: 0; }
.dossier .res__score span { font-size: .85rem; font-weight: 400; color: var(--muted); }
.dossier .meter { width: 100%; height: 3px; }
.meter i { transition: none; }
.res__open { padding: 0; font-size: .88rem; font-weight: 500; }
.res__open--nope { animation: none; font-size: .85rem; }
.dossier__actions { margin: 0; justify-content: flex-start; }

@media (max-width: 900px) {
  .dossier__body { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .evidence { grid-template-columns: 120px minmax(0, 1fr); column-gap: 16px; }
  .evidence .dossier__sub, .evidence .report { grid-column: 1 / -1; }
  .evidence img { grid-row: auto; width: 120px; }
  .evidence .file { align-self: start; }
  .leads { padding: 0; border-left: 0; }
  .principles { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .steps { gap: 0; }
  .step, .step + .step { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .dossier { margin-top: 32px; padding: 18px 16px; }
  .dossier .res, .dossier .res:nth-child(n) { grid-template-columns: 44px minmax(0, 1fr); }
  .dossier .res__sim { grid-column: 2; }
  .report { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .report dd { font-size: 1.1rem; }
  .report dt { font-size: .74rem; }
  .dossier__actions .btn { width: 100%; }
}

.res__name, .dossier__sub { margin: 0; }
.dossier .res__body { gap: 2px; }

@keyframes fade { from { opacity: 0; } }

/* =====================================================================
   DOSSIER v2 — une page d'enquête lisible : ce que tu as soumis à gauche,
   les exemples à droite, et le mot « démonstration » impossible à rater.
   ===================================================================== */
.dossier { --pad: clamp(18px, 3vw, 32px); padding: var(--pad); gap: 26px; }
.dossier__flag { margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 0; padding: 11px var(--pad); background: var(--lime); border-bottom: 1px solid var(--line); border-radius: var(--r-lg) var(--r-lg) 0 0; font-size: .92rem; line-height: 1.4; color: var(--on-accent); }
.dossier__flag b { font-weight: 700; }
.dossier__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.dossier__title { display: grid; gap: 8px; min-width: 0; }
.dossier__note { display: flex; align-items: flex-start; gap: 10px; max-width: 62ch; }
.dossier__pn { flex: none; width: 34px; margin-top: -4px; }
.dossier__new { flex: none; box-shadow: none; }

.dossier__body { grid-template-columns: 220px minmax(0, 1fr); gap: 0 44px; align-items: start; }
.evidence { position: sticky; top: 100px; gap: 12px; }
.evidence img { border-radius: var(--r-md); }
.report { grid-template-columns: 1fr; gap: 0; margin: 4px 0 0; }
.report div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.report dt { font-size: .86rem; }
.report dd { font-family: var(--text); font-size: .92rem; font-weight: 600; letter-spacing: 0; }

.leads { padding-left: 44px; gap: 0; }
.leads__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; }
.leads__sort { font-size: .82rem; color: var(--muted); }
.dossier .res, .dossier .res:nth-child(n) { grid-template-columns: 64px minmax(0, 1fr) 168px; gap: 18px; padding: 20px 0; }
.dossier .res__pic { width: 64px; height: 64px; border-radius: var(--r-md); }
.dossier .res__body { gap: 3px; justify-items: start; }
.res__eg { font-size: .76rem; color: var(--muted); letter-spacing: .02em; }
.res__name { font-size: 1.05rem; }
.dossier .res__src { font-size: .86rem; overflow-wrap: anywhere; }
.res__desc { margin-top: 2px; color: var(--ink); font-size: .94rem; }
.dossier .res__open { margin-top: 6px; min-height: 0; }
.dossier .res__sim { gap: 7px; justify-items: start; padding-top: 18px; }
.res__verdict { font-family: var(--display); font-size: 1rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
.res__level { display: inline-flex; gap: 3px; }
.res__level i { width: 22px; height: 4px; border-radius: 2px; background: var(--line); }
.res__level[data-level="1"] i:nth-child(-n+1), .res__level[data-level="2"] i:nth-child(-n+2),
.res__level[data-level="3"] i:nth-child(-n+3), .res__level[data-level="4"] i:nth-child(-n+4) { background: var(--coral); }
.res__index { font-size: .78rem; color: var(--muted); }
.dossier__actions { padding-top: 20px; border-top: 1px solid var(--line); gap: 8px; }

/* barre du bas pendant la lecture du dossier (petits écrans) */
.dock__new { display: none; }
@media (max-width: 1080px) {
  .dock--case { transform: none; visibility: visible; }
  .dock--case .dock__try { display: none; }
  .dock--case .dock__new { display: inline-flex; }
}

/* tablette : la photo soumise passe en bandeau au-dessus de la liste */
@media (max-width: 900px) {
  .dossier__body { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .evidence { position: static; grid-template-columns: 112px minmax(0, 1fr); column-gap: 18px; row-gap: 10px; align-items: start; }
  .evidence .dossier__sub { grid-column: 1 / -1; }
  .evidence img { grid-row: span 2; width: 112px; }
  .evidence .file { grid-column: 2; align-self: start; }
  .evidence .report { grid-column: 2; margin: 0; }
  .leads { padding-left: 0; border-left: 0; }
}
/* téléphone : chaque exemple se lit de haut en bas, la ressemblance en pied de ligne */
@media (max-width: 560px) {
  .dossier { --pad: 16px; gap: 22px; }
  .dossier__flag { font-size: .86rem; }
  .dossier__head { flex-direction: column; gap: 14px; }
  .dossier__new { display: none; }
  .evidence { grid-template-columns: 88px minmax(0, 1fr); column-gap: 14px; }
  .evidence img { width: 88px; grid-row: auto; }
  .evidence .file { align-self: center; }
  .evidence .report { grid-column: 1 / -1; }
  .leads__head { flex-direction: column; gap: 2px; }
  .dossier .res, .dossier .res:nth-child(n) { grid-template-columns: 56px minmax(0, 1fr); gap: 12px 14px; padding: 18px 0; }
  .dossier .res__pic { width: 56px; height: 56px; }
  .dossier .res__sim { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 10px 12px; background: var(--cream); border-radius: var(--r-sm); }
  .res__index { margin-left: auto; }
  .dossier .res__open { min-height: 40px; }
  .dossier__actions .btn { width: 100%; }
}

/* sous 1080 px, la barre du bas porte déjà « Nouvelle enquête » */
@media (max-width: 1080px) { .dossier__new { display: none; } }

/* =====================================================================
   ORBITE — huit plateformes sur deux anneaux autour de la loupe.
   Derrière la loupe et la console ; s'efface dès qu'une photo est chargée.
   ===================================================================== */
.orbit { position: absolute; left: 50%; top: 0; width: 0; height: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .5s ease; --L: 380px; --chip: 40px; }
.orbit--ready { opacity: 1; }
.stage:not([data-state="idle"]) .orbit { opacity: 0; }
.orbit__ring { position: absolute; left: 0; top: 0; width: calc(var(--r) * 2); height: calc(var(--r) * 2); margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1); border: 1px solid var(--line); border-radius: 50%; animation: orbit var(--t) linear infinite; }
.orbit__ring--a { --r: calc(var(--L) * .585); --t: 80s; }
.orbit__ring--b { --r: calc(var(--L) * .725); --t: 120s; animation-direction: reverse; }
.orbit__item { position: absolute; left: 50%; top: 50%; width: var(--chip); height: var(--chip); margin: calc(var(--chip) / -2); transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1)); }
/* la pastille tourne à l'envers de son anneau : le logo reste droit */
.orbit__chip { display: grid; place-items: center; width: 100%; height: 100%; background: var(--paper); border: 1px solid var(--line-2); border-radius: 50%; animation: orbit var(--t) linear infinite reverse; }
.orbit__ring--b .orbit__chip { animation-direction: normal; }
.orbit__chip svg { width: 46%; height: 46%; fill: var(--ink); }
@keyframes orbit { to { transform: rotate(360deg); } }
/* les anneaux ont besoin d'air au-dessus de la loupe */
.loupe { margin-top: 44px; }
@media (max-width: 560px) {
  .orbit { --chip: 28px; }
  .orbit__ring--a { --r: calc(var(--L) * .59); }
  .orbit__ring--b { --r: calc(var(--L) * .715); }
  .loupe { margin-top: 62px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit__ring, .orbit__chip { animation: none; }
}

/* l'orbite ne doit jamais élargir la page */
.hero { overflow-x: clip; }
@media (max-width: 560px) {
  /* loupe recentrée : les deux anneaux tiennent dans l'écran */
  .loupe { margin-right: 2%; }
  .orbit { --chip: 24px; }
  .orbit__ring--a { --r: calc(var(--L) * .572); }
  .orbit__ring--b { --r: calc(var(--L) * .672); }
}

/* logos dans leurs couleurs officielles (seule exception à la palette) */
:is(.orbit__chip, .web__chip, .hit__net)[title="Instagram"] svg { fill: #E4405F; }
:is(.orbit__chip, .web__chip, .hit__net)[title="Facebook"] svg { fill: #0866FF; }
:is(.orbit__chip, .web__chip, .hit__net)[title="YouTube"] svg { fill: #FF0000; }
:is(.orbit__chip, .web__chip, .hit__net)[title="Pinterest"] svg { fill: #E60023; }
:is(.orbit__chip, .web__chip, .hit__net)[title="LinkedIn"] svg { fill: #0A66C2; }
:is(.orbit__chip, .web__chip, .hit__net)[title="TikTok"] svg, :is(.orbit__chip, .web__chip, .hit__net)[title="X"] svg { fill: #000000; }
/* Snapchat : fantôme noir sur son jaune, illisible autrement sur fond blanc */
:is(.orbit__chip, .web__chip, .hit__net)[title="Snapchat"] { background: #FFFC00; border-color: rgba(0, 0, 0, .12); }
:is(.orbit__chip, .web__chip, .hit__net)[title="Snapchat"] svg { fill: #000000; }

/* OnlyFans dans l'orbite */
:is(.orbit__chip, .web__chip, .hit__net)[title="OnlyFans"] svg { fill: #00AFF0; }

/* =====================================================================
   COMMENT ÇA MARCHE — trois étapes, chacune avec un aperçu et deux lignes :
   ce que le prototype fait aujourd'hui, ce qui est prévu.
   ===================================================================== */
#comment .h2 { margin-bottom: 10px; }
.how__intro { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 44px); color: var(--muted); }
.how__intro b { color: var(--ink); font-weight: 600; }
.how__intro span { text-decoration: underline dashed var(--line-2); text-underline-offset: 4px; }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.how__step { display: grid; align-content: start; gap: 6px; padding: 0 28px; border-left: 1px solid var(--line); }
.how__step:first-child { padding-left: 0; border-left: 0; }
.how__step:last-child { padding-right: 0; }
.how__view { height: 148px; margin-bottom: 14px; display: grid; place-items: center; align-content: center; gap: 14px; background: var(--blue); border-radius: var(--r-md); }
.how__n { font-family: var(--display); font-size: .9rem; font-weight: 600; color: var(--accent-deep); }
.how__step h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.how__txt { color: var(--muted); font-size: 1rem; }
.how__state { display: grid; margin: 12px 0 0; }
.how__state div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .9rem; line-height: 1.4; }
.how__state dt { font-weight: 600; }
.how__state dd { margin: 0; color: var(--muted); }
.how__state div:last-child dt { font-weight: 400; color: var(--muted); }

/* les aperçus : mêmes formes que la vraie interface, en miniature */
.how__lens { position: relative; display: grid; place-items: center; width: 84px; height: 84px; background: var(--paper); border: 5px solid var(--ink); border-radius: 50%; }
.how__lens::after { content: ""; position: absolute; left: 78%; top: 80%; width: 11px; height: 34px; background: var(--ink); border-radius: 6px; transform-origin: 50% 0; transform: rotate(-45deg); box-shadow: inset 0 -9px 0 -3px var(--coral); }
.how__lens svg { width: 34px; height: 34px; color: var(--ink); }
.how__lens--photo { overflow: visible; }
.how__lens--photo > span { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.how__lens--photo > span svg { width: 100%; height: 100%; }
.how__scan { position: absolute; left: 4px; right: 4px; top: 56%; height: 1.5px; background: var(--coral); }
.how__frame { position: absolute; inset: 22%; --c: #fff; --l: 9px;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / var(--l) 2px, linear-gradient(var(--c), var(--c)) 0 0 / 2px var(--l),
    linear-gradient(var(--c), var(--c)) 100% 0 / var(--l) 2px, linear-gradient(var(--c), var(--c)) 100% 0 / 2px var(--l),
    linear-gradient(var(--c), var(--c)) 0 100% / var(--l) 2px, linear-gradient(var(--c), var(--c)) 0 100% / 2px var(--l),
    linear-gradient(var(--c), var(--c)) 100% 100% / var(--l) 2px, linear-gradient(var(--c), var(--c)) 100% 100% / 2px var(--l);
  background-repeat: no-repeat; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .45)); }
.how__progress { width: 96px; height: 3px; border-radius: 2px; background: var(--line); }
.how__progress i { display: block; width: 62%; height: 100%; border-radius: 2px; background: var(--coral); }
.how__list { width: min(220px, 78%); display: grid; }
.how__list li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.how__list li:first-child { border-top: 0; }
.how__list li > span:first-child { width: 24px; height: 24px; border-radius: 6px; overflow: hidden; }
.how__list li > span:first-child svg { display: block; width: 100%; height: 100%; }
.how__list li > i { height: 6px; border-radius: 3px; background: var(--line-2); width: 70%; }
.how__list li:nth-child(2) > i { width: 52%; } .how__list li:nth-child(3) > i { width: 62%; }
.how__list .res__level i { width: 9px; height: 3px; }

@media (max-width: 820px) {
  .how { grid-template-columns: minmax(0, 1fr); }
  .how__step, .how__step:first-child, .how__step:last-child { grid-template-columns: 120px minmax(0, 1fr); column-gap: 18px; padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .how__step:first-child { padding-top: 0; border-top: 0; }
  .how__view { grid-row: 1 / span 3; height: 120px; margin: 0; }
  .how__n, .how__step h3, .how__txt { grid-column: 2; }
  .how__state { grid-column: 1 / -1; }
  .how__lens { width: 64px; height: 64px; border-width: 4px; }
  .how__lens svg { width: 26px; height: 26px; }
  .how__lens::after { width: 9px; height: 26px; }
  .how__progress { width: 72px; }
  .how__list { width: 84%; }
  .how__list li { grid-template-columns: 20px minmax(0, 1fr); padding: 6px 0; }
  .how__list li > span:first-child { width: 20px; height: 20px; }
  .how__list .res__level { display: none; }
}
@media (max-width: 420px) {
  .how__step, .how__step:first-child, .how__step:last-child { grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; }
  .how__view { height: 104px; }
  .how__state div { grid-template-columns: 84px minmax(0, 1fr); }
}

/* =====================================================================
   DÉFILÉ DES PLATEFORMES — une ligne continue entre le hero et la suite.
   Logo en couleur officielle + nom ; s'arrête au survol ; fixe si
   l'utilisateur a demandé moins de mouvement.
   ===================================================================== */
.strip { overflow: hidden; padding: 22px 0; border-top: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.strip__track { display: flex; width: max-content; animation: strip 46s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__set { display: flex; align-items: center; gap: clamp(34px, 5vw, 64px); padding-right: clamp(34px, 5vw, 64px); }
.strip__item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.strip__logo { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; }
.strip__logo svg { width: 22px; height: 22px; fill: var(--ink); }
.strip__item[data-brand="Instagram"] svg { fill: #E4405F; }
.strip__item[data-brand="Facebook"] svg { fill: #0866FF; }
.strip__item[data-brand="YouTube"] svg { fill: #FF0000; }
.strip__item[data-brand="Pinterest"] svg { fill: #E60023; }
.strip__item[data-brand="LinkedIn"] svg { fill: #0A66C2; }
.strip__item[data-brand="OnlyFans"] svg { fill: #00AFF0; }
.strip__item[data-brand="TikTok"] svg, .strip__item[data-brand="X"] svg { fill: #000; }
.strip__item[data-brand="Snapchat"] .strip__logo { background: #FFFC00; }
.strip__item[data-brand="Snapchat"] svg { width: 17px; height: 17px; fill: #000; }
@keyframes strip { to { transform: translateX(-50%); } }
/* le hero se rapproche du défilé : moins de vide entre les deux */
.hero { padding-bottom: clamp(36px, 5vw, 56px); }
@media (max-width: 560px) {
  .strip { padding: 16px 0; }
  .strip__item { font-size: .95rem; gap: 8px; }
  .strip__logo { width: 22px; height: 22px; border-radius: 6px; }
  .strip__logo svg { width: 18px; height: 18px; }
  .strip__item[data-brand="Snapchat"] svg { width: 14px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .strip { -webkit-mask-image: none; mask-image: none; }
  .strip__track { animation: none; width: auto; justify-content: center; }
  .strip__set { flex-wrap: wrap; justify-content: center; row-gap: 14px; padding: 0 20px; }
  .strip__set[aria-hidden="true"] { display: none; }
}

/* =====================================================================
   COMMENT ÇA MARCHE v2 — trois cartes, un grand visuel par étape.
   ===================================================================== */
.hiw__head { display: grid; justify-items: center; text-align: center; gap: 12px; margin-bottom: clamp(32px, 5vw, 56px); }
.hiw__eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-deep); }
.hiw__head .h2 { margin: 0; font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 700; letter-spacing: -.035em; }
.hiw__lede { max-width: 56ch; color: var(--muted); font-size: 1.05rem; }
.hiw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.hiw__card { display: grid; align-content: start; justify-items: center; gap: 10px; padding: 12px 26px 30px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 1px 2px rgba(28, 23, 18, .04), 0 12px 30px -22px rgba(28, 23, 18, .25); }
.hiw__visual { width: 100%; height: 268px; display: grid; place-items: center; }
.hiw__label { display: inline-flex; align-items: center; gap: 12px; margin-top: 2px; font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-deep); }
.hiw__label b { font-family: var(--display); font-size: 1.05rem; letter-spacing: 0; padding-right: 12px; border-right: 1px solid var(--line-2); }
.hiw__card h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.hiw__txt { color: var(--muted); max-width: 34ch; }
.hiw__demo { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); width: 100%; font-size: .88rem; color: var(--muted); }
.hiw__demo b { color: var(--ink); font-weight: 600; }

/* 01 — un visage dessiné, balayé par le scan */
.hiw__portrait { position: relative; width: 196px; height: 196px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--coral), 0 0 0 7px var(--lime); }
.hiw__portrait > span, .hiw__portrait > span svg { display: block; width: 100%; height: 100%; }
.hiw__scan { position: absolute; left: 0; right: 0; top: 0; height: 34%; background: linear-gradient(180deg, transparent, rgba(228, 162, 7, .34)); border-bottom: 2px solid var(--coral); animation: hiw-scan 2.6s ease-in-out infinite alternate; }
@keyframes hiw-scan { from { transform: translateY(-100%); } to { transform: translateY(196%); } }

/* 02 — le visage au centre, les plateformes autour, mises en avant une à une */
.hiw__ring { position: relative; width: 236px; height: 236px; border-radius: 50%; border: 1px dashed var(--line-2); --R: 118px; }
.hiw__center { position: absolute; inset: 0; margin: auto; width: 98px; height: 98px; border-radius: 50%; overflow: hidden; border: 4px solid var(--paper); box-shadow: 0 0 0 1px var(--line), 0 10px 22px -12px rgba(28, 23, 18, .4); }
.hiw__center svg { display: block; width: 100%; height: 100%; }
.hiw__chip { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line-2); border-radius: 50%; transform: rotate(var(--a)) translateX(var(--R)) rotate(calc(var(--a) * -1)); animation: hiw-pick 9s linear infinite; animation-delay: calc(var(--i) * 1s); }
.hiw__chip svg { width: 46%; height: 46%; fill: var(--ink); }
@keyframes hiw-pick { 0%, 9%, 100% { box-shadow: 0 0 0 0 transparent; border-color: var(--line-2); } 2%, 7% { box-shadow: 0 0 0 4px var(--lime); border-color: var(--coral); } }
.hiw__chip[data-brand="Instagram"] svg { fill: #E4405F; }
.hiw__chip[data-brand="Facebook"] svg { fill: #0866FF; }
.hiw__chip[data-brand="YouTube"] svg { fill: #FF0000; }
.hiw__chip[data-brand="Pinterest"] svg { fill: #E60023; }
.hiw__chip[data-brand="LinkedIn"] svg { fill: #0A66C2; }
.hiw__chip[data-brand="OnlyFans"] svg { fill: #00AFF0; }
.hiw__chip[data-brand="TikTok"] svg, .hiw__chip[data-brand="X"] svg, .hiw__chip[data-brand="Snapchat"] svg { fill: #000; }
.hiw__chip[data-brand="Snapchat"] { background: #FFFC00; }

/* 03 — les pistes, exemples fictifs */
.hiw__rows { width: min(320px, 100%); display: grid; gap: 10px; }
.hiw__rows li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 14px 11px 12px; text-align: left; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--coral); border-radius: 14px; box-shadow: 0 6px 16px -12px rgba(28, 23, 18, .3); }
.hiw__rows li:nth-child(3) { border-left-color: var(--line-2); }
.hiw__av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); }
.hiw__av svg { display: block; width: 100%; height: 100%; }
.hiw__who { display: grid; min-width: 0; }
.hiw__who b { font-size: .95rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hiw__who small { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hiw__pill { font-style: normal; font-size: .82rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--coral); color: var(--on-accent); }
.hiw__pill--mid { background: var(--blue); color: var(--ink); }

@media (max-width: 900px) {
  .hiw { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .hiw__visual { height: 240px; }
}
@media (max-width: 420px) {
  .hiw__card { padding: 8px 18px 24px; }
  .hiw__portrait { width: 172px; height: 172px; }
  .hiw__ring { width: 212px; height: 212px; --R: 106px; }
  .hiw__chip { width: 34px; height: 34px; margin: -17px; }
}
@media (prefers-reduced-motion: reduce) {
  .hiw__scan { animation: none; transform: translateY(60%); }
  .hiw__chip { animation: none; }
}

/* =====================================================================
   RELECTURE AVANT LANCEMENT — une seule échelle de titres, une seule
   étiquette de section, un seul rayon de carte.
   ===================================================================== */
/* titres de section : même taille et même graisse partout */
.h2, .preview .h2, .hiw__head .h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.cta__title { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.dossier__h { font-weight: 700; letter-spacing: -.03em; }
/* étiquettes de section : le même style que « Comment ça marche » */
.tab, #principe .tab, .hiw__eyebrow { font-family: var(--text); font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-deep); }
.tab { margin-bottom: 14px; }
.dossier__kicker { font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-deep); }
/* cartes : un seul rayon, une seule ombre */
.hiw__card, .dossier { border-radius: 22px; }
.dossier { box-shadow: 0 1px 2px rgba(28, 23, 18, .04), 0 12px 30px -22px rgba(28, 23, 18, .25); }
/* le dossier sans bandeau : l'en-tête reprend sa place */
.dossier__note { color: var(--muted); }
.res__index { font-family: var(--display); font-size: .95rem; font-weight: 600; color: var(--ink); }
.res__open--nope, .res__open:disabled { text-decoration: none; cursor: default; color: var(--muted); }
/* console : sans la phrase de simulation, la ligne de progression se resserre */
.cap--loading .row--split { justify-content: space-between; }
.cap--results > p { margin: -4px 0 2px; }
/* fin de page et pied de page alignés sur le reste */
.cta__in > p { max-width: 40ch; }
.footer .small { font-family: var(--text); max-width: 64ch; }
.footer__joke { font-size: .85rem; }
/* lien « Voir la page » : cible confortable au doigt */
@media (pointer: coarse) { .dossier .res__open { min-height: 44px; display: inline-flex; align-items: center; } }
/* défilé : rien à animer quand il est hors écran n'est pas mesurable en CSS ; on allège au moins le rendu */
.strip__track, .orbit__ring, .orbit__chip { will-change: transform; }

/* entre 1000 et 1180 px, l'anneau extérieur se resserre pour rester dans l'écran */
@media (min-width: 1000px) and (max-width: 1180px) {
  .orbit { --chip: 34px; }
  .orbit__ring--b { --r: calc(var(--L) * .69); }
}
/* liens du menu : 40 px de haut au minimum */
.menu > a:not(.btn), .footer__nav a { min-height: 40px; display: inline-flex; align-items: center; }

/* Comment ça marche : le portrait photo, et les pistes suivantes « verrouillées » */
.hiw__portrait > img, .hiw__center > img, .hiw__av > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hiw__rows li:nth-child(n+2) .hiw__av { position: relative; }
.hiw__rows li:nth-child(n+2) .hiw__av svg { filter: blur(5px); transform: scale(1.15); }

/* =====================================================================
   AU REPOS, LA LOUPE SUFFIT — la console n'apparaît qu'une fois la photo
   chargée. Sous la loupe, il ne reste que l'exemple et une ligne d'info.
   ===================================================================== */
.stage[data-state="idle"] .caption { margin-top: 18px; padding: 0; background: none; border: 0; box-shadow: none; gap: 10px; justify-items: center; }
.stage[data-state="idle"] .console__bar, .stage[data-state="idle"] .cap--idle .cap__h { display: none; }
.stage[data-state="idle"] .caption .cap { min-height: 0; }
/* le bouton reste pour le clavier et les lecteurs d'écran, la loupe fait le reste à la souris */
.stage[data-state="idle"] #pickBtn { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; clip-path: inset(50%); border: 0; }
.stage[data-state="idle"]:has(#pickBtn:focus-visible) .lens { outline: 3px solid var(--accent-deep); outline-offset: 6px; }
.stage[data-state="idle"] .btn--second { width: auto; min-height: 44px; padding: 10px 20px; font-size: .98rem; }
.stage[data-state="idle"] .console__foot { padding-top: 0; border-top: 0; }
.stage[data-state="idle"] .cap__error { max-width: 400px; }
@media (max-width: 560px) {
  .stage[data-state="idle"] .caption { margin-top: 30px; }
}
/* =====================================================================
   PNUT TOUT AU LONG DE LA PAGE — trois poses de plus (il note, il tend le
   dossier, il salue) et une petite bulle pour sa réplique.
   ===================================================================== */
[data-mood="notes"] .px-notes, [data-mood="dossier"] .px-dossier, [data-mood="wave"] .px-wave { display: inline; }
[data-mood="notes"] .px-look { transform: translate(2px, 5px); }
[data-mood="notes"] .px-browL { transform: translateY(2px) rotate(6deg); }
[data-mood="notes"] .px-browR { transform: translateY(2px) rotate(-6deg); }
[data-mood="dossier"] .px-browL { transform: translateY(-6px) rotate(-8deg); }
[data-mood="wave"] .px-browL, [data-mood="wave"] .px-browR { transform: translateY(-7px); }
[data-mood="wave"] .px-hat { transform: rotate(5deg); }
.px-wavearm { transform-box: view-box; transform-origin: 146px 172px; animation: px-wave 1s ease-in-out infinite alternate; }
@keyframes px-wave { from { transform: rotate(-9deg); } to { transform: rotate(11deg); } }
.px-pencil { animation: px-write .5s ease-in-out infinite alternate; }
@keyframes px-write { to { transform: translate(5px, 2px); } }

.aparte { display: inline-flex; align-items: center; gap: 12px; }
.aparte .pn { flex: none; width: 76px; }
.aparte__say { position: relative; max-width: 30ch; padding: 9px 14px; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; box-shadow: 0 1px 2px rgba(28, 23, 18, .05), 0 10px 22px -14px rgba(28, 23, 18, .3); font-family: var(--display); font-size: .92rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.hiw__head .aparte { margin-top: 6px; }
.aparte--dossier { align-items: flex-end; margin-top: 4px; }
.aparte--dossier .pn { width: 84px; margin-bottom: -6px; }
.aparte--dossier .aparte__say { max-width: 46ch; font-family: var(--text); font-weight: 400; font-size: .98rem; }
.aparte--cta { justify-self: center; margin-bottom: 6px; }
.aparte--cta .pn { width: 92px; }
@media (max-width: 560px) {
  .aparte .pn { width: 64px; }
  .aparte--dossier .pn { width: 68px; }
  .aparte--cta .pn { width: 78px; }
  .aparte__say { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) { .px-wavearm, .px-pencil { animation: none; } }

/* =====================================================================
   CADRAGE — à l'aperçu, la photo se déplace et se zoome sous la loupe.
   ===================================================================== */
.lens__img--free { inset: auto; left: 50%; top: 50%; max-width: none; object-fit: fill; translate: -50% -50%; }
.stage[data-state="preview"] .lens { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.stage[data-state="preview"] .lens.is-grabbing { cursor: grabbing; }
.stage[data-state="preview"] .lens:active { transform: none; }
.stage[data-state="preview"] .lens__swap { cursor: pointer; }
.cap__hint { margin-top: -6px; font-size: .86rem; line-height: 1.35; color: var(--muted); }
.only-coarse { display: none; }
@media (pointer: coarse) { .only-coarse { display: inline; } }

/* =====================================================================
   L'ENTONNOIR — une fenêtre : l'analyse, puis les pistes floutées.
   ===================================================================== */
.funnel { width: min(460px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 30px 26px 24px; overflow: auto; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 30px 80px -30px rgba(28, 23, 18, .55); }
.funnel::backdrop { background: rgba(28, 23, 18, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.funnel[open] { animation: funnel-in .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes funnel-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.funnel__x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; display: grid; place-content: center; padding: 0 0 3px; background: none; border: 1px solid var(--line); border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--muted); }
.funnel__x:hover { background: var(--blue); color: var(--ink); }
.funnel__step { display: grid; justify-items: center; gap: 10px; text-align: center; }
.funnel__step[hidden] { display: none; }
.funnel__h { font-family: var(--display); font-size: clamp(1.5rem, 5vw, 1.9rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.funnel__status { min-height: 1.5em; color: var(--muted); font-size: .98rem; }

/* le visage sous analyse */
.scan { position: relative; width: min(250px, 64vw); aspect-ratio: 1; margin: 14px 0 12px; border-radius: 50%; overflow: hidden; background: var(--blue); box-shadow: 0 0 0 3px var(--coral), 0 0 0 11px var(--lime), 0 0 44px 12px rgba(228, 162, 7, .28); }
.scan img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scan__mesh { position: absolute; inset: 0; width: 100%; height: 100%; }
.scan__mesh polyline { fill: none; stroke: var(--coral); stroke-width: .5; stroke-linejoin: round; opacity: 0; transition: opacity .3s; }
.scan__mesh circle { fill: #fff; stroke: var(--coral); stroke-width: .45; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: opacity .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.scan__mesh .on { opacity: 1; transform: none; }
.scan__line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--coral); box-shadow: 0 0 14px 3px rgba(228, 162, 7, .7); }
.scan__line::before { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 60px; background: linear-gradient(180deg, transparent, rgba(228, 162, 7, .22)); }
.scan__stats { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin: 4px 0 0; padding: 14px 6px; background: var(--cream); border: 1px solid var(--line); border-radius: 16px; }
.scan__stats div { display: grid; gap: 2px; }
.scan__stats div + div { border-left: 1px solid var(--line); }
.scan__stats dt { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scan__stats dd { margin: 0; font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.scan__bar { width: 100%; height: 4px; margin-top: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.scan__bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--coral); }

/* les pistes verrouillées */
.funnel__head { display: flex; align-items: center; gap: 14px; width: 100%; padding-right: 40px; text-align: left; }
.funnel__thumb { flex: none; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--coral), 0 0 0 6px var(--lime); }
.funnel__head .hiw__eyebrow { margin-bottom: 2px; }
.locked { display: grid; width: 100%; margin-top: 10px; text-align: left; }
.locked__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 18px; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.locked__row:last-child { border-bottom: 1px solid var(--line); }
.locked__av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); }
.locked__av svg { display: block; width: 100%; height: 100%; filter: blur(6px); transform: scale(1.2); }
.locked__who { display: grid; gap: 3px; min-width: 0; user-select: none; -webkit-user-select: none; }
.locked__who b, .locked__who small { filter: blur(5px); white-space: nowrap; overflow: hidden; }
.locked__who b { font-size: 1rem; font-weight: 600; }
.locked__who small { font-size: .8rem; color: var(--muted); }
.locked__sim { display: grid; justify-items: end; gap: 5px; }
.locked__sim em { font-style: normal; font-family: var(--display); font-size: .88rem; font-weight: 600; white-space: nowrap; }
.locked__sim .res__level i { width: 14px; height: 3px; }
.locked__lock { width: 18px; height: 18px; color: var(--muted); }
.funnel__unlock { display: grid; gap: 8px; width: 100%; margin-top: 14px; }
.funnel__note { font-size: .9rem; color: var(--muted); }
.funnel__again { margin-top: 2px; }

@media (max-width: 480px) {
  .funnel { padding: 26px 18px 20px; border-radius: 22px; }
  .locked__row { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; }
  .locked__av { width: 40px; height: 40px; }
  .locked__lock { display: none; }
  .locked__sim em { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) { .funnel[open] { animation: none; } }

/* fenêtre de l'entonnoir : plus grande, presque plein écran sur téléphone */
.funnel { width: min(640px, calc(100% - 24px)); padding: 44px 44px 36px; border-radius: 30px; }
.funnel__x { right: 18px; top: 18px; width: 44px; height: 44px; }
.funnel__step { gap: 12px; }
.funnel__h { font-size: clamp(1.8rem, 5vw, 2.5rem); }
.funnel__status { font-size: 1.08rem; }
.scan { width: min(360px, 72vw); margin: 22px 0 18px; box-shadow: 0 0 0 4px var(--coral), 0 0 0 14px var(--lime), 0 0 60px 16px rgba(228, 162, 7, .28); }
.scan__line::before { height: 90px; }
.scan__stats { padding: 18px 8px; border-radius: 18px; }
.scan__stats dt { font-size: .78rem; }
.scan__stats dd { font-size: 2.1rem; }
.scan__bar { height: 5px; margin-top: 10px; }
.funnel__thumb { width: 76px; height: 76px; }
.locked { margin-top: 16px; }
.locked__row { grid-template-columns: 54px minmax(0, 1fr) auto 20px; gap: 16px; padding: 17px 0; }
.locked__av { width: 54px; height: 54px; }
.locked__who b { font-size: 1.12rem; }
.locked__who small { font-size: .9rem; }
.locked__sim em { font-size: 1rem; }
.locked__sim .res__level i { width: 18px; height: 4px; }
.funnel__unlock { margin-top: 20px; }
.funnel__unlock .btn--wide { min-height: 60px; font-size: 1.15rem; }
@media (max-width: 560px) {
  .funnel { width: calc(100% - 16px); max-height: calc(100dvh - 16px); min-height: min(640px, calc(100dvh - 16px)); padding: 34px 20px 24px; border-radius: 24px; align-content: center; }
  .funnel__step { align-content: center; min-height: 100%; }
  .scan { width: min(300px, 76vw); }
  .locked__row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; padding: 15px 0; }
  .locked__av { width: 48px; height: 48px; }
  .locked__sim em { font-size: .88rem; }
}

/* sans la console pour les cacher, les logos s'estompent en passant sous la loupe */
.orbit { width: calc(var(--L) * 1.62); height: calc(var(--L) * 1.62); transform: translate(-50%, -50%);
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 66%, transparent 80%);
          mask-image: linear-gradient(180deg, #000 0, #000 66%, transparent 80%); }
.orbit__ring { left: 50%; top: 50%; }
.hiw__rows li:nth-child(n+2) .hiw__av::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1712' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='5.5' y='11' width='13' height='9' rx='2.5' fill='%231C1712'/%3E%3Cpath d='M8.5 11V8.5a3.5 3.5 0 0 1 7 0V11'/%3E%3C/svg%3E") center / 46% no-repeat; }

/* =====================================================================
   TRACES — des pas, des loupes et quelques « ? » à peine visibles sur le
   fond de la page. Une tuile de 900px, répétée ; les cartes blanches passent
   par-dessus.
   ===================================================================== */
body { background:
    url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22900%22 height=%22900%22 viewBox=%220 0 900 900%22%3E%3Cg fill=%22%231C1712%22 opacity=%22.05%22%3E%3Cg transform=%22translate(105.0 812.0) rotate(21.0)%22%3E%3Cpath d=%22M0-30c8 0 13 9 12 21-1 12-5 19-12 19s-11-7-12-19C-13-21-8-30 0-30z%22/%3E%3Cpath d=%22M-8 16h16c1 9-3 15-8 15s-9-6-8-15z%22/%3E%3C/g%3E%3Cg transform=%22translate(163.0 775.0) rotate(42.0)%22%3E%3Cpath d=%22M0-30c8 0 13 9 12 21-1 12-5 19-12 19s-11-7-12-19C-13-21-8-30 0-30z%22/%3E%3Cpath d=%22M-8 16h16c1 9-3 15-8 15s-9-6-8-15z%22/%3E%3C/g%3E%3Cg transform=%22translate(172.0 703.1) rotate(35.0)%22%3E%3Cpath d=%22M0-30c8 0 13 9 12 21-1 12-5 19-12 19s-11-7-12-19C-13-21-8-30 0-30z%22/%3E%3Cpath d=%22M-8 16h16c1 9-3 15-8 15s-9-6-8-15z%22/%3E%3C/g%3E%3Cg transform=%22translate(237.3 681.2) rotate(56.0)%22%3E%3Cpath d=%22M0-30c8 0 13 9 12 21-1 12-5 19-12 19s-11-7-12-19C-13-21-8-30 0-30z%22/%3E%3Cpath d=%22M-8 16h16c1 9-3 15-8 15s-9-6-8-15z%22/%3E%3C/g%3E%3Cg transform=%22translate(263.4 613.6) rotate(49.0)%22%3E%3Cpath d=%22M0-30c8 0 13 9 12 21-1 12-5 19-12 19s-11-7-12-19C-13-21-8-30 0-30z%22/%3E%3Cpath d=%22M-8 16h16c1 9-3 15-8 15s-9-6-8-15z%22/%3E%3C/g%3E%3Cg transform=%22translate(332.1 608.2) rotate(70.0)%22%3E%3Cpath d=%22M0-30c8 0 13 9 12 21-1 12-5 19-12 19s-11-7-12-19C-13-21-8-30 0-30z%22/%3E%3Cpath d=%22M-8 16h16c1 9-3 15-8 15s-9-6-8-15z%22/%3E%3C/g%3E%3Cg transform=%22translate(626.6 480.5) rotate(-45.0)%22%3E%3Cpath d=%22M0-30c8 0 13 9 12 21-1 12-5 19-12 19s-11-7-12-19C-13-21-8-30 0-30z%22/%3E%3Cpath d=%22M-8 16h16c1 9-3 15-8 15s-9-6-8-15z%22/%3E%3C/g%3E%3Cg transform=%22translate(614.1 409.3) rotate(-37.0)%22%3E%3Cpath d=%22M0-30c8 0 13 9 12 21-1 12-5 19-12 19s-11-7-12-19C-13-21-8-30 0-30z%22/%3E%3Cpath d=%22M-8 16h16c1 9-3 15-8 15s-9-6-8-15z%22/%3E%3C/g%3E%3Cg transform=%22translate(547.8 389.6) rotate(-57.0)%22%3E%3Cpath d=%22M0-30c8 0 13 9 12 21-1 12-5 19-12 19s-11-7-12-19C-13-21-8-30 0-30z%22/%3E%3Cpath d=%22M-8 16h16c1 9-3 15-8 15s-9-6-8-15z%22/%3E%3C/g%3E%3Cg transform=%22translate(520.8 322.6) rotate(-49.0)%22%3E%3Cpath d=%22M0-30c8 0 13 9 12 21-1 12-5 19-12 19s-11-7-12-19C-13-21-8-30 0-30z%22/%3E%3Cpath d=%22M-8 16h16c1 9-3 15-8 15s-9-6-8-15z%22/%3E%3C/g%3E%3Cg transform=%22translate(451.9 317.0) rotate(-69.0)%22%3E%3Cpath d=%22M0-30c8 0 13 9 12 21-1 12-5 19-12 19s-11-7-12-19C-13-21-8-30 0-30z%22/%3E%3Cpath d=%22M-8 16h16c1 9-3 15-8 15s-9-6-8-15z%22/%3E%3C/g%3E%3Cg transform=%22translate(730 150) rotate(-42)%22 fill=%22none%22 stroke=%22%231C1712%22 stroke-linecap=%22round%22%3E%3Ccircle r=%2234%22 stroke-width=%226%22/%3E%3Cpath d=%22M0 37 v39%22 stroke-width=%2211%22/%3E%3Cpath d=%22M-18 -6 a17 17 0 0 1 14 -12%22 stroke-width=%223%22/%3E%3C/g%3E%3Cg transform=%22translate(250 300) rotate(38)%22 fill=%22none%22 stroke=%22%231C1712%22 stroke-linecap=%22round%22%3E%3Ccircle r=%2222%22 stroke-width=%224%22/%3E%3Cpath d=%22M0 25 v25%22 stroke-width=%227%22/%3E%3Cpath d=%22M-12 -4 a11 11 0 0 1 9 -7%22 stroke-width=%222%22/%3E%3C/g%3E%3Cg transform=%22translate(520 760) rotate(-30)%22 fill=%22none%22 stroke=%22%231C1712%22 stroke-linecap=%22round%22%3E%3Ccircle r=%2228%22 stroke-width=%225%22/%3E%3Cpath d=%22M0 31 v32%22 stroke-width=%229%22/%3E%3Cpath d=%22M-15 -5 a14 14 0 0 1 11 -10%22 stroke-width=%223%22/%3E%3C/g%3E%3Cg transform=%22translate(80 120) rotate(50)%22 fill=%22none%22 stroke=%22%231C1712%22 stroke-linecap=%22round%22%3E%3Ccircle r=%2218%22 stroke-width=%224%22/%3E%3Cpath d=%22M0 21 v20%22 stroke-width=%226%22/%3E%3Cpath d=%22M-9 -3 a9 9 0 0 1 7 -6%22 stroke-width=%222%22/%3E%3C/g%3E%3Ctext x=%22430%22 y=%22170%22 transform=%22rotate(12 430 170)%22 font-family=%22Arial, Helvetica, sans-serif%22 font-weight=%22700%22 font-size=%2260%22%3E%3F%3C/text%3E%3Ctext x=%22800%22 y=%22640%22 transform=%22rotate(-14 800 640)%22 font-family=%22Arial, Helvetica, sans-serif%22 font-weight=%22700%22 font-size=%2246%22%3E%3F%3C/text%3E%3Ctext x=%22330%22 y=%22600%22 transform=%22rotate(8 330 600)%22 font-family=%22Arial, Helvetica, sans-serif%22 font-weight=%22700%22 font-size=%2238%22%3E%3F%3C/text%3E%3C/g%3E%3C/svg%3E") 0 0 / 900px 900px repeat,
    linear-gradient(180deg, var(--cream2), var(--cream) 640px) no-repeat,
    var(--cream); }
@media (max-width: 700px) { body { background-size: 620px 620px, auto, auto; } }

/* ───────── Paywall : deux formules, un bouton ───────── */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[data-step="results"]:where(.funnel__step) .locked { margin-top: 10px; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
[data-step="results"]:where(.funnel__step) .locked__row { padding: 11px 0; }
[data-step="results"]:where(.funnel__step) .locked__row:last-child { border-bottom: 0; }
.pay { display: grid; gap: 10px; width: 100%; margin-top: -18px; text-align: center; position: relative; }
.pay__h { font-family: var(--display); font-size: clamp(1.4rem, 4.4vw, 1.75rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.pay__sub { margin-top: -4px; color: var(--muted); font-size: 1rem; }
.pay__plans { display: grid; gap: 10px; margin: 6px 0 4px; padding: 0; border: 0; min-width: 0; }
.plan { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 18px; text-align: left; background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color .15s, background .15s; }
.plan:hover { border-color: var(--line-2); }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan__dot { width: 22px; height: 22px; border: 1.5px solid var(--line-2); border-radius: 50%; display: grid; place-content: center; }
.plan__dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); scale: 0; transition: scale .15s; }
.plan:has(input:checked) { border-color: var(--coral); background: var(--lime); }
.plan:has(input:checked) .plan__dot { border-color: var(--coral); }
.plan:has(input:checked) .plan__dot::after { scale: 1; }
.plan:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.plan__txt, .plan__price { display: grid; gap: 2px; min-width: 0; }
.plan__txt b { font-size: 1.08rem; font-weight: 600; }
.plan__txt small, .plan__price small { font-size: .86rem; color: var(--muted); }
.plan__price { justify-items: end; text-align: right; }
.plan__price b { font-family: var(--display); font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.plan__price i { font-style: normal; color: var(--accent-deep); font-weight: 600; }
.plan__tag { position: absolute; right: 16px; top: -10px; padding: 2px 10px; font-style: normal; font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--coral); color: var(--on-accent); border-radius: 99px; }
.pay .btn--wide { min-height: 60px; font-size: 1.12rem; }
.pay__methods { font-size: .88rem; color: var(--muted); }
.pay__legal { font-size: .78rem; line-height: 1.4; color: var(--muted); }
@media (max-width: 560px) {
  .plan { gap: 10px; padding: 14px 12px; }
  .plan__txt b { font-size: 1rem; }
  .plan__txt small, .plan__price small { font-size: .78rem; }
  .plan__price b { font-size: 1.1rem; }
  .pay .btn--wide { font-size: 1rem; }
}
/* le bouton de paiement reste visible sans défiler : la liste floutée se laisse rogner */
[data-step="results"]:where(.funnel__step) .locked { max-height: 205px; overflow: hidden; }
.plan { background: var(--paper); }
@media (max-width: 560px) {
  [data-step="results"]:where(.funnel__step) .funnel__thumb { width: 56px; height: 56px; }
  [data-step="results"]:where(.funnel__step) .funnel__h { font-size: 1.45rem; }
  [data-step="results"]:where(.funnel__step) .locked { max-height: 138px; margin-top: 4px; }
  .pay { gap: 8px; margin-top: -14px; }
  .pay__sub { font-size: .92rem; }
  .pay__plans { gap: 8px; margin: 4px 0 2px; }
  .plan { padding: 11px 12px; }
  .pay .btn--wide { min-height: 54px; }
  .funnel__again { min-height: 0; padding-block: 6px; }
}
/* pistes : la source et la ressemblance se lisent, le nom reste verrouillé ; les quatre sont visibles */
[data-step="results"]:where(.funnel__step) .funnel__h { font-size: clamp(1.35rem, 4.2vw, 1.75rem); text-wrap: balance; }
[data-step="results"]:where(.funnel__step) .locked { max-height: none; overflow: visible; -webkit-mask-image: none; mask-image: none; }
[data-step="results"]:where(.funnel__step) .locked__row { padding: 8px 0; grid-template-columns: 40px minmax(0, 1fr) auto 18px; gap: 14px; }
[data-step="results"]:where(.funnel__step) .locked__row:last-child { border-bottom: 1px solid var(--line); }
[data-step="results"]:where(.funnel__step) .locked__av { width: 40px; height: 40px; }
.locked__who strong { font-size: 1rem; font-weight: 600; line-height: 1.2; }
[data-step="results"]:where(.funnel__step) .locked__who { gap: 1px; }
[data-step="results"]:where(.funnel__step) .locked__who b { font-size: .84rem; font-weight: 500; color: var(--muted); }
[data-step="results"]:where(.funnel__step) .locked__sim em { font-size: .92rem; }
.pay { margin-top: 12px; }
@media (max-width: 560px) {
  [data-step="results"]:where(.funnel__step) .funnel__h { font-size: 1.2rem; }
  [data-step="results"]:where(.funnel__step) .locked { max-height: none; }
  [data-step="results"]:where(.funnel__step) .locked__row { padding: 6px 0; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; }
  [data-step="results"]:where(.funnel__step) .locked__av { width: 34px; height: 34px; }
  .locked__who strong { font-size: .92rem; }
  [data-step="results"]:where(.funnel__step) .locked__sim em { font-size: .8rem; }
  .pay { margin-top: 8px; }
  .pay__sub { font-size: .86rem; }
}
/* seconde offre : recherches à l'unité */
[data-step="packs"]:where(.funnel__step) .funnel__status { min-height: 0; }
.pay--packs { margin-top: 10px; }
.pay--packs .plan__price b { font-size: 1.3rem; }
/* dernière offre : une recherche, compte à rebours réel */
[data-step="single"]:where(.funnel__step) { position: relative; }
[data-step="single"]:where(.funnel__step) .funnel__status { min-height: 0; }
.timer { display: flex; align-items: flex-start; justify-content: center; gap: 10px; margin: 2px 0 4px; }
.timer > i { font-style: normal; font-family: var(--display); font-size: 2.6rem; font-weight: 700; line-height: 76px; color: var(--muted); }
.timer__box { display: grid; justify-items: center; gap: 6px; }
.timer__box b { display: grid; place-content: center; min-width: 92px; height: 76px; padding: 0 12px; font-family: var(--display); font-size: 3rem; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; background: var(--lime); border: 1.5px solid var(--coral); border-radius: var(--r-md); }
.timer__box small { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pay--single { margin-top: 6px; }
.pay__check { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 1rem; }
.pay__check svg { flex: none; width: 22px; height: 22px; color: var(--accent-deep); }
.plan--solo { cursor: default; border-color: var(--coral); background: var(--lime); }
.plan--solo .plan__dot { border-color: var(--coral); }
.plan--solo .plan__dot::after { scale: 1; }
.plan--solo .plan__price b { font-size: 1.4rem; }
.pay .btn:disabled { opacity: .5; cursor: default; }
.confetti { position: absolute; inset: -44px -44px auto; height: 520px; overflow: hidden; pointer-events: none; }
.confetti i { position: absolute; top: -14px; width: 7px; height: 12px; border-radius: 2px; opacity: 0; animation: confetti-fall 2s cubic-bezier(.2, .6, .4, 1) forwards; }
.confetti i:nth-child(3n) { width: 6px; height: 6px; border-radius: 50%; }
@keyframes confetti-fall { 0% { opacity: 0; transform: translateY(0) rotate(0); } 10% { opacity: .9; } 100% { opacity: 0; transform: translateY(500px) rotate(var(--turn, 360deg)); } }
@media (max-width: 560px) {
  .timer__box b { min-width: 78px; height: 64px; font-size: 2.4rem; }
  .timer > i { line-height: 64px; font-size: 2.2rem; }
  .pay__check { font-size: .92rem; }
  .confetti { inset: -34px -20px auto; }
}

/* ───────── Analyse : fouille des réseaux autour de la photo ───────── */
.scanzone { --S: 360px; --C: 60px; --G: 16px; --R: calc(var(--S) * .39 + var(--C) * .5 + var(--G));
  position: relative; display: grid; place-items: center; width: calc(var(--R) * 2 + var(--C)); max-width: 100%; aspect-ratio: 1; margin: 10px 0 8px; }
.scanzone .scan { position: relative; z-index: 1; width: var(--S); margin: 0; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.scanzone--web .scan { transform: scale(.78); }
.scanzone .scan__line { transition: opacity .3s; }
.scanzone--web .scan__line { opacity: 0; }
.web { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.web__ring { position: absolute; inset: 0; animation: web-turn 48s linear infinite; }
.web__item { position: absolute; left: 50%; top: 50%; width: var(--C); height: var(--C); margin: calc(var(--C) / -2) 0 0 calc(var(--C) / -2);
  transform: rotate(var(--a)) translateY(calc(var(--R) * -1)) rotate(calc(var(--a) * -1)); }
.web__chip { position: relative; display: grid; place-items: center; width: 100%; height: 100%; background: var(--paper); border: 1px solid var(--line-2); border-radius: 50%;
  box-shadow: var(--sh-sm); animation: web-turn 48s linear infinite reverse;
  opacity: 0; scale: .3; filter: grayscale(1);
  transition: opacity .35s calc(var(--i) * 45ms), scale .45s cubic-bezier(.3, 1.5, .5, 1) calc(var(--i) * 45ms), filter .3s, box-shadow .3s; }
.web__chip svg { width: 48%; height: 48%; fill: var(--ink); }
.scanzone--web .web__chip { opacity: .5; scale: 1; }
.scanzone--web .web__chip.is-search { opacity: 1; scale: 1.2; filter: none; transition-delay: 0s; box-shadow: 0 0 0 3px var(--coral), 0 0 24px 6px rgba(228, 162, 7, .45); }
.scanzone--web .web__chip.is-done { opacity: 1; filter: none; transition-delay: 0s; }
.web__chip::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--paper);
  background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23241900' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
  scale: 0; transition: scale .3s cubic-bezier(.3, 1.6, .5, 1); }
.web__chip.is-done::after { scale: 1; }
/* le faisceau de la loupe, qui pointe le réseau en cours de fouille */
.web__beam { position: absolute; left: 50%; top: 50%; width: calc(var(--R) * 2); height: calc(var(--R) * 2); margin: calc(var(--R) * -1) 0 0 calc(var(--R) * -1); border-radius: 50%;
  background: conic-gradient(from -18deg, rgba(228, 162, 7, 0), rgba(228, 162, 7, .34) 18deg, rgba(228, 162, 7, 0) 36deg, transparent 36deg);
  -webkit-mask: radial-gradient(circle, transparent 30%, #000 46%, #000 70%, transparent 100%); mask: radial-gradient(circle, transparent 30%, #000 46%, #000 70%, transparent 100%);
  rotate: var(--b, 0deg); opacity: 0; transition: rotate .45s cubic-bezier(.4, 0, .2, 1), opacity .4s; }
.web__ring, .web__beam { will-change: transform; }
.web { animation: none; }
.scanzone--web .web__beam { opacity: 1; }
/* le faisceau tourne avec l'anneau */
.web__beam { animation: web-turn 48s linear infinite; }
@keyframes web-turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .web__ring, .web__chip, .web__beam { animation: none; }
}
@media (max-width: 560px) {
  .scanzone { --S: min(300px, 70vw); --C: 34px; --G: 6px; margin: 6px 0 4px; }
  .web__chip::after { width: 14px; height: 14px; right: -3px; bottom: -3px; }
}
/* l'anneau qui tourne ne doit pas créer de défilement horizontal */
.funnel__step[data-step="scan"] { overflow-x: clip; }
.web { border-radius: 50%; }

/* ───────── Résultats sous le paywall : grille par réseau, floutée sous l'offre ───────── */
.wall { gap: 14px; }
.wall__head { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "pic chip" "pic title"; align-items: center; column-gap: 14px; row-gap: 2px; width: 100%; padding-right: 48px; text-align: left; }
.wall__head .funnel__thumb { grid-area: pic; width: 64px; height: 64px; }
.wall__head .funnel__h { grid-area: title; font-size: clamp(1.3rem, 4vw, 1.7rem); text-wrap: balance; }
.wall__chip { grid-area: chip; justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px; font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); background: var(--lime); border: 1px solid color-mix(in srgb, var(--coral) 45%, transparent); border-radius: 99px; }
.wall__chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 3px color-mix(in srgb, var(--coral) 25%, transparent); }

.hits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; margin: 4px 0 0; padding: 0; list-style: none;
  -webkit-mask-image: linear-gradient(#000 52%, rgba(0, 0, 0, .35) 78%, transparent); mask-image: linear-gradient(#000 52%, rgba(0, 0, 0, .35) 78%, transparent); }
.hit { position: relative; display: grid; gap: 6px; padding: 7px 7px 9px; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-sm);
  animation: hit-in .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 55ms); }
.hit__pic { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--cream2); }
.hit__pic svg, .hit__pic img { display: block; width: 100%; height: 100%; object-fit: cover; filter: blur(7px) saturate(.85); transform: scale(1.3); }
.hit__net { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 30px; height: 30px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 50%; box-shadow: 0 2px 6px rgba(28, 23, 18, .18); }
.hit__net svg { width: 56%; height: 56%; fill: var(--ink); }
.hit__score { font-family: var(--display); font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.hit:nth-child(-n+2) .hit__score { color: var(--accent-deep); }
.hit__name { display: block; overflow: hidden; white-space: nowrap; font-size: .76rem; color: var(--muted); filter: blur(4px); user-select: none; -webkit-user-select: none; }
.hit__lock { position: absolute; right: 9px; bottom: 26px; width: 14px; height: 14px; color: var(--muted); }
@keyframes hit-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@media (prefers-reduced-motion: reduce) { .hit { animation: none; } }

/* l'offre se pose par-dessus la seconde rangée */
.wall .pay { position: relative; z-index: 2; margin-top: -118px; padding: 20px 20px 16px; background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 -10px 40px -12px rgba(28, 23, 18, .25), var(--sh-md); }
.wall .funnel__again { margin-top: -2px; }

@media (max-width: 560px) {
  .wall { gap: 10px; }
  .wall__head { padding-right: 44px; column-gap: 12px; }
  .wall__head .funnel__thumb { width: 52px; height: 52px; }
  .wall__head .funnel__h { font-size: 1.15rem; }
  .wall__chip { font-size: .62rem; padding: 2px 9px; }
  .hits { gap: 6px; }
  .hit { gap: 4px; padding: 4px 4px 6px; border-radius: 11px; }
  .hit__pic { border-radius: 8px; }
  .hit__net { top: 7px; right: 7px; width: 22px; height: 22px; }
  .hit__score { font-size: .86rem; }
  .hit__name { font-size: .62rem; }
  .hit__lock { display: none; }
  .wall .pay { margin-top: -74px; padding: 16px 12px 12px; border-radius: 18px; }
}
/* resserré : l'offre entière tient à l'écran */
.wall { gap: 10px; }
.hit__pic { aspect-ratio: 5 / 4; }
.wall .pay { margin-top: -132px; gap: 8px; }
.wall .pay__plans { margin: 2px 0; }
@media (max-width: 560px) {
  .hit__pic { aspect-ratio: 1; }
  .wall .pay { margin-top: -78px; }
}

/* ───────── Paywall transparent : l'offre flotte sur les résultats floutés ───────── */
.wall { position: relative; }
.wall .hits { -webkit-mask-image: none; mask-image: none; }
.hit__lock { bottom: 10px; }
.hit { gap: 7px; }
.wall .pay { margin-top: -262px; padding: 64px 0 4px; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; border-radius: 0; box-shadow: none; isolation: isolate; }
/* voile : floute et estompe les résultats qui passent sous l'offre */
.wall .pay::before { content: ""; position: absolute; z-index: -1; inset: 0 -44px -40px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--paper) 0%, transparent) 0, color-mix(in srgb, var(--paper) 62%, transparent) 90px, color-mix(in srgb, var(--paper) 80%, transparent) 100%);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  -webkit-mask-image: linear-gradient(transparent, #000 90px); mask-image: linear-gradient(transparent, #000 90px); }
.wall .plan { background: color-mix(in srgb, var(--paper) 70%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wall .plan:has(input:checked) { background: color-mix(in srgb, var(--lime) 82%, transparent); }
.wall .pay__h { text-shadow: 0 1px 12px var(--paper); }
@media (max-width: 560px) {
  .wall .pay { margin-top: -176px; padding-top: 52px; }
  .wall .pay::before { inset: 0 -20px -30px; }
}
/* plus transparent : on devine les résultats sous l'offre */
.wall .pay::before { inset: 0 -44px 0;
  background: linear-gradient(180deg, transparent 0, color-mix(in srgb, var(--paper) 34%, transparent) 90px, color-mix(in srgb, var(--paper) 58%, transparent) 100%);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.wall .plan { background: color-mix(in srgb, var(--paper) 62%, transparent); }
.wall .funnel__again { position: relative; z-index: 3; }
@media (max-width: 560px) { .wall .pay::before { inset: 0 -20px 0; } }

/* ───────── Offres suivantes : même verre transparent sur les résultats floutés ───────── */
.wall--glass { position: relative; isolation: isolate; align-content: center; }
.wall--glass > .hits--bg { position: absolute; z-index: -2; left: 0; right: 0; top: -6px; margin: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 40%, transparent 95%); mask-image: linear-gradient(#000 40%, transparent 95%); }
.hits--bg .hit { animation: none; }
/* le voile de verre, sur toute la fenêtre */
.wall--glass::before { content: ""; position: absolute; z-index: -1; inset: -44px -44px -36px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--paper) 46%, transparent), color-mix(in srgb, var(--paper) 70%, transparent) 55%, var(--paper));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.wall--glass .funnel__h { text-shadow: 0 1px 14px var(--paper); }
.wall--glass .plan { background: color-mix(in srgb, var(--paper) 66%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wall--glass .plan:has(input:checked), .wall--glass .plan--solo { background: color-mix(in srgb, var(--lime) 84%, transparent); }
.wall--glass .timer__box b { background: color-mix(in srgb, var(--lime) 84%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.wall--glass .funnel__again { position: relative; z-index: 1; }
.pay--packs .plan { padding-block: 13px; }
@media (max-width: 560px) {
  .wall--glass::before { inset: -34px -20px -24px; }
  .wall--glass > .hits--bg { top: -4px; }
  .pay--packs .plan { padding-block: 11px; }
}

/* petits écrans en hauteur (portables 13", fenêtres réduites) : tout reste visible sans défiler */
@media (max-height: 820px) and (min-width: 561px) {
  .funnel { padding: 30px 40px 22px; }
  .funnel__step { gap: 8px; }
  .funnel__h { font-size: clamp(1.5rem, 4vw, 2rem); }
  .wall__head .funnel__thumb { width: 54px; height: 54px; }
  .hit__pic { aspect-ratio: 16 / 10; }
  .wall .pay { margin-top: -228px; padding-top: 56px; }
  .plan { padding: 11px 16px; }
  .pay .btn--wide, .funnel__unlock .btn--wide { min-height: 52px; font-size: 1.05rem; }
  .pay__legal { font-size: .74rem; }
  .timer__box b { height: 62px; font-size: 2.5rem; min-width: 80px; }
  .timer > i { line-height: 62px; }
  .scanzone { --S: 300px; --C: 52px; --G: 12px; }
}
@media (max-height: 680px) and (max-width: 560px) {
  .funnel { padding-top: 26px; padding-bottom: 16px; }
  .funnel__h { font-size: 1.3rem; }
  .plan { padding-block: 9px; }
  .pay .btn--wide { min-height: 48px; }
  .pay__methods, .pay__legal { font-size: .74rem; }
}
/* le voile s'arrête aux bords de la fenêtre : jamais de défilement horizontal */
.funnel { overflow-x: hidden; overflow-y: auto; }
.wall--glass::before { inset: -60px -60px -40px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--paper) 26%, transparent), color-mix(in srgb, var(--paper) 52%, transparent) 50%, color-mix(in srgb, var(--paper) 86%, transparent)); }
.wall .pay::before { left: -60px; right: -60px; }
@media (max-height: 820px) and (min-width: 561px) {
  .hit__pic { aspect-ratio: 2 / 1; }
  .wall .pay { margin-top: -206px; }
}
/* le voile ne doit pas allonger la fenêtre vers le bas */
.wall--glass::before { bottom: 0; }
/* voile sans arête visible en bas */
.wall--glass::before { background: linear-gradient(180deg, color-mix(in srgb, var(--paper) 26%, transparent), color-mix(in srgb, var(--paper) 52%, transparent) 45%, var(--paper) 92%); }
/* petits téléphones (iPhone SE…) */
@media (max-height: 700px) and (max-width: 560px) {
  .hit__pic { aspect-ratio: 4 / 3; }
  .wall__head .funnel__thumb { width: 44px; height: 44px; }
  .wall .pay { margin-top: -66px; padding-top: 44px; }
  .wall .pay__sub { display: none; }
}
/* la croix reste toujours au-dessus du voile */
.funnel__x { z-index: 5; }
/* contenu centré verticalement dans la fenêtre */
.funnel[open] { display: grid; align-content: center; }
.pay__check { text-align: left; max-width: 36ch; margin-inline: auto; }
@media (max-height: 700px) and (max-width: 560px) {
  .wall .hits li:nth-child(n+9) { display: none; }
}
/* sur téléphone, les offres suivantes prennent la hauteur de leur contenu : centrées, sans vide en bas */
@media (max-width: 560px) {
  .funnel:has(.wall--glass:not([hidden])) { min-height: 0; }
}
/* les confettis ne doivent jamais allonger la fenêtre */
.confetti { height: auto; bottom: 0; }
@media (max-width: 560px) {
  .confetti { inset: -34px -20px 0; }
  /* le titre ne passe pas sous la croix */
  .wall--glass { padding-top: 22px; }
}
.funnel[open] { grid-template-columns: minmax(0, 1fr); }

/* ───────── Quiz pendant la fouille ───────── */
.funnel__step.is-quiz .scan__stats { display: none; }
.funnel__step.is-quiz .scanzone { --S: 250px; --C: 46px; --G: 10px; margin: 4px 0 2px; }
.quiz { display: grid; gap: 8px; width: 100%; max-width: 440px; animation: hit-in .4s cubic-bezier(.2, .8, .2, 1) both; }
.quiz[hidden] { display: none; }
.quiz__q { font-family: var(--display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
.quiz__opts { display: grid; gap: 8px; }
.quiz__opt { width: 100%; min-height: 48px; padding: 11px 16px; font: inherit; font-size: 1rem; font-weight: 600; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; animation: hit-in .35s cubic-bezier(.2, .8, .2, 1) both; }
.quiz__opt:nth-child(2) { animation-delay: .05s; } .quiz__opt:nth-child(3) { animation-delay: .1s; } .quiz__opt:nth-child(4) { animation-delay: .15s; }
.quiz__opt:hover { border-color: var(--coral); background: var(--lime); }
.quiz__opt:active { transform: scale(.98); }
.quiz__opt:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.quiz__skip { justify-self: center; padding: 6px 10px; font: inherit; font-size: .86rem; color: var(--muted); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.quiz--done .quiz__q { font-size: 1.05rem; color: var(--accent-deep); }
@media (max-width: 560px) {
  .funnel__step.is-quiz .scanzone { --S: min(190px, 50vw); --C: 28px; --G: 5px; }
  .quiz__q { font-size: 1.15rem; }
  .quiz__opt { min-height: 44px; padding: 9px 12px; font-size: .95rem; }
}

/* ───────── Rapport prêt ───────── */
.ready { gap: 12px; }
.ready__sub { width: 100%; margin-top: -4px; text-align: left; color: var(--muted); font-size: .95rem; }
.ready__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; margin: 0; padding: 0; list-style: none; }
.ready__row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-sm);
  animation: hit-in .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 110ms + 120ms); }
.ready__row .hit__net { position: static; width: 34px; height: 34px; box-shadow: none; }
.ready__txt { display: grid; gap: 1px; min-width: 0; }
.ready__txt b { font-size: .98rem; font-weight: 600; }
.ready__txt small { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .78rem; color: var(--muted); }
.ready__badge { padding: 3px 9px; font-style: normal; font-family: var(--mono); font-size: .68rem; font-weight: 700; white-space: nowrap; color: var(--accent-deep); background: var(--lime); border: 1px solid color-mix(in srgb, var(--coral) 45%, transparent); border-radius: 99px; }
.ready .btn--wide { margin-top: 4px; min-height: 56px; font-size: 1.08rem; }
@media (max-width: 560px) {
  .ready__list { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ready__row { padding: 7px 10px; grid-template-columns: 28px minmax(0, 1fr) auto; }
  .ready__row .hit__net { width: 28px; height: 28px; }
}
@media (max-height: 700px) and (max-width: 560px) {
  .ready__txt small { display: none; }
  .ready__row { padding: 6px 10px; }
}
@media (prefers-reduced-motion: reduce) { .ready__row, .quiz, .quiz__opt { animation: none; } }

/* ───────── Paywall : note personnalisée, annuel recadré, réassurance ───────── */
.pay__note { max-width: 46ch; margin: 0 auto; padding: 7px 12px; font-size: .86rem; font-weight: 600; line-height: 1.35; color: var(--accent-deep); background: color-mix(in srgb, var(--lime) 88%, transparent); border: 1px solid color-mix(in srgb, var(--coral) 40%, transparent); border-radius: 12px; }
.pay__note[hidden] { display: none; }
.plan__save { display: inline-block; margin-left: 6px; padding: 1px 7px; font-style: normal; font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .02em; vertical-align: 2px; color: var(--on-accent); background: var(--coral); border-radius: 99px; }
.pay__trust { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.pay__trust svg { flex: none; width: 14px; height: 14px; color: var(--accent-deep); }
@media (max-width: 560px) { .pay__trust { font-size: .8rem; } .pay__note { font-size: .8rem; } }
/* paywall sur téléphone : le titre personnalisé peut être long, on gagne de la place */
@media (max-width: 560px) {
  .wall .pay__h { font-size: 1.3rem; text-wrap: balance; }
  .wall .pay__methods { display: none; }
}
@media (max-height: 700px) and (max-width: 560px) {
  .funnel__step.is-quiz .scanzone { --S: min(150px, 40vw); --C: 24px; --G: 4px; }
  .funnel__step.is-quiz .funnel__status { display: none; }
  .quiz__opt { min-height: 40px; padding: 7px 12px; }
  .wall .pay__note { padding: 5px 10px; }
}
@media (max-height: 820px) and (min-width: 561px) {
  .funnel__step.is-quiz .scanzone { --S: 210px; --C: 40px; }
  .ready__row { padding: 7px 12px; }
}
@media (max-height: 820px) and (min-width: 561px) {
  .quiz__opt { min-height: 42px; padding-block: 8px; }
  .quiz { gap: 6px; }
}

/* ───────── Paywall épuré : un titre, deux formules, un bouton ───────── */
.wall__title { text-wrap: balance; }
.wall__title em { font-style: normal; color: var(--accent-deep); }
.wall .pay { gap: 10px; }
.wall .pay .btn--wide { min-height: 60px; font-size: 1.15rem; box-shadow: 0 10px 28px -10px rgba(228, 162, 7, .7); }
.wall .pay__legal { font-size: .76rem; }
@media (max-width: 560px) {
  .wall .pay .btn--wide { min-height: 56px; font-size: 1.05rem; }
}
/* voile du paywall : se fond dans le bas de la fenêtre, sans arête */
.wall .pay::before { background: linear-gradient(180deg, transparent 0, color-mix(in srgb, var(--paper) 40%, transparent) 90px, var(--paper) 100%); }
@media (max-width: 560px) {
  .funnel:has(.wall:not([hidden])) { min-height: 0; }
}

/* ───────── Mode focus : la photo est posée, il ne reste que la loupe et un bouton ───────── */
.focus-veil { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0; visibility: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(228, 162, 7, .34), rgba(228, 162, 7, 0) 38%),
    radial-gradient(ellipse at 50% 50%, rgba(36, 28, 20, .82), rgba(18, 14, 10, .94) 70%);
  -webkit-backdrop-filter: blur(10px) saturate(.8); backdrop-filter: blur(10px) saturate(.8);
  transition: opacity .55s ease, visibility 0s linear .55s; }
.is-focus .focus-veil { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .55s ease; }
.is-focus, .is-focus body { overflow: hidden; }

/* la scène passe au-dessus du voile et glisse au centre */
.stage { transition: transform .85s cubic-bezier(.2, .9, .25, 1.04); will-change: transform; }
.is-focus .stage { z-index: 71; }
.is-focus .caption { opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.caption { transition: opacity .35s .3s; }

/* la loupe s'illumine */
.is-focus .lens { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 0 0 10px rgba(228, 162, 7, .16), 0 0 90px 24px rgba(228, 162, 7, .38); animation: focus-glow 2.8s ease-in-out .9s infinite; }
@keyframes focus-glow { 50% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 0 0 16px rgba(228, 162, 7, .1), 0 0 120px 34px rgba(228, 162, 7, .5); } }
.is-focus .orbit__ring { border-color: rgba(255, 255, 255, .14); }
.is-focus .orbit__chip { box-shadow: 0 6px 22px -6px rgba(0, 0, 0, .6); }

/* le viseur se verrouille sur le verre */
.loupe::after { content: ""; position: absolute; inset: -22px; z-index: 4; pointer-events: none; opacity: 0; transform: scale(1.35) rotate(8deg);
  --c: var(--coral); --k: 34px; --w: 4px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--k) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) top left / var(--w) var(--k) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--k) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) top right / var(--w) var(--k) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--k) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--k) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--k) var(--w) no-repeat, linear-gradient(var(--c), var(--c)) bottom right / var(--w) var(--k) no-repeat;
  filter: drop-shadow(0 0 8px rgba(228, 162, 7, .8));
  transition: opacity .2s, transform .2s; }
.is-focus .stage[data-state="preview"] .loupe::after { animation: finder-lock .7s cubic-bezier(.2, .9, .3, 1.2) .45s both, finder-breathe 2.4s ease-in-out 1.3s infinite; }
@keyframes finder-lock { 0% { opacity: 0; transform: scale(1.35) rotate(8deg); } 70% { opacity: 1; } 100% { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes finder-breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .75; transform: scale(1.025); } }

/* titre en haut, bouton en bas */
.focus-ui { position: fixed; inset: 0; z-index: 72; display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding: max(28px, env(safe-area-inset-top)) 20px max(28px, env(safe-area-inset-bottom)); pointer-events: none; visibility: hidden; }
.is-focus .focus-ui { visibility: visible; }
.focus-ui__head { display: grid; justify-items: center; gap: 6px; text-align: center; opacity: 0; transform: translateY(-14px); transition: opacity .35s, transform .35s; }
.focus-ui__title { margin: 0; font-family: var(--display); font-size: clamp(1.7rem, 4.4vw, 2.6rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; color: #fff; }
.focus-ui__hint { margin: 0; font-size: .98rem; color: rgba(255, 255, 255, .62); }
.focus-ui__foot { display: grid; justify-items: center; width: 100%; opacity: 0; transform: translateY(26px); transition: opacity .35s, transform .35s; }
.is-focus .focus-ui__head { opacity: 1; transform: none; transition: opacity .5s .35s, transform .6s cubic-bezier(.2, .9, .3, 1.1) .35s; }
.is-focus .focus-ui__foot { opacity: 1; transform: none; transition: opacity .5s .55s, transform .7s cubic-bezier(.2, .9, .3, 1.15) .55s; }
.is-focus .stage[data-state="loading"] ~ * .focus-ui__foot { opacity: 0; }

.focus-ui__go { position: relative; overflow: hidden; pointer-events: auto; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: min(420px, 100%); min-height: 66px; padding: 0 30px; font: inherit; font-family: var(--display); font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em;
  color: var(--on-accent); background: linear-gradient(180deg, #F2B935, var(--coral)); border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 14px 40px -10px rgba(228, 162, 7, .85), 0 0 0 0 rgba(228, 162, 7, .5);
  transition: transform .2s cubic-bezier(.3, 1.5, .5, 1), box-shadow .2s; }
.focus-ui__go svg { width: 22px; height: 22px; flex: none; }
.focus-ui__go:hover { transform: translateY(-2px) scale(1.02); }
.focus-ui__go:active { transform: scale(.97); }
.focus-ui__go:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
/* reflet qui balaie le bouton, et onde qui pulse autour */
.focus-ui__go::before { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); }
.is-focus .focus-ui__go::before { animation: go-shine 3.2s ease-in-out 1.4s infinite; }
.is-focus .focus-ui__go { animation: go-pulse 2.2s ease-out 1.3s infinite; }
@keyframes go-shine { 0% { left: -40%; } 45%, 100% { left: 130%; } }
@keyframes go-pulse { 0% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 14px 40px -10px rgba(228, 162, 7, .85), 0 0 0 0 rgba(228, 162, 7, .55); }
  100% { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 14px 40px -10px rgba(228, 162, 7, .85), 0 0 0 22px rgba(228, 162, 7, 0); } }

/* le bouton × de la loupe reste lisible sur le fond sombre */
.is-focus .lens__x { z-index: 6; box-shadow: 0 4px 18px rgba(0, 0, 0, .5); }

@media (max-width: 560px) {
  .focus-ui { padding-top: max(22px, env(safe-area-inset-top)); padding-bottom: max(22px, env(safe-area-inset-bottom)); }
  .focus-ui__hint { font-size: .9rem; }
  .focus-ui__go { min-height: 60px; font-size: 1.12rem; }
  .loupe::after { inset: -16px; --k: 26px; --w: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .stage { transition: none; }
  .is-focus .lens, .is-focus .focus-ui__go, .is-focus .focus-ui__go::before, .is-focus .stage[data-state="preview"] .loupe::after { animation: none; }
  .is-focus .stage[data-state="preview"] .loupe::after { opacity: 1; transform: none; }
}

/* ───────── Parcours sur place : le scan, la fouille et les résultats restent dans la scène sombre ───────── */
/* la loupe ne bouge plus pendant l'analyse : le maillage doit rester pile sur le visage */
.is-focus .stage[data-state="loading"] .loupe { animation: none; }
.is-focus .stage[data-state="loading"] .lens__img { animation: none; }
.is-focus .lens__scan { display: none !important; }

/* maillage et ligne de scan, dans le verre */
.lens__mesh { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; transition: opacity .4s; }
.lens__mesh polyline { fill: none; stroke: var(--coral); stroke-width: .42; stroke-linejoin: round; opacity: 0; transition: opacity .35s; filter: drop-shadow(0 0 .8px rgba(228, 162, 7, .9)); }
.lens__mesh circle { r: .8px; fill: #fff; stroke: var(--coral); stroke-width: .3; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: opacity .2s, transform .3s cubic-bezier(.3, 1.8, .5, 1); }
.lens__mesh .on { opacity: 1; transform: none; }
[data-phase="web"] .lens__mesh, [data-phase="done"] .lens__mesh { opacity: .85; }
.lens__beam { position: absolute; left: 0; right: 0; top: 0; z-index: 3; height: 2px; pointer-events: none; opacity: 0; background: #FFD66B; box-shadow: 0 0 14px 4px rgba(228, 162, 7, .85); transition: opacity .3s; }
.lens__beam::before { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 70px; background: linear-gradient(180deg, rgba(228, 162, 7, 0), rgba(228, 162, 7, .28)); }
[data-phase="face"] .lens__beam { opacity: 1; }

/* en haut : l'indication de cadrage laisse place au récit de l'analyse */
.focus-ui__status { display: none; margin: 0; min-height: 1.4em; font-size: .98rem; color: rgba(255, 255, 255, .72); }
html:not([data-phase="frame"]) .focus-ui__hint { display: none; }
html:not([data-phase="frame"]) .focus-ui__status { display: block; }
[data-phase="noface"] .focus-ui__title { color: #FFD66B; }

/* en bas : bouton → compteurs → résultats, au même endroit */
.focus-ui__foot { display: grid; justify-items: center; }
.focus-ui__foot > * { grid-area: 1 / 1; }
.focus-ui__go { transition: transform .2s cubic-bezier(.3, 1.5, .5, 1), box-shadow .2s, opacity .3s, visibility 0s; }
html:not([data-phase="frame"]):not([data-phase="noface"]) #focusGo { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(.55); animation: none;
  transition: transform .38s cubic-bezier(.55, -.6, .75, 1), opacity .25s .12s, visibility 0s .4s; }
.focus-ui__go--results { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(18px) scale(.9); }
.is-focus[data-phase="done"] .focus-ui__go--results { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .4s .2s, transform .5s cubic-bezier(.2, .9, .3, 1.2) .2s; }
.focus-ui__scan { display: grid; gap: 14px; width: min(440px, 100%); opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .3s, transform .3s, visibility 0s .3s; }
[data-phase="face"] .focus-ui__scan, [data-phase="web"] .focus-ui__scan { opacity: 1; visibility: visible; transform: none; transition: opacity .45s .3s, transform .55s cubic-bezier(.2, .9, .3, 1.15) .3s; }
.focus-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 12px 6px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.focus-stats div { display: grid; gap: 2px; text-align: center; }
.focus-stats div + div { border-left: 1px solid rgba(255, 255, 255, .12); }
.focus-stats dt { font-family: var(--mono); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.focus-stats dd { margin: 0; font-family: var(--display); font-size: 1.9rem; font-weight: 700; line-height: 1.05; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.focus-bar { height: 4px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, .14); }
.focus-bar i { display: block; width: 0; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #F2B935, var(--coral)); box-shadow: 0 0 12px rgba(228, 162, 7, .9); }

@media (max-width: 560px) {
  .focus-stats dd { font-size: 1.55rem; }
  .focus-stats { padding: 10px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .lens__mesh circle, .focus-ui__scan, .focus-ui__go--results { transition: none; }
}
/* la croix reste là pendant l'analyse et sur les résultats : on peut toujours recommencer */
.is-focus .stage[data-state="loading"] .lens__x, .is-focus .stage[data-state="results"] .lens__x { display: grid; }

/* ───────── Fouille : l'anneau des réseaux autour du verre (comme avant) ───────── */
.lensweb { --C: 52px; --G: 16px; --R: calc(var(--LW, 380px) / 2 + var(--C) / 2 + var(--G)); z-index: 0; inset: 0; border-radius: 50%; }
.loupe .lens { z-index: 1; }
.lensweb .web__chip { opacity: 0; scale: .3; }
[data-phase="web"] .lensweb .web__chip, [data-phase="done"] .lensweb .web__chip { opacity: .45; scale: 1; }
[data-phase="web"] .lensweb .web__chip.is-search { opacity: 1; scale: 1.25; filter: none; transition-delay: 0s; box-shadow: 0 0 0 3px var(--coral), 0 0 26px 8px rgba(228, 162, 7, .65); }
[data-phase="web"] .lensweb .web__chip.is-done, [data-phase="done"] .lensweb .web__chip { opacity: 1; filter: none; transition-delay: 0s; }
[data-phase="done"] .lensweb .web__chip::after { scale: 1; }
.lensweb .web__chip::after { border-color: #1A1510; }
[data-phase="web"] .lensweb .web__beam { opacity: 1; }
.lensweb .web__beam { background: conic-gradient(from -18deg, rgba(228, 162, 7, 0), rgba(228, 162, 7, .5) 18deg, rgba(228, 162, 7, 0) 36deg, transparent 36deg); }
@media (max-width: 560px) { .lensweb { --C: 36px; --G: 8px; } }

/* éclair sur la loupe quand le visage est cartographié */
.is-focus .stage.is-flash .lens { animation: lens-flash .7s ease-out; }
@keyframes lens-flash { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .9), 0 0 0 0 rgba(255, 214, 107, .9); } 40% { box-shadow: 0 0 0 14px rgba(255, 255, 255, .25), 0 0 120px 40px rgba(255, 214, 107, .8); } 100% { box-shadow: 0 0 0 10px rgba(228, 162, 7, .16), 0 0 90px 24px rgba(228, 162, 7, .38); } }
/* les compteurs sautent à chaque nouveau chiffre */
.focus-stats dd.tick { animation: tick .32s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes tick { 0% { transform: scale(1.35); color: #FFD66B; } 100% { transform: none; } }
[data-phase="done"] .focus-ui__title { color: #FFD66B; text-shadow: 0 0 24px rgba(228, 162, 7, .6); }

/* ───────── Bouton retour en haut à gauche (plus de « × », confondu avec le logo X) ───────── */
.is-focus .lens__x { display: none !important; }
.focus-ui__back { position: absolute; left: max(16px, env(safe-area-inset-left)); top: max(18px, env(safe-area-inset-top)); display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 10px;
  font: inherit; font-size: .92rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px; cursor: pointer; pointer-events: auto;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .3s, background .15s; }
.focus-ui__back svg, .funnel__back svg { width: 18px; height: 18px; flex: none; }
.focus-ui__back:hover { background: rgba(255, 255, 255, .16); }
.is-focus .focus-ui__back { opacity: 1; transform: none; transition: opacity .4s .3s, transform .4s .3s, background .15s; }
@media (max-width: 560px) { .focus-ui__head { padding-top: 46px; } .focus-ui__back span { display: none; } .focus-ui__back { width: 40px; padding: 0; justify-content: center; } }

/* ───────── Paywall plein écran, clair et rassurant : la lumière revient ───────── */
.funnel, .funnel[open] {
  width: 100vw; max-width: none; height: 100dvh; max-height: none; min-height: 0; margin: 0; padding: 76px 20px 36px;
  border: 0; border-radius: 0; box-shadow: none;
  background: var(--paper) radial-gradient(ellipse 80% 55% at 50% -5%, rgba(228, 162, 7, .16), rgba(228, 162, 7, 0) 70%);
  display: none; }
.funnel[open] { display: flex; flex-direction: column; align-items: center; animation: paywall-in .85s cubic-bezier(.7, 0, .2, 1) both; }
.funnel::backdrop { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
@keyframes paywall-in { from { clip-path: circle(0% at 50% 46%); } to { clip-path: circle(150% at 50% 46%); } }
.funnel .funnel__step:not([hidden]) { width: 100%; max-width: 580px; margin-block: auto; min-height: 0; }
/* le contenu arrive en cascade, une fois la lumière revenue */
.funnel[open] .funnel__step:not([hidden]) > :not(.hits--bg) { animation: rise .6s cubic-bezier(.2, .9, .3, 1.1) both; }
.funnel[open] .funnel__step:not([hidden]) > :nth-child(1) { animation-delay: .3s; }
.funnel[open] .funnel__step:not([hidden]) > :nth-child(2) { animation-delay: .38s; }
.funnel[open] .funnel__step:not([hidden]) > :nth-child(3) { animation-delay: .46s; }
.funnel[open] .funnel__step:not([hidden]) > :nth-child(4) { animation-delay: .54s; }
.funnel[open] .funnel__step:not([hidden]) > :nth-child(n+5) { animation-delay: .62s; }
.funnel[open] .hit { animation-delay: calc(var(--i) * 55ms + .4s); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
/* bouton retour, en haut à gauche de l'écran */
.funnel__back { position: absolute; left: max(16px, env(safe-area-inset-left)); right: auto; top: max(18px, env(safe-area-inset-top)); z-index: 6; display: inline-flex; align-items: center; gap: 6px;
  width: auto; height: 40px; padding: 0 14px 0 10px; font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 99px; box-shadow: var(--sh-sm); }
.funnel__back:hover { background: var(--lime); color: var(--ink); }
/* une ligne rassurante sous le bouton, avec un cadenas */
.pay__legal::before { content: ""; display: inline-block; width: 11px; height: 12px; margin-right: 6px; vertical-align: -1px;
  background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Crect x=%225.5%22 y=%2211%22 width=%2213%22 height=%229%22 rx=%222.5%22 fill=%22%239A6B04%22/%3E%3Cpath d=%22M8.5 11V8.5a3.5 3.5 0 0 1 7 0V11%22 fill=%22none%22 stroke=%22%239A6B04%22 stroke-width=%222.4%22 stroke-linecap=%22round%22/%3E%3C/svg%3E") center / contain no-repeat; }
.wall__head { grid-template-areas: "pic title"; padding-right: 0; }
.wall__head .funnel__h { font-size: clamp(1.45rem, 4.4vw, 2rem); }
@media (max-width: 560px) {
  .funnel, .funnel[open] { padding: 70px 16px 24px; }
}
@media (max-height: 820px) and (min-width: 561px) {
  .funnel, .funnel[open] { padding-top: 64px; padding-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .funnel[open], .funnel[open] .funnel__step:not([hidden]) > * { animation: none; }
}

/* ───────── Pages-guides (SEO) : même DA, un article lisible sous la loupe ───────── */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.page-guide .hero__title { font-size: clamp(2.6rem, 6.4vw, 5rem); }
.guide-lede { max-width: 34ch; margin: 18px 0 0; font-size: 1.12rem; line-height: 1.5; color: var(--muted); }

.guide__in { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.guide h2 { margin: 56px 0 14px; font-family: var(--display); font-size: clamp(1.55rem, 4vw, 2.15rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.guide__in > h2:first-child { margin-top: 0; }
.guide p { margin: 0 0 14px; font-size: 1.08rem; line-height: 1.65; color: var(--ink); }
.guide a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

.guide__signs, .guide__nope { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.guide__signs li, .guide__nope li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: start; gap: 12px; padding: 14px 16px; font-size: 1.02rem; line-height: 1.5;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-sm); }
.guide__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--accent-deep); background: var(--lime); }
.guide__ico svg { width: 17px; height: 17px; }
.guide__nope .guide__ico { color: var(--ink); background: var(--cream2, rgba(28, 23, 18, .06)); }

.guide__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: step; }
.guide__steps li { position: relative; padding: 52px 18px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-sm); counter-increment: step; }
.guide__steps li::before { content: "0" counter(step); position: absolute; left: 18px; top: 16px; font-family: var(--mono); font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  color: var(--accent-deep); background: var(--lime); padding: 3px 9px; border-radius: 99px; }
.guide__steps h3 { margin: 0 0 6px; font-family: var(--display); font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.guide__steps p { margin: 0; font-size: .98rem; line-height: 1.55; color: var(--muted); }

.guide__callout { margin: 48px 0 0; padding: 22px 24px; background: var(--lime); border: 1px solid color-mix(in srgb, var(--coral) 45%, transparent); border-radius: 18px; }
.guide__callout h2 { margin: 0 0 8px; font-size: 1.35rem; }
.guide__callout p { margin: 0; }

.guide__table { margin: 18px 0 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: var(--sh-sm); }
.guide__table table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.guide__table th, .guide__table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.45; }
.guide__table tr:last-child th, .guide__table tr:last-child td { border-bottom: 0; }
.guide__table thead th { font-family: var(--mono); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--cream, rgba(28, 23, 18, .03)); }
.guide__table tbody th { font-weight: 600; }
.guide__table td:last-child { font-weight: 600; color: var(--accent-deep); }

.guide-more__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 22px 0 0; padding: 0; list-style: none; }
.guide-card { position: relative; display: grid; gap: 6px; height: 100%; padding: 20px 44px 20px 20px; color: var(--ink); text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-sm);
  transition: transform .2s, border-color .2s, box-shadow .2s; }
.guide-card b { font-family: var(--display); font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.2; }
.guide-card span { font-size: .95rem; line-height: 1.45; color: var(--muted); }
.guide-card i { position: absolute; right: 18px; top: 20px; font-style: normal; font-weight: 700; color: var(--accent-deep); transition: transform .2s; }
.guide-card:hover { transform: translateY(-3px); border-color: var(--coral); box-shadow: var(--sh-md); }
.guide-card:hover i { transform: translateX(3px); }

.footer__guides { margin-top: -6px; }
.footer__guides a[aria-current] { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 860px) {
  .guide__steps, .guide-more__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .guide-lede { font-size: 1.02rem; }
  .guide h2 { margin-top: 44px; }
  .guide p { font-size: 1.02rem; }
  .guide__signs li, .guide__nope li { padding: 12px 14px; font-size: .98rem; }
  .guide__table th, .guide__table td { padding: 12px; font-size: .92rem; }
}

/* fouille : le verre recule d'un poil pour laisser la vedette à l'anneau des réseaux */
.is-focus .lens, .is-focus .lens__prog, .is-focus .loupe__handle { transition: transform .65s cubic-bezier(.3, 1.45, .5, 1); }
[data-phase="web"] .lens, [data-phase="done"] .lens { transform: scale(.93); }
[data-phase="web"] .lens__prog, [data-phase="done"] .lens__prog { transform: rotate(-90deg) scale(.93); }
/* le manche suit le bord du verre */
[data-phase="web"] .loupe__handle, [data-phase="done"] .loupe__handle { transform: translate(calc(var(--LW, 380px) * -.023), calc(var(--LW, 380px) * -.022)) rotate(-45deg) scale(.93); }
@media (prefers-reduced-motion: reduce) { .is-focus .lens, .is-focus .lens__prog, .is-focus .loupe__handle { transition: none; } }

/* entre deux offres : une transition très courte, pour ne perdre personne */
.funnel[open]:not(.is-entering) .funnel__step:not([hidden]) > :not(.hits--bg) { animation: step-in .2s cubic-bezier(.2, .9, .3, 1) both; animation-delay: 0s; }
.funnel[open]:not(.is-entering) .hit { animation-delay: 0s; animation-duration: .2s; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .funnel[open]:not(.is-entering) .funnel__step:not([hidden]) > * { animation: none; } }

/* ces titres sont devenus du texte simple (Google ne lit plus que la vraie structure) : même police qu'avant */
.cap__h, .dossier__h, .dossier__sub, .funnel__h, .focus-ui__title { font-family: var(--display); }

/* « Comment ça marche » sur téléphone et tablette : les 3 étapes en carrousel qu'on fait glisser */
@media (max-width: 900px) {
  .hiw { display: flex; gap: 12px; max-width: none; margin-inline: calc(50% - 50vw); padding: 4px calc(50vw - 50%) 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: calc(50vw - 50%); overscroll-behavior-x: contain;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hiw::-webkit-scrollbar { display: none; }
  .hiw__card { flex: 0 0 min(84%, 380px); scroll-snap-align: center; padding: 6px 18px 22px; }
  .hiw__visual { height: 196px; }
  .hiw__portrait { width: 148px; height: 148px; }
  .hiw__ring { width: 180px; height: 180px; --R: 90px; }
  .hiw__center { width: 78px; height: 78px; }
  .hiw__chip { width: 30px; height: 30px; margin: -15px; }
  .hiw__rows { gap: 8px; }
  .hiw__rows li { padding: 8px 12px 8px 10px; }
  #comment .hiw__head { margin-bottom: 24px; }
}
/* les points sous le carrousel : où on en est, et on peut toucher pour aller à une étape */
.hiw-dots { display: none; }
@media (max-width: 900px) {
  .hiw-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .hiw-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--line-2); cursor: pointer; transition: width .25s, background .25s; }
  .hiw-dots button[aria-current="true"] { width: 24px; background: var(--coral); }
  .hiw-dots button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
}

/* liens vers les guides dans les réponses de la FAQ */
.qa__a a { color: var(--accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.qa__a a:hover { color: var(--ink); }

/* entre deux offres : un vrai petit glissement, perceptible mais court (≈ 0,45 s au total) */
.funnel[open]:not(.is-entering) .funnel__step:not([hidden]) > :not(.hits--bg) { animation: step-slide .34s cubic-bezier(.2, .9, .3, 1.05) both; }
.funnel[open]:not(.is-entering) .funnel__step:not([hidden]) > :nth-child(2) { animation-delay: 0s; }
.funnel[open]:not(.is-entering) .funnel__step:not([hidden]) > :nth-child(3) { animation-delay: .04s; }
.funnel[open]:not(.is-entering) .funnel__step:not([hidden]) > :nth-child(4) { animation-delay: .07s; }
.funnel[open]:not(.is-entering) .funnel__step:not([hidden]) > :nth-child(n+5) { animation-delay: .1s; }
.funnel[open]:not(.is-entering) .funnel__step:not([hidden]) > .hits--bg { animation: step-fade .3s ease both; }
@keyframes step-slide { from { opacity: 0; transform: translateX(34px) scale(.98); } }
@keyframes step-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .funnel[open]:not(.is-entering) .funnel__step:not([hidden]) > * { animation: none; } }

/* Apparition des offres : le bloc des formules glisse sans s'estomper en entier.
   Un parent à moitié transparent coupe le flou « verre » : les résultats du dessous restaient nets
   pendant l'animation, puis devenaient flous d'un coup. Seuls les éléments à l'intérieur s'estompent. */
.funnel[open] .funnel__step:not([hidden]) > .pay { animation-name: rise-move; }
.funnel[open]:not(.is-entering) .funnel__step:not([hidden]) > .pay { animation-name: slide-move; }
.funnel[open] .funnel__step:not([hidden]) > .pay > * { animation: kid-fade .5s ease both; animation-delay: inherit; }
.funnel[open]:not(.is-entering) .funnel__step:not([hidden]) > .pay > * { animation-duration: .28s; }
@keyframes rise-move { from { transform: translateY(22px); } }
@keyframes slide-move { from { transform: translateX(34px) scale(.98); } }
@keyframes kid-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .funnel[open] .funnel__step:not([hidden]) > .pay > * { animation: none; } }

/* au toucher et à la souris, pas de contour de focus (il reste visible dès qu'on navigue au clavier) */
html:not(.kbd) :focus-visible { outline: none !important; }
html:not(.kbd) .stage[data-state="idle"]:has(#pickBtn:focus-visible) .lens, html:not(.kbd) .plan:has(input:focus-visible) { outline: none !important; }

/* ───────── Mon compte : lien du menu et fenêtre de connexion ───────── */
.menu__account { font-weight: 600; }
.account { width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 44px 28px 28px; overflow: auto;
  color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 80px -30px rgba(28, 23, 18, .55); }
.account::backdrop { background: rgba(28, 23, 18, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.account[open] { animation: step-in .25s cubic-bezier(.2, .9, .3, 1); }
.account__close { position: absolute; top: 14px; right: 14px; padding: 6px 12px; font: inherit; font-size: .88rem; font-weight: 600; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; }
.account__close:hover { color: var(--ink); background: var(--lime); }
.account__out, .account__in { display: grid; gap: 10px; text-align: center; }
.account__out[hidden], .account__in[hidden] { display: none; }
.account__h { margin: 0; font-family: var(--display); font-size: 1.7rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.account__p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.45; }
.account__form { display: grid; gap: 10px; margin-top: 8px; }
.account__input { width: 100%; min-height: 52px; padding: 0 16px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 14px; }
.account__input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px var(--lime); }
.account__msg { margin: 4px 0 0; padding: 10px 12px; font-size: .92rem; line-height: 1.4; border-radius: 12px; background: var(--lime); color: var(--accent-deep); }
.account__msg[data-tone="err"] { background: rgba(200, 40, 30, .08); color: #9b2018; }
.account__msg[hidden] { display: none; }
.account__stats { display: grid; grid-template-columns: 1fr 1fr; margin: 8px 0; padding: 14px 6px; background: var(--cream, rgba(28, 23, 18, .03)); border: 1px solid var(--line); border-radius: 16px; }
.account__stats div { display: grid; gap: 2px; }
.account__stats div + div { border-left: 1px solid var(--line); }
.account__stats dt { font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.account__stats dd { margin: 0; font-family: var(--display); font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; }

/* ───────── Paiement intégré (Whop) ───────── */
.checkout { gap: 10px; }
.checkout__offer { margin: -2px 0 6px; font-weight: 600; color: var(--accent-deep); }
.checkout__box { position: relative; width: 100%; min-height: 380px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-md); text-align: left; }
.checkout__box[hidden] { display: none; }
.checkout__mount { width: 100%; }
.checkout__mount:empty + .checkout__loading { display: grid; }
.checkout__loading { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 20px; text-align: center; color: var(--muted); font-size: .95rem; pointer-events: none; }
.checkout__loading[hidden] { display: none; }
.checkout__done { display: grid; gap: 10px; width: 100%; padding: 26px 20px; text-align: center; background: var(--lime); border: 1px solid color-mix(in srgb, var(--coral) 45%, transparent); border-radius: 20px; }
.checkout__done[hidden] { display: none; }
.checkout__done-h { margin: 0; font-family: var(--display); font-size: 1.6rem; font-weight: 700; letter-spacing: -.02em; }
.checkout__done-p { margin: 0; color: var(--ink); }
@media (max-width: 560px) { .checkout__box { padding: 8px; border-radius: 16px; } }
/* le formulaire de paiement grandit avec son contenu : l'étape ne doit pas être écrasée à la hauteur de l'écran */
/* toutes les étapes : si le contenu dépasse l'écran (bouton Apple Pay en plus…), il défile au lieu de remonter sous « Retour » */
.funnel .funnel__step:not([hidden]) { flex-shrink: 0; }

/* Apple Pay / Google Pay sous le bouton de l'offre (vide si l'appareil n'en propose aucun) */
.pay__express { width: 100%; }
/* pas de place réservée : le bloc ne prend rien tant que le vrai bouton n'est pas là (pas de saut si aucun bouton ne vient) */
/* bouton pas encore là : le cadre Whop garde sa vraie taille (Whop attend d'être « visible » pour choisir
   Apple Pay / Google Pay), mais reste transparent et ne prend aucune place */
.pay__express:not(.is-reserved):not(.is-ready) { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; pointer-events: none; }
.account__notice { margin: 30px 0 14px; }

/* ───────── Pages légales ───────── */
.page-legal .nav__bar { justify-content: space-between; }
.legal { width: min(100% - 32px, 72ch); margin: 0 auto; padding: 120px 0 64px; color: var(--ink); }
.legal__h1 { margin: 10px 0 4px; font-family: var(--display); font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.legal__date { margin: 0 0 28px; color: var(--muted); font-size: .9rem; }
.legal__sec { padding: 20px 0; border-top: 1px solid var(--line); }
.legal h2 { margin: 0 0 10px; font-size: 1.2rem; letter-spacing: -.01em; }
.legal p, .legal li { line-height: 1.65; color: color-mix(in srgb, var(--ink) 86%, transparent); }
.legal p { margin: 0 0 10px; }
.legal ul { margin: 0 0 10px; padding-left: 1.2em; display: grid; gap: 6px; }
.legal a { color: var(--accent-deep); text-underline-offset: 3px; }
.legal__form { margin: 8px 0 0; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.footer__legal a { font-weight: 400; font-size: .9rem; }
.checkout .pay__legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 480px) { .legal__try { padding-inline: 16px; } .legal__try .btn__arrow { display: none; } }

/* ───────── Vraie recherche : avancement puis résultats ───────── */
.has-access .pay__plans, .has-access .pay__express { display: none; }
.found { gap: 12px; }
.found__head { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; }
.found__thumb { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--coral); background: var(--paper); }
.found__h { margin: 2px 0 0; text-align: left; }
.found .funnel__status { width: 100%; text-align: left; margin: 0; }
.found__bar { width: 100%; height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 10%, transparent); overflow: hidden; }
.found__bar[hidden] { display: none; }
.found__bar i { display: block; height: 100%; width: 3%; border-radius: inherit; background: var(--coral); transition: width .6s ease; }
.found__list { list-style: none; margin: 4px 0 0; padding: 0; width: 100%; display: grid; gap: 8px; }
.found__list:empty { display: none; }
.found__item a { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; text-align: left; transition: border-color .15s, transform .15s; }
.found__item a:hover { border-color: var(--coral); transform: translateY(-1px); }
.found__item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.found__txt { display: grid; gap: 2px; min-width: 0; }
.found__txt b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.found__txt small { color: var(--muted); }
.found__go { font-size: 1.2rem; color: var(--accent-deep); }
.found__item { animation: rise .45s cubic-bezier(.2, .9, .3, 1.1) both; animation-delay: calc(var(--i, 0) * 40ms); }
@media (prefers-reduced-motion: reduce) { .found__item { animation: none; } .found__bar i { transition: none; } }

.found__account { width: 100%; margin: 2px 0 0; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--coral) 12%, var(--paper)); border: 1px solid color-mix(in srgb, var(--coral) 40%, transparent); text-align: left; font-size: .92rem; line-height: 1.45; }
.found__account[hidden] { display: none; }
.found__login { margin-left: 4px; padding: 0; border: 0; background: none; color: var(--accent-deep); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.found__login[hidden] { display: none; }

/* ───────── Espace personnel ───────── */
.page-espace[data-auth="loading"] .espace__out, .page-espace[data-auth="loading"] .espace__in,
.page-espace[data-auth="out"] .espace__in, .page-espace[data-auth="in"] .espace__out { display: none; }
.page-espace[data-auth="out"] .hero, .page-espace[data-auth="loading"] .hero { display: none; }
.page-espace .espace { padding-top: 110px; }
.page-espace:not([data-auth="in"]) .espace { min-height: 80vh; }
.page-espace[data-auth="in"] .hero { padding-top: 24px; }
.espace__wrap { display: grid; gap: 16px; width: min(100% - 32px, 640px); margin: 0 auto; }
.espace__out, .espace__card { padding: 22px 20px; text-align: left; }
.espace__in { display: grid; gap: 16px; }
.espace__lead { margin: 4px 0 14px; color: var(--muted); }
.espace__h { margin: 0; font-size: 1.3rem; letter-spacing: -.01em; }
.espace__form { display: grid; gap: 8px; }
.espace__label { font-weight: 600; font-size: .92rem; margin-top: 4px; }
.espace__link { justify-self: start; padding: 4px 0; border: 0; background: none; color: var(--accent-deep); font: inherit; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.espace__note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }
.espace__who { margin: 0 0 12px; overflow-wrap: anywhere; }
.espace__renew { margin: 10px 0 0; font-size: .9rem; color: var(--muted); }
.espace__renew[hidden] { display: none; }
.espace__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.espace__actions [hidden] { display: none; }
.espace__pw { display: flex; gap: 8px; flex-wrap: wrap; }
.espace__pw .account__input { flex: 1 1 200px; }
.espace__empty { margin: 4px 0 0; color: var(--muted); }
.espace__empty[hidden] { display: none; }
.espace__logout { justify-self: center; }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.history:empty { display: none; }
.history__item { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); overflow: hidden; }
.history__head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.history__head::after { content: "›"; font-size: 1.3rem; color: var(--muted); transition: transform .2s; }
.history__head[aria-expanded="true"]::after { transform: rotate(90deg); }
.history__date { margin-left: auto; color: var(--muted); font-size: .88rem; }
.history__results { padding: 0 10px 10px; }
.history__results[hidden] { display: none; }
.page-espace .dock { display: none; }

/* ───────── Espace personnel, version simple : solde, loupe, historique ───────── */
.page-espace .espace { padding: 0; }
.page-espace .espace--top { padding-top: 16px; }
.page-espace:not([data-auth="in"]) .espace--top { padding: 16px 0 48px; min-height: calc(100vh - 140px); }
.page-espace:not([data-auth="in"]) .espace--after { display: none; }
.page-espace .hero__title { position: absolute !important; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.page-espace[data-auth="in"] .hero { padding-top: 4px; padding-bottom: 8px; }
.espace__sum { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 16px; padding: 16px 18px; }
.espace__credit { display: flex; align-items: baseline; gap: 6px; }
.espace__credit b { font-family: var(--display); font-size: 2.6rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.espace__credit span { color: var(--muted); font-weight: 600; }
.espace__plan { display: grid; justify-items: end; gap: 2px; text-align: right; }
.espace__plan-name { font-weight: 700; }
.espace__plan small { color: var(--muted); font-size: .82rem; }
.espace__plan small[hidden], .espace__plan a[hidden] { display: none; }
.espace__plan a { font-size: .85rem; font-weight: 600; color: var(--accent-deep); text-underline-offset: 3px; }
.espace__hint { grid-column: 1 / -1; margin: 4px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.espace--after { padding-bottom: 56px; }
.espace--after .espace__wrap { gap: 12px; }
.espace__small { margin: 10px 0 0; font-size: .82rem; color: var(--muted); }
.espace__settings { padding: 0; }
.espace__settings > summary { padding: 14px 18px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.espace__settings > summary::-webkit-details-marker { display: none; }
.espace__settings > summary::after { content: "›"; color: var(--muted); transition: transform .2s; }
.espace__settings[open] > summary::after { transform: rotate(90deg); }
.espace__settings > :not(summary) { margin-left: 18px; margin-right: 18px; }
.espace__settings .espace__who { margin-top: 0; font-size: .9rem; color: var(--muted); }
.espace__pw { display: grid; gap: 6px; }
.espace__pw-row { display: flex; gap: 8px; }
.espace__pw-row .account__input { flex: 1; min-width: 0; }
.espace__settings .espace__logout { margin: 12px 18px 16px; }

@media (min-width: 900px) { .page-espace .espace--top { padding-top: 28px; } }
/* place réservée : le bloc de chargement gris reste invisible, seul le vrai bouton apparaît, à sa place */
/* place réservée : le bloc de chargement reste transparent (pas « caché » : Safari redessine mal un cadre qui réapparaît) */
.pay__express.is-reserved:not(.is-ready) > * { opacity: 0; pointer-events: none; }
/* un bouton par offre : seul celui de l'offre choisie se voit, les autres restent prêts dessous */
.pay__express { position: relative; }
.pay__express > .xp:not(.is-active) { position: absolute; left: 0; right: 0; top: 0; opacity: 0 !important; pointer-events: none; }
.pay__express.is-ready > .xp.is-active { opacity: 1; }
/* paywall préparé pendant l'analyse : ouvert mais invisible, au-dessus de rien, sans animation */
.funnel.is-warming { position: fixed; inset: 0; opacity: 0 !important; pointer-events: none !important; animation: none !important; }
.funnel.is-warming * { animation: none !important; transition: none !important; }
/* la mention sous le bouton garde toujours deux lignes : changer d'offre ne fait plus bouger le paywall */
#payLegal { min-height: 2.9em; display: flex; align-items: flex-start; justify-content: center; }

/* espace personnel : retour à l'accueil, toujours visible en haut */
.espace__home { justify-self: start; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px 0 10px; font-size: .92rem; font-weight: 600; color: var(--ink); text-decoration: none;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 99px; box-shadow: var(--sh-sm); }
.espace__home svg { width: 18px; height: 18px; flex: none; }
.espace__home:hover { background: var(--lime); }

/* version anglaise : la dernière ligne du titre passe sur deux lignes ; le trait suit le texte au lieu de toute la largeur */
html[lang="en"] .hero__title .hl { display: inline; background: linear-gradient(var(--coral), var(--coral)) no-repeat left bottom .02em / 100% .09em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
html[lang="en"] .hero__title .hl::before { display: none; }

/* ───── Espace client : loupe en premier, menu compte en haut à droite, recharge en petite fenêtre ───── */
.page-espace[data-auth="in"] .espace--top { display: none; }
.page-espace[data-auth="in"] .hero { padding-top: 20px; }
.page-espace[data-auth="in"] #accountLink { display: none; }
.acct { display: none; position: relative; margin-left: auto; order: 2; }
.page-espace[data-auth="in"] .acct { display: block; }
.page-espace .burger { order: 3; }
@media (min-width: 1081px) { .page-espace .menu { margin-left: auto; } .page-espace[data-auth="in"] .acct { margin-left: 4px; } }
.acct__chip { display: inline-flex; align-items: center; gap: 5px; height: 44px; padding: 0 12px 0 16px; font: inherit; color: var(--ink); background: var(--lime);
  border: 1px solid var(--coral); border-radius: 99px; cursor: pointer; white-space: nowrap; }
.acct__chip b { font-family: var(--display); font-size: 1.15rem; line-height: 1; }
.acct__chip span { font-size: .88rem; font-weight: 600; color: var(--muted); }
.acct__chip svg { width: 16px; height: 16px; transition: transform .2s; }
.acct__chip[aria-expanded="true"] svg { transform: rotate(180deg); }
.acct__chip.is-empty { background: var(--coral); color: var(--on-accent); }
.acct__chip.is-empty span { color: inherit; opacity: .8; }
.acct__menu { position: absolute; right: 0; top: calc(100% + 12px); z-index: 60; width: min(320px, calc(100vw - 32px)); display: grid; gap: 12px; padding: 16px;
  text-align: left; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-md); box-shadow: var(--sh-md); }
.acct__menu[hidden] { display: none; }
.acct__who { margin: 0; font-size: .84rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct__sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--cream2); border-radius: 14px; }
.acct__sum .espace__credit b { font-size: 2.1rem; }
.acct__hint { margin: 0; font-size: .84rem; color: var(--muted); line-height: 1.4; }
.acct__more[hidden] { display: none; }
.acct__more:not(.btn--coral) { background: var(--paper); border: 1px solid var(--line-2); box-shadow: none; }
.acct__links { display: grid; padding-top: 6px; border-top: 1px solid var(--line); }
.acct__links a, .acct__links button { display: block; width: 100%; padding: 10px 2px; font: inherit; font-size: .95rem; font-weight: 600; text-align: left; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; }
.acct__links a:hover, .acct__links button:hover { color: var(--accent-deep); }
#acctLogout { color: var(--muted); }
/* recharge : petite fenêtre au centre (ordinateur), en bas de l'écran (téléphone) */
.shopdlg { width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 18px 18px 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line-2); border-radius: 22px; box-shadow: var(--sh-md); overflow: auto; }
.shopdlg::backdrop { background: rgba(28, 23, 18, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.shopdlg[open] { animation: shopdlg-in .22s var(--spring); }
@keyframes shopdlg-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (max-width: 560px) {
  .shopdlg { margin: auto auto 0; width: 100%; max-width: 100%; border-radius: 22px 22px 0 0; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}
.shopdlg__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.shopdlg__h { margin: 0; font-family: var(--display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.shopdlg__x { flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; color: var(--ink); background: var(--cream2); border: 0; border-radius: 50%; cursor: pointer; }
.shopdlg__x svg { width: 18px; height: 18px; }
.espace__shop { display: grid; gap: 12px; }
.espace__shop .plan[hidden] { display: none; }
.shop__group { padding: 0; margin-bottom: 8px; font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); }
.espace__shop .pay__plans { margin: 0; }
.espace__shop .plan { padding: 13px 16px; }
.shop__packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.shop__pack { position: relative; display: grid; justify-items: center; gap: 1px; padding: 11px 4px; text-align: center; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; transition: border-color .15s, background .15s; }
.shop__pack:hover { border-color: var(--line-2); }
.shop__pack input { position: absolute; opacity: 0; pointer-events: none; }
.shop__pack:has(input:checked) { border-color: var(--coral); background: var(--lime); }
.shop__pack:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.shop__pack b { font-family: var(--display); font-size: 1.35rem; line-height: 1.1; }
.shop__pack small { font-size: .76rem; color: var(--muted); }
.shop__pack em { margin-top: 3px; font-style: normal; font-weight: 700; font-size: .9rem; }
.espace__shop .pay__legal { margin: -4px 0 0; text-align: center; }
/* téléphone et tablette : le menu compte s'aligne sur la barre du haut, la pastille se fait compacte */
@media (max-width: 1080px) {
  .page-espace .nav__bar { gap: 8px; }
  .acct { position: static; }
  .acct__menu { right: 0; }
  .acct__chip { height: 42px; padding: 0 9px 0 13px; gap: 4px; }
}

/* paywall caché mais préparé : dessiné hors de la vue (collé en bas de l'écran, transparent, inerte),
   pour que Whop y prépare déjà Apple Pay / Google Pay ; il ne prend aucune place et ne défile pas */
.funnel .funnel__step[hidden].is-preload { display: grid !important; position: fixed; left: 20px; right: 20px; bottom: 0; top: auto; max-width: 580px; margin: 0 auto;
  opacity: 0 !important; pointer-events: none !important; z-index: -1; }
.funnel .funnel__step[hidden].is-preload * { animation: none !important; }

/* en coulisse (pendant l'analyse, ou paywall pas encore affiché) : rien n'est dessiné sauf le bouton Whop */
.funnel.is-warming *, .funnel .funnel__step.is-preload * { visibility: hidden; }
.funnel.is-warming .pay__express, .funnel.is-warming .pay__express *,
.funnel .funnel__step.is-preload .pay__express, .funnel .funnel__step.is-preload .pay__express * { visibility: visible; }
.funnel.is-warming { background: none; }


/* ───── Paiement : le formulaire Whop seul, sur toute la place ───── */
.funnel[data-step="checkout"] { padding: 68px 10px max(14px, env(safe-area-inset-bottom)); justify-content: flex-start; }
.funnel .funnel__step.checkout:not([hidden]) { max-width: 720px; margin: 0 auto; gap: 8px; }
.checkout .hiw__eyebrow, .checkout #checkoutTitle, .checkout .checkout__offer { display: none; }
.checkout .checkout__box { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: none; min-height: 70dvh; }
.checkout .pay__legal { margin-top: 2px; font-size: .74rem; text-align: center; }
@media (min-width: 700px) { .funnel[data-step="checkout"] { padding-top: 80px; } }

/* ───── Guides : sommaire par réseau, maillage « Continue l'enquête », pied de page ───── */
.guide-nets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.guide-net { display: grid; grid-template-columns: 1.6fr 1.1fr 1.1fr .9fr; gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.guide-net h3 { margin: 0 0 10px; font-family: var(--mono); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); }
.guide-net ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.guide-net div:first-child ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.guide-net a { display: inline-block; padding: 6px 0; color: var(--ink); font-weight: 500; text-decoration: none; }
.guide-net a:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.footer__label { padding: 6px 0; font-weight: 600; color: var(--ink); }
@media (max-width: 760px) {
  .guide-nets { grid-template-columns: minmax(0, 1fr); }
  .guide-net { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
/* cartes « par réseau » dans le texte d'un guide : pas le style des liens du texte */
.guide .guide-nets a.guide-card { color: var(--ink); text-decoration: none; }
.guide .guide-nets a.guide-card b { color: var(--ink); }
.guide .guide-nets a.guide-card span { color: var(--muted); }

.guide-net label[data-pick] { display: inline-block; padding: 6px 0; font-weight: 600; color: var(--accent-deep); cursor: pointer; }
.cta label[data-pick] { cursor: pointer; }

/* ═════════ Pages-guides : le tableau d'enquête (tout est cliquable : un clic = choisir sa photo) ═════════ */
.case { margin: 32px 0 6px; padding: 20px 20px 18px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 26px; box-shadow: var(--sh-lg); }
.case__head { display: grid; gap: 4px; margin-bottom: 14px; }
.guide .case__no { margin: 0; font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.guide .case__h { margin: 0; font-family: var(--display); font-size: clamp(1.25rem, 3.4vw, 1.6rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.12; color: var(--ink); }
.case__h em { font-style: normal; background: linear-gradient(transparent 62%, var(--lime) 62%); }

.board { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; cursor: pointer; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 0%, rgba(255, 241, 204, .9), rgba(255, 241, 204, 0) 60%),
    linear-gradient(rgba(28, 23, 18, .045) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(28, 23, 18, .045) 1px, transparent 1px) 0 0 / 22px 22px, var(--cream2);
  box-shadow: inset 0 0 0 1px var(--line), inset 0 -40px 60px -40px rgba(28, 23, 18, .12); }
.board__strings { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.board__strings path { fill: none; stroke: var(--coral); stroke-width: .42; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 2px 1.5px rgba(28, 23, 18, .25)); }
.board__strings--tall { display: none; }

.board__polaroid { position: absolute; z-index: 2; left: 7%; top: 10%; width: 30%; padding: 3.2% 3.2% 0; background: #fff; rotate: -4deg;
  box-shadow: 0 1px 2px rgba(28, 23, 18, .12), 0 18px 34px -16px rgba(28, 23, 18, .5); }
.board__tape { position: absolute; z-index: 1; top: -11px; left: 50%; width: 40%; height: 22px; translate: -50% 0; rotate: 4deg;
  background: rgba(255, 241, 204, .82); box-shadow: 0 1px 2px rgba(28, 23, 18, .12); }
.board__photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream2); }
.board__photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.92) contrast(1.02); }
.board__cap { display: block; padding: 9px 0 11px; text-align: center; font-family: var(--mono); font-size: .62rem; letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.board__facebox { position: absolute; border: 2px solid var(--coral); border-radius: 6px; opacity: 0; scale: 1.15; box-shadow: 0 0 14px rgba(228, 162, 7, .6); }
.board__mesh i { position: absolute; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px var(--coral), 0 0 8px var(--coral); opacity: 0; scale: 0; }

.board__clue { position: absolute; z-index: 3; width: 34%; display: grid; gap: 8px; padding: 13px 14px 12px; background: #fff; border-radius: 4px;
  box-shadow: 0 1px 2px rgba(28, 23, 18, .1), 0 16px 30px -16px rgba(28, 23, 18, .45); opacity: 0; translate: 0 12px; }
.board__clue--1 { right: 6%; top: 9%; rotate: 2.5deg; }
.board__clue--2 { right: 9%; bottom: 12%; rotate: -2deg; }
.board__pin { position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe08a, var(--coral) 55%, #9a6b04); box-shadow: 0 3px 4px rgba(28, 23, 18, .35); }
.board__cluetop { display: flex; align-items: center; gap: 7px; min-width: 0; }
.board__cluetop svg { width: 18px; height: 18px; flex: none; fill: var(--ink); }
.board__cluetop b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; color: var(--ink); }
.board__cluetop em { margin-left: auto; flex: none; font-style: normal; font-weight: 700; font-size: .78rem; color: #1f8a52; background: #e3f6ec; padding: 2px 7px; border-radius: 99px; }
.board__cluelines { display: grid; gap: 5px; }
.board__cluelines s { display: block; height: 7px; border-radius: 4px; background: linear-gradient(90deg, rgba(28, 23, 18, .16), rgba(28, 23, 18, .06)); filter: blur(1.4px); }
.board__cluelines s:last-child { width: 62%; }

.board__stamp { position: absolute; z-index: 4; left: 8%; bottom: 7%; padding: 6px 12px 5px; rotate: -11deg; font-family: var(--mono); font-weight: 700; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); border: 3px double var(--accent-deep); border-radius: 6px;
  background: rgba(255, 255, 255, .55); mix-blend-mode: multiply; opacity: 0; }
.board__pnut { position: absolute; z-index: 3; left: 43%; bottom: -3%; width: 12%; opacity: 0; translate: 0 30%; }

.board__loupe { position: absolute; z-index: 5; left: 0; top: 0; width: 18%; aspect-ratio: 1; pointer-events: none; will-change: transform;
  transform: translate(calc(var(--lx, 0px) - 50%), calc(var(--ly, 0px) - 50%)); opacity: 0; }
.board__glass { position: absolute; inset: 0; overflow: hidden; border-radius: 50%; background: var(--cream2);
  box-shadow: 0 0 0 5px var(--ink), 0 0 0 9px var(--coral), 0 22px 40px -12px rgba(28, 23, 18, .55), inset 0 0 22px rgba(28, 23, 18, .18); }
.board__glass::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 45%); }
.board__zoom { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; }
.board__scan { position: absolute; left: 0; right: 0; top: 0; height: 22%; background: linear-gradient(rgba(228, 162, 7, 0), rgba(228, 162, 7, .38) 85%, rgba(255, 236, 170, .95));
  mix-blend-mode: screen; translate: 0 -100%; }
.board__handle { position: absolute; z-index: -1; left: 82%; top: 82%; width: 18%; height: 58%; rotate: -45deg; transform-origin: 50% 0; border-radius: 6px;
  background: linear-gradient(var(--ink) 0 62%, var(--coral) 62% 76%, var(--ink) 76%); box-shadow: 0 12px 20px -10px rgba(28, 23, 18, .5); }

/* la scène se joue quand le tableau arrive à l'écran */
.board.is-live .board__loupe { opacity: 1; transition: opacity .4s; }
.board.is-live .board__scan { animation: scan-sweep 1.6s .3s ease-in-out 2; }
.board.is-live .board__facebox { animation: box-in .5s 1.1s cubic-bezier(.2, .9, .3, 1.2) forwards; }
.board.is-live .board__mesh i { animation: dot-in .32s cubic-bezier(.2, .9, .3, 1.4) forwards; animation-delay: calc(1.3s + var(--d) * 55ms); }
.board.is-live .board__strings path:first-child { animation: string-draw .7s 2.2s ease-out forwards; }
.board.is-live .board__strings path:last-child { animation: string-draw .7s 2.7s ease-out forwards; }
.board.is-live .board__clue--1 { animation: board__clue-in .5s 2.6s cubic-bezier(.2, .9, .3, 1.2) forwards; }
.board.is-live .board__clue--2 { animation: board__clue-in .5s 3.1s cubic-bezier(.2, .9, .3, 1.2) forwards; }
.board.is-live .board__stamp { animation: stamp-in .45s 3.7s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.board.is-live .board__pnut { animation: pnut-peek .6s 4.1s cubic-bezier(.2, .9, .3, 1.3) forwards; }
@keyframes scan-sweep { to { translate: 0 480%; } }
@keyframes box-in { to { opacity: 1; scale: 1; } }
@keyframes dot-in { to { opacity: 1; scale: 1; } }
@keyframes string-draw { to { stroke-dashoffset: 0; } }
@keyframes board__clue-in { to { opacity: 1; translate: 0 0; } }
@keyframes stamp-in { from { opacity: 0; scale: 2.4; } to { opacity: .92; scale: 1; } }
@keyframes pnut-peek { to { opacity: 1; translate: 0 0; } }
/* après la scène (.is-done) : le tableau garde une petite vie, en CSS seulement */
.board.is-done .board__loupe { animation: loupe-float 4.6s ease-in-out infinite; }
.board.is-done .board__scan { animation: scan-idle 5.2s 1s ease-in-out infinite; }
.board.is-done .board__mesh i { opacity: 1; scale: 1; animation: dot-twinkle 2.8s ease-in-out infinite; animation-delay: calc(var(--d) * 170ms); }
.board.is-done .board__facebox { opacity: 1; scale: 1; animation: box-breathe 3.4s ease-in-out infinite; }
.board.is-done .board__clue { opacity: 1; translate: 0 0; }
.board.is-done .board__clue--1 { animation: clue-sway 6s ease-in-out infinite; }
.board.is-done .board__clue--2 { animation: clue-sway 6.8s .8s ease-in-out infinite reverse; }
.board.is-done .board__pin { animation: pin-glow 2.6s ease-in-out infinite; }
.board.is-done .board__clue--2 .board__pin { animation-delay: 1.3s; }
.board.is-done .board__strings path { stroke-dashoffset: 0; }
.board.is-done .board__stamp { opacity: .92; scale: 1; animation: none; }
.board.is-done .board__pnut { opacity: 1; translate: 0 0; animation: none; }
@keyframes loupe-float { 50% { translate: 3px -6px; rotate: -2deg; } }
@keyframes scan-idle { 0% { translate: 0 -100%; } 34%, 100% { translate: 0 480%; } }
@keyframes dot-twinkle { 50% { opacity: .45; scale: .75; } }
@keyframes box-breathe { 50% { box-shadow: 0 0 22px rgba(228, 162, 7, .95); } }
@keyframes clue-sway { 0%, 100% { rotate: 2.5deg; } 50% { rotate: .5deg; translate: 0 -2px; } }
@keyframes pin-glow { 50% { box-shadow: 0 3px 4px rgba(28, 23, 18, .35), 0 0 0 5px rgba(228, 162, 7, .22); } }
.board:hover .board__clue { animation-play-state: paused; }

.case__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 14px; }
.case__ask { margin-right: 2px; font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.case__tag { position: relative; padding: 7px 13px 7px 22px; font-size: .9rem; color: var(--ink); background: var(--lime); border-radius: 4px 99px 99px 4px; cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); transition: background .15s, translate .15s; }
.case__tag::before { content: ""; position: absolute; left: 10px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--paper); }
.case__tag:hover { background: #ffe39a; translate: 2px 0; }
.case__go { cursor: pointer; }
.guide .case__safe { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; font-size: .84rem; line-height: 1.3; color: var(--muted); }
.case__safe span { width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 3px rgba(47, 191, 113, .18); }
.guide .case__note { margin: 8px 0 0; text-align: center; font-size: .78rem; color: var(--muted); }

@media (max-width: 560px) {
  .case { padding: 16px 12px 14px; border-radius: 22px; }
  .board { aspect-ratio: 4 / 5; }
  .board__strings--wide { display: none; }
  .board__strings--tall { display: block; }
  .board__polaroid { left: 6%; top: 6%; width: 52%; padding: 4% 4% 0; }
  .board__clue { width: 44%; padding: 10px 10px 9px; gap: 6px; }
  .board__clue--1 { right: 4%; top: 12%; }
  .board__clue--2 { right: 5%; top: 67%; bottom: auto; }
  .board__cluetop b { font-size: .8rem; }
  .board__cluetop em { font-size: .7rem; padding: 1px 5px; }
  .board__cluetop svg { width: 15px; height: 15px; }
  .board__stamp { left: 6%; bottom: 6%; font-size: .7rem; }
  .board__pnut { display: none; }
  .board__loupe { width: 28%; }
  .board__strings path { stroke-width: .6; }
  .board__cap { font-size: .55rem; }
}
@media (prefers-reduced-motion: reduce) {
  .board .board__loupe, .board .board__facebox, .board .board__mesh i, .board .board__clue, .board .board__stamp, .board .board__pnut { opacity: 1; scale: 1; translate: 0 0; animation: none !important; }
  .board .board__strings path { stroke-dashoffset: 0; animation: none !important; }
  .board .board__pin, .board .board__scan { animation: none !important; }
}

/* ═════════ Étiquette de scellé : le rappel cliquable après les 3 étapes ═════════ */
.seal { position: relative; display: flex; align-items: center; gap: 14px 18px; margin: 30px 6px 8px 18px; padding: 16px 18px 16px 34px; rotate: -1deg;
  background: linear-gradient(135deg, #fff6dc, #ffeebf); border: 1px solid color-mix(in srgb, var(--coral) 40%, transparent);
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 18px 100%, 0 50%); box-shadow: var(--sh-md); transition: rotate .25s var(--spring); }
.seal:hover { rotate: 0deg; }
.seal::before { content: ""; position: absolute; left: 22px; top: 8px; bottom: 8px; border-left: 1.5px dashed color-mix(in srgb, var(--coral) 55%, transparent); }
.seal__hole { position: absolute; left: 10px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 1px 2px rgba(28, 23, 18, .25); }
.seal__body { flex: 1; min-width: 0; }
.guide .seal__no { margin: 0 0 4px; font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); }
.guide .seal__q { margin: 0; line-height: 1.35; color: var(--ink); }
.seal__q b { font-family: var(--display); font-size: 1.1rem; letter-spacing: -.02em; }
.seal__q span { display: block; color: var(--muted); font-size: .92rem; }
.seal__go { flex: none; cursor: pointer; }
@media (max-width: 560px) {
  .seal { flex-direction: column; align-items: stretch; margin-left: 10px; padding-left: 30px; }
}

/* ═════════ Pages-outils : le quiz « faux profil » ═════════ */
.qz { margin: 18px 0 8px; padding: 22px 20px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 24px; box-shadow: var(--sh-lg); }
.qz__head { display: grid; gap: 10px; margin-bottom: 16px; }
.qz__head[hidden], .qz__list[hidden], .qz__end[hidden], .qz__q[hidden] { display: none; }
.guide .qz__no { margin: 0; font-family: var(--mono); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); }
.qz__bar { height: 8px; border-radius: 99px; background: var(--cream2); overflow: hidden; }
.qz__bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--coral); transition: width .35s var(--spring); }
.qz__list { margin: 0; padding: 0; list-style: none; }
.qz__q { animation: qz-in .35s var(--spring); }
.guide .qz__text { margin: 0 0 16px; font-family: var(--display); font-size: clamp(1.25rem, 3.6vw, 1.55rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.qz__a { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.qz__btn { min-height: 52px; padding: 10px; font: inherit; font-weight: 700; color: var(--ink); background: var(--cream2); border: 1.5px solid var(--line-2); border-radius: 14px; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s var(--spring); }
.qz__btn:hover { background: var(--lime); border-color: var(--coral); transform: translateY(-2px); }
.qz__btn[data-v="1"] { background: var(--lime); }
.qz__end { display: grid; justify-items: center; gap: 6px; text-align: center; animation: qz-in .45s var(--spring); }
.qz__pnut { width: 92px; margin-bottom: -8px; }
.qz__meter { position: relative; width: min(260px, 80%); aspect-ratio: 2 / 1; margin-top: 6px; }
.qz__arc { position: absolute; inset: 0; border-radius: 999px 999px 0 0;
  background: conic-gradient(from -90deg at 50% 100%, #2fbf71 0 50deg, var(--coral) 50deg 110deg, #c2410c 110deg 180deg, transparent 180deg);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 58%, #000 59%); mask: radial-gradient(circle at 50% 100%, transparent 58%, #000 59%); }
.qz__needle { position: absolute; left: 50%; bottom: 0; width: 4px; height: 86%; margin-left: -2px; border-radius: 4px; background: var(--ink); transform-origin: 50% 100%;
  rotate: calc(-90deg + var(--risk, 0) * 180deg); }
.qz__needle::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--ink); }
.guide .qz__score { margin: 10px 0 0; font-family: var(--mono); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.qz__score b { font-size: 1.1rem; color: var(--ink); }
.guide .qz__verdict { margin: 2px 0 0; font-family: var(--display); font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.qz[data-level="high"] .qz__verdict { color: #c2410c; }
.qz[data-level="low"] .qz__verdict { color: #1f8a52; }
.guide .qz__tip { margin: 0 0 10px; max-width: 46ch; color: var(--muted); }
.qz__go { cursor: pointer; }
.qz__again { margin-top: 4px; padding: 8px 12px; font: inherit; font-size: .9rem; font-weight: 600; color: var(--muted); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@keyframes qz-in { from { opacity: 0; translate: 0 10px; } }
@media (max-width: 560px) { .qz { padding: 18px 14px; } .qz__a { grid-template-columns: 1fr; } }

/* ═════════ Pages-outils : la checklist « premier rendez-vous » ═════════ */
.ck { margin: 18px 0 8px; padding: 20px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 24px; box-shadow: var(--sh-lg); }
.ck__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.ck__ring { --p: 0; position: relative; flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
  background: conic-gradient(var(--coral) calc(var(--p) * 360deg), var(--cream2) 0); transition: --p .4s; }
.ck__ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--paper); }
.ck__ring b, .ck__ring small { position: relative; }
.ck__ring b { font-family: var(--display); font-size: 1.5rem; line-height: 1; }
.ck__ring small { position: absolute; bottom: 14px; font-size: .7rem; color: var(--muted); }
.guide .ck__msg { margin: 0; font-family: var(--display); font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.ck.is-done .ck__msg { color: #1f8a52; }
.ck__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ck__row { display: grid; gap: 6px; padding: 12px 14px; background: var(--cream2); border: 1px solid var(--line); border-radius: 14px; transition: background .2s, border-color .2s; }
.ck__row:has(.ck__input:checked) { background: #e9f8f0; border-color: rgba(47, 191, 113, .45); }
.ck__item { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.ck__input { position: absolute; opacity: 0; pointer-events: none; }
.ck__box { width: 26px; height: 26px; border-radius: 8px; background: var(--paper); border: 2px solid var(--line-2); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.ck__box::after { content: ""; width: 12px; height: 7px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; rotate: -45deg; translate: 0 -2px; scale: 0; transition: scale .2s var(--spring); }
.ck__input:checked + .ck__box { background: #2fbf71; border-color: #2fbf71; }
.ck__input:checked + .ck__box::after { scale: 1; }
.ck__input:focus-visible + .ck__box { outline: 2px solid var(--ink); outline-offset: 2px; }
.ck__txt { display: grid; gap: 2px; }
.ck__txt b { color: var(--ink); }
.ck__txt small { font-size: .88rem; line-height: 1.4; color: var(--muted); }
.ck__input:checked ~ .ck__txt b { text-decoration: line-through; text-decoration-color: rgba(47, 191, 113, .7); }
.ck__pick { justify-self: start; margin-left: 38px; padding: 6px 12px; font-size: .88rem; font-weight: 700; color: var(--on-accent); background: var(--coral); border-radius: 99px; cursor: pointer; }
@media (max-width: 760px) { .guide-net { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .qz__q, .qz__end { animation: none; } }

/* barre du haut plus transparente : on voit la page à travers, le flou garde le menu lisible */
.nav__bar { background: rgba(255, 255, 255, .38); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }

/* espace client : la proposition adaptée au compte, sous la loupe */
.espace__up { display: grid; gap: 6px; padding: 18px 20px; background: linear-gradient(180deg, #FFF8E6, var(--paper) 70%); border-color: rgba(228, 162, 7, .42); }
.espace__up[hidden] { display: none; }
.espace__up .hiw__eyebrow { margin: 0; }
.espace__up-h { margin: 0; font-family: var(--display); font-size: 1.32rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.espace__up-p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.45; max-width: 60ch; }
.espace__up-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 8px; }
.espace__up-go .espace__link { color: var(--muted); }
@media (max-width: 520px) { .espace__up-go .btn { width: 100%; } .espace__up-go .espace__link { margin: 0 auto; } }

/* annuel : le prix par semaine en grand, le montant réellement facturé juste dessous */
.plan__price .plan__bill { font-size: .74rem; white-space: nowrap; }

/* Fluidité du paywall (iPhone surtout) : un flou d'arrière-plan est recalculé à chaque image tant que
   quelque chose bouge dessous, et empilés ils saccadent. Les cartes d'offre ne floutent plus elles-mêmes
   (elles sont posées sur un voile déjà flou), un peu plus opaques pour garder le même rendu ;
   sur les offres suivantes, ce sont les résultats d'arrière-plan qui sont floutés, une fois pour toutes. */
.wall .plan, .wall--glass .plan, .wall--glass .timer__box b { -webkit-backdrop-filter: none; backdrop-filter: none; }
.wall .plan { background: color-mix(in srgb, var(--paper) 76%, transparent); }
.wall--glass .plan { background: color-mix(in srgb, var(--paper) 78%, transparent); }
.wall--glass::before { -webkit-backdrop-filter: none; backdrop-filter: none; }
.wall--glass > .hits--bg { filter: blur(8px); }
/* le flou déborde du cadre des résultats : le cadre est élargi (même position du contenu) et ses quatre bords
   s'estompent, pour qu'aucune ligne droite ne coupe le flou en haut ni sur les côtés */
.wall--glass > .hits--bg { left: -28px; right: -28px; top: -40px; padding: 34px 28px 0; box-sizing: border-box;
  -webkit-mask-image: linear-gradient(transparent, #000 70px, #000 42%, transparent 92%), linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent);
  mask-image: linear-gradient(transparent, #000 70px, #000 42%, transparent 92%), linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }

/* Premier paywall : les résultats s'effacent sous l'offre en douceur. L'ancien voile flouté (flou d'arrière-plan)
   laissait une ligne nette en travers de la 2e rangée : le dégradé ne s'appliquait pas à son flou.
   À la place, la grille s'estompe vers le bas et les rangées qui passent sous l'offre sont floutées elles-mêmes
   (sans bord droit, et sans recalcul à chaque image). */
.wall .pay::before { display: none; }
.wall .hits { -webkit-mask-image: linear-gradient(#000 48%, rgba(0, 0, 0, .45) 72%, transparent 96%); mask-image: linear-gradient(#000 48%, rgba(0, 0, 0, .45) 72%, transparent 96%); }
.wall .hit:nth-child(n+5) { filter: blur(2.5px); }
.wall .hit:nth-child(n+9) { filter: blur(6px); }

/* Preuve sous la loupe : les chiffres du moteur, entre deux branches de laurier dorées */
.proof-band { padding: 6px 16px 20px; }
.proof__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.proof { display: flex; justify-content: center; align-items: center; gap: clamp(16px, 6vw, 80px); margin: 0; padding: 0; list-style: none; }
.proof__item { display: flex; align-items: center; gap: 4px; }
.proof__l { flex: none; width: 28px; height: 64px; }
.proof__l--r { transform: scaleX(-1); }
.proof__txt { display: grid; justify-items: center; gap: 4px; line-height: 1; }
.proof__txt b { font-family: var(--display); font-size: clamp(1.7rem, 7vw, 2.6rem); font-weight: 800; letter-spacing: -.035em; color: var(--ink); white-space: nowrap; }
.proof__txt span { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.proof__note { margin: 10px 0 0; text-align: center; font-size: .72rem; color: var(--muted); opacity: .8; }
@media (max-width: 380px) { .proof__l { width: 22px; height: 54px; } .proof__txt span { font-size: .74rem; } }
/* espace client : la loupe seule */
.page-espace .proof-band { display: none; }

/* ───────── Bon à savoir : trois cartes (réseaux, note de ressemblance, photo) ───────── */
.know { padding-top: 0; }
.know__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.know__card { display: grid; align-content: start; justify-items: center; gap: 6px; padding: 26px 22px 24px; text-align: center; border-radius: 20px; }
.know__card h3 { margin: 0; font-size: 1.12rem; letter-spacing: -.01em; }
.know__kick { margin: 0; font-family: var(--mono); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.know__txt { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.45; max-width: 30ch; }
.know__art { display: grid; place-items: center; height: 172px; margin-bottom: 12px; }
/* réseaux : une grille de pastilles */
.know__nets { grid-template-columns: repeat(3, 46px); gap: 12px; align-content: center; }
.know__net { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 6px 14px -8px rgba(28, 23, 18, .3); }
.know__net svg { width: 21px; height: 21px; fill: var(--ink); }
.know__net[data-brand="Instagram"] svg { fill: #E4405F; }
.know__net[data-brand="Facebook"] svg { fill: #0866FF; }
.know__net[data-brand="YouTube"] svg { fill: #FF0000; }
.know__net[data-brand="LinkedIn"] svg { fill: #0A66C2; }
.know__net[data-brand="OnlyFans"] svg { fill: #00AFF0; }
.know__net[data-brand="Snapchat"] { background: #FFFC00; border-color: transparent; }
.know__net[data-brand="Snapchat"] svg { width: 18px; height: 18px; }
.know__net--web { color: var(--accent-deep); background: var(--lime); border-color: transparent; }
/* note de ressemblance : trois paliers */
.know__scores { gap: 12px; align-content: center; justify-items: start; }
.know__scores p { display: flex; align-items: center; gap: 12px; margin: 0; font-size: .9rem; font-weight: 600; }
.know__pill { min-width: 86px; padding: 6px 12px; font-family: var(--display); font-size: .92rem; font-weight: 700; text-align: center; border-radius: 99px; }
.know__pill--hi { color: #fff; background: var(--accent-deep); }
.know__pill--mid { color: var(--on-accent); background: var(--coral); }
.know__pill--lo { color: var(--muted); background: var(--cream2, #F0EDE6); border: 1px solid var(--line); }
/* photo : un visage dans la loupe de Pnut */
.know__lens { position: relative; display: block; width: 132px; height: 132px; border-radius: 50%; border: 6px solid var(--ink); box-shadow: 0 0 0 5px var(--coral), 0 14px 30px -14px rgba(28, 23, 18, .5); }
.know__lens::after { content: ""; position: absolute; left: 127px; top: 110px; width: 16px; height: 50px; border-radius: 8px; transform: rotate(-45deg);
  background: linear-gradient(var(--ink) 62%, var(--coral) 62%, var(--coral) 80%, var(--ink) 80%); }
.know__lens img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.know__corners { position: absolute; inset: 24%; opacity: .92; background: linear-gradient(#fff, #fff) left top / 14px 2px no-repeat, linear-gradient(#fff, #fff) left top / 2px 14px no-repeat, linear-gradient(#fff, #fff) right top / 14px 2px no-repeat, linear-gradient(#fff, #fff) right top / 2px 14px no-repeat, linear-gradient(#fff, #fff) left bottom / 14px 2px no-repeat, linear-gradient(#fff, #fff) left bottom / 2px 14px no-repeat, linear-gradient(#fff, #fff) right bottom / 14px 2px no-repeat, linear-gradient(#fff, #fff) right bottom / 2px 14px no-repeat; }
@media (max-width: 860px) {
  .know__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; max-width: 460px; margin-inline: auto; }
  .know__art { height: 150px; }
}

/* ───────── Espace client : fluide et gratifiant ───────── */
/* pastille des crédits : un reflet pendant le chargement, un petit saut quand le chiffre monte */
.acct__chip.is-loading b { color: transparent; border-radius: 6px; background: linear-gradient(90deg, rgba(154, 107, 4, .14), rgba(154, 107, 4, .32), rgba(154, 107, 4, .14)) 0 0 / 200% 100%; animation: pskel 1.1s linear infinite; min-width: 14px; }
.acct__chip { transition: transform .15s var(--spring), box-shadow .2s; }
.acct__chip:active { transform: scale(.95); }
.is-pop { display: inline-block; animation: ppop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes ppop { 40% { transform: scale(1.35); color: var(--accent-deep); } }
@keyframes pskel { to { background-position: -200% 0; } }
/* menu du compte : il se déplie depuis la pastille */
.acct__menu { opacity: 0; transform: translateY(-8px) scale(.96); transform-origin: top right; transition: opacity .16s ease, transform .2s cubic-bezier(.3, 1.4, .5, 1); }
.acct__menu.is-open { opacity: 1; transform: none; }
.acct__menu.is-open > * { animation: rise .35s cubic-bezier(.2, .9, .3, 1.1) both; }
.acct__menu.is-open > :nth-child(2) { animation-delay: .03s; } .acct__menu.is-open > :nth-child(3) { animation-delay: .06s; }
.acct__menu.is-open > :nth-child(4) { animation-delay: .09s; } .acct__menu.is-open > :nth-child(5) { animation-delay: .12s; }
/* confettis et message */
.pburst { position: fixed; z-index: 400; width: 0; height: 0; pointer-events: none; }
.pburst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 2px; animation: pfly 1.05s cubic-bezier(.15, .7, .3, 1) both; }
.pburst i:nth-child(3n) { border-radius: 50%; } .pburst i:nth-child(4n) { width: 5px; height: 11px; }
@keyframes pfly { 0% { transform: translate(0, 0) scale(.4); opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); opacity: 0; } }
.ptoast { position: fixed; z-index: 410; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); padding: 12px 20px; text-align: center;
  font-weight: 700; font-size: .95rem; color: var(--on-accent); background: var(--coral); border-radius: 99px; box-shadow: 0 14px 34px -14px rgba(28, 23, 18, .55);
  animation: ptoast-in .45s cubic-bezier(.3, 1.5, .5, 1) both; }
.ptoast.is-out { animation: ptoast-out .4s ease both; }
@keyframes ptoast-in { from { opacity: 0; transform: translate(-50%, 24px) scale(.9); } }
@keyframes ptoast-out { to { opacity: 0; transform: translate(-50%, 14px); } }
/* historique : squelette, bilan, lignes en cascade, ouverture douce */
.history__skel { height: 50px; border-radius: 14px; background: linear-gradient(90deg, var(--cream2, #F0EDE6), #fff, var(--cream2, #F0EDE6)) 0 0 / 200% 100%; animation: pskel 1.2s linear infinite; }
.hstats { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 12px; }
.hstats[hidden] { display: none; }
.hstats span { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; background: var(--lime); border-radius: 99px; font-size: .86rem; color: var(--accent-deep); }
.hstats b { font-family: var(--display); font-size: 1.15rem; color: var(--ink); }
.hstats i { font-style: normal; font-weight: 600; }
.history__item { animation: rise .45s cubic-bezier(.2, .9, .3, 1.1) both; animation-delay: calc(var(--i, 0) * 60ms); transition: border-color .2s, box-shadow .2s; }
.history__item:has([aria-expanded="true"]) { border-color: rgba(228, 162, 7, .5); box-shadow: 0 10px 26px -18px rgba(154, 107, 4, .55); }
.history__head { transition: background .15s; }
.history__head:hover { background: #FFFCF4; }
.history__head:active { transform: scale(.99); }
.history__results:not([hidden]) { animation: popen .3s ease both; }
@keyframes popen { from { opacity: 0; transform: translateY(-4px); } }
/* note de ressemblance, aux couleurs des trois paliers */
.fpill { display: inline-block; margin-right: 6px; padding: 2px 8px; font-family: var(--display); font-size: .8rem; font-weight: 700; border-radius: 99px; vertical-align: 1px; }
.fpill--hi { color: #fff; background: var(--accent-deep); }
.fpill--mid { color: var(--on-accent); background: var(--coral); }
.fpill--lo { color: var(--muted); background: var(--cream2, #F0EDE6); }
.found__item a { transition: transform .18s var(--spring), border-color .2s, box-shadow .2s; }
.found__item a:active { transform: scale(.98); }
/* boutons de l'espace : un léger enfoncement au toucher */
.page-espace .btn { transition: transform .15s var(--spring), box-shadow .2s, background .2s; }
.page-espace .btn:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
  .acct__menu, .acct__menu.is-open > *, .history__item, .history__results:not([hidden]), .is-pop, .ptoast { animation: none !important; transition: none !important; }
}

/* Orbite de l'accueil : logos plus gros (moins d'espace vide entre eux)… */
.orbit { --chip: 48px; }
.orbit__chip svg { width: 50%; height: 50%; }
@media (min-width: 1000px) and (max-width: 1180px) { .orbit { --chip: 42px; } }
@media (max-width: 560px) { .orbit { --chip: 32px; } }
/* …et un élan au départ : les anneaux partent vite puis ralentissent jusqu'à leur rythme de croisière.
   L'élan passe par « rotate », qui s'ajoute à la rotation continue (transform) sans l'interrompre ;
   les pastilles font l'élan inverse pour rester droites. */
.orbit--ready .orbit__ring--a { animation: orbit var(--t) linear infinite, orbit-in-a 3s cubic-bezier(.2, .6, .3, 1) both; }
.orbit--ready .orbit__ring--b { animation: orbit var(--t) linear infinite reverse, orbit-in-b 3s cubic-bezier(.2, .6, .3, 1) both; }
.orbit--ready .orbit__ring--a .orbit__chip { animation: orbit var(--t) linear infinite reverse, orbit-in-b 3s cubic-bezier(.2, .6, .3, 1) both; }
.orbit--ready .orbit__ring--b .orbit__chip { animation: orbit var(--t) linear infinite, orbit-in-a 3s cubic-bezier(.2, .6, .3, 1) both; }
@keyframes orbit-in-a { from { rotate: -110deg; } to { rotate: 0deg; } }
@keyframes orbit-in-b { from { rotate: 110deg; } to { rotate: 0deg; } }
@media (prefers-reduced-motion: reduce) {
  .orbit--ready .orbit__ring--a, .orbit--ready .orbit__ring--b, .orbit--ready .orbit__ring .orbit__chip { animation: none; }
}

/* ───────── Bon à savoir : les cartes s'animent quand chacune arrive à l'écran ───────── */
/* avant l'arrivée (JS présent) : tout est prêt mais invisible, pour ne rien voir « sauter » */
.js .know__card:not(.in), .js .know__card:not(.in) .know__net, .js .know__card:not(.in) .know__scores p, .js .know__card:not(.in) .know__lens, .js .know__card:not(.in) .know__corners { opacity: 0; }
/* les cartes, l'une après l'autre */
.know__card.in { animation: rise .65s cubic-bezier(.2, .9, .3, 1.1) both; animation-delay: calc(var(--c, 0) * 130ms); }
.know__card { transition: transform .25s var(--spring), box-shadow .25s; }
@media (hover: hover) { .know__card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(28, 23, 18, .35); } }
/* 1. réseaux : les pastilles éclosent une à une, puis flottent ; un halo passe de l'une à l'autre (Pnut fouille) */
.know__card.in .know__net { animation: kpop .5s cubic-bezier(.3, 1.7, .5, 1) both, kfloat 3.4s ease-in-out infinite, kping 3.6s ease-out infinite;
  animation-delay: calc(.3s + var(--n) * 55ms), calc(1.2s + var(--n) * -.4s), calc(1.4s + var(--n) * .4s); }
@keyframes kpop { from { opacity: 0; transform: scale(.2); } }
@keyframes kfloat { 50% { translate: 0 -4px; } }
@keyframes kping { 0% { box-shadow: 0 6px 14px -8px rgba(28, 23, 18, .3), 0 0 0 0 rgba(228, 162, 7, .55); } 18% { box-shadow: 0 6px 14px -8px rgba(28, 23, 18, .3), 0 0 0 9px rgba(228, 162, 7, 0); } 100% { box-shadow: 0 6px 14px -8px rgba(28, 23, 18, .3), 0 0 0 0 rgba(228, 162, 7, 0); } }
/* 2. note de ressemblance : les paliers glissent en place, puis un reflet passe sur le palier le plus haut */
.know__card.in .know__scores p { animation: kslide .55s cubic-bezier(.2, .9, .3, 1.15) both; animation-delay: calc(.45s + var(--n) * 120ms); }
@keyframes kslide { from { opacity: 0; transform: translateX(-18px); } }
.know__pill { position: relative; overflow: hidden; }
.know__card.in .know__pill--hi::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); animation: kshine 3.2s ease-in-out 1.4s infinite; }
@keyframes kshine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
/* 3. photo : la loupe arrive en zoomant, le cadrage se verrouille sur le visage, puis un scan le balaie */
.know__card.in .know__lens { animation: kzoom .7s cubic-bezier(.3, 1.4, .5, 1) both; animation-delay: .55s; }
@keyframes kzoom { from { opacity: 0; transform: scale(.55) rotate(-14deg); } }
.know__card.in .know__corners { animation: klock .55s cubic-bezier(.3, 1.6, .5, 1) both, kbreathe 2.8s ease-in-out 2s infinite; animation-delay: 1.05s, 2s; }
@keyframes klock { from { opacity: 0; transform: scale(1.7); } }
@keyframes kbreathe { 50% { transform: scale(1.06); } }
.know__corners { overflow: hidden; }
.know__card.in .know__corners::after { content: ""; position: absolute; left: 6%; right: 6%; top: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #FFD54A, transparent); box-shadow: 0 0 10px rgba(255, 213, 74, .9);
  animation: kscan 2.4s ease-in-out 1.6s infinite; opacity: 0; }
@keyframes kscan { 0% { top: 4%; opacity: 0; } 15% { opacity: 1; } 50% { top: 94%; opacity: 1; } 65%, 100% { top: 94%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .know__card.in, .know__card.in .know__net, .know__card.in .know__scores p, .know__card.in .know__lens, .know__card.in .know__corners, .know__card.in .know__pill--hi::after, .know__card.in .know__corners::after { animation: none !important; }
  .js .know__card:not(.in), .js .know__card:not(.in) .know__net, .js .know__card:not(.in) .know__scores p, .js .know__card:not(.in) .know__lens, .js .know__card:not(.in) .know__corners { opacity: 1; }
}
