/* ============================================================================
   pages.css — les pages intérieures de yusu.pro : une page par entrée de la barre.

   Elles parlent la langue de l'accueil (site.css : la nuit brune, le papier, un seul orange,
   Schibsted 900 en capitales) et ajoutent quatre gestes :
   • le HÉROS ANNOTÉ — le vrai écran, et des points posés sur son interface qui s'allument ;
   • la VISITE GUIDÉE — l'écran reste, la caméra va d'une région à l'autre au défilement ;
   • le GRAPHE — le module au centre, ce qu'il nourrit autour, et ce qui circule entre eux ;
   • les CARTES — chaque fonctionnalité voisine avec sa vraie capture.
   ============================================================================ */

/* ── Le héros d'une page ─────────────────────────────────────────────────── */
.ph { position: relative; overflow: clip; isolation: isolate; padding: calc(var(--hdr) + clamp(28px, 5vh, 64px)) 0 0; background: radial-gradient(60% 50% at 50% 0%, color-mix(in oklch, var(--orange) 16%, transparent), transparent 70%), var(--night); }
.ph .hero-fx { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
.ph .hero-fx.on { opacity: .85; }
.ph-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-bottom: clamp(18px, 3vh, 28px); font-size: 13.5px; font-weight: 600; color: var(--cream-3); }
.crumbs a { color: var(--cream-2); transition: color .2s; }
.crumbs a:hover { color: var(--cream); }
.crumbs [aria-current] { color: var(--cream); }
.crumbs .cr-sep { width: 12px; height: 12px; transform: rotate(-90deg); opacity: .6; }
.ph-kick { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-bottom: clamp(16px, 2.6vh, 24px); }
.ph-temps { font: 700 12.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-2); }
.ph-h1 { margin-bottom: clamp(18px, 3vh, 26px); }
.ph-h1 .line { display: block; }
.ph-name { font-size: clamp(40px, min(8.6vw, 13vh), 136px); }
.ph-promise { font-size: clamp(24px, min(3.8vw, 6vh), 56px); line-height: 1; margin-top: .14em; letter-spacing: -.025em; text-wrap: balance; }
.ph .lead { margin: 0 auto clamp(22px, 3.6vh, 32px); max-width: 42em; text-wrap: balance; }
.ph .ctas { justify-content: center; }

.ph-stage { position: relative; z-index: 2; margin-top: clamp(44px, 7vh, 84px); perspective: 2200px; perspective-origin: 50% 0%; }
.ph-screen { position: relative; margin: 0 auto; transform-origin: 50% 0%; will-change: transform; }
.ph-win .ph-screen { width: min(1180px, 92vw); }
.ph-tablet .ph-screen { width: min(1040px, 92vw); }
.ph-phone .ph-screen, .ph-term .ph-screen { width: max-content; }
.ph-phone .phone, .ph-term .phone { --pw: clamp(250px, 24vw, 330px); }
.ph-glow { position: absolute; inset: -6% -10% auto; height: 70%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, color-mix(in oklch, var(--orange) 42%, transparent), transparent 70%); filter: blur(30px); opacity: .6; pointer-events: none; }
.ph-phone .ph-glow, .ph-term .ph-glow { inset: 10% -60%; height: 80%; }
.ph .hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 18%; z-index: 4; background: linear-gradient(to bottom, transparent, var(--night)); pointer-events: none; }
.ph-phone .hero-fade, .ph-term .hero-fade { height: 12%; }

/* Les points posés sur l'interface : un anneau qui bat, et son étiquette */
.hs { position: absolute; z-index: 6; width: 0; height: 0; }
.hs i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 0 24px 4px color-mix(in oklch, var(--orange) 80%, transparent); }
.hs i::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--acc); animation: hs-ping 2.2s var(--out) infinite; }
@keyframes hs-ping { from { transform: scale(.8); opacity: 1; } to { transform: scale(2.8); opacity: 0; } }
.hs b { position: absolute; top: 50%; left: 20px; transform: translateY(-50%); white-space: nowrap; padding: 8px 12px; border-radius: 12px; background: rgba(26, 19, 14, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(251, 247, 241, .16), 0 16px 34px -12px rgba(0, 0, 0, .7); font: 700 13.5px/1.2 var(--body); color: var(--cream); }
.hs[data-side="l"] b { left: auto; right: 20px; }
.js .ph .hs { opacity: 0; }
.reduced .ph .hs, .no-js .ph .hs { opacity: 1; }
@media (max-width: 760px) { .hs b { display: none; } .hs i { width: 14px; height: 14px; left: -7px; top: -7px; } }
@media (max-width: 760px) { .ph-win .ph-screen, .ph-tablet .ph-screen { width: calc(100vw - 2 * var(--gutter)); } }

/* ── La visite guidée ────────────────────────────────────────────────────── */
.tour { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.tour-phone, .tour-term { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.tour-steps { position: relative; display: grid; gap: 4px; padding-left: 22px; }
.tour-rail { position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: var(--cream-line); overflow: hidden; }
.s-paper .tour-rail { background: var(--line); }
.tour-rail i { position: absolute; inset: 0; background: var(--acc); transform-origin: 0 0; transform: scaleY(0); }
.tour-step { padding: 12px 0; }
.tour-n { display: block; margin-bottom: 8px; font: 800 12.5px/1 var(--display); letter-spacing: .14em; color: var(--cream-3); transition: color .4s; }
.tour-step h3 { font: 800 clamp(20px, 1.9vw, 26px)/1.2 var(--body); letter-spacing: -.01em; color: var(--cream-3); transition: color .4s; }
.tour-step p { max-height: 0; overflow: hidden; opacity: 0; color: var(--cream-2); font-size: 16.5px; line-height: 1.6; max-width: 32em; transition: max-height .6s var(--out), opacity .4s, margin .6s var(--out); }
.tour-step.is-on .tour-n { color: var(--acc); }
.tour-step.is-on h3 { color: var(--cream); }
.tour-step.is-on p { max-height: 8em; opacity: 1; margin-top: 10px; }
.s-paper .tour-n { color: var(--ink-3); }
.s-paper .tour-step h3 { color: var(--ink-3); }
.s-paper .tour-step.is-on h3 { color: var(--ink); }
.s-paper .tour-step p { color: var(--ink-2); }
.tour-crop { display: none; }
.tour-stage { position: relative; }
.tour-glow { position: absolute; inset: 8% 0 -10% 8%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, color-mix(in oklch, var(--orange) 32%, transparent), transparent 70%); filter: blur(40px); opacity: .55; }
.tour-phone .tour-stage, .tour-term .tour-stage { display: grid; justify-items: center; }
.tour-phone .phone, .tour-term .phone { --pw: clamp(260px, 25vw, 340px); }
.tour-view { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.tour-cam { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
.tour-cam picture, .tour-cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tour-cam picture { opacity: 0; transition: opacity .5s var(--curve); }
.tour-cam picture.is-on { opacity: 1; }
/* l'anneau : la région que la visite regarde, dessinée par-dessus l'écran agrandi */
.tour-ring { position: absolute; z-index: 3; left: 0; top: 0; width: 0; height: 0; border-radius: 14px; box-shadow: 0 0 0 2px var(--acc), 0 0 40px 6px color-mix(in oklch, var(--orange) 35%, transparent), 0 0 0 9999px rgba(14, 11, 9, .58); opacity: 0; pointer-events: none; }
/* l'anneau éteint ce qui l'entoure : la région regardée reste seule en lumière */
@media (min-width: 1025px) { .tour { min-height: calc(100vh - var(--hdr) - 60px); } }
@media (max-width: 1024px) {
  .tour, .tour-phone, .tour-term { grid-template-columns: 1fr; }
  .tour-stage, .tour-rail { display: none; }
  .tour-steps { padding-left: 0; gap: clamp(36px, 7vw, 56px); }
  .tour-step h3 { color: var(--cream); }
  .s-paper .tour-step h3 { color: var(--ink); }
  .tour-n { color: var(--acc); }
  .tour-step p { max-height: none; opacity: 1; margin-top: 10px; }
  .tour-crop { display: block; margin-top: 18px; }
  .tour-crop.tc-phone { display: grid; justify-items: center; }
  .tour-crop .phone { --pw: min(280px, 70vw); }
}
.crop { width: 100%; border-radius: 16px; background-color: var(--app-night); background-repeat: no-repeat; box-shadow: inset 0 0 0 1px rgba(251, 247, 241, .1), 0 30px 60px -30px rgba(0, 0, 0, .8); max-height: 70vh; }
.s-paper .crop { box-shadow: 0 0 0 1px var(--line), 0 30px 60px -34px rgba(26, 19, 14, .5); }
.reduced .tour { grid-template-columns: 1fr; }
.reduced .tour-stage, .reduced .tour-rail { display: none; }
.reduced .tour-step p { max-height: none; opacity: 1; margin-top: 10px; }
.reduced .tour-step h3 { color: var(--cream); }
.reduced .tour-crop { display: block; margin-top: 18px; max-width: 980px; }

/* ── Ce qu'elle fait : six capacités ─────────────────────────────────────── */
.caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.cap { position: relative; display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-big); background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 30px 60px -46px rgba(26, 19, 14, .4); overflow: hidden; transition: transform .5s var(--curve), box-shadow .5s var(--curve); }
.cap::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--acc); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--out); }
.cap:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 40px 70px -40px rgba(26, 19, 14, .5); }
.cap:hover::after { transform: scaleX(1); }
.cap-ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 8px; border-radius: 14px; background: var(--ink); color: var(--cream); }
.cap-ico svg { width: 21px; height: 21px; }
.cap h3 { font: 800 18.5px/1.3 var(--body); }
.cap p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 1024px) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .caps { grid-template-columns: 1fr; } }

/* ── Le graphe : le module au centre, ce qu'il nourrit autour ─────────────── */
.graph { position: relative; display: grid; grid-template-columns: 1fr minmax(220px, 300px) 1fr; grid-template-rows: repeat(var(--rows, 2), auto); align-items: center; gap: clamp(18px, 2.4vw, 32px) clamp(40px, 7vw, 120px); }
.graph-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.graph-lines path { fill: none; stroke: var(--cream-line); stroke-width: 1.5; }
.graph-lines path.flow { stroke: var(--acc); stroke-dasharray: 3 14; stroke-linecap: round; animation: flow 1.6s linear infinite; opacity: .9; }
.graph-lines circle { fill: #fff; filter: drop-shadow(0 0 6px var(--acc)); }
@keyframes flow { to { stroke-dashoffset: -34; } }
.g-center { position: relative; z-index: 2; grid-column: 2; grid-row: 1 / span var(--rows, 2); display: grid; justify-items: center; gap: 8px; padding: 28px 22px; border-radius: 28px; text-align: center; background: radial-gradient(80% 80% at 50% 0%, color-mix(in oklch, var(--orange) 30%, transparent), transparent 70%), #241B15; box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--orange) 55%, transparent), 0 0 80px -10px color-mix(in oklch, var(--orange) 45%, transparent); }
.g-core { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--acc); color: #fff; box-shadow: 0 14px 34px -12px color-mix(in oklch, var(--orange) 90%, transparent); }
.g-core svg { width: 28px; height: 28px; }
.g-center b { font: 900 clamp(22px, 2vw, 30px)/1 var(--display); text-transform: uppercase; letter-spacing: -.02em; margin-top: 6px; }
.g-center small { font: 700 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }
.g-nodes { display: contents; }
.g-slot { position: relative; z-index: 2; }
.g-slot:nth-child(odd) { grid-column: 1; }
.g-slot:nth-child(even) { grid-column: 3; }
.g-node { display: grid; gap: 8px; padding: 18px 20px; border-radius: 20px; background: rgba(251, 247, 241, .05); box-shadow: inset 0 0 0 1px var(--cream-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .3s, box-shadow .3s, transform .4s var(--curve); }
.g-node:hover { background: rgba(251, 247, 241, .09); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--orange) 60%, transparent); transform: translateY(-3px); }
.g-node .tag { justify-self: start; height: 24px; font-size: 10.5px; }
.g-node b { font: 800 17px/1.25 var(--body); }
.g-node small { font-size: 14.5px; line-height: 1.5; color: var(--cream-2); }
.g-slot:nth-child(odd) .g-node { text-align: right; }
.g-slot:nth-child(odd) .g-node .tag { justify-self: end; }
@media (max-width: 860px) {
  .graph { grid-template-columns: 1fr; gap: 12px; }
  .g-center { grid-column: 1; grid-row: auto; margin-bottom: 12px; }
  .g-slot:nth-child(odd), .g-slot:nth-child(even) { grid-column: 1; }
  .g-slot:nth-child(odd) .g-node { text-align: left; }
  .g-slot:nth-child(odd) .g-node .tag { justify-self: start; }
  .g-slot { padding-left: 26px; }
  .g-slot::before { content: ''; position: absolute; left: 8px; top: -12px; bottom: 50%; width: 2px; background: color-mix(in oklch, var(--orange) 55%, transparent); }
  .g-slot::after { content: ''; position: absolute; left: 8px; top: 50%; width: 14px; height: 2px; background: color-mix(in oklch, var(--orange) 55%, transparent); }
  /* les lignes animées remplacent les traits fixes dès que le script les a tracées */
  .g-drawn .g-slot::before, .g-drawn .g-slot::after { display: none; }
}

/* ── Les cartes des fonctionnalités voisines ─────────────────────────────── */
.sibs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.sib { display: flex; flex-direction: column; border-radius: var(--r-big); overflow: hidden; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 30px 60px -46px rgba(26, 19, 14, .45); transition: transform .5s var(--curve), box-shadow .5s var(--curve); }
.sib:hover { transform: translateY(-5px); box-shadow: 0 1px 0 var(--line), 0 40px 70px -40px rgba(26, 19, 14, .55); }
.sib-shot { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--app-night); }
.sib-shot picture, .sib-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .8s var(--out); }
.sib:hover .sib-shot img { transform: scale(1.05); }
.sib-body { position: relative; display: grid; gap: 4px; padding: 20px 56px 22px 22px; }
.sib-temps { font: 700 11.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.sib-body b { font: 800 19px/1.25 var(--body); }
.sib-body small { color: var(--ink-2); font-size: 15px; }
.sib-go { position: absolute; right: 18px; bottom: 22px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--paper); transition: background .3s, color .3s, transform .4s var(--curve); }
.sib-go svg { width: 16px; height: 16px; }
.sib:hover .sib-go { background: var(--acc); color: #fff; transform: translateX(3px); }
.s-night .sib { background: #221A14; box-shadow: inset 0 0 0 1px var(--cream-line); }
.s-night .sib-temps { color: var(--cream-3); }
.s-night .sib-body small { color: var(--cream-2); }
.s-night .sib-go { background: var(--cream-fill); }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
.pn-a { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); transition: background .25s; }
.pn-a:hover { background: var(--surface); }
.pn-a svg { width: 18px; height: 18px; flex: none; }
.pn-a small { display: block; font: 700 11.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.pn-a b { font: 800 17px/1.2 var(--body); }
.pn-next { justify-content: flex-end; text-align: right; }
@media (max-width: 900px) { .sibs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 20px; scrollbar-width: none; } .sibs::-webkit-scrollbar { display: none; } .sib { scroll-snap-align: start; } }
@media (max-width: 560px) { .pn { grid-template-columns: 1fr; } }

/* ── Les autres métiers, les autres apps ─────────────────────────────────── */
.others { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.other { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 20px; overflow: hidden; background: #221A14; box-shadow: inset 0 0 0 1px var(--cream-line); transition: transform .45s var(--curve); }
.other:hover { transform: translateY(-4px); }
.other img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s var(--out); }
.other:hover img { transform: scale(1.06); }
.other span { display: grid; gap: 4px; padding: 16px 48px 18px 18px; }
.other b { font: 800 17px/1.2 var(--body); }
.other small { color: var(--cream-2); font-size: 14px; }
.other > svg { position: absolute; right: 16px; bottom: 20px; width: 18px; height: 18px; color: var(--acc); }
@media (max-width: 900px) { .others { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .others { grid-template-columns: 1fr; } }
/* au-dessus du téléphone seulement : en dessous, une carte par ligne (site.css) */
@media (min-width: 761px) {
  .trio.trio-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trio.trio-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) and (min-width: 761px) { .trio.trio-3 { gap: 12px; } .trio-3 .app-body h3 { font-size: 22px; } }

/* Une bande de cartes de fonctionnalités, sur la nuit */
.fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fgrid .sib-body { padding: 16px 48px 18px 16px; }
.fgrid .sib-body b { font-size: 16.5px; }
.fgrid .sib-body small { font-size: 14px; }
.fgrid .sib-go { width: 30px; height: 30px; right: 14px; bottom: 18px; }
@media (max-width: 1024px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* au téléphone, deux colonnes de cartes serrées : l'écran, le nom, la promesse — la liste
   des seize fonctionnalités se parcourt d'un coup d'œil au lieu de dix écrans */
@media (max-width: 560px) {
  .fgrid { gap: 8px; }
  .fgrid .sib { border-radius: 14px; }
  .fgrid .sib-shot { aspect-ratio: 16 / 10; }
  .fgrid .sib-body { gap: 3px; padding: 10px 10px 34px; }
  .fgrid .sib-temps { font-size: 9.5px; margin-bottom: 2px; }
  .fgrid .sib-body b { font-size: 14px; line-height: 1.25; }
  .fgrid .sib-body small { font-size: 12.5px; line-height: 1.35; }
  .fgrid .sib-go { width: 24px; height: 24px; right: 10px; bottom: 10px; }
  .fgrid .sib-go svg { width: 12px; height: 12px; }
}
.temps-block + .temps-block { margin-top: clamp(40px, 6vw, 72px); }
.temps-h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.temps-h span { font: 800 13px/1 var(--display); letter-spacing: .14em; color: var(--acc); }
.temps-h b { font: 900 clamp(28px, 3.2vw, 44px)/1 var(--display); text-transform: uppercase; letter-spacing: -.03em; }
.temps-h small { color: var(--cream-2); font-size: 16px; margin-left: auto; text-align: right; max-width: 26em; }
@media (max-width: 760px) { .temps-h { flex-wrap: wrap; } .temps-h small { margin-left: 0; text-align: left; } }

/* ── Les points du héros ne sont pas rognés : l'écran garde son coin, pas son débord ── */
.ph .win, .ph .win-body, .ph .tablet-screen { overflow: visible; }
.ph .win-body img { border-radius: 0 0 15px 15px; }
.ph .tablet-screen img { border-radius: inherit; }
.ph .win-bar { border-radius: 16px 16px 0 0; }

/* Les cartes flottantes autour d'un téléphone (YUSU Entry) */
.ph-chip { position: absolute; z-index: 6; }
.js .ph-chip { opacity: 0; }
.reduced .ph-chip, .no-js .ph-chip { opacity: 1; }
.pc-l1 { right: calc(100% + 24px); top: 18%; }
.pc-l2 { right: calc(100% + 40px); top: 54%; }
.pc-r1 { left: calc(100% + 24px); top: 30%; }
.pc-r2 { left: calc(100% + 40px); top: 66%; }
.notif-ico.no { background: var(--no); color: #fff; }

/* ── Le haut filmé d'un secteur : une bande, pas un plein écran ─────────────
   La bande fait ≈ 40 % de la hauteur plus la barre (le premier site : clamp(240px, 40vh, 400px)
   + la barre). Elle se dissout dans la nuit par un masque ; le titre se pose sur son fondu et la
   page continue sans couture. */
.film { position: relative; isolation: isolate; overflow: clip; background: var(--night); color: var(--cream); padding: calc(var(--hdr) + clamp(64px, 14vh, 150px)) 0 clamp(36px, 6vh, 64px); }
.film-media { position: absolute; z-index: 0; left: 0; right: 0; top: 0; height: calc(clamp(260px, 44vh, 440px) + var(--hdr) + 120px); -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 58%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 58%, transparent 100%); }
.film-media img, .film-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-video { opacity: 0; transition: opacity .8s var(--curve); }
.film-video.ready { opacity: 1; }
.film-media span { position: absolute; inset: 0; }
/* ① la teinte : la scène devient un fond, pas un sujet */
.film-tint { background: rgba(14, 11, 9, .34); }
/* ② le creux sous la barre : le logo et les menus restent lisibles, quelle que soit la scène */
.film-top { background: linear-gradient(to bottom, rgba(14, 11, 9, .72) 0%, rgba(14, 11, 9, .6) 16%, rgba(14, 11, 9, .3) 32%, transparent 50%); }
/* ③ le creux sous le texte */
.film-bottom { background: linear-gradient(to top, rgba(26, 19, 14, .95) 0%, rgba(26, 19, 14, .8) 22%, rgba(26, 19, 14, .45) 42%, transparent 62%); }
/* ④ le grain, seulement sur le film */
.film-grain { background-image: var(--grain); background-size: 160px 160px; opacity: .14; mix-blend-mode: overlay; }
.film-in { position: relative; z-index: 2; }
/* la page reprend juste sous la bande, comme sur le premier site : pas un écran vide entre les deux */
.film + .pains-sec::after { -webkit-mask-image: linear-gradient(transparent, #000 240px); mask-image: linear-gradient(transparent, #000 240px); }
.film + .pains-sec { padding-top: clamp(16px, 3vh, 40px); }
.film-back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: clamp(18px, 4vh, 44px); font: 700 12.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); transition: color .2s; }
.film-back:hover { color: var(--cream); }
.film-back svg { width: 15px; height: 15px; transition: transform .3s var(--curve); }
.film-back:hover svg { transform: translateX(-3px); }
.film .ph-kick { justify-content: flex-start; }
.film-h1 { margin-bottom: clamp(14px, 2.4vh, 22px); }
.film-h1 .line { display: block; }
.film .ph-name { font-size: clamp(40px, min(6.6vw, 10.5vh), 104px); }
.film .ph-promise { font-size: clamp(22px, min(3vw, 4.8vh), 44px); line-height: 1; margin-top: .14em; letter-spacing: -.025em; }
.film .lead { max-width: 40em; margin-bottom: clamp(20px, 3vh, 28px); color: var(--cream-2); }
.film .ctas { justify-content: flex-start; }
.film-toggle { position: absolute; z-index: 3; right: var(--gutter); top: calc(var(--hdr) + 22px); display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(14, 11, 9, .45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--cream-line); color: var(--cream); cursor: pointer; }
.film-toggle svg { width: 15px; height: 15px; }
@media (max-width: 760px) {
  .film { padding-top: calc(var(--hdr) + 40px); }
  .film-media { height: calc(clamp(240px, 42vh, 380px) + var(--hdr) + 80px); }
}

/* ── Trois douleurs, trois réponses ──────────────────────────────────────── */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.pain { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-big); background: #201813; box-shadow: inset 0 0 0 1px var(--cream-line); }
.pain-n { font: 800 13px/1 var(--display); letter-spacing: .14em; color: var(--acc); }
.pain h3 { font: 900 clamp(22px, 2vw, 28px)/1.05 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.pain-p { color: var(--cream-2); font-size: 15.5px; line-height: 1.6; }
.pain-a { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: color-mix(in oklch, var(--orange) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--orange) 35%, transparent); }
.pain-a p { font-size: 15.5px; line-height: 1.55; font-weight: 600; color: var(--cream); }
.pain-arrow { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--acc); color: #fff; margin-top: 1px; }
.pain-arrow svg { width: 13px; height: 13px; }
.pain-shot { margin-top: auto; }
.pain-shot .crop { max-height: 260px; }
.pain-dev { display: grid; justify-items: center; }
.pain-dev .phone { --pw: 170px; }
.pain-shot .tablet { padding: 7px; border-radius: 16px; }
.pain-link { color: var(--cream); font-size: 15px; }
@media (max-width: 1024px) { .pains { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 20px; scrollbar-width: none; } .pains::-webkit-scrollbar { display: none; } .pain { scroll-snap-align: start; } }

/* ── Une rangée de téléphones ────────────────────────────────────────────── */
.phones { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); justify-items: center; }
.phones-4 { --n: 4; }
.phones-3 { --n: 3; }
.ph-item { display: grid; justify-items: center; gap: 6px; text-align: center; }
.ph-item .phone { --pw: clamp(180px, 18vw, 250px); margin-bottom: 14px; }
.phones-3 .ph-item:nth-child(2) { transform: translateY(-28px); }
.phones-4 .ph-item:nth-child(even) { transform: translateY(-22px); }
.ph-item b { font: 800 17px/1.25 var(--body); }
.ph-item span { font-size: 15px; color: var(--cream-2); }
.s-paper .ph-item span { color: var(--ink-2); }
@media (max-width: 900px) { .phones { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 30px var(--gutter) 10px; scrollbar-width: none; } .phones::-webkit-scrollbar { display: none; } .ph-item { scroll-snap-align: center; transform: none !important; } .ph-item .phone { --pw: min(220px, 56vw); } }

/* ── La bande du prix ────────────────────────────────────────────────────── */
.strip-sec { padding: clamp(48px, 7vw, 88px) 0; }
.strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px clamp(24px, 4vw, 56px); padding: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 40px); border-radius: var(--r-big); background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 30px 60px -46px rgba(26, 19, 14, .45); }
.strip-i { display: grid; gap: 4px; }
.strip-v { font: 900 clamp(34px, 3.4vw, 48px)/.9 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.strip-v small { font-size: .38em; letter-spacing: 0; margin-left: .15em; }
.strip-l { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.strip-cta { margin-left: auto; }
@media (max-width: 760px) { .strip-cta { margin-left: 0; width: 100%; } }

/* ── Les verdicts de la porte ────────────────────────────────────────────── */
.verdicts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); justify-items: center; }
.verdict-i { display: grid; justify-items: center; gap: 6px; text-align: center; }
.verdict-i .phone { --pw: clamp(170px, 17vw, 230px); margin-bottom: 14px; }
.verdict-i.v-ok .phone { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 4px #000, 0 40px 90px -30px color-mix(in oklch, var(--ok) 55%, transparent); }
.verdict-i.v-no .phone { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 4px #000, 0 40px 90px -30px color-mix(in oklch, var(--no) 60%, transparent); }
.verdict-i:nth-child(even) { transform: translateY(32px); }
.verdict-i b { font: 800 17px/1.25 var(--body); }
.verdict-i span { font-size: 15px; color: var(--cream-2); max-width: 22em; }
.verdict-more { margin-top: clamp(48px, 6vw, 72px); text-align: center; color: var(--cream-2); font-size: 16px; }
@media (max-width: 900px) { .verdicts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 20px; scrollbar-width: none; } .verdicts::-webkit-scrollbar { display: none; } .verdict-i { transform: none !important; scroll-snap-align: center; } .verdict-i .phone { --pw: min(220px, 56vw); } }

/* ── Le héros d'une page sans écran ──────────────────────────────────────── */
.ph-text { padding-bottom: clamp(64px, 10vh, 120px); }
.ph-text .lead a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.io-fan { position: relative; z-index: 2; display: flex; justify-content: center; align-items: flex-start; margin-top: clamp(44px, 7vh, 80px); }
.io-fan .phone { --pw: clamp(180px, 17vw, 240px); }
.io-fan .phone:nth-child(1) { transform: translate(18%, 40px) rotate(-8deg); }
.io-fan .phone:nth-child(2) { z-index: 2; }
.io-fan .phone:nth-child(3) { transform: translate(-18%, 40px) rotate(8deg); }

/* ── Côté public : une ligne par moment ──────────────────────────────────── */
.io-row .split.flip > :first-child { order: 2; }
.io-phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(12px, 2vw, 24px); }
.io-phones .phone { --pw: clamp(190px, 17vw, 250px); }
.io-phones.io-n2 .phone:nth-child(2) { transform: translateY(48px); }
.io-link { margin-top: 22px; }
.s-paper .io-link { color: var(--ink); }
@media (max-width: 900px) { .io-row .split.flip > :first-child { order: 0; } .io-phones .phone { --pw: min(44vw, 210px); } }

/* ── Une nuit entière : l'horloge reste, les heures défilent ─────────────── */
.night { display: grid; grid-template-columns: minmax(220px, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.clock { position: sticky; top: calc(var(--hdr) + 60px); display: grid; place-items: center; aspect-ratio: 1; width: 100%; max-width: 340px; }
.clock-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.clock-ring circle { fill: none; stroke: var(--cream-line); stroke-width: 1.6; }
.clock-ring .clock-prog { stroke: var(--acc); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 92; filter: drop-shadow(0 0 6px color-mix(in oklch, var(--orange) 80%, transparent)); }
.clock-face { display: grid; justify-items: center; gap: 8px; text-align: center; overflow: hidden; padding: 10px; }
.clock-h { display: block; font: 900 clamp(46px, 5.4vw, 84px)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.clock-l { font: 700 13px/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-2); }
.beats { display: grid; gap: clamp(48px, 9vh, 110px); }
.beat { display: grid; gap: 12px; opacity: .35; transition: opacity .6s var(--curve); }
.beat.is-on { opacity: 1; }
.beat-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.beat-head time { font: 900 22px/1 var(--display); color: var(--acc); font-variant-numeric: tabular-nums; }
.beat-head small { font-size: 13.5px; font-weight: 600; color: var(--cream-3); }
.beat h2 { font: 900 clamp(28px, 3.2vw, 46px)/1 var(--display); text-transform: uppercase; letter-spacing: -.03em; }
.beat p { color: var(--cream-2); font-size: 17px; line-height: 1.6; max-width: 36em; }
.beat-shot { margin: 8px 0 4px; }
.beat-shot .crop { max-height: 340px; }
.beat-dev { display: flex; }
.beat-dev .phone { --pw: 200px; }
.beat-shot .tablet { max-width: 620px; }
.beat .link { color: var(--cream); }
.reduced .beat, .no-js .beat { opacity: 1; }
/* Au téléphone, l'horloge reste : une pastille épinglée sous la barre, l'anneau et l'heure */
@media (max-width: 900px) {
  .night { grid-template-columns: 1fr; }
  .clock { z-index: 5; top: calc(var(--hdr) + 10px); display: flex; align-items: center; gap: 12px; justify-self: start; width: auto; max-width: none; aspect-ratio: auto; margin-bottom: 4px; padding: 7px 16px 7px 7px; border-radius: 16px; background: rgba(26, 19, 14, .84); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px var(--cream-line), 0 14px 30px -16px rgba(0, 0, 0, .8); }
  .clock-ring { position: relative; inset: auto; flex: none; width: 42px; height: 42px; }
  .clock-face { display: flex; align-items: baseline; gap: 10px; padding: 0; overflow: visible; }
  .clock-h { font-size: 24px; }
  .clock-l { font-size: 11px; letter-spacing: .1em; }
}

/* ── La FAQ complète ─────────────────────────────────────────────────────── */
.fq-tools { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.fq-search { position: relative; display: block; max-width: 560px; }
.fq-search svg { position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--ink-3); }
.fq-search input { width: 100%; height: 54px; padding: 0 18px 0 48px; border: 0; border-radius: var(--r-btn); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 10px 30px -20px rgba(26, 19, 14, .3); font: 600 16px/1 var(--body); color: var(--ink); outline: none; }
.fq-search input:focus { box-shadow: inset 0 0 0 2px var(--acc); }
.fq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fq-chips button { height: 40px; padding: 0 16px; border: 0; border-radius: var(--r-btn); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 700 14.5px/1 var(--body); color: var(--ink-2); cursor: pointer; }
.fq-chips button[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: none; }
.fq-group + .fq-group { margin-top: clamp(36px, 5vw, 56px); }
.fq-group[hidden] { display: none; }
.fq-h { font: 900 clamp(24px, 2.4vw, 34px)/1 var(--display); text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 16px; }
.faq-page details[hidden] { display: none; }
.fq-empty { padding: 24px; border-radius: var(--r-card); background: var(--surface); color: var(--ink-2); }

/* ── Le simulateur des tarifs ────────────────────────────────────────────── */
.sim { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.sim-in { display: grid; gap: 20px; align-content: start; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-big); background: #201813; box-shadow: inset 0 0 0 1px var(--cream-line); }
.seg-in { margin: 0; padding: 0; border: 0; min-width: 0; }
.seg-in legend { padding: 0; margin-bottom: 10px; font: 700 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }
.seg-opts { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--cream-fill); }
.seg-in label { flex: 1; position: relative; }
.seg-in input { position: absolute; opacity: 0; }
.seg-in span { display: grid; place-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; font: 700 14.5px/1.2 var(--body); color: var(--cream-2); text-align: center; cursor: pointer; transition: background .25s, color .25s; }
.seg-in input:checked + span { background: var(--cream); color: var(--ink); }
.seg-in input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.num-in { display: grid; gap: 10px; }
.num-in > span:first-child { font: 700 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--cream-3); }
.num-wrap { position: relative; display: block; }
.num-wrap input { width: 100%; height: 64px; padding: 0 44px 0 18px; border: 0; border-radius: 16px; background: var(--cream-fill); box-shadow: inset 0 0 0 1px var(--cream-line); font: 900 30px/1 var(--display); color: var(--cream); font-variant-numeric: tabular-nums; outline: none; -moz-appearance: textfield; }
.num-wrap input:focus { box-shadow: inset 0 0 0 2px var(--acc); }
.num-wrap b { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 800 20px/1 var(--display); color: var(--cream-3); }
.sim-out { display: grid; gap: 18px; align-content: start; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-big); background: var(--cream); color: var(--ink); }
.so-main { display: grid; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.so-l { font: 700 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.so-v { font: 900 clamp(52px, 6vw, 84px)/.9 var(--display); letter-spacing: -.035em; color: var(--acc); font-variant-numeric: tabular-nums; }
.so-s { font-size: 14.5px; color: var(--ink-2); }
.so-lines { display: grid; gap: 10px; margin: 0; }
.so-lines div { display: flex; justify-content: space-between; gap: 16px; font-size: 15.5px; }
.so-lines dt { color: var(--ink-2); font-weight: 600; }
.so-lines dd { margin: 0; font: 800 16px/1.2 var(--display); font-variant-numeric: tabular-nums; }
.so-tot { padding: 14px 16px; border-radius: 14px; background: var(--paper); font-size: 15px; line-height: 1.5; }
.so-free:empty { display: none; }
.so-free { font-weight: 700; color: var(--acc); }
@media (max-width: 900px) { .sim { grid-template-columns: 1fr; } }

.pay-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.tiers { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--r-big); overflow: hidden; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 30px 60px -46px rgba(26, 19, 14, .45); }
.tiers th, .tiers td { padding: 16px 22px; text-align: left; font-size: 15.5px; }
.tiers th { font: 700 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); background: var(--paper); }
.tiers td:last-child, .tiers th:last-child { text-align: right; }
.tiers td:last-child { font: 900 20px/1 var(--display); font-variant-numeric: tabular-nums; }
.tiers tr + tr td { border-top: 1px solid var(--line); }
.tiers tfoot td { text-align: left !important; font: 600 13.5px/1.5 var(--body) !important; color: var(--ink-2); background: var(--paper); }
@media (max-width: 900px) { .pay-grid { grid-template-columns: 1fr; } }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-radius: var(--r-big); overflow: hidden; background: var(--cream-line); box-shadow: inset 0 0 0 1px var(--cream-line); }
.rule { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.6vw, 32px); background: var(--night); }
.rule .cap-ico { background: var(--cream-fill); color: var(--acc); box-shadow: inset 0 0 0 1px var(--cream-line); }
.rule h3 { font: 800 18px/1.3 var(--body); }
.rule p { color: var(--cream-2); font-size: 15.5px; line-height: 1.6; }
.rules-sec .price-note { color: var(--cream-2); }
@media (max-width: 900px) { .rules { grid-template-columns: 1fr; } }

/* ── La demande de démo ──────────────────────────────────────────────────── */
.demo-hero { padding-bottom: clamp(64px, 10vh, 120px); }
.demo-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.demo-copy { text-align: left; }
.demo-copy .crumbs { justify-content: flex-start; }
.demo-copy .ph-name { font-size: clamp(46px, 6vw, 96px); }
.demo-copy .ph-promise { font-size: clamp(22px, 2.6vw, 38px); }
.demo-copy .lead { margin: 0 0 28px; }
.demo-steps { display: grid; gap: 10px; }
.demo-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--cream-fill); box-shadow: inset 0 0 0 1px var(--cream-line); }
.demo-steps span { font: 900 14px/1.4 var(--display); color: var(--acc); }
.demo-steps b { display: block; font-weight: 800; }
.demo-steps small { font-size: 14.5px; color: var(--cream-2); }
.demo-form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-big); background: var(--cream); color: var(--ink); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8); }
.chips-in { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.chips-in legend { width: 100%; margin-bottom: 10px; font: 700 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.chip-in { position: relative; }
.chip-in input { position: absolute; opacity: 0; }
.chip-in span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: var(--r-btn); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 700 14.5px/1 var(--body); color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.chip-in.is-on span, .chip-in input:checked + span { background: var(--ink); color: var(--cream); box-shadow: none; }
.chip-in input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f { display: grid; gap: 8px; }
.f > span { font: 700 13.5px/1 var(--body); color: var(--ink-2); }
.f > span i { font-style: normal; font-weight: 600; color: var(--ink-3); }
.f input, .f select, .f textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font: 600 16px/1.4 var(--body); color: var(--ink); outline: none; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { box-shadow: inset 0 0 0 2px var(--acc); }
.f input:user-invalid { box-shadow: inset 0 0 0 2px var(--no); }
.demo-form .btn { justify-self: start; }
.f-note { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.f-note a, .f-done a { color: var(--ink); font-weight: 700; }
.f-done { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: color-mix(in oklch, var(--ok) 22%, var(--surface)); font-weight: 600; }
.f-done svg { width: 18px; height: 18px; flex: none; }
.f-done[hidden] { display: none; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .f-row { grid-template-columns: 1fr; } }


/* ══ Connect ══════════════════════════════════════════════════════════════
   Le héros rejoue le vrai parcours de l'app (les captures de yusu.io) : l'espace de la soirée,
   un profil qu'on parcourt, « Faire signe », et quand c'est réciproque, la conversation. */
.cx-hero { position: relative; overflow: clip; isolation: isolate; padding: calc(var(--hdr) + clamp(36px, 7vh, 80px)) 0 clamp(64px, 10vh, 120px); background: radial-gradient(50% 60% at 78% 40%, color-mix(in oklch, var(--orange) 26%, transparent), transparent 70%), radial-gradient(40% 40% at 6% 96%, color-mix(in oklch, var(--orange) 14%, transparent), transparent 70%), var(--night); }
.cx-hero .hero-fx { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
.cx-hero .hero-fx.on { opacity: .7; }
.cx-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.cx-copy .crumbs { justify-content: flex-start; }
.cx-copy .ph-kick { justify-content: flex-start; }
.cx-copy .ph-name { font-size: clamp(56px, min(9vw, 14vh), 150px); }
.cx-copy .ph-promise { font-size: clamp(24px, min(3vw, 5vh), 44px); }
.cx-copy .lead { margin: 0 0 clamp(22px, 3.4vh, 30px); }
.cx-copy .ctas { justify-content: flex-start; }
@media (max-width: 900px) { .cx-grid { grid-template-columns: 1fr; } .cx-stage { margin-top: 12px; } .cx-stage .phone { --pw: min(290px, 72vw); } }

/* Les quatre gestes */
.cx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); counter-reset: cx; }
.cx-step { display: grid; justify-items: center; gap: 8px; text-align: center; }
.cx-step .phone { --pw: clamp(170px, 16vw, 228px); margin-bottom: 14px; }
.cx-step:nth-child(even) { transform: translateY(30px); }
.cx-step .n { font: 800 12.5px/1 var(--display); letter-spacing: .14em; color: var(--acc); }
.cx-step b { font: 800 18px/1.25 var(--body); }
.cx-step span { font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 22em; }
@media (max-width: 900px) { .cx-steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 64%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 20px; scrollbar-width: none; } .cx-steps::-webkit-scrollbar { display: none; } .cx-step { transform: none !important; scroll-snap-align: center; } .cx-step .phone { --pw: min(220px, 56vw); } }

/* Ce que ça change : des panneaux, un argument chacun, sa preuve à côté */
.cx-why { display: grid; gap: clamp(14px, 1.6vw, 20px); }
.cx-arg { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(24px, 3vw, 44px); border-radius: var(--r-big); background: #201813; box-shadow: inset 0 0 0 1px var(--cream-line); overflow: hidden; position: relative; }
.cx-arg::before { content: ''; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in oklch, var(--orange) 22%, transparent), transparent); pointer-events: none; }
.cx-arg-n { font: 900 clamp(52px, 6vw, 96px)/.8 var(--display); color: var(--acc); letter-spacing: -.04em; display: block; margin-bottom: 14px; }
.cx-arg h3 { font: 900 clamp(26px, 2.8vw, 40px)/1 var(--display); text-transform: uppercase; letter-spacing: -.03em; margin-bottom: 14px; }
.cx-arg p { color: var(--cream-2); font-size: 17px; line-height: 1.6; max-width: 36em; }
.cx-arg .money { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 14px; border-radius: var(--r-btn); background: color-mix(in oklch, var(--orange) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--orange) 40%, transparent); font-weight: 700; font-size: 14.5px; color: var(--cream); }
.cx-arg .money svg { width: 16px; height: 16px; color: var(--acc); }
.cx-arg-vis { position: relative; display: grid; justify-items: center; }
.cx-arg-vis .phone { --pw: clamp(170px, 15vw, 220px); }
.cx-arg-vis .crop { max-width: 360px; }
.cx-arg:nth-child(even) { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.cx-arg:nth-child(even) .cx-arg-vis { order: -1; }
@media (max-width: 900px) { .cx-arg, .cx-arg:nth-child(even) { grid-template-columns: 1fr; } .cx-arg:nth-child(even) .cx-arg-vis { order: 0; } }

/* Avant, pendant, après */
.cx-time { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-radius: var(--r-big); overflow: hidden; background: var(--line); box-shadow: 0 1px 0 var(--line), 0 30px 60px -46px rgba(26, 19, 14, .45); }
.cx-t { display: grid; gap: 10px; align-content: start; padding: clamp(24px, 3vw, 36px); background: var(--surface); }
.cx-t time { font: 900 clamp(24px, 2.3vw, 34px)/1 var(--display); letter-spacing: -.03em; color: var(--acc); text-transform: uppercase; }
.cx-t h3 { font: 800 19px/1.3 var(--body); }
.cx-t p { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 900px) { .cx-time { grid-template-columns: 1fr; } }

/* Connect — ce que le club règle, et ce qui protège son public */
.cx-hand { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 28px); }
.cx-list { list-style: none; display: grid; gap: 1px; align-content: start; border-radius: var(--r-big); overflow: hidden; background: var(--cream-line); }
.cx-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; padding: clamp(18px, 2.2vw, 26px); background: #201813; }
.cx-list li > svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: color-mix(in oklch, var(--orange) 16%, transparent); color: var(--acc); }
.cx-list b { display: block; font: 800 17.5px/1.35 var(--body); color: var(--cream); }
.cx-list span { display: block; margin-top: 6px; color: var(--cream-2); font-size: 15.5px; line-height: 1.6; }
.cx-safe li { align-items: center; }
.cx-safe b { font-weight: 700; font-size: 16px; }
@media (max-width: 900px) { .cx-hand { grid-template-columns: 1fr; } }

/* ══ Le projecteur : un sujet qui mérite sa bande (les rôles et accès dans Équipe) ══ */
.spot-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.spot .points { margin-bottom: 30px; }
.spot.s-night .points .p-ico { background: color-mix(in oklch, var(--orange) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklch, var(--orange) 36%, transparent); }
.spot.s-night .points li > div span { display: block; color: var(--cream-2); }
.spot-shot { max-width: 440px; margin: 0 auto; border-radius: 20px; overflow: hidden; background: var(--app-night); box-shadow: inset 0 0 0 1px rgba(251, 247, 241, .1), 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 120px -30px color-mix(in oklch, var(--orange) 40%, transparent); }
.spot-shot .crop { width: 100%; background-repeat: no-repeat; }
@media (max-width: 900px) { .spot-grid { grid-template-columns: 1fr; } .spot-shot { max-width: 360px; } }

/* ══ Artistes : leurs fans sur yusu.io, et les labels ══════════════════════════ */
.fans-grid, .labels-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.fan-card, .label-card { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r-big); }
.fan-card { background: #201813; box-shadow: inset 0 0 0 1px var(--cream-line); }
.label-card { background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 30px 60px -46px rgba(26, 19, 14, .45); }
.fan-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; margin-bottom: 6px; background: color-mix(in oklch, var(--orange) 16%, transparent); color: var(--acc); }
.fan-ico svg { width: 22px; height: 22px; }
.fan-card b, .label-card b { font: 800 19px/1.3 var(--body); }
.fan-card span:not(.fan-ico) { color: var(--cream-2); font-size: 15.5px; line-height: 1.6; }
.label-card > span:not(.fan-ico) { color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.label-card .link { margin-top: 6px; }
@media (max-width: 900px) { .fans-grid, .labels-grid { grid-template-columns: 1fr; } }
.jh-shot .crop, .spot-shot .crop { border-radius: 0; box-shadow: none; max-height: none; }
.crop.crop-l { background-color: #F6F5F2; }
/* Au téléphone : les points du héros portent leur numéro, la légende est sous l'écran */
.hs-legend { display: none; }
@media (max-width: 760px) {
  .hs i::before { content: attr(data-n); position: absolute; inset: 0; display: grid; place-items: center; font: 800 9.5px/1 var(--display); color: #fff; }
  .hs i { width: 18px !important; height: 18px !important; left: -9px !important; top: -9px !important; }
  .hs-legend { position: relative; z-index: 3; display: grid; gap: 8px; max-width: 520px; margin: 18px auto 0; padding: 0 var(--gutter); list-style: none; counter-reset: hs; }
  .hs-legend li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: center; color: var(--cream-2); font-size: 14.5px; line-height: 1.4; counter-increment: hs; }
  .hs-legend li::before { content: counter(hs); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--acc); color: #fff; font: 800 11px/1 var(--display); }
}
@media (max-width: 760px) { .ph:has(.hs-legend) .hero-fade { height: 48px; } .hs-legend { padding-bottom: 36px; } }
@media (pointer: coarse), (max-width: 760px) { .chip-in span { height: 44px; } }

/* La visite guidée, épinglée : ses étapes et l'écran tiennent sous la barre */
@media (min-width: 1025px) {
  .tour-step { padding: 8px 0; }
  .tour-n { margin-bottom: 6px; }
  .tour-step h3 { font-size: clamp(18px, min(1.7vw, 3.1vh), 24px); line-height: 1.18; }
  .tour-step.is-on p { max-height: 7em; margin-top: 8px; }
  .tour-step p { font-size: 15.5px; line-height: 1.55; }
  .tour-stage .win { max-width: calc((var(--avail) - 40px) * 1.6); margin: 0 auto; }
  .tour-phone .phone, .tour-term .phone { --pw: min(clamp(240px, 25vw, 340px), calc((var(--avail) - 30px) / 2.08)); }
}
/* le héros de Connect, le bloc Jane, le poste de pilotage : bornés aussi */
.cx-copy .ph-name { font-size: clamp(52px, min(8.4vw, 13vh), 140px); }
.hub { max-width: min(640px, calc(var(--avail) + 20px)); }
/* une capture se borne par sa propre proportion (--r, posée par le générateur) */
@media (min-width: 901px) {
  .jh-vis { width: 100%; max-width: calc((var(--avail) - 70px) * var(--r, 2)); justify-self: center; }
  .spot-shot { max-width: min(440px, calc((var(--avail) - 30px) * var(--r, 1))); }
}
.cx-hero .cx-c2 { right: -6%; }
@media (max-width: 1366px) { .cx-hero .cx-c1 { left: -8%; } .cx-hero .cx-c3 { left: -6%; } }
.spot .points { gap: 12px; margin-top: 22px; margin-bottom: 24px; }
.spot .points b { font-size: 16px; }
.spot .points li > div span { font-size: 14.5px; }
.film .ph-name { font-size: clamp(40px, min(6.6vw, 10vh), 104px); }


/* ══════════════════════════════════════════════════════════════════════════════════════════
   LE TÉLÉPHONE, À PARITÉ AVEC L'ORDINATEUR (29 octobre 2026) — voir la tête de couche dans site.css
   ══════════════════════════════════════════════════════════════════════════════════════════ */
/* La visite guidée épinglée au téléphone (.tour-m, posé par le script quand elle tient) */
@media (max-width: 1024px) {
  .tour.tour-m { grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
  .tour-m .tour-stage { display: block; order: -1; }
  .tour-m.tour-phone .tour-stage, .tour-m.tour-term .tour-stage { display: grid; }
  .tour-m.tour-phone .phone, .tour-m.tour-term .phone { --pw: min(210px, 25vh); }
  .tour-m .tour-rail { display: block; top: 6px; bottom: 6px; }
  .tour-m .tour-steps { padding-left: 18px; gap: 0; }
  .tour-m .tour-step { padding: 6px 0; }
  .tour-m .tour-n { margin-bottom: 4px; font-size: 11px; color: var(--cream-3); }
  .tour-m .tour-step h3 { font-size: 16.5px; color: var(--cream-3); }
  .tour-m .tour-step.is-on .tour-n { color: var(--acc); }
  .tour-m .tour-step.is-on h3 { color: var(--cream); }
  .s-paper .tour-m .tour-n { color: var(--ink-3); }
  .s-paper .tour-m .tour-step h3 { color: var(--ink-3); }
  .s-paper .tour-m .tour-step.is-on .tour-n { color: var(--acc); }
  .s-paper .tour-m .tour-step.is-on h3 { color: var(--ink); }
  .tour-m .tour-step p { max-height: 0; opacity: 0; margin-top: 0; font-size: 14.5px; line-height: 1.5; }
  .tour-m .tour-step.is-on p { max-height: 8em; opacity: 1; margin-top: 6px; }
  .tour-m .tour-crop { display: none; }
  .tour-m.no-tr * { transition: none !important; }
}

/* Les cartes autour du téléphone d'Entry, rendues : plus petites, à cheval sur ses bords */
@media (max-width: 1100px) {
  .ph-chip { max-width: 210px; gap: 8px; padding: 7px 10px 7px 7px; border-radius: 14px; }
  .ph-chip .notif-ico { width: 30px; height: 30px; border-radius: 9px; }
  .ph-chip .notif-ico svg { width: 15px; height: 15px; }
  .ph-chip .notif-txt b { font-size: 12.5px; }
  .ph-chip .notif-txt small { font-size: 11px; }
  .pc-l1 { right: auto; left: -20%; top: 14%; }
  .pc-l2 { right: auto; left: -24%; top: 52%; }
  .pc-r1 { left: auto; right: -20%; top: 32%; }
  .pc-r2 { left: auto; right: -24%; top: 70%; }
}

/* Le haut filmé au téléphone : le titre passe sur l'image, le voile s'épaissit dessous pour que
   la promesse orange se lise sur les lumières de scène */
@media (max-width: 760px) {
  .film-tint { background: rgba(14, 11, 9, .5); }
  .film-bottom { background: linear-gradient(to top, rgba(26, 19, 14, .97) 0%, rgba(26, 19, 14, .86) 34%, rgba(26, 19, 14, .55) 56%, transparent 78%); }
  .film .ph-promise { text-shadow: 0 2px 18px rgba(14, 11, 9, .7); }
}

/* Le haut des pages au téléphone : l'appareil se montre en entier (rien de rogné par le bas de la
   section), et le dégradé de sortie ne fait que l'épaisseur de la marge */
@media (max-width: 760px) {
  .ph { padding-bottom: 64px; }
  .ph .hero-fade, .ph-phone .hero-fade, .ph-term .hero-fade { height: 44px; }
}

/* Les trois écrans de yusu.io (Côté public) tiennent dans la largeur du téléphone */
@media (max-width: 560px) {
  .io-fan .phone { --pw: 33vw; }
  .io-fan .phone:nth-child(1) { transform: translate(26%, 30px) rotate(-8deg); }
  .io-fan .phone:nth-child(3) { transform: translate(-26%, 30px) rotate(8deg); }
}

/* Connect (la page) : sous 1100 px, les bulles restent dans l'écran — à cheval sur le téléphone,
   contre les bords au téléphone */
@media (max-width: 1100px) { .cx-hero .cx-c1 { left: -3%; } .cx-hero .cx-c2 { right: -3%; } .cx-hero .cx-c3 { left: -1%; } }
@media (max-width: 760px) { .cx-hero .cx-c1, .cx-hero .cx-c3 { left: 0; } .cx-hero .cx-c2 { right: 0; } }
