/* ScreenPair — pages produit et pages récit : /mac, /windows, /ipad, /android, /fonctions, /securite.
   Scènes liées au défilement (pages/product.js, moteur motion.js). Principe : chaque décor (.prig) est dessiné
   en pourcentages de sa propre largeur (unités « u » : --rw × --rh), donc il est juste sans JavaScript et en
   mouvement réduit (état final, à sa place). Avec JavaScript, la caméra (.pcam) le cadre et l'anime :
   transform et opacity seulement. Mise en page compacte (téléphones, fenêtres étroites) : même requête que
   motion.js, (min-width: 700px) and (min-aspect-ratio: 19/20) niée. */

/* ================================================================== 1. Structure commune des scènes */
.pscene { position: relative; }
.pscene > .sticky { position: relative; }
.js:not(.rm) .pscene { height: calc(var(--track) * 1vh); }
@supports (height: 1svh) { .js:not(.rm) .pscene { height: calc(var(--track) * 1svh); } }
.js:not(.rm) .pscene > .sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; contain: layout paint; }
@supports (overflow: clip) { .js:not(.rm) .pscene > .sticky { overflow: clip; } }
.js:not(.rm) .pscene:not(.ready) .pcam, .js:not(.rm) .pscene:not(.ready) .pfade { visibility: hidden; }

/* Décor : sans JavaScript et en mouvement réduit, il est dans le flux, à la largeur du contenu. */
.pstage { position: relative; width: min(var(--media), 87.5%); margin: 0 auto; }
.pcam { position: relative; pointer-events: none; }
.prig { --rw: var(--wrw); --rh: var(--wrh); position: relative; width: 100%; aspect-ratio: var(--rw) / var(--rh); }
.prig * { pointer-events: none; }
.pos, .prig .sh { --X: var(--x); --Y: var(--y); --W: var(--w); position: absolute; left: calc(var(--X) / var(--rw) * 100%); top: calc(var(--Y) / var(--rh) * 100%); width: calc(var(--W) / var(--rw) * 100%); }
.prig .sh { height: 6%; }
@media not all and (min-width: 700px) and (min-aspect-ratio: 19/20) {
  .prig { --rw: var(--crw, var(--wrw)); --rh: var(--crh, var(--wrh)); }
  .pos, .prig .sh { --X: var(--cx, var(--x)); --Y: var(--cy, var(--y)); --W: var(--cw, var(--w)); }
  .pos.c-hide { display: none; }
}
/* Avec JavaScript : la scène occupe l'écran, la caméra place le décor (largeur fixée par la mesure). */
.js:not(.rm) .pscene .pstage { position: absolute; inset: 0; width: auto; margin: 0; }
.js:not(.rm) .pscene .pcam { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.js:not(.rm) .pscene .pcam > .prig { width: var(--rig-w, 1200px); }
.live .pcam, .live .pmove { will-change: transform, opacity; }

/* Écrans : coordonnées en unités de l'appareil (--u = 1 u de l'appareil, quelle que soit sa taille affichée). */
.dev-laptop, .dev-pc { --uw: 1328; }
.dev-tablet { --uw: 648; }
.dev-tablet-land { --uw: 800; }
.dev-display { --uw: 820; }
.dev-screen { --u: calc(100cqw / var(--uw)); }
.pano { --PX: var(--px, 0); --PY: var(--py, 0); --PW: var(--pw); --PH: var(--ph); }
.pwin { --L: var(--l); --T: var(--t); }
@media not all and (min-width: 700px) and (min-aspect-ratio: 19/20) {
  .pano { --PX: var(--cpx, var(--px, 0)); --PY: var(--cpy, var(--py, 0)); --PW: var(--cpw, var(--pw)); --PH: var(--cph, var(--ph)); }
  .pwin { --L: var(--cl, var(--l)); --T: var(--ct, var(--t)); }
}
.pano, .pfill { position: absolute; left: calc(var(--PX) * var(--u)); top: calc(var(--PY) * var(--u)); width: calc(var(--PW) * var(--u)); height: calc(var(--PH) * var(--u)); }
.pfill { left: 0; top: 0; width: 100%; height: 100%; }
.pano picture, .pfill picture { width: 100%; height: 100%; }
.pano img, .pfill img { width: 100%; height: 100%; object-fit: cover; }
.pwin { position: absolute; left: calc(var(--L) * var(--u)); top: calc(var(--T) * var(--u)); width: calc(var(--ww) * var(--u)); z-index: 2; }
.pwin-in { position: relative; border-radius: calc(5.2 * var(--u)); overflow: hidden; box-shadow: 0 calc(18 * var(--u)) calc(40 * var(--u)) rgba(0, 0, 0, .45), 0 0 0 .5px rgba(255, 255, 255, .14); background: #1e1e1e; }
.pwin-in img { width: 100%; height: auto; }
.pwin.clear .pwin-in { background: none; }
.pwin.app .pwin-in { border-radius: calc(10 * var(--u)); }
.ptbar { position: relative; height: calc(24 * var(--u)); background: linear-gradient(90deg, #232d3e, #25243a); }
.ptbar i { position: absolute; top: calc(6 * var(--u)); width: calc(12 * var(--u)); height: calc(12 * var(--u)); border-radius: 50%; background: #ff5f57; }
.ptbar i:nth-child(1) { left: calc(12 * var(--u)); } .ptbar i:nth-child(2) { left: calc(32 * var(--u)); background: #febc2e; } .ptbar i:nth-child(3) { left: calc(52 * var(--u)); background: #28c840; }
.ptbar-light { background: #ebedf1; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .07); }
.pwin-in.pwin-light { background: #fff; box-shadow: 0 calc(18 * var(--u)) calc(40 * var(--u)) rgba(0, 0, 0, .3), 0 0 0 .5px rgba(0, 0, 0, .14); }
.pmb { height: calc(22 * var(--u)); font-size: calc(11 * var(--u)); z-index: 3; }
.pmb.dim { color: rgba(245, 245, 247, .5); }
/* Allumage d'un écran : volet noir qui glisse (transform seulement), liseré clair sur son bord. */
.scr-off { position: absolute; inset: 0; z-index: 6; background: #000; display: none; }
.scr-off::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 14%; margin-left: -7%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75) 50%, transparent); opacity: var(--band, 0); }
.js:not(.rm) .scr-off { display: block; }
.scr-glass { position: absolute; inset: 0; z-index: 7; background: linear-gradient(115deg, rgba(255, 255, 255, .06), transparent 38%); pointer-events: none; }
.pshadow { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .75), transparent); }
[data-tone="light"] .pshadow, .bg-paper .pshadow { background: radial-gradient(closest-side, rgba(0, 0, 0, .22), transparent); }

/* Légendes de scène : dans le flux sans JavaScript ; en surimpression, fondues par la scène sinon. */
.pcaps { width: min(880px, 87.5%); margin: 32px auto 0; text-align: center; display: grid; gap: 20px; }
.pcap { margin: 0; }
.pcap .tone { color: var(--fg2); }
.js:not(.rm) .pscene .pcaps { position: absolute; left: 0; right: 0; bottom: max(28px, 5vh); margin: 0 auto; display: block; height: 0; z-index: 4; }
.js:not(.rm) .pscene .pcap { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; }
.pcaps .t-caption { font-size: clamp(21px, 2.3vw, 32px); }

/* Balayage lumineux final */
.psweep { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; display: none; }
.js:not(.rm) .psweep { display: block; }
.psweep i { position: absolute; top: -20%; bottom: -20%; left: 0; width: 22vw; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent); opacity: 0; transform: translateX(-40vw) skewX(-18deg); }
.lite .psweep { display: none; }

/* Sous-titre de scène lu par les lecteurs d'écran quand la scène tourne */
.sr-story { display: none; }
.js:not(.rm) .sr-story { display: block; }

/* Barre locale des pages produit : titre long (« ScreenPair pour Mac ») ; sous 500 px, le bouton « Acheter
   bientôt » passe dans le menu déroulant (même règle que site.css sous 360 px), sans débordement. */
@media (max-width: 429px) { .pg-windows .lnav-actions .btn { display: none; } }
@media (max-width: 399px) { .pg-ipad .lnav-actions .btn, .pg-android .lnav-actions .btn { display: none; } }
.pg .split > *, .pg .spec-2 > *, .pg .duo > *, .pg .lic-wrap > *, .pg .ml-grid > * { min-width: 0; }
@media (max-width: 499px) {
  .pg .lnav-buy { display: none; }
  .pg .lnav-menu-buy { display: block; padding-top: 16px; }
  .pg .lnav-title { font-size: 17px; }
}

/* ================================================================== 2. Sections, en-têtes, bandes */
.pg-head { width: min(1180px, 87.5%); padding-top: calc(var(--gnav-h) + var(--lnav-h) + clamp(40px, 6vw, 88px)); }
.pg-head .t-display-l { margin: 6px 0 0; font-size: clamp(36px, 5.9vw, 84px); line-height: 1.04; }
.pg-head .lede { margin-inline: auto; }
.pg-head .lede { margin-top: clamp(20px, 2.4vw, 28px); }
.pg-head .ctas { margin-top: clamp(26px, 3vw, 36px); }
.sec-tight { padding-block: clamp(64px, 7vw, 104px); }
.sec-top0 { padding-top: 0; }
.sec-bot0 { padding-bottom: 0; }
.p-eyebrow .tag { margin-left: 8px; }
.h1-l2 { transition: color .5s var(--e-apple); }
.h1-l2.lit { color: #f5f5f7; }
.p-callout { margin-top: 28px; max-width: 820px; }
.p-callout .tag { margin-right: 6px; vertical-align: .1em; }
.p-callout a { color: inherit; }
.callout-beta { color: #f5f5f7; }
.callout-beta > svg { color: #ffb340; }
[data-tone="light"] .callout-beta { color: #1d1d1f; }
[data-tone="light"] .callout-beta > svg { color: #8a4b00; }
.soon-line { margin-top: 14px; }
.p-dlmeta { margin: 16px auto 0; }
.p-dlmeta + .soon-line { margin-top: 6px; }
.p-meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; margin-top: 18px; }
.p-meta .note { margin: 0; max-width: 640px; }
.p-meta .seal + .note::before { content: "·"; margin-right: 14px; color: var(--fg2); }
@media (max-width: 599px) { .p-meta .seal + .note::before { content: none; } }
/* Titre Android : deux lignes nettes à toutes les largeurs (jamais un mot seul sur une ligne). */
.pg-head .ah-h1 { font-size: clamp(34px, 5.2vw, 76px); }
.p-meta .seal { color: var(--fg); }
.close-band { text-align: center; }
.close-band .ctas { justify-content: center; margin-top: 36px; }
.close-band .lede { margin-inline: auto; }
.tile h3 { font: 600 21px/1.19 var(--font-display); letter-spacing: .011em; }
.tile p { color: var(--fg2); }
.tile .checks { margin-top: 20px; }
.tile-ico { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tile-2); color: var(--fg); margin-bottom: 8px; }
.bg-paper .tile-ico { background: #f5f5f7; }
.tile-ico svg { width: 28px; height: 28px; }
.spec-2 { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 900px) { .spec-2 { grid-template-columns: 5fr 7fr; align-items: start; } }
.spec-2 .t-section { margin-bottom: 18px; }
.mini-h { font: 600 14px/1.3 var(--font); color: var(--fg2); letter-spacing: -.01em; margin: 0 0 14px; }
.cards-3 { display: grid; gap: 20px; }
@media (min-width: 1024px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 734px) and (max-width: 1023px) { .cards-2m { grid-template-columns: repeat(2, 1fr); } }
.shotwin { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 .5px rgba(255, 255, 255, .14), 0 30px 70px -20px rgba(0, 0, 0, .7); background: #1e1e1e; }
[data-tone="light"] .shotwin, .bg-paper .shotwin { box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12), 0 30px 60px -24px rgba(0, 0, 0, .35); }
.shotwin img { width: 100%; height: auto; }

/* Galerie horizontale (P8) — même composant que l'accueil */
.gallery-track { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0 0 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: calc(50% - min(var(--media), 87.5%) / 2); padding-inline: calc(50% - min(var(--media), 87.5%) / 2); scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline-offset: -2px; }
.gallery-item { flex: 0 0 auto; width: min(560px, 82vw); display: flex; flex-direction: column; border-radius: var(--r-tile); background: var(--tile); scroll-snap-align: start; overflow: hidden; }
.gallery-item .gi-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: linear-gradient(160deg, #20232b, #121318); display: grid; place-items: center; }
.gallery-item .gi-media .shotwin { width: 84%; }
[data-tone="light"] .gallery-item .gi-media { background: linear-gradient(160deg, #eef0f4, #e1e3e8); }
.js:not(.rm) .mh h1 { transform-origin: 50% 0; }
.gallery-item .gi-crop { position: absolute; inset: 9% 7% auto 7%; height: 82%; }
.gallery-item .gi-crop img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item .gi-text { padding: 28px 32px 34px; display: grid; gap: 8px; }
.gallery-item .gi-n { font: 600 14px/1 var(--font); color: var(--fg2); font-variant-numeric: tabular-nums; }
.gallery-item h3 { font: 600 24px/1.17 var(--font-display); letter-spacing: .009em; }
.gallery-item p { margin: 0; color: var(--fg2); }
.paddles { display: flex; justify-content: flex-end; gap: 14px; margin-top: 28px; }
.paddle { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #333336; color: #f5f5f7; cursor: pointer; transition: background-color .24s var(--e-nav), opacity .24s var(--e-nav); }
[data-tone="light"] .paddle { background: #e8e8ed; color: #1d1d1f; }
.paddle:hover { background: #424245; }
[data-tone="light"] .paddle:hover { background: #d2d2d7; }
.paddle svg { width: 16px; height: 16px; stroke-width: 2.6; }
.paddle[data-gallery-prev] svg { transform: scaleX(-1); }
.paddle:disabled { opacity: .42; cursor: default; }

/* Pas à pas (étapes à gauche, visuel à droite, fondu enchaîné au défilement) */
.stp { position: relative; width: min(var(--media), 87.5%); margin: 0 auto; }
.stp-list { list-style: none; display: grid; gap: 40px; counter-reset: stp; }
.stp-item { display: grid; gap: 28px; counter-increment: stp; }
.stp-text { max-width: 440px; }
.stp-text > b { display: block; font: 600 clamp(21px, 1.8vw, 26px)/1.2 var(--font-display); letter-spacing: .005em; color: var(--fg); }
.stp-text > b::before { content: counter(stp, decimal-leading-zero); display: block; margin-bottom: 8px; font: 600 14px/1 var(--font); color: var(--fg2); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.stp-text > span:last-child { display: block; margin-top: 8px; color: var(--fg2); font-size: 17px; line-height: 1.47; }
.stp-text > span:last-child > i { font-style: normal; }
.stp-text i b { font-weight: 600; color: var(--fg); }
.stp-fig { position: relative; border-radius: var(--r-tile); background: var(--tile); min-height: 260px; display: grid; place-items: center; overflow: hidden; }
.stp-bar { display: none; }
.stp-dots { display: none; }
@media (min-width: 900px) { .stp-item { grid-template-columns: 5fr 7fr; align-items: center; } }
.stp-shared ~ .stp-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px 40px; }
.stp-shared ~ .stp-list .stp-item { grid-template-columns: 1fr; }
/* Avec la scène : liste à gauche, visuels superposés à droite (ou en haut sur téléphone). */
.js:not(.rm) .pscene .stp { position: absolute; left: 0; right: 0; top: calc(var(--lnav-h) + 4vh); bottom: 5vh; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; width: min(var(--media), 87.5%); }
.js:not(.rm) .pscene .stp-list { gap: 6px; align-self: center; }
.js:not(.rm) .pscene .stp-item { display: block; }
.js:not(.rm) .pscene .stp-text { position: relative; padding: 16px 0 18px 26px; }
.js:not(.rm) .pscene .stp-text > b { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.005em; color: var(--fg3); transition: color .3s var(--e-nav); }
.js:not(.rm) .pscene .stp-text > b::before { display: none; }
.js:not(.rm) .pscene .stp-text > span:last-child { display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: 0; transition: grid-template-rows .45s var(--e-io), opacity .35s var(--e-nav), margin .45s var(--e-io); }
.js:not(.rm) .pscene .stp-text > span:last-child > i { overflow: hidden; }
.js:not(.rm) .pscene .on .stp-text > b { color: var(--fg); }
.js:not(.rm) .pscene .on .stp-text > span:last-child { grid-template-rows: 1fr; opacity: 1; margin-top: 8px; }
.js:not(.rm) .pscene .stp-bar { display: block; position: absolute; left: 0; top: 16px; bottom: 16px; width: 2px; border-radius: 1px; background: var(--line); overflow: hidden; }
.js:not(.rm) .pscene .stp-bar b { position: absolute; inset: 0; background: var(--fg); transform-origin: 50% 0; transform: scaleY(0); }
.js:not(.rm) .pscene .stp-fig { position: absolute; top: 6%; bottom: 6%; right: 0; width: calc((100% - clamp(32px, 5vw, 80px)) * 7 / 12); min-height: 0; opacity: 0; visibility: hidden; }
.js:not(.rm) .pscene .stp-shared ~ .stp-list .stp-fig { background: none; }
.stp-shared { position: relative; border-radius: var(--r-tile); background: var(--tile); overflow: hidden; margin-bottom: 32px; }
.js:not(.rm) .pscene .stp-shared { position: absolute; top: 6%; bottom: 6%; right: 0; width: calc((100% - clamp(32px, 5vw, 80px)) * 7 / 12); margin: 0; }
@media not all and (min-width: 700px) and (min-aspect-ratio: 19/20) {
  .js:not(.rm) .pscene .stp { display: block; top: calc(var(--lnav-h) + 16px); bottom: 20px; }
  .js:not(.rm) .pscene .stp-fig, .js:not(.rm) .pscene .stp-shared { left: 0; right: 0; width: auto; top: 0; bottom: auto; height: 50%; }
  .js:not(.rm) .pscene .stp-list { display: block; }
  .js:not(.rm) .pscene .stp-text { position: absolute; left: 0; right: 0; top: calc(50% + 44px); padding: 0; opacity: 0; max-width: none; }
  .js:not(.rm) .pscene .stp-text > b { color: var(--fg); font-size: 21px; }
  .js:not(.rm) .pscene .stp-text > b::before { display: block; }
  .js:not(.rm) .pscene .stp-text > span:last-child { grid-template-rows: 1fr; opacity: 1; margin-top: 8px; font-size: 15px; line-height: 1.43; }
  .js:not(.rm) .pscene .stp-bar { display: none; }
  .js:not(.rm) .pscene .stp-dots { display: flex; position: absolute; left: 0; right: 0; top: calc(50% + 18px); gap: 6px; justify-content: center; }
  .stp-dots i { width: 28px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; position: relative; }
  .stp-dots i b { position: absolute; inset: 0; background: var(--fg); transform-origin: 0 50%; transform: scaleX(0); }
}

/* Frise verticale qui se remplit au défilement (étapes, trajet d'une image) */
.tl-wrap { position: relative; }
.tl { position: relative; list-style: none; display: grid; gap: clamp(36px, 4vw, 56px); padding-left: 64px; }
.tl::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; border-radius: 1px; background: var(--line); }
.tl-fill { position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; border-radius: 1px; background: var(--fg); transform-origin: 50% 0; transform: scaleY(1); }
.js:not(.rm) .tl-fill { transform: scaleY(0); }
.tl > li { position: relative; }
.tl-n { position: absolute; left: -64px; top: -6px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--fg); color: var(--fg); font: 600 15px/1 var(--font); font-variant-numeric: tabular-nums; transition: background-color .4s var(--e-out), color .4s var(--e-out), box-shadow .4s var(--e-out); }
.js:not(.rm) .tl-n { box-shadow: inset 0 0 0 1.5px var(--line); color: var(--fg2); }
.js:not(.rm) .tl > li.on .tl-n { background: var(--fg); color: var(--bg); box-shadow: inset 0 0 0 1.5px var(--fg); }
.tl h3 { font: 600 clamp(21px, 1.8vw, 24px)/1.2 var(--font-display); letter-spacing: .007em; }
.tl p { margin: 8px 0 0; color: var(--fg2); }
.tl .k { display: block; margin-bottom: 6px; font: 600 12px/1.3 var(--font); letter-spacing: .02em; text-transform: uppercase; color: var(--fg2); }
.tl .spec { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
/* Grande frise (« Le trajet d'une image ») : une phrase par étape, le détail technique replié. */
.tl-big { gap: clamp(44px, 5vw, 72px); padding-left: 72px; }
.tl-big .tl-n { left: -72px; top: 0; width: 44px; height: 44px; }
.tl-big h3 { font: 600 clamp(26px, 2.6vw, 38px)/1.12 var(--font-display); letter-spacing: -.012em; }
.tl-big .k { margin-bottom: 8px; font: 600 17px/1.3 var(--font); letter-spacing: -.01em; text-transform: none; color: var(--fg2); }
.tl-more { margin-top: 14px; }
.tl-more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; color: var(--link); font-size: 17px; }
.tl-more summary::-webkit-details-marker { display: none; }
.tl-more summary::after { content: ""; width: 8px; height: 8px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--e-io); }
.tl-more[open] summary::after { transform: rotate(-135deg) translate(-1px, -1px); }
.tl-more summary:hover { text-decoration: underline; text-underline-offset: .18em; }
.tl-more-in { max-width: 700px; padding-top: 6px; }
.tl-more-in p { font-size: 17px; line-height: 1.47; }

/* ================================================================== 3. /mac */
.mh h1 { font-size: clamp(36px, 6.1vw, 88px); line-height: 1.02; }
.mh h1 .ld-h1 { display: block; }
.mh .p-lock { position: relative; z-index: 4; width: min(var(--media), 87.5%); margin: 0 auto; padding-top: calc(var(--gnav-h) + var(--lnav-h) + clamp(28px, 4.4vh, 48px)); text-align: center; }
.mh .p-lock .ctas { justify-content: center; margin-top: clamp(22px, 3vh, 30px); }
.mh .p-lock .lede { margin: clamp(16px, 2.4vh, 24px) auto 0; }
.mh .pstage { padding: 56px 0 0; }
.js:not(.rm) .mh .p-lock { position: absolute; left: 0; right: 0; top: 0; }
.js:not(.rm) .mh .pstage { padding: 0; }
@keyframes pp-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pp-line { from { transform: translateY(105%); } to { transform: none; } }
.js:not(.rm) .ld { animation: pp-rise .9s var(--e-apple) var(--d, 0s) both; }
.js:not(.rm) .ld-h1 > span { display: inline-block; animation: pp-line 1.1s var(--e-out) var(--d, 0s) both; }
.ld-h1 { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.rig-mh .mh-mac { z-index: 3; }
.rig-mh .mh-pad { z-index: 2; transform-origin: 50% 60%; }
.rig-mh .mh-disp { z-index: 1; }
/* (ombres : règle commune .prig .sh, section 1) */
@keyframes pp-win { from { opacity: 0; transform: translateY(calc(30 * var(--u))); } to { opacity: 1; transform: none; } }
.js:not(.rm) .mh .mh-mac .pwin-in { animation: pp-win .9s var(--e-out) var(--wd, .25s) both; }
.js:not(.rm) .mh .mh-mac .pwin.app .pwin-in { --wd: .4s; }

.rig-mr .mr-host { z-index: 2; }
.rig-mr .mr-pad { z-index: 3; transform-origin: 50% 70%; }
.rig-mr .mr-lap2 { z-index: 1; }
.rx-shot { position: absolute; inset: 0; background: #1b1c20; }
.rx-shot img { width: 100%; height: 100%; object-fit: cover; }
.roles .tiles { margin-top: clamp(48px, 6vw, 80px); }
.rig-mr .mr-lap2 .dev-lid { transform-origin: 50% 100%; }
/* Sans scène : état final seulement (l'autre Mac sert d'écran) ; la tablette est montrée par l'ouverture. */
html:not(.js) .rig-mr .mr-pad, .rm .rig-mr .mr-pad { display: none; }
.hl-wrap { position: relative; }
.hl-ring { position: absolute; left: 4%; right: 4%; border-radius: 10px; box-shadow: 0 0 0 2px #0071e3, 0 0 0 6px rgba(0, 113, 227, .18); }
.gi-tall { width: 52%; }
.gi-media .gi-tall .shotwin { width: 100%; }
.gallery-item .gi-media:has(.gi-tall) { align-items: start; padding-top: 7%; }

.licence { overflow: hidden; }
.ml-grid { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
/* Texte aligné sur la grille de 980 px des autres sections ; la capture déborde à droite (grille de 1260 px). */
@media (min-width: 900px) {
  .ml-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); padding-left: calc((min(var(--media), 87.5vw) - min(var(--grid), 87.5vw)) / 2); }
}
.ml-vis { position: relative; display: grid; justify-items: center; gap: 36px; }
.ml-shot { width: 100%; } /* largeur définie : l'image chargée ne change pas la hauteur du bloc */
.ml-vis .shotwin { width: min(440px, 88%); margin-inline: auto; }
.ml-three { display: flex; gap: 28px; align-items: flex-end; justify-content: center; }
.ml-three span { display: grid; justify-items: center; gap: 8px; color: var(--fg2); font: 600 14px/1 var(--font); font-variant-numeric: tabular-nums; transition: color .5s var(--e-out); }
.ml-three svg { width: 56px; height: 56px; stroke-width: 1.2; transition: color .5s var(--e-out), transform .5s var(--e-spring); }
.ml-three span.on { color: var(--fg); }
.ml-three span.on svg { color: #2997ff; transform: translateY(-4px); }
[data-tone="light"] .ml-three span.on svg { color: #0066cc; }
.dist .seal-lg { margin-top: 32px; max-width: 560px; }

/* ================================================================== 4. /windows */
.op-l { object-position: 20% 50%; } .op-c { object-position: 55% 50%; } .op-r { object-position: 85% 50%; }
.wh .pg-head { padding-bottom: clamp(24px, 4vw, 56px); }
.wh .p-callout, .ah .p-callout { max-width: 760px; }
.ah .pg-head { padding-bottom: clamp(24px, 4vw, 56px); }
.wh-head { text-align: left; }
.rig-wh .wh-pc { z-index: 2; }
.rig-wh .wh-pad { z-index: 3; transform-origin: 50% 80%; }
.rig-wh svg.beam-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.rig-wh .pin-lock { z-index: 5; width: 2.5%; height: auto; aspect-ratio: 1; margin: 0; transform: translate(-50%, -50%); }
.pwin.doc .pwin-in { background: #fff; border-radius: calc(8 * var(--u)); }
.pwin.doc { z-index: 4; transform-origin: 50% 0; }
@media not all and (min-width: 700px) and (min-aspect-ratio: 19/20) { .rig-wh .wh-beam, .rig-wh .wh-lock { display: none; } }
.ws-card { width: min(520px, 86%); display: grid; gap: 18px; justify-items: start; text-align: left; }
.ws-card .ws-k { font: 600 14px/1.3 var(--font); color: var(--fg2); letter-spacing: -.01em; }
.ws-card .ws-q { font: 600 clamp(24px, 2.4vw, 34px)/1.15 var(--font-display); letter-spacing: -.01em; color: var(--fg); margin: 0; }
.ws-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ws-pill { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 980px; background: var(--tile-2); color: var(--fg); font-size: 15px; font-weight: 600; white-space: nowrap; }
.ws-pill.go { background: #0071e3; color: #fff; }
.ws-pills svg { width: 14px; height: 14px; color: var(--fg2); stroke-width: 3; }
.ws-big { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 0 24px; }
.ws-big svg { width: 76px; height: 76px; stroke-width: 1.1; color: var(--fg); }
.ws-big p { margin: 0; font: 600 clamp(26px, 2.6vw, 38px)/1.12 var(--font-display); letter-spacing: -.01em; }
.ws-big p .tone { color: var(--fg2); }
.ws-rx { display: flex; align-items: flex-end; justify-content: center; gap: 4%; width: 88%; }
.ws-rx .dev { flex: none; }
.ws-rx .dev-display { width: 34%; } .ws-rx .dev-tablet { width: 22%; } .ws-rx .dev-tablet-land { width: 34%; }
.ws-code { display: flex; gap: .14em; font: 600 clamp(64px, 8.4vw, 120px)/1 var(--font-display); letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--fg); }
.ws-code i { font-style: normal; display: inline-block; }
.ws-code i:nth-child(4) { margin-left: .22em; }
.js:not(.rm) .ws-code i { opacity: 0; transform: translateY(.35em); transition: opacity .5s var(--e-out), transform .6s var(--e-out); transition-delay: calc(var(--i) * 60ms); }
.js:not(.rm) .on .ws-code i, .rm .ws-code i { opacity: 1; transform: none; }
.ws-sub { margin: 18px 0 0; text-align: center; color: var(--fg2); font-size: 17px; }
.proto-vis { position: relative; width: min(var(--media), 87.5%); margin: 0 auto clamp(48px, 6vw, 80px); }
.proto-vis svg.beam-line { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.beam-line path { fill: none; stroke-linecap: round; }
.beam-line .b-base { stroke: var(--line); stroke-width: 2; }
.beam-line .b-draw { stroke: url(#pp-beam); stroke-width: 3; stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.beam-line .b-glow { stroke-width: 12; opacity: .14; stroke-dasharray: 1 2; stroke-dashoffset: 0; }
.js:not(.rm) .beam-line .b-draw, .js:not(.rm) .beam-line .b-glow { stroke-dashoffset: 1; }
.pin-lock { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #000; box-shadow: inset 0 0 0 1.5px #2997ff, 0 0 0 8px rgba(0, 0, 0, .8); color: #f5f5f7; }
.pin-lock svg { width: 22px; height: 22px; }
.pin-label { position: absolute; left: 50%; z-index: 2; transform: translateX(-50%); white-space: nowrap; margin: 0; font-size: 14px; color: var(--fg2); }

/* ================================================================== 5. /ipad */
.ih .ih-grid { position: relative; width: min(var(--media), 87.5%); margin: 0 auto; padding-top: calc(var(--gnav-h) + var(--lnav-h) + clamp(32px, 5vw, 72px)); display: grid; gap: 40px; }
@media (min-width: 900px) { .ih .ih-grid { grid-template-columns: 6fr 5fr; align-items: center; } }
.ih .ih-copy .lede { margin-top: 24px; }
.ih .ih-copy .appstore { margin-top: 32px; }
.ih .pstage { width: 100%; }
.js:not(.rm) .ih .ih-grid { position: absolute; inset: 0; padding: 0; width: auto; display: block; }
.js:not(.rm) .ih .ih-copy { position: absolute; z-index: 3; left: max(6.25vw, calc(50vw - 630px)); width: min(560px, 44vw); top: 50%; transform: translateY(-50%); }
@media not all and (min-width: 700px) and (min-aspect-ratio: 19/20) {
  .js:not(.rm) .ih .ih-copy { left: 6.25vw; right: 6.25vw; width: auto; top: calc(var(--gnav-h) + var(--lnav-h) + 20px); transform: none; text-align: center; }
  .js:not(.rm) .ih .ih-copy .appstore { justify-content: center; }
  .js:not(.rm) .ih .ih-copy .lede { margin-top: 14px; font-size: 17px; line-height: 1.41; }
}
.ih-pad .ipad-layer { border-radius: inherit; overflow: hidden; }
.ipad-layer picture, .ipad-layer img { width: 100%; height: 100%; object-fit: cover; }
.ig-dot { position: absolute; left: 0; top: 0; width: calc(56 * var(--u)); height: calc(56 * var(--u)); margin: calc(-28 * var(--u)) 0 0 calc(-28 * var(--u)); border-radius: 50%; background: rgba(60, 60, 67, .42); box-shadow: 0 0 0 calc(2.5 * var(--u)) rgba(255, 255, 255, .95), 0 0 0 calc(4 * var(--u)) rgba(0, 0, 0, .18), 0 calc(8 * var(--u)) calc(20 * var(--u)) rgba(0, 0, 0, .3); z-index: 8; opacity: 0; }
.ig-ring { position: absolute; left: 0; top: 0; width: calc(56 * var(--u)); height: calc(56 * var(--u)); margin: calc(-28 * var(--u)) 0 0 calc(-28 * var(--u)); border-radius: 50%; box-shadow: 0 0 0 calc(3 * var(--u)) rgba(41, 151, 255, .9); z-index: 8; opacity: 0; }
.ig-ptr { position: absolute; left: 0; top: 0; width: calc(24 * var(--u)); height: calc(34 * var(--u)); z-index: 9; opacity: 0; fill: #000; stroke: #fff; stroke-width: 1.4; overflow: visible; }
.ig-sel { position: absolute; left: 0; top: 0; z-index: 7; background: rgba(41, 151, 255, .22); box-shadow: inset 0 0 0 calc(1.5 * var(--u)) rgba(41, 151, 255, .8); border-radius: calc(3 * var(--u)); transform-origin: 0 0; opacity: 0; }
.ig-menu { position: absolute; z-index: 8; width: calc(150 * var(--u)); padding: calc(5 * var(--u)) 0; border-radius: calc(7 * var(--u)); background: rgba(40, 40, 44, .92); box-shadow: 0 calc(10 * var(--u)) calc(30 * var(--u)) rgba(0, 0, 0, .4), 0 0 0 .5px rgba(255, 255, 255, .2); opacity: 0; transform-origin: 0 0; }
.ig-menu i { display: block; height: calc(20 * var(--u)); margin: 0 calc(5 * var(--u)); border-radius: calc(4 * var(--u)); }
.ig-menu i::after { content: ""; display: block; width: 60%; height: calc(5 * var(--u)); margin: calc(7.5 * var(--u)) calc(9 * var(--u)); border-radius: 3px; background: rgba(245, 245, 247, .55); }
.ig-menu i:nth-child(2) { background: #0a64d8; }
.ig-menu i:nth-child(2)::after { background: #fff; width: 48%; }
.ig-menu i:nth-child(3)::after { width: 70%; }
.ig .ig-list { list-style: none; }
.ig-names { list-style: none; display: grid; gap: 4px; margin-top: 28px; }
.ig-names li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--fg2); font-size: 17px; transition: color .3s var(--e-nav); }
.ig-names li b { font-weight: 600; color: var(--fg3); transition: color .3s var(--e-nav); }
.ig-names li svg { width: 22px; height: 22px; }
.ig-names li.on, .ig-names li.on b { color: var(--fg); }
.ig-names li span { font-size: 15px; text-align: right; }
.ig-grid { display: grid; gap: 40px; width: min(var(--media), 87.5%); margin: 0 auto; }
@media (min-width: 900px) { .ig-grid { grid-template-columns: 5fr 6fr; align-items: center; } }
.js:not(.rm) .ig .ig-grid { position: absolute; inset: calc(var(--lnav-h) + 3vh) 0 4vh; margin: 0 auto; }
.js:not(.rm) .ig .pstage { position: relative; height: 100%; }
@media not all and (min-width: 700px) and (min-aspect-ratio: 19/20) {
  .js:not(.rm) .ig .ig-grid { display: block; }
  .js:not(.rm) .ig .ig-copy .eyebrow { display: none; }
  .js:not(.rm) .ig .ig-copy h2 { font-size: 26px; }
  .js:not(.rm) .ig .ig-copy .lede { font-size: 15px; line-height: 1.4; margin-top: 8px; }
  .js:not(.rm) .ig .ig-names { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; display: block; height: 52px; }
  .js:not(.rm) .ig .ig-names li { position: absolute; left: 0; right: 0; top: 0; border: 0; opacity: 0; justify-content: center; grid-template-columns: 30px auto auto; }
  .js:not(.rm) .ig .ig-names li.on { opacity: 1; }
  .js:not(.rm) .ig .pstage { position: absolute; inset: 0; height: auto; }
}
.ig-head-c { display: none; }
.rot-stage { width: min(var(--media), 87.5%); margin: 0 auto; }
.ir .ir-cap { text-align: center; }

/* Titre de /ipad : « L’iPad devient l’écran » ne se coupe jamais (aucun mot seul) ; la seconde ligne grise se
   répartit en deux lignes équilibrées sous 1800 px, et tient sur une ligne au-delà (colonne plus large).
   Sous 378 px, le corps descend à 9vw : la ligne insécable (≈ 9,33 em) tient dans la colonne de 87,5vw. */
.ih h1 { font-size: clamp(min(34px, 9vw), 4.3vw, 60px); line-height: 1.05; }
.ih h1 .ld-h1:first-child > span { white-space: nowrap; }
@media (min-width: 1800px) {
  .js:not(.rm) .ih .ih-copy { left: max(6.25vw, calc(50vw - 780px)); width: min(780px, 41vw); }
  .ih h1 { font-size: min(66px, calc(min(780px, 41vw) / 12.6)); }
  .ih h1 .ld-h1 > span { white-space: nowrap; }
}
.ipad-layer { position: absolute; inset: 0; z-index: 4; display: none; }
.js:not(.rm) .ipad-layer { display: block; }
.ih-band { position: absolute; top: 0; bottom: 0; left: 0; width: calc(90 * var(--u)); margin-left: calc(-45 * var(--u)); z-index: 6; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85) 50%, transparent); opacity: 0; display: none; }
.js:not(.rm) .ih-band { display: block; }
.ig-sel { width: calc(100 * var(--u)); height: calc(100 * var(--u)); }
.ir-por, .ir-land { position: absolute; inset: 0; }
.ir-land { inset: auto; left: 50%; top: 50%; width: calc(800 * var(--u)); height: calc(600 * var(--u)); transform: translate(-50%, -50%) rotate(-90deg); display: none; }
.js:not(.rm) .ir-land { display: block; opacity: 0; }
.rig-ir .ir-pad { transform-origin: 50% 50%; }
.js:not(.rm) .ig .ig-grid { align-items: stretch; }
.js:not(.rm) .ig .ig-copy { align-self: center; }
.center-appstore .appstore { justify-content: center; }

/* ================================================================== 6. /android */
@media not all and (min-width: 700px) and (min-aspect-ratio: 19/20) { .ah-beam, .ah-lock { display: none; } }
.rig-ah .ah-mac { z-index: 2; }
.rig-ah .ah-tab { z-index: 3; transform-origin: 50% 80%; }
.rig-ah .ah-mac .pwin.proto, .rig-ah .ah-tab .pwin.proto { z-index: 4; transform-origin: 50% 0; }
.rig-ah svg.beam-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.rig-ah .pin-lock { z-index: 5; width: 3.4%; height: auto; aspect-ratio: 1; margin: 0; transform: translate(-50%, -50%); }
.apk { scroll-margin-top: calc(var(--lnav-h) + 24px); }
.apk .steps { margin: 20px 0 24px; }
.apk-hash { margin-top: 8px; }
.duo { display: grid; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 18px 0 0; }
.price-line .t-price { margin: 0; }
.price-line span { color: var(--fg2); font-size: 17px; }

/* ================================================================== 7. /fonctions */
.fh { position: relative; overflow: hidden; }
.fh .endframe { position: relative; margin: clamp(48px, 6vw, 80px) auto 0; }
.fh .endframe picture { border-radius: 0; }
.fh .endframe img { display: block; width: 100%; height: auto; }
.fh-sweep { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fh-sweep::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 22%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent); transform: translateX(-150%) skewX(-18deg); opacity: 0; }
@keyframes pp-sweep { 0% { transform: translateX(-150%) skewX(-18deg); opacity: 1; } 100% { transform: translateX(560%) skewX(-18deg); opacity: 1; } }
.js:not(.rm) .endframe.in .fh-sweep::before { animation: pp-sweep 1.4s var(--e-io) .7s both; }
.fx-cmp { background: #f5f5f7; }
.fx-cmp .e-stage { position: relative; width: min(var(--media), 87.5%); margin: 0 auto; }
.js:not(.rm) .fx-cmp .pscene > .sticky { display: grid; align-items: center; padding-top: var(--lnav-h); }
.js:not(.rm) .fx-cmp .compare { aspect-ratio: auto; height: min(680px, calc(100svh - var(--lnav-h) - 210px)); }
@media (max-width: 699px) { .js:not(.rm) .fx-cmp .compare { height: min(420px, calc(100svh - var(--lnav-h) - 250px)); } }
/* Disposition des écrans : comme dans Réglages Système, l'ensemble reste centré ; la tablette se pose à gauche, à
   droite ou au-dessus du Mac, qui descend quand elle passe au-dessus. Seule la tablette capte le toucher : le reste
   de la zone laisse défiler la page (touch-action: pan-y). Décor 1,6:1 ; Mac 54 % de large, tablette 18,9 %. */
.board { position: relative; border-radius: var(--r-tile); background: linear-gradient(180deg, #1d1d1f, #141416); padding: clamp(14px, 1.8vw, 24px) clamp(20px, 3vw, 40px) clamp(20px, 3vw, 40px); }
.board-area { position: relative; aspect-ratio: 1.6; touch-action: pan-y; }
.board-mac { position: absolute; left: 23%; top: 22.7%; width: 54%; transition: transform .55s var(--e-out); }
.board[data-at="top"] .board-mac { transform: translate3d(0, 39.9%, 0); }
.board-pad { position: absolute; width: 18.9%; left: 79.4%; top: 35.2%; cursor: grab; pointer-events: auto; touch-action: none; transition: transform .55s var(--e-out); z-index: 3; }
.board-pad.drag { transition: none; cursor: grabbing; }
.rm .board-pad, .rm .board-mac { transition: none; }
.board-pad .dev { pointer-events: none; }
.board-slot { position: absolute; border-radius: 10px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); opacity: 0; transition: opacity .25s var(--e-nav); }
.board.dragging .board-slot { opacity: 1; }
.board-ui { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin-top: 22px; }
.seg { display: inline-flex; padding: 3px; border-radius: 980px; background: #2a2a2d; }
.seg button { min-height: 32px; padding: 6px 16px; border: 0; border-radius: 980px; background: none; color: #a1a1a6; font-size: 14px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: #f5f5f7; color: #1d1d1f; }
.board-note { margin: 14px 0 0; }
.board .mirror-badge { position: absolute; z-index: 4; inset: auto auto 6% 6%; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #f5f5f7; font: 600 calc(10 * var(--u))/1.2 var(--font); opacity: 0; transition: opacity .3s var(--e-nav); }
.board.mirror .mirror-badge { opacity: 1; }
.board .copy-layer { position: absolute; inset: 0; z-index: 3; opacity: 0; transition: opacity .4s var(--e-nav); }
.board.mirror .copy-layer { opacity: 1; }
.fl-vis { position: relative; width: 100%; aspect-ratio: 1.6; }
.fl-vis .dev-laptop { position: absolute; left: 4%; bottom: 14%; width: 60%; }
.fl-vis .dev-tablet { position: absolute; right: 6%; bottom: 14%; width: 22%; }
.fl-link { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fl-link path { fill: none; stroke-linecap: round; }
/* Nom du lien au-dessus des appareils, comme les étapes de la poignée de main (/securite). */
.fl-tag { position: absolute; left: 0; right: 0; top: 7%; display: flex; gap: 12px; justify-content: center; align-items: center; color: #f5f5f7; font: 600 clamp(22px, 2.2vw, 32px)/1.1 var(--font-display); letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fl-tag svg { width: 1em; height: 1em; color: #86868b; }
.mock-settings { background: #1e1e1e; color: #f5f5f7; }
.mock-settings .ms-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; background: #2a2a2d; font-size: 13px; }
.mock-settings .ms-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.mock-settings .ms-bar i:nth-child(2) { background: #febc2e; } .mock-settings .ms-bar i:nth-child(3) { background: #28c840; }
.mock-settings .ms-bar b { margin-left: auto; margin-right: auto; font-weight: 600; transform: translateX(-24px); }
.mock-settings .ms-body { padding: 18px 20px 24px; }
.mock-settings .ms-tabs { display: flex; justify-content: center; gap: 4px; margin-bottom: 18px; font-size: 13px; }
.mock-settings .ms-tabs span { padding: 5px 12px; border-radius: 7px; color: #a1a1a6; }
.mock-settings .ms-tabs span.on { background: #3a3a3d; color: #f5f5f7; }
.mock-settings .ms-group { border-radius: 10px; background: #2a2a2d; padding: 2px 14px; }
.mock-settings .ms-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 14px; line-height: 1.35; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mock-settings .ms-row:last-child { border-bottom: 0; }
.mock-settings .ms-note { color: #a1a1a6; font-size: 12.5px; padding-top: 0; }
.mock-settings .ms-switch { flex: none; position: relative; width: 38px; height: 22px; border-radius: 11px; background: #48484a; }
.mock-settings .ms-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s var(--e-out); }
.mock-settings .ms-switch.on { background: #30d158; }
.mock-settings .ms-switch.on::after { transform: translateX(16px); }
.mock-settings .ms-ok { display: inline-flex; align-items: center; gap: 6px; color: #30d158; }
.mock-settings .ms-ok svg { width: 16px; height: 16px; }

/* Pas à pas avec visuel commun (Connexion, poignée de main) : sans scène, le visuel commun s'affiche une fois. */
.fl-svg { display: block; width: 100%; height: auto; }
.js:not(.rm) .pscene .stp-fig .fl-svg, .js:not(.rm) .pscene .stp-shared .fl-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stp-shared ~ .stp-list .stp-fig { display: none; }
.js:not(.rm) .pscene .stp-shared ~ .stp-list .stp-fig { display: block; }
.fl .stp-shared { aspect-ratio: 5 / 3; }
.js:not(.rm) .fl .stp-shared { aspect-ratio: auto; }

.board-area .board-slot { width: 18.9%; aspect-ratio: 3 / 4; }
.board-slot[data-slot="left"] { left: 1.7%; top: 35.2%; }
.board-slot[data-slot="right"] { left: 79.4%; top: 35.2%; }
.board-slot[data-slot="top"] { left: 40.55%; top: 1%; }
.copy-in { position: absolute; left: 0; top: calc(205 * var(--u)); width: calc(1200 * var(--u)); height: calc(780 * var(--u)); transform: scale(.5); transform-origin: 0 0; overflow: hidden; }
.copy-layer { background: #000; }
@media (max-width: 733px) { .board-ui { flex-direction: column; align-items: stretch; } .board-ui .seg { justify-content: center; } }

/* ================================================================== 8. /securite */
.flow { border-collapse: separate; border-spacing: 0 8px; font-size: 15px; }
.flow thead th { padding: 0 20px 4px; border: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #86868b; }
.flow tbody th, .flow tbody td { background: #1d1d1f; border: 0; padding: 20px; line-height: 1.47; color: #a1a1a6; }
.flow tbody th { color: #f5f5f7; font-size: 17px; border-radius: 18px 0 0 18px; width: 26%; }
.flow tbody td:last-child { border-radius: 0 18px 18px 0; }
.flow .no { color: #f5f5f7; font-weight: 600; }
@media (max-width: 733px) {
  .flow thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .flow, .flow tbody, .flow tr, .flow th, .flow td { display: block; width: auto; }
  .flow tr { margin-bottom: 10px; border-radius: 18px; overflow: hidden; background: #1d1d1f; }
  .flow tbody th, .flow tbody td { border-radius: 0; padding: 4px 20px; }
  .flow tbody th { padding-top: 18px; width: auto; }
  .flow tbody td:last-child { border-radius: 0; padding-bottom: 18px; }
  .flow td::before { content: attr(data-label); display: block; font-size: 12px; color: #86868b; margin-top: 8px; }
}
.flux .table-wrap { overflow: visible; }
.checks-lg { font-size: 19px; gap: 18px; max-width: 760px; margin-inline: auto; }
.checks-lg svg { width: 22px; height: 22px; color: #0066cc; }
.hs .stp-shared { aspect-ratio: 1.45; }
.js:not(.rm) .hs .stp-shared { aspect-ratio: auto; }
.hs-draw { stroke-dashoffset: 0; }
.js:not(.rm) .hs-draw { stroke-dashoffset: 1; }
/* Scène commune des pas à pas (poignée de main, connexion) : les mêmes appareils que l'accueil (contours CSS,
   captures réelles), reliés par le lien lumineux et le cadenas. Décor 1000 × 690 u centré dans son cadre. */
.stp-shared { container-type: size; }
.dv-stage { position: absolute; left: 50%; top: 52%; width: 100%; aspect-ratio: 1000 / 690; transform: translate(-50%, -50%); }
@supports (width: 1cqh) { .dv-stage { width: min(100cqw, 142cqh); } }
.dv { position: absolute; }
.dv-lap { left: 4%; top: 29%; width: 60%; z-index: 2; }
.dv-pad { left: 70%; top: 37.5%; width: 24%; z-index: 2; }
.dv-link { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; }
.dv-link path { fill: none; stroke-linecap: round; }
.dv-base { stroke: rgba(255, 255, 255, .12); stroke-width: 2.5; }
.dv-glow { stroke: url(#hs-beam); stroke-width: 12; opacity: .16; stroke-dasharray: 1 2; }
.dv-draw { stroke: url(#hs-beam); stroke-width: 3.5; stroke-dasharray: 1 2; }
.dv-lock { left: 58%; top: 93.1%; z-index: 3; width: 4.8%; height: auto; aspect-ratio: 1; margin: 0; transform: translate(-50%, -50%); box-shadow: inset 0 0 0 1.5px #2997ff, 0 0 0 6px var(--tile, #1d1d1f); }
.dv-lock svg { width: 42%; height: 42%; }
.js:not(.rm) .pscene .stp-fig { container-type: size; }
/* Connexion (/fonctions) : même lien, trois matières — câble, Ethernet (pointillés), Wi‑Fi (lumineux, impulsions). */
.fl-cable { stroke: #c9cbd0; stroke-width: 7; }
.fl-cable-hi { stroke: rgba(255, 255, 255, .6); stroke-width: 1.6; transform: translateY(-1.6px); }
.fl-eth { stroke: #f5f5f7; stroke-width: 3.5; stroke-dasharray: 12 10; }
.fl-wifi-glow { stroke: url(#fl-beam); stroke-width: 12; opacity: .18; }
.fl-wifi { stroke: url(#fl-beam); stroke-width: 3.5; }
.fl-pulses circle { opacity: .95; }
.lite .fl-pulses { display: none; }
.js:not(.rm) .pscene .fl-static { display: none; } /* lien fixe : sans scène seulement (mouvement réduit, sans JavaScript) */
.lic-stage { perspective: 1200px; }
.sm-word .sm-c { display: inline; }
.js:not(.rm) .sm .sm-mask { transform-origin: 0 0; }
.sm .sm-mask { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; z-index: 2; }
.sm-word { margin: 0; text-align: center; font: 700 clamp(48px, 10vw, 150px)/.95 var(--font-display); letter-spacing: -.02em; color: #f5f5f7; transform-origin: var(--ox, 30%) var(--oy, 50%); text-wrap: wrap; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .sm-word.clip { background-image: linear-gradient(170deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .12) 70%), url("/img/scene/pano-1920.webp"); background-image: linear-gradient(170deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .12) 70%), image-set(url("/img/scene/pano-1920.avif") type("image/avif"), url("/img/scene/pano-1920.webp") type("image/webp")); background-position: 0 0, 72% 42%; background-size: auto, 170% auto; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
}
/* Ouverture de /securite : tout le premier écran, seule ; la scène du mot géant commence en dessous. */
/* Ouverture de /securite : le titre, puis le produit (Mac et tablette, le même code des deux côtés, le lien chiffré). */
.sh-hero { position: relative; overflow: hidden; padding-bottom: clamp(24px, 4vw, 56px); }
.sh-fig { position: relative; margin: clamp(28px, 4vw, 56px) auto 0; }
.sh-fig img { display: block; width: 100%; height: auto; }
.js:not(.rm) .sh-fig.ld { animation-duration: 1.2s; }
.sm-copy { position: relative; z-index: 3; width: min(var(--grid), 87.5%); margin: 0 auto; text-align: center; }
.sm-copy .lede { margin: 20px auto 0; }
.js:not(.rm) .sm .sm-copy { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
html:not(.js) .sm .sm-mask, .rm .sm .sm-mask { display: none; }
.sm-flow { padding-block: var(--pad-y); }
.js:not(.rm) .sm-flow { padding: 0; }
.flow-table { width: min(var(--grid), 87.5%); margin: 0 auto; }
.flow-rows { list-style: none; display: grid; gap: 10px; }
.flow-rows li { display: grid; gap: 6px 24px; padding: 22px 26px; border-radius: 18px; background: #1d1d1f; }
@media (min-width: 900px) { .flow-rows li { grid-template-columns: 3fr 4fr 5fr; align-items: baseline; } }
.flow-rows h3 { font: 600 17px/1.3 var(--font); letter-spacing: -.02em; }
.flow-rows p { margin: 0; font-size: 15px; line-height: 1.47; color: #a1a1a6; }
.flow-rows p small { display: block; font-size: 12px; color: #86868b; margin-bottom: 2px; }
.flow-rows .no { color: #f5f5f7; font-weight: 600; }
/* Nom de l'étape au-dessus des appareils : en SF Pro, grand, sans pastille ni police à chasse fixe. */
.hs-label { position: absolute; left: 0; right: 0; top: 7%; margin: 0; text-align: center; color: #f5f5f7; font: 600 clamp(24px, 2.4vw, 36px)/1.1 var(--font-display); letter-spacing: -.01em; }
.hs-label span { color: #86868b; }
.stp-fig .hs-fig { position: absolute; inset: 0; }
.sc-vis { position: relative; width: min(var(--media), 87.5%); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(16px, 3vw, 48px); }
.sc-vis figure { margin: 0; }
.sc-vis figcaption { margin-top: 14px; text-align: center; font-size: 14px; color: var(--fg2); }
.sc-vis .shotwin { width: 100%; }
.sc-mid { display: grid; justify-items: center; gap: 22px; }
.sc-mid .pin-lock { position: relative; margin: 0; }
.sc-code { display: flex; gap: .06em; font: 600 clamp(32px, 4.4vw, 64px)/1 var(--font-display); font-variant-numeric: tabular-nums; color: var(--fg); letter-spacing: 0; white-space: nowrap; }
.sc-code i { font-style: normal; display: inline-block; }
.sc-code i:nth-child(4) { margin-left: .2em; }
@media (max-width: 733px) {
  .sc-vis { grid-template-columns: 1fr 1fr; }
  .sc-mid { grid-column: 1 / -1; grid-row: 2; }
}
.js:not(.rm) .sc .sticky { display: grid; align-items: center; }
.lic-wrap { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .lic-wrap { grid-template-columns: 1fr 1fr; } }
.lic-card { position: relative; width: min(440px, 100%); aspect-ratio: 85.6 / 53.98; margin: 0 auto; border-radius: 22px; overflow: hidden; color: #1d1d1f; background: linear-gradient(135deg, #f2f3f5 0%, #c9ccd2 34%, #eceef1 52%, #b9bcc3 78%, #dfe1e5 100%); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .6); transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--e-out); }
.lic-card::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .0) 0 2px, rgba(255, 255, 255, .18) 2px 3px); mix-blend-mode: soft-light; }
.lic-card .spec-band { position: absolute; inset: -40% -60%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%); transform: translateX(var(--sx, -30%)); transition: transform .5s var(--e-out); }
.lic-in { position: absolute; inset: 8% 8%; display: flex; flex-direction: column; justify-content: space-between; }
.lic-top { display: flex; justify-content: space-between; align-items: center; font: 600 15px/1 var(--font-display); }
.lic-top img { width: 26px; height: 26px; border-radius: 6px; }
.lic-top span { display: inline-flex; align-items: center; gap: 8px; }
.lic-tag { font: 600 11px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: #3a3a3d; }
.lic-tok { font: 500 clamp(12px, 1.25vw, 15px)/1.45 var(--mono); letter-spacing: .02em; color: #2a2a2d; word-break: break-all; }
.lic-foot { display: flex; justify-content: space-between; font: 600 11px/1.2 var(--font); color: #3a3a3d; letter-spacing: .02em; }
.sec-points { list-style: none; display: grid; gap: 22px; }
.sec-points li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.sec-points .icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tile-2); }
.sec-points .icon svg { width: 22px; height: 22px; }
.sec-points b { display: block; font-size: 19px; }
.sec-points span span { display: block; color: var(--fg2); margin-top: 4px; }
.prose-big { font: 600 clamp(21px, 1.8vw, 26px)/1.4 var(--font-display); letter-spacing: .004em; color: var(--fg2); }
.prose-big p + p { margin-top: 1em; }
.prose-big b, .prose-big a { color: var(--fg); }

/* ================================================================== 9. /windows, mise en route : des visuels qui remplissent la colonne
   Décor 1000 × 690 u (comme les pas à pas de /securite et /fonctions), sans carte : le PC réel, le pilote, les trois
   écrans (captures réelles « Prêt à recevoir »), puis le code à 6 chiffres entre le PC et la tablette. */
.stp-fig.wv { background: none; border-radius: 0; overflow: visible; aspect-ratio: 1000 / 690; min-height: 0; container-type: inline-size; }
.js:not(.rm) .pscene .stp-fig.wv { aspect-ratio: auto; overflow: visible; }
.wv .dv-stage { container-type: inline-size; }
.wv-pc1 { left: 7%; top: 3%; width: 86%; z-index: 2; }
.wv-pills { position: absolute; left: 0; right: 0; top: 87%; justify-content: center; gap: 8px; }
.wv-pills .ws-k { margin-right: 4px; }
.wv-pills .ws-pill { padding: 6px 14px; font-size: 14px; }
.wv-pc2 { left: 3%; top: 29%; width: 56%; z-index: 2; }
.wv-veil { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; gap: calc(22 * var(--u)); background: rgba(8, 10, 16, .62); color: #f5f5f7; font: 600 calc(44 * var(--u))/1.2 var(--font-display); }
.wv-shield { display: grid; place-items: center; width: calc(170 * var(--u)); height: calc(170 * var(--u)); border-radius: 50%; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 calc(2 * var(--u)) rgba(255, 255, 255, .35); }
.wv-shield svg { width: 50%; height: 50%; stroke-width: 1.4; }
.wv-ghost { position: absolute; left: 68.2%; top: 40.3%; width: 28%; aspect-ratio: 16 / 10; display: grid; place-items: center; border-radius: 1.2cqw; border: 2px dashed rgba(255, 255, 255, .42); background: rgba(41, 151, 255, .07); color: #f5f5f7; font: 600 clamp(13px, 1.9cqw, 17px)/1.2 var(--font); }
.wv-dash { stroke: rgba(255, 255, 255, .42); stroke-width: 2; stroke-dasharray: 6 6; }
.wv-mac { left: 0; top: 26.4%; width: 52%; z-index: 2; }
.wv-and { left: 60%; top: 36.5%; width: 40%; z-index: 2; }
.wv-ipad { left: 40%; top: 24.6%; width: 25.5%; z-index: 3; }
.wv-ipad .dev { filter: drop-shadow(0 2cqw 3cqw rgba(0, 0, 0, .6)); }
.wv-lab { position: absolute; left: 50%; top: calc(100% + 1.6cqw); transform: translateX(-50%); white-space: nowrap; color: var(--fg2); font: 600 clamp(12px, 1.7cqw, 15px)/1.2 var(--font); }
.wv-pc4 { left: 4%; top: 29%; width: 60%; z-index: 2; }
.wv-pad4 { left: 70%; top: 36%; width: 24%; z-index: 2; }
.wv-code { position: absolute; left: 0; right: 0; top: 4%; justify-content: center; font-size: 10.5cqw; }
.wv-g { stroke: url(#wv-beam); stroke-width: 12; opacity: .16; }
.wv-d { stroke: url(#wv-beam); stroke-width: 3.5; }
.wv .wv-lock { top: 93.6%; }
@media not all and (min-width: 700px) and (min-aspect-ratio: 19/20) {
  .wv-pills { flex-wrap: nowrap; gap: 6px; }
  .wv-pills .ws-k, .wv-lab-x { display: none; }
  .wv-pills .ws-pill { padding: 4px 9px; font-size: 11px; }
}

/* ================================================================== 10. Ledes courts + corps de texte ; méta de téléchargement centrée */
.p-body { margin: 16px 0 0; max-width: 560px; color: var(--fg2); font-size: 17px; line-height: 1.47; letter-spacing: -.022em; }
.center .p-body, .close-band .p-body { margin-inline: auto; }
/* Le sceau sur sa propre ligne, la note en dessous ; tous deux centrés (ouverture et bande finale de /mac). */
.p-meta { flex-direction: column; gap: 8px; }
.p-meta .seal + .note::before { content: none; }
.p-meta .seal { margin: 0; }
.js:not(.rm) .sh-fig .fh-sweep::before { animation: pp-sweep 1.4s var(--e-io) 1.5s both; }

/* ================================================================== 11. /fonctions, « Le trajet d'une image » : pas à pas collant
   Même décor que « Connexion » (Mac et tablette, lien chiffré) ; chaque étape met en lumière où elle se passe. */
.capot { padding-bottom: clamp(48px, 6vw, 96px); }
.tj-ring { position: absolute; z-index: 4; pointer-events: none; box-shadow: 0 0 0 2px #2997ff, 0 0 0 7px rgba(41, 151, 255, .2), 0 0 44px 6px rgba(41, 151, 255, .32); }
.tj-lap { left: 6.89%; top: 30.04%; width: 54.22%; height: 51.07%; border-radius: .7cqw; }
.tj-pad { left: 70.89%; top: 38.78%; width: 22.22%; height: 43.8%; border-radius: 1.2cqw; }
.js:not(.rm) .on .tj-ring { animation: tj-breathe 2.4s var(--e-io) infinite alternate; }
@keyframes tj-breathe { from { opacity: .7; } to { opacity: 1; } }
.lite .tj-ring { animation: none; }
.tj-ptr { position: absolute; z-index: 5; left: 80%; top: 58%; width: 2.2%; height: auto; fill: #000; stroke: #fff; stroke-width: 1.4; overflow: visible; }
.tj-touch { position: absolute; z-index: 5; left: 80%; top: 56%; width: 4.6%; aspect-ratio: 1; margin: -2.3% 0 0 -2.3%; border-radius: 50%; background: rgba(60, 60, 67, .42); box-shadow: 0 0 0 2px rgba(255, 255, 255, .95), 0 6px 16px rgba(0, 0, 0, .3); }
.js:not(.rm) .on .tj-touch { animation: tj-tap 1.6s var(--e-out) infinite; }
@keyframes tj-tap { 0%, 100% { transform: scale(1); } 12% { transform: scale(.82); } 30% { transform: scale(1); } }
.lite .tj-touch { animation: none; }
.tj-fig .fl-tag .tj-tag2 { color: #86868b; font-weight: 600; }
.stp-fig.tj-fig .fl-tag { gap: .35em; }
.js:not(.rm) [data-scene="tj"] .stp-text { padding-block: 11px 12px; }
.js:not(.rm) [data-scene="tj"] .stp-text > b { font-size: clamp(19px, 1.6vw, 24px); }
@media (max-height: 820px) and (min-width: 700px) and (min-aspect-ratio: 19/20) {
  .js:not(.rm) [data-scene="tj"] .stp-text { padding-block: 7px 8px; }
  .js:not(.rm) [data-scene="tj"] .stp-text > span:last-child { font-size: 15px; line-height: 1.42; }
}
@media not all and (min-width: 700px) and (min-aspect-ratio: 19/20) { .tj-fig .fl-tag .tj-tag2 { display: none; } }
[data-scene="tj"] .stp-shared { aspect-ratio: 5 / 3; }
.js:not(.rm) [data-scene="tj"] .stp-shared { aspect-ratio: auto; }
.stp-shared ~ .stp-list { align-items: start; }
