/* CARD.PM — page d'accueil
   CSS natif, sans préprocesseur ni framework. Les objets 3D portent leurs propres styles
   (Shadow DOM) ; cette feuille ne s'occupe que de la page et du contenu glissé dans les composants.
   Sommaire : 1 polices · 2 jetons · 3 base · 4 éléments communs · 5 barre & dock · 6 héros
              7 écran du téléphone · 8 chiffres · 9 partage · 10 avancé · 11 réseaux · 12 NFC
              13 données · 14 tarifs & FAQ · 15 pied de page · 16 apparitions · 17 préférences */

/* ── 1. Polices : Outfit, auto-hébergée (licence OFL). Le texte courant utilise la police du système. ── */
@font-face { font-family: 'Outfit'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/outfit-500.ttf') format('truetype'); }
@font-face { font-family: 'Outfit'; font-weight: 800; font-style: normal; font-display: swap; src: url('fonts/outfit-800.ttf') format('truetype'); }
/* Repli calé sur les métriques d'Outfit (mesurées : 98,5 % et 97,5 % de la largeur d'Arial) :
   si la police arrive en retard, le texte ne bouge pas d'un pixel au moment de l'échange. */
@font-face { font-family: 'Outfit Fallback'; font-weight: 800; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Neue Bold'), local('Roboto Bold'); size-adjust: 98.5%; }
@font-face { font-family: 'Outfit Fallback'; font-weight: 500; src: local('Arial'), local('ArialMT'), local('Helvetica Neue'), local('Roboto'); size-adjust: 97.5%; }

/* ── 2. Jetons ── */
:root {
  color-scheme: light;
  --bg: #f6f7f9; --bg-2: #ffffff; --surface: #ffffff; --surface-2: #eff1f5;
  --ink: #0b0c0e; --ink-2: #353a45; --mute: #667080; --line: rgba(11, 12, 14, .09); --line-2: rgba(11, 12, 14, .17);
  --accent: #2563eb; --accent-2: #7c3aed; --ok: #15803d; --warn: #b45309;
  --btn: #0b0c0e; --btn-ink: #ffffff;
  --grid: rgba(11, 12, 14, .055); --glow-1: rgba(37, 99, 235, .20); --glow-2: rgba(124, 58, 237, .16);
  --floor-bg: rgba(255, 255, 255, .88); --floor-line: rgba(11, 12, 14, .13);
  --shadow-1: 0 1px 2px rgba(11, 12, 14, .04), 0 10px 28px -14px rgba(11, 12, 14, .16);
  --shadow-2: 0 2px 4px rgba(11, 12, 14, .05), 0 30px 70px -30px rgba(11, 12, 14, .32);
  --r-s: 12px; --r-m: 20px; --r-l: 28px;
  --font-d: 'Outfit', 'Outfit Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-b: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-m: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1180px; --gutter: clamp(20px, 4vw, 40px);
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #050608; --bg-2: #090a0d; --surface: #0e1014; --surface-2: #161a20;
  --ink: #f4f5f7; --ink-2: #c8cdd7; --mute: #8e96a4; --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .19);
  --accent: #3b82f6; --accent-2: #a78bfa; --ok: #4ade80; --warn: #fbbf24;
  --btn: #f4f5f7; --btn-ink: #0b0c0e;
  --grid: rgba(255, 255, 255, .05); --glow-1: rgba(59, 130, 246, .28); --glow-2: rgba(139, 92, 246, .22);
  --floor-bg: rgba(22, 26, 32, .9); --floor-line: rgba(255, 255, 255, .16);
  --shadow-1: 0 0 0 1px rgba(255, 255, 255, .04); --shadow-2: 0 30px 80px -30px rgba(0, 0, 0, .8);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg: #050608; --bg-2: #090a0d; --surface: #0e1014; --surface-2: #161a20;
    --ink: #f4f5f7; --ink-2: #c8cdd7; --mute: #8e96a4; --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .19);
    --accent: #3b82f6; --accent-2: #a78bfa; --ok: #4ade80; --warn: #fbbf24;
    --btn: #f4f5f7; --btn-ink: #0b0c0e;
    --grid: rgba(255, 255, 255, .05); --glow-1: rgba(59, 130, 246, .28); --glow-2: rgba(139, 92, 246, .22);
    --floor-bg: rgba(22, 26, 32, .9); --floor-line: rgba(255, 255, 255, .16);
    --shadow-1: 0 0 0 1px rgba(255, 255, 255, .04); --shadow-2: 0 30px 80px -30px rgba(0, 0, 0, .8);
  }
}

/* ── 3. Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink-2); font: 400 1.0625rem/1.6 var(--font-b); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-inline-size: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; max-inline-size: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }
.sprite { position: absolute; inline-size: 0; block-size: 0; overflow: hidden; }
.sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 100; inset-block-start: 10px; inset-inline-start: 10px; padding: 10px 16px; border-radius: 99px; background: var(--btn); color: var(--btn-ink); translate: 0 -200%; }
.skip:focus { translate: 0 0; }
.nowrap { white-space: nowrap; }

/* ── 4. Éléments communs ── */
.wrap { inline-size: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(76px, 10vw, 140px); position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { max-inline-size: 760px; margin-block-end: clamp(36px, 5vw, 64px); }
.head--center { margin-inline: auto; text-align: center; }
h1, h2, h3 { font-family: var(--font-d); color: var(--ink); text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.7rem, 5.7vw, 4.75rem); line-height: .98; letter-spacing: -.035em; }
h2 { font-weight: 800; font-size: clamp(2.05rem, 4.3vw, 3.5rem); line-height: 1.02; letter-spacing: -.03em; }
h3 { font-weight: 500; font-size: 1.22rem; line-height: 1.2; letter-spacing: -.01em; }
.dim { color: var(--mute); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-inline-size: 60ch; margin-block-start: 22px; text-wrap: pretty; }
.head--center .lead { margin-inline: auto; }
.fine { font-size: .9rem; color: var(--mute); }
strong, b { color: var(--ink); font-weight: 600; }

.kicker { display: inline-flex; align-items: center; gap: 9px; margin-block-end: 22px; padding: 7px 13px 7px 11px; border: 1px solid var(--line-2); border-radius: 99px;
          background: var(--surface); font: 500 .72rem/1 var(--font-m); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); }
.kicker .i { inline-size: 1.25em; block-size: 1.25em; color: var(--accent); }
.i { inline-size: 1.2em; block-size: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }
.logo { fill: currentColor; block-size: 22px; inline-size: calc(22px * 5.6775); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-block-size: 52px; padding: 0 24px; border-radius: 14px; border: 1px solid transparent;
       font: 500 1.02rem/1 var(--font-d); letter-spacing: -.005em; white-space: nowrap; transition: transform .2s ease, background-color .2s, border-color .2s, box-shadow .2s; }
.btn .i { transition: translate .2s ease; }
.btn:hover .i { translate: 3px 0; }
.btn:active { transform: scale(.98); }
.btn--solid { background: var(--btn); color: var(--btn-ink); box-shadow: var(--shadow-1); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn--ghost { border-color: var(--line-2); background: var(--surface); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--accent { background: var(--accent); color: #fff; min-block-size: 42px; padding: 0 18px; border-radius: 99px; font-size: .95rem; box-shadow: 0 8px 22px -10px var(--accent); }
.btn--accent:hover { transform: translateY(-1px); }
.btn--small { min-block-size: 44px; padding: 0 18px; font-size: .95rem; border-radius: 12px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { color: var(--ink); font-weight: 600; border-block-end: 1px solid var(--line-2); transition: border-color .2s; }
.text-link:hover { border-color: var(--accent); }

.card { position: relative; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); box-shadow: var(--shadow-1); padding: clamp(22px, 2.4vw, 30px); }
.card > p:not([class]) { margin-block-start: 10px; font-size: .98rem; }
.consent p:not([class]), .rse h3 + p { margin-block-start: 12px; }
.card-icon { display: grid; place-items: center; inline-size: 44px; block-size: 44px; margin-block-end: 18px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 11%, transparent); color: var(--accent); }
.card-icon--violet { background: color-mix(in srgb, var(--accent-2) 13%, transparent); color: var(--accent-2); }
.card-icon--ok { background: color-mix(in srgb, var(--ok) 13%, transparent); color: var(--ok); }
.tag { display: inline-block; font: 500 .68rem/1 var(--font-m); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.checks { display: grid; gap: 9px; margin-block-start: 16px; font-size: .96rem; }
.checks li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.checks .i { color: var(--ok); margin-block-start: .22em; }
.grid-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid-4 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

/* ── 5. Barre du haut & dock ── */
.top { position: sticky; z-index: 50; inset-block-start: 0; display: flex; align-items: center; gap: 24px; padding: 14px var(--gutter);
       background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-block-end: 1px solid var(--line); }
.brand { color: var(--ink); display: block; padding-block: 6px; }
.top-nav { display: flex; gap: 4px; margin-inline-start: 8px; font: 500 .96rem/1 var(--font-d); }
.top-nav a { padding: 10px 13px; border-radius: 10px; color: var(--mute); transition: color .2s, background-color .2s; }
.top-nav a:hover { color: var(--ink); background: var(--surface-2); }
.top-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; font: 500 .96rem/1 var(--font-d); }
.top-actions .link { padding: 10px 12px; color: var(--mute); }
.top-actions .link:hover { color: var(--ink); }
.icon-btn { display: grid; place-items: center; inline-size: 42px; block-size: 42px; border-radius: 50%; color: var(--ink-2); transition: background-color .2s; }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn .i-sun, .icon-btn[aria-pressed='true'] .i-moon { display: none; }   /* l'icône annonce le thème vers lequel on bascule */
.icon-btn[aria-pressed='true'] .i-sun { display: block; }

.dock { position: fixed; z-index: 60; inset-block-end: max(14px, env(safe-area-inset-bottom)); inset-inline-start: 50%; translate: -50% 0; max-inline-size: calc(100% - 20px); }
.dock nav { position: relative; display: flex; gap: 2px; padding: 6px; border: 1px solid var(--line-2); border-radius: 99px; overflow-x: auto; scrollbar-width: none;
            background: color-mix(in srgb, var(--surface) 80%, transparent); -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px); box-shadow: var(--shadow-2); }
.dock nav::-webkit-scrollbar { display: none; }
.dock a { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 99px; font: 500 .92rem/1 var(--font-d); color: var(--mute); white-space: nowrap; transition: color .25s; }
.dock a:hover, .dock a[aria-current] { color: var(--ink); }
.dock a[aria-current] .i { color: var(--accent); }
.dock-mark { position: absolute; z-index: 0; inset-block: 6px; inset-inline-start: 0; inline-size: var(--w, 0); translate: var(--x, 0) 0; border-radius: 99px; background: var(--surface-2);
             box-shadow: inset 0 0 0 1px var(--line); transition: translate .45s cubic-bezier(.3, 1.2, .3, 1), inline-size .45s cubic-bezier(.3, 1.2, .3, 1); }

/* ── 6. Héros ── */
.hero { position: relative; overflow: clip; padding-block: clamp(28px, 4vw, 56px) clamp(64px, 8vw, 110px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
           background: radial-gradient(38% 46% at 74% 42%, var(--glow-1), transparent 70%), radial-gradient(30% 38% at 88% 70%, var(--glow-2), transparent 70%); }
.hero-bg::before { content: ''; position: absolute; inset: 0; background-size: 56px 56px;
                   background-image: linear-gradient(to right, var(--grid) 1px, transparent 1px), linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
                   -webkit-mask-image: radial-gradient(70% 80% at 60% 40%, #000 25%, transparent 78%); mask-image: radial-gradient(70% 80% at 60% 40%, #000 25%, transparent 78%); }
.hero-grid { position: relative; display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.hero h1 { margin-block-end: 4px; }
.hero .cta-row { margin-block: 32px 0; }
.hero-stage { position: relative; display: grid; justify-items: center; align-content: center; }
.hero-phone { position: relative; display: grid; place-items: center; inline-size: 100%; padding-block: 8px 0; }
.hero-phone::before { content: ''; position: absolute; inline-size: min(92%, 520px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-2);
                      background: radial-gradient(closest-side, color-mix(in srgb, var(--surface) 70%, transparent), transparent); }
.hero-phone::after { content: ''; position: absolute; inline-size: min(70%, 390px); aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--line-2); animation: spin 60s linear infinite; }
.hero pm-phone { --phone-w: clamp(232px, min(25vw, (100svh - 336px) * .482), 318px); z-index: 1; }
/* Avant l'enregistrement du composant : même encombrement que l'objet final, rien d'affiché → aucun saut de mise en page.
   Le repli sans JavaScript vit dans nojs.css, chargée par <noscript>. */
pm-phone:not(:defined) { display: block; inline-size: var(--phone-w, 300px); aspect-ratio: 300 / 622; overflow: hidden; opacity: 0; }

/* Cartes en direct : l'iframe est mis en page sur 390 px (un vrai téléphone), puis réduit à la taille de l'écran (--k). */
.live, .live-poster { position: absolute; inset: 0; }
.live { overflow: hidden; --k: .72; }
.live.is-live .live-poster { visibility: hidden; }
.live-frames { position: absolute; inset: 0; }
.live-frame { position: absolute; inset-block-start: 0; inset-inline-start: 0; inline-size: 390px; block-size: calc(100% / var(--k)); border: 0; background: #fff;
              transform: scale(var(--k)); transform-origin: 0 0; opacity: 0; pointer-events: none; transition: opacity .7s ease; }
.live-frame.is-front { opacity: 1; z-index: 1; }
.live.is-trying .live-frame.is-front { pointer-events: auto; }

.live-bar { position: relative; z-index: 2; display: grid; gap: 8px; justify-items: center; inline-size: min(100%, 540px); min-block-size: 92px; margin-block-start: 38px; }
.live-bar[hidden] { display: none; }
.live-row { display: flex; align-items: center; justify-content: center; gap: 6px; inline-size: 100%; min-inline-size: 0; }
/* Les boutons gardent leur place, les pastilles remplissent le milieu : rien ne bouge quand le JSON arrive. */
.live-chips { display: flex; flex: 1 1 0; justify-content: safe center; min-inline-size: 0; gap: 5px; min-block-size: 38px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.live-chips::-webkit-scrollbar { display: none; }
.live-chip { position: relative; overflow: hidden; flex: none; padding: 9px 11px 11px; border: 1px solid var(--line-2); border-radius: 10px; background: color-mix(in srgb, var(--surface) 80%, transparent);
             font: 500 .78rem/1 var(--font-m); color: var(--mute); transition: color .2s, background-color .2s, border-color .2s; }
.live-chip::before { content: '/'; opacity: .55; }
.live-chip:hover { color: var(--ink); border-color: var(--ink); }
.live-chip[aria-pressed='true'] { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.live-chip i { position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 3px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.live-bar[auto] .live-chip[data-run] i { animation: fill var(--live-interval, 8s) linear forwards, live-half calc(var(--live-interval, 8s) * .4) linear forwards; }
.live-bar:is([paused], [trying], [loading], :hover, :focus-within) .live-chip i { animation-play-state: paused; }
.live-bar .icon-btn { inline-size: 36px; block-size: 36px; flex: none; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 80%, transparent); }
.live-bar .i-back { rotate: 180deg; }
.live-play .i-play, .live-play[aria-pressed='true'] .i-pause { display: block; }
.live-play .i-pause, .live-play[aria-pressed='true'] .i-play { display: none; }
.live-play .i { fill: currentColor; }
.live-url { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 10px; font: 500 .82rem/1 var(--font-m); color: var(--ink-2); }
.live-url::before { content: ''; inline-size: 7px; aspect-ratio: 1; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); animation: live-pulse 2.4s ease-out infinite; }
.live-url:hover { color: var(--ink); background: var(--surface-2); }
.live-bar[loading] .live-url::before { background: var(--warn); }
.live-try .live-try-off, .live-try[aria-pressed='true'] .live-try-on { display: none; }
.live-try[aria-pressed='true'] .live-try-off { display: inline; }
.live-try[aria-pressed='true'] { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.live-dot { display: inline-block; inline-size: 7px; aspect-ratio: 1; margin-inline-end: 8px; border-radius: 50%; background: #22c55e; vertical-align: .08em; animation: live-pulse 2.4s ease-out infinite; }

.chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 99px; background: color-mix(in srgb, var(--surface) 86%, transparent);
        -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-1); font: 500 .86rem/1 var(--font-d); color: var(--ink); animation: bob 7s ease-in-out infinite; }
.chip .i { color: var(--accent); }
.chip--1 { inset-block-start: 9%; inset-inline-start: -3%; }
.chip--2 { inset-block-start: 24%; inset-inline-end: 0; animation-delay: -2.2s; }
.chip--3 { inset-block-end: 27%; inset-inline-start: -2%; animation-delay: -4.1s; }
.chip--4 { inset-block-end: 11%; inset-inline-end: 4%; animation-delay: -1.2s; }

.scene-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 34px; }
.scene-tabs button { position: relative; overflow: hidden; padding: 13px 17px 15px; border: 1px solid var(--line); border-radius: 12px; font: 500 .96rem/1 var(--font-d); color: var(--mute);
                     background: color-mix(in srgb, var(--surface) 55%, transparent); transition: border-color .25s, background-color .25s, box-shadow .25s, color .25s; }
.scene-tabs button:hover { border-color: var(--line-2); color: var(--ink); }
.scene-tabs button[aria-pressed='true'] { border-color: var(--line-2); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.scene-bar { position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 3px; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.scene-tabs button[aria-pressed='true'] .scene-bar { transform: scaleX(1); }
.scene-notes { display: grid; gap: 8px; margin-block-start: 14px; min-block-size: 3.1em; max-inline-size: 58ch; font-size: .95rem; line-height: 1.5; color: var(--mute); }
.scene-note:not(.is-active) { display: none; }
.scene-note { animation: scene-in .45s ease; }
pm-showcase[auto] button[aria-pressed='true'] .scene-bar { animation: fill 6.5s linear forwards; }
pm-showcase[auto]:is(:hover, :focus-within, [offscreen]) .scene-bar { animation-play-state: paused; }

/* ── 7. Écran du téléphone : tailles en unités de conteneur, l'écran reste juste à toutes les largeurs ── */
.phone-ui { container-type: inline-size; block-size: 100%; background: #fff; color: #0b0c0e; font-family: var(--font-b); text-align: start; }
.scene { display: none; position: absolute; inset: 0; overflow: hidden; font-size: 3.55cqw; line-height: 1.35; padding: 17% 6.5% 6%; }
.scene.is-active { display: block; animation: scene-in .55s cubic-bezier(.2, .7, .2, 1); }
.scene .i { inline-size: 1.35em; block-size: 1.35em; }
.pc-avatar { display: grid; place-items: center; inline-size: 5.6em; aspect-ratio: 1; border-radius: 46% 54% 50% 50%; background: linear-gradient(150deg, #c7d2fe, #6366f1); color: #fff; font: 800 1.9em/1 var(--font-d); }
.pc-name { font: 800 1.75em/1.1 var(--font-d); letter-spacing: .01em; color: #0b0c0e; }
.pc-role { color: #4b5261; font-size: 1.12em; }
.pc-btn { display: flex; align-items: center; justify-content: center; gap: .5em; block-size: 3.5em; border-radius: 1em; border: 1px solid #d8dbe2; font: 500 1.08em/1 var(--font-d); color: #0b0c0e; }
.pc-btn--fill { background: #0b0c0e; border-color: #0b0c0e; color: #fff; }
.ok-line { display: flex; align-items: center; gap: .6em; padding: .9em 1em; border-radius: 1em; background: #ecfdf3; color: #166534; font-weight: 600; font-size: 1.02em; }

/* scène 1 — la carte */
.scene--carte { padding: 0; }
.pc-cover { position: relative; block-size: 27%; background: linear-gradient(135deg, #1e3a8a, #2563eb 55%, #7c3aed); }
.pc-cover::after { content: ''; position: absolute; inset-block-end: 14%; inset-inline-start: 50%; translate: -50% 0; inline-size: 4.2em; block-size: 2.9em; border-radius: .8em; background: rgba(255, 255, 255, .92);
                   clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 0, 40% 28%, 40% 72%, 68% 50%, 40% 28%); }
.pc-head { display: flex; justify-content: space-between; align-items: flex-end; padding: 0 6.5%; margin-block-start: -2.4em; position: relative; }
.pc-logo { align-self: flex-end; margin-block-end: .4em; font: 800 1em/1.05 var(--font-d); letter-spacing: .12em; color: #2563eb; }
.pc-id { padding: .9em 6.5% 1.1em; }
.pc-langs { display: inline-grid; block-size: 1.35em; overflow: hidden; vertical-align: bottom; }
.pc-langs > span { grid-area: 1 / 1; animation: lang 12.5s infinite; opacity: 0; translate: 0 100%; }
.pc-langs > span:nth-child(2) { animation-delay: 2.5s; } .pc-langs > span:nth-child(3) { animation-delay: 5s; }
.pc-langs > span:nth-child(4) { animation-delay: 7.5s; } .pc-langs > span:nth-child(5) { animation-delay: 10s; }
.pc-rows { background: #f1efe9; padding: .9em 6.5%; display: grid; gap: .78em; font-size: 1.1em; color: #15171b; }
.pc-rows li { display: flex; align-items: center; gap: .9em; }
.pc-rows .i { color: #4b5261; }
.pc-actions { display: grid; grid-template-columns: 1.5fr 1fr; gap: .7em; padding: 1.1em 6.5% .8em; }
.pc-reviews { text-align: center; font-size: 1em; color: #4b5261; }
.pc-reviews b { color: #b45309; font-weight: 600; }
.pc-social { display: flex; justify-content: center; gap: 1.5em; padding-block: 1.3em .9em; color: #0b0c0e; }
.pc-social .i { inline-size: 1.7em; block-size: 1.7em; }
.pc-legal { padding-inline: 8%; text-align: justify; font-size: .78em; line-height: 1.4; color: #8a909c; }

/* scène 2 — personnalisée par contact */
.sc-url { display: flex; align-items: center; gap: .55em; padding: .85em 1em; border-radius: 99em; background: #f1f3f6; font: 500 1.02em/1 var(--font-m); color: #15171b; overflow: hidden; white-space: nowrap; }
.sc-url::before { content: ''; inline-size: .6em; aspect-ratio: 1; border-radius: 50%; background: #16a34a; flex: none; }
.sc-path { display: inline-grid; color: #2563eb; }
.sc-path > span { grid-area: 1 / 1; opacity: 0; animation: tri 9s infinite; }
.sc-path > span:nth-child(2), .sc-card:nth-child(2) { animation-delay: 3s; }
.sc-path > span:nth-child(3), .sc-card:nth-child(3) { animation-delay: 6s; }
.sc-title { margin-block: 1.6em .9em; font: 800 1.5em/1.12 var(--font-d); color: #0b0c0e; letter-spacing: -.01em; }
.sc-cards { display: grid; gap: .8em; }
.sc-card { display: grid; gap: .25em; padding: 1em 1.1em; border-radius: 1.1em; border: 1px solid #e1e4ea; background: #fff; animation: tri-card 9s infinite; }
.sc-card strong { font: 500 1.12em/1.2 var(--font-d); color: #0b0c0e; }
.sc-card span { font-size: .98em; color: #5b6272; }
.sc-seen { margin-block-start: 1.3em; display: flex; align-items: center; gap: .7em; font-size: .98em; color: #4b5261; }
.sc-seen::before { content: ''; inline-size: .7em; aspect-ratio: 1; border-radius: 50%; background: #2563eb; box-shadow: 0 0 0 .35em rgba(37, 99, 235, .18); flex: none; }

/* scène 3 — mode VIP */
.vip-head { display: flex; align-items: center; gap: 1em; margin-block-end: 1.3em; }
.vip-head .pc-avatar { inline-size: 3.8em; font-size: 1.3em; }
.vip-rows { display: grid; gap: .7em; }
.vip-rows li { display: grid; grid-template-columns: auto 1fr; gap: .1em .8em; align-items: center; padding: .85em 1em; border-radius: 1em; background: #f4f5f8; }
.vip-rows .i { grid-row: span 2; color: #b45309; animation: vip-lock 8s infinite; }
.vip-rows em { font-style: normal; font-size: .92em; color: #5b6272; }
.vip-blur { font-weight: 600; font-size: 1.08em; color: #0b0c0e; filter: blur(.42em); animation: vip-blur 8s infinite; }
.vip-gate { margin-block-start: 1.2em; display: grid; gap: .7em; animation: vip-gate 8s infinite; }
.vip-gate p { font: 500 1.12em/1.25 var(--font-d); color: #0b0c0e; }
.vip-input { block-size: 3.4em; display: flex; align-items: center; padding-inline: 1em; border: 1px solid #c9cdd6; border-radius: 1em; font: 500 1.02em/1 var(--font-m); color: #15171b; }
.vip-type { display: inline-block; overflow: hidden; white-space: nowrap; border-inline-end: 2px solid #2563eb; inline-size: 0; animation: vip-type 8s steps(22, end) infinite; }
.vip-ok { position: absolute; inset-inline: 6.5%; inset-block-end: 6%; opacity: 0; animation: vip-ok 8s infinite; }

/* scène 4 — leads & consentement */
.ld-title { font: 800 1.7em/1.1 var(--font-d); text-align: center; color: #0b0c0e; margin-block-end: .9em; }
.ld-field { block-size: 3.2em; display: flex; align-items: center; padding-inline: 1em; margin-block-end: .65em; border: 1px solid #15171b; border-radius: .9em; font-size: 1em; color: #6a7180; }
.ld-consent { display: grid; grid-template-columns: auto 1fr; gap: .7em; padding: .8em .9em; margin-block-end: .65em; border: 1px solid #fca5a5; border-radius: .9em; background: #fef2f2; font-size: .86em; line-height: 1.36; color: #3b1414; }
.ld-box { inline-size: 1.25em; aspect-ratio: 1; margin-block-start: .1em; border: 1.5px solid #7f1d1d; border-radius: .3em; background: #fff; position: relative; }
.ld-box::after { content: ''; position: absolute; inset: 12%; background: #b91c1c; clip-path: polygon(8% 52%, 22% 38%, 40% 58%, 78% 16%, 92% 30%, 40% 86%); opacity: 0; animation: ld-tick 8s infinite; }
.ld-consent + .ld-consent .ld-box::after { animation-name: ld-tick-2; }
.ld-send { background: #e11d2a; border-color: #e11d2a; animation: ld-press 8s infinite; }
.ld-ok { margin-block-start: .8em; opacity: 0; animation: ld-ok 8s infinite; }

/* ── 8. Chiffres & références ── */
.trust { padding-block: clamp(40px, 5vw, 64px); border-block: 1px solid var(--line); background: var(--bg-2); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 8px 28px; }
.stat { display: grid; gap: 4px; padding-block: 10px; }
.stat pm-counter, .stat .num { display: inline-block; font: 800 clamp(2rem, 3.6vw, 2.9rem)/1 var(--font-d); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span:last-child { font-size: .94rem; color: var(--mute); }
.trust-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-block: 36px 16px; }
.rating { display: inline-flex; align-items: center; gap: 8px; font: 500 .95rem/1 var(--font-d); color: var(--ink); }
.rating .i { color: #f59e0b; }
.marquee { display: flex; gap: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; flex: none; gap: 10px; padding-inline-end: 10px; }
pm-marquee[running] .marquee-track { animation: marquee 48s linear infinite; }
pm-marquee[running]:is(:hover, :focus-within) .marquee-track { animation-play-state: paused; }
.marquee a { display: block; padding: 11px 18px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); font: 500 .98rem/1 var(--font-d); color: var(--ink-2); white-space: nowrap; transition: color .2s, border-color .2s; }
.marquee a:hover { color: var(--ink); border-color: var(--ink); }

/* ── 9. Partage : grille « bento » ── */
.bento { display: grid; gap: 18px; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.tile { grid-column: span 4; display: grid; grid-template-rows: auto 1fr; gap: 22px; overflow: hidden; min-block-size: 330px; }
.tile--wide { grid-column: span 7; } .tile--mid { grid-column: span 5; } .tile--half { grid-column: span 6; }
.tile p { margin-block-start: 8px; font-size: .97rem; }
.art { position: relative; align-self: end; min-block-size: 170px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; padding: 18px; }

.art-sms { align-content: end; justify-items: end; gap: 8px; }
.bubble { max-inline-size: 86%; padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: var(--accent); color: #fff; font-size: .93rem; }
.og { inline-size: min(100%, 300px); border-radius: 16px 16px 4px 16px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-1); }
.og-img { block-size: 74px; background: linear-gradient(135deg, #0b0c0e, #1e3a8a 60%, #2563eb); display: grid; place-items: center; color: #fff; }
.og-img .logo { block-size: 15px; inline-size: calc(15px * 5.6775); }
.og-txt { padding: 10px 13px 12px; display: grid; gap: 2px; font-size: .86rem; }
.og-txt b { font: 500 .98rem/1.2 var(--font-d); }
.og-txt span { color: var(--mute); }

.art-mail { padding: 0; align-items: stretch; justify-items: stretch; }
.win { background: var(--surface); display: grid; grid-template-rows: auto 1fr; }
.win-bar { display: flex; gap: 6px; padding: 10px 12px; border-block-end: 1px solid var(--line); }
.win-bar i { inline-size: 10px; aspect-ratio: 1; border-radius: 50%; background: var(--line-2); }
.win-body { padding: 16px 18px; display: grid; gap: 12px; align-content: start; font-size: .92rem; }
.sig { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding-block-start: 12px; border-block-start: 1px solid var(--line); }
.sig-av { inline-size: 42px; aspect-ratio: 1; border-radius: 46% 54% 50% 50%; background: linear-gradient(150deg, #c7d2fe, #6366f1); }
.sig b { display: block; font: 500 1rem/1.2 var(--font-d); }
.sig small { color: var(--mute); font-size: .84rem; }
.sig-views { padding: 6px 10px; border-radius: 99px; background: color-mix(in srgb, var(--ok) 13%, transparent); color: var(--ok); font: 500 .74rem/1 var(--font-m); white-space: nowrap; }
.banner { padding: 13px 16px; border-radius: 12px; background: linear-gradient(120deg, var(--accent-2), var(--accent)); color: #fff; font: 500 .95rem/1.2 var(--font-d); }

.art-qr .qr-card { inline-size: 132px; padding: 12px; border-radius: 16px; background: #fff; color: #0b0c0e; box-shadow: var(--shadow-2); rotate: -4deg; }
.qr-card svg { inline-size: 100%; block-size: auto; fill: currentColor; }
.art-wallet { align-content: center; }
.pass { position: absolute; inline-size: 62%; aspect-ratio: 1.58; border-radius: 14px; box-shadow: var(--shadow-2); }
.pass--1 { background: linear-gradient(140deg, #f59e0b, #ea580c); translate: -9% -14%; rotate: -8deg; }
.pass--2 { background: linear-gradient(140deg, #10b981, #047857); translate: 8% -4%; rotate: 5deg; }
.pass--3 { background: #0b0c0e; color: #fff; translate: 0 12%; padding: 11% 9%; display: grid; align-content: space-between; border: 1px solid rgba(255, 255, 255, .16); }
.pass--3 .logo { block-size: 13px; inline-size: calc(13px * 5.6775); }
.pass--3 b { color: #fff; font: 500 .9rem/1.2 var(--font-d); }
.art-nfc .ring { position: absolute; inline-size: 56px; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ring 2.8s ease-out infinite; }
.art-nfc .ring:nth-child(2) { animation-delay: .9s; } .art-nfc .ring:nth-child(3) { animation-delay: 1.8s; }
.art-nfc .nfc-dot { position: relative; display: grid; place-items: center; inline-size: 56px; aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: #fff; }
.art-home { grid-template-columns: repeat(4, 46px); gap: 14px; justify-content: center; align-content: center; }
.app { aspect-ratio: 1; border-radius: 13px; background: var(--line-2); }
.app--me { background: #0b0c0e; color: #fff; display: grid; place-items: center; font: 800 .95rem/1 var(--font-d); box-shadow: 0 0 0 3px var(--surface-2), 0 0 0 5px var(--accent); }
.art-lang { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; justify-content: center; }
.art-lang span { padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--surface); font: 500 .8rem/1 var(--font-m); color: var(--ink-2); }
.art-lang .on { background: var(--btn); color: var(--btn-ink); border-color: transparent; }

/* ── 10. Capacités avancées ── */
.duo { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.feature { padding: clamp(26px, 3vw, 40px); }
.feature h3 { font-size: clamp(1.4rem, 2.1vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; }
.paths { display: grid; gap: 8px; margin-block-start: 24px; font: 500 .9rem/1 var(--font-m); }
.paths li { display: grid; grid-template-columns: minmax(118px, auto) 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); }
.paths b { color: var(--accent); font-weight: 500; }
.paths span { font-family: var(--font-b); font-size: .93rem; }
.consent { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; margin-block-start: 18px; padding: clamp(26px, 3.4vw, 48px);
           background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 8%, var(--surface)), var(--surface) 60%); }
.consent h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.02em; }
.law { display: inline-flex; gap: 9px; align-items: center; margin-block-end: 16px; padding: 7px 12px; border-radius: 99px; background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--warn); font: 500 .74rem/1 var(--font-m); letter-spacing: .08em; text-transform: uppercase; }
.form-mock { justify-self: center; inline-size: min(100%, 300px); padding: 20px; border-radius: 22px; background: #fff; color: #0b0c0e; box-shadow: var(--shadow-2); border: 1px solid var(--line); font-size: .84rem; }
.form-mock .ld-title { font-size: 1.25rem; }
.form-mock .ld-field { block-size: 40px; border-radius: 10px; }
.form-mock .ld-consent { font-size: .72rem; border-radius: 10px; }
.form-mock .ld-box::after { opacity: 1; animation: none; }
.form-mock .pc-btn { block-size: 44px; border-radius: 10px; font-size: .95rem; animation: none; }

/* ── 11. Réseaux : les trois étages ── */
.stack-grid { display: grid; gap: clamp(24px, 4vw, 64px); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
.floors { display: grid; gap: 10px; margin-block-start: 30px; }
.floors li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .25s, translate .25s; }
.floors li:hover { border-color: var(--accent); translate: 4px 0; }
.floors-n { font: 500 .78rem/1.9 var(--font-m); color: var(--accent); letter-spacing: .1em; }
.floors p { margin-block-start: 4px; font-size: .95rem; }
pm-stack3d { margin-inline: auto; }
pm-stack3d:not(:defined) { display: block; inline-size: min(100%, 580px); aspect-ratio: 1 / 1.05; overflow: hidden; opacity: 0; }
.fl { container-type: inline-size; position: relative; padding: 9%; display: grid; align-content: start; gap: 7%; color: var(--ink); }
.fl::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; box-shadow: inset 0 0 0 3px var(--brand); }
pm-stack3d[pulse] .fl::after { animation: pulse 1.1s ease-out both; }
pm-stack3d[pulse] [slot='floor-2']::after { animation-delay: .22s; }
pm-stack3d[pulse] [slot='floor-3']::after { animation-delay: .44s; }
.fl-tag { font: 500 4.2cqw/1 var(--font-m); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.fl-row { display: flex; align-items: center; gap: 5%; }
.fl-logo { inline-size: 20%; aspect-ratio: 1; border-radius: 22%; background: var(--brand); transition: background-color .5s; }
.fl-domain { padding: 3% 5%; border-radius: 99px; border: 1px solid var(--floor-line); font: 500 4.4cqw/1 var(--font-m); color: var(--ink-2); white-space: nowrap; }
.fl-sw { inline-size: 12%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--floor-line); background: var(--ink); }
.fl-sw--brand { background: var(--brand); transition: background-color .5s; }
.fl-sw--paper { background: var(--bg); }
.fl-aa { margin-inline-start: auto; font: 800 11cqw/1 var(--font-d); color: var(--ink); }
.fl-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; }
.fl-tiles i { aspect-ratio: 1.7; border-radius: 12%; border: 1px solid var(--floor-line); background: linear-gradient(var(--brand) 0 34%, transparent 34%); transition: background .5s .2s; }
.fl-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5%; }
.fl-cards i { aspect-ratio: .74; border-radius: 14%; border: 1px solid var(--floor-line); background: radial-gradient(circle at 50% 30%, var(--brand) 0 17%, transparent 18%), linear-gradient(transparent 62%, var(--floor-line) 62% 68%, transparent 68% 78%, var(--floor-line) 78% 84%, transparent 84%); transition: background .5s .4s; }
.swatches { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 16px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--surface); font: 500 .74rem/1 var(--font-m); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.swatches button { inline-size: 26px; aspect-ratio: 1; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px transparent; transition: box-shadow .2s, scale .2s; }
.swatches button:hover { scale: 1.12; }
.swatches button[aria-pressed='true'] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--c); }
.sw--blue { --c: #2563eb; } .sw--red { --c: #e11d48; } .sw--green { --c: #059669; } .sw--amber { --c: #f59e0b; } .sw--ink { --c: #6b7280; }
.audiences { margin-block-start: clamp(44px, 6vw, 80px); }
.audience { display: grid; align-content: start; gap: 4px; }
.audience h3 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.audience .text-link { justify-self: start; margin-block-start: 18px; }

/* ── 12. NFC ── */
.nfc-grid { display: grid; gap: clamp(28px, 5vw, 80px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.nfc-stage { display: grid; justify-items: center; gap: 44px; padding-block: 30px 0; }
.nfc-stage pm-card3d { --card-w: clamp(260px, 30vw, 400px); }
pm-card3d:not(:defined) { display: block; inline-size: var(--card-w, 340px); aspect-ratio: 85.6 / 54; overflow: hidden; opacity: 0; }
.materials { display: grid; justify-items: center; gap: 16px; }
.materials fieldset { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.materials legend { inline-size: 100%; text-align: center; margin-block-end: 12px; font: 500 .72rem/1 var(--font-m); letter-spacing: .13em; text-transform: uppercase; color: var(--mute); }
.materials label { position: relative; display: grid; justify-items: center; gap: 7px; font-size: .78rem; color: var(--mute); cursor: pointer; }
.materials input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mat { inline-size: 40px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-2); box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px transparent; transition: box-shadow .2s, scale .2s; }
label:hover .mat { scale: 1.08; }
input:checked + .mat { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
input:focus-visible + .mat { outline: 2px solid var(--accent); outline-offset: 6px; }
input:checked ~ span { color: var(--ink); }
.mat--pvc { background: linear-gradient(160deg, #fff, #e6e8ec); } .mat--noir { background: linear-gradient(160deg, #26282e, #050506); }
.mat--bois { background: linear-gradient(100deg, #c99b62, #a97a43 45%, #d2a873); } .mat--metal { background: linear-gradient(115deg, #8d9199, #f0f1f3 40%, #8d9199 70%, #e6e8eb); }
.mat--or { background: linear-gradient(115deg, #8a6a1c, #f4df7e 40%, #b38b2b 70%, #fff0a6); } .mat--carbone { background: repeating-linear-gradient(45deg, #2a2d33 0 3px, #101114 3px 6px); }
.mat--dichroique { background: conic-gradient(#ff6ec7, #8b7bff, #38e1c8, #f9e04c, #ff7a59, #ff6ec7); }
.mat--bleu { background: linear-gradient(160deg, #2f63e6, #1a44b8); } .mat--rouge { background: linear-gradient(160deg, #e5484d, #b8222d); }
.mat--vert { background: linear-gradient(160deg, #15a06f, #0b6f4c); } .mat--ambre { background: linear-gradient(160deg, #f7b733, #e0930f); }
.materials .faces label { display: block; }
.mat-face { display: block; padding: 9px 13px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); font: 500 .8rem/1 var(--font-d); color: var(--ink-2); transition: border-color .2s, background-color .2s, color .2s; }
.materials label:hover .mat-face { border-color: var(--ink-2); }
.materials input:checked + .mat-face { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.materials input:focus-visible + .mat-face { outline: 2px solid var(--accent); outline-offset: 3px; }
.prices { display: grid; margin-block-start: 28px; border-block-start: 1px solid var(--line); }
.prices li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 13px 12px; border-block-end: 1px solid var(--line); border-radius: 10px; transition: background-color .3s; }
.prices li[data-on] { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.prices span { font: 500 1.02rem/1.3 var(--font-d); color: var(--ink); }
.prices small { grid-column: 1; font-size: .87rem; color: var(--mute); }
.prices b { grid-row: 1 / span 2; grid-column: 2; align-self: center; font: 500 1.02rem/1 var(--font-d); white-space: nowrap; }
.nfc-extra { margin-block-start: clamp(44px, 6vw, 80px); }

/* ── 13. Données ── */
.proof { font: 800 clamp(1.9rem, 3vw, 2.5rem)/1 var(--font-d); letter-spacing: -.03em; color: var(--ink); margin-block-end: 10px; font-variant-numeric: tabular-nums; }
.rse { display: grid; gap: clamp(20px, 4vw, 56px); grid-template-columns: auto 1fr; align-items: center; margin-block: 18px; padding: clamp(26px, 3.4vw, 46px);
       background: linear-gradient(135deg, color-mix(in srgb, var(--ok) 10%, var(--surface)), var(--surface) 65%); }
.rse-num { font: 800 clamp(2.4rem, 5.4vw, 4.4rem)/1 var(--font-d); letter-spacing: -.04em; color: var(--ok); font-variant-numeric: tabular-nums; }
.rse-num + span { display: block; margin-block-start: 8px; font: 500 .74rem/1 var(--font-m); letter-spacing: .13em; text-transform: uppercase; color: var(--mute); }
.suite { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin-block-start: 18px; }
.suite a { display: grid; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s, translate .2s; }
.suite a:hover { border-color: var(--ink); translate: 0 -2px; }
.suite b { font: 800 1.02rem/1.2 var(--font-d); letter-spacing: .01em; }
.suite span { font-size: .9rem; color: var(--mute); }
.sub-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-block: clamp(44px, 6vw, 72px) 6px; }
.sub-head h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }

/* ── 14. Tarifs & FAQ ── */
.plan { display: grid; align-content: start; gap: 6px; }
.plan--main { border-color: var(--ink); box-shadow: var(--shadow-2); }
.price { margin-block: 14px 6px; font: 800 clamp(2.2rem, 3.4vw, 3rem)/1 var(--font-d); letter-spacing: -.03em; color: var(--ink); }
.price small { font: 500 1rem/1 var(--font-d); letter-spacing: 0; color: var(--mute); }
.plan .btn { margin-block-start: 22px; }
.faq { max-inline-size: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-1); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font: 500 1.1rem/1.3 var(--font-d); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; inline-size: 12px; block-size: 12px; border-inline-end: 2px solid var(--mute); border-block-end: 2px solid var(--mute); rotate: 45deg; translate: 0 -3px; transition: rotate .25s, translate .25s; }
.faq details[open] summary::after { rotate: -135deg; translate: 0 3px; }
.faq details p { padding: 0 22px 22px; max-inline-size: 70ch; }

/* ── 15. Appel final & pied de page ── */
.final { text-align: center; padding-block: clamp(80px, 11vw, 150px); position: relative; overflow: clip; }
.final::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 60% at 50% 100%, var(--glow-1), transparent 70%); }
.final .cta-row { justify-content: center; margin-block-start: 34px; position: relative; }
.final h2, .final .lead { position: relative; margin-inline: auto; }
.foot { border-block-start: 1px solid var(--line); background: var(--bg-2); padding-block: 56px 120px; font-size: .95rem; }
.foot-grid { display: grid; gap: 36px 28px; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
.foot .brand { color: var(--ink); margin-block-end: 14px; }
.foot h3 { font: 500 .72rem/1 var(--font-m); letter-spacing: .13em; text-transform: uppercase; color: var(--mute); margin-block-end: 16px; }
.foot li + li { margin-block-start: 10px; }
.foot a:hover { color: var(--ink); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-block-start: 44px; padding-block-start: 22px; border-block-start: 1px solid var(--line); color: var(--mute); font-size: .88rem; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status::before { content: ''; inline-size: 8px; aspect-ratio: 1; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }

/* ── 16. Apparitions (actives seulement quand le composant est enregistré) ── */
pm-reveal { display: block; transition: opacity .7s ease, translate .8s cubic-bezier(.2, .7, .2, 1); }
pm-reveal:defined:not([shown], [stagger]) { opacity: 0; translate: 0 22px; }
pm-reveal[stagger] > * { transition: opacity .65s ease calc(var(--i, 0) * 75ms), translate .75s cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 75ms), border-color .2s, box-shadow .2s; }
pm-reveal[stagger]:defined:not([shown]) > * { opacity: 0; translate: 0 22px; }

@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes live-half { to { outline-offset: 0; } }   /* repère muet : sa fin déclenche le préchargement de la carte suivante */
@keyframes live-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes marquee { to { translate: -100% 0; } }
@keyframes scene-in { from { opacity: 0; scale: 1.03; } }
@keyframes ring { 0% { scale: 1; opacity: .7; } 100% { scale: 3.4; opacity: 0; } }
@keyframes pulse { 0% { opacity: .9; } 100% { opacity: 0; } }
@keyframes lang { 0% { opacity: 0; translate: 0 100%; } 2.5%, 20% { opacity: 1; translate: 0 0; } 22.5%, 100% { opacity: 0; translate: 0 -100%; } }
@keyframes tri { 0%, 30% { opacity: 1; } 33.4%, 100% { opacity: 0; } }
@keyframes tri-card { 0%, 30% { border-color: #2563eb; background: #eff4ff; translate: .5em 0; } 33.4%, 100% { border-color: #e1e4ea; background: #fff; translate: 0 0; } }
@keyframes vip-type { 0%, 12% { inline-size: 0; } 42%, 100% { inline-size: 22ch; } }
@keyframes vip-blur { 0%, 52% { filter: blur(.42em); } 58%, 96% { filter: blur(0); } 100% { filter: blur(.42em); } }
@keyframes vip-lock { 0%, 52% { color: #b45309; } 58%, 96% { color: #15803d; } 100% { color: #b45309; } }
@keyframes vip-gate { 0%, 50% { opacity: 1; } 58%, 96% { opacity: .18; } 100% { opacity: 1; } }
@keyframes vip-ok { 0%, 54% { opacity: 0; translate: 0 .8em; } 60%, 95% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes ld-tick { 0%, 18% { opacity: 0; } 22%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ld-tick-2 { 0%, 34% { opacity: 0; } 38%, 95% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ld-press { 0%, 50%, 58%, 100% { scale: 1; } 54% { scale: .95; } }
@keyframes ld-ok { 0%, 58% { opacity: 0; translate: 0 .8em; } 64%, 95% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }

/* ── 17. Petits écrans & préférences ── */
@media (max-width: 980px) {
  .top-nav { display: none; }
  .hero-grid, .stack-grid, .nfc-grid, .consent { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 20px; }
  .hero-copy { display: contents; }
  .hero-copy > * { order: 1; }
  .hero-stage { order: 2; padding-block: 30px 12px; }
  .hero pm-phone { --phone-w: clamp(232px, 62vw, 300px); }
  .hero .scene-tabs { order: 3; margin-block-start: 0; justify-content: center; }
  .hero .scene-notes { order: 4; margin-block-start: 0; text-align: center; margin-inline: auto; }
  .hero .kicker { margin-block-end: 0; justify-self: start; }
  .hero .lead { margin-block-start: 0; }
  .hero .cta-row { margin-block: 8px 0; }
  .tile, .tile--wide, .tile--mid, .tile--half { grid-column: span 6; }
  .nfc-stage { order: -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .rse { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top { gap: 10px; padding-block: 10px; }
  .top-actions .link { display: none; }
  .tile, .tile--wide, .tile--mid, .tile--half { grid-column: 1 / -1; min-block-size: 0; }
  .chip { display: none; }
  .live-bar { margin-block-start: 34px; }
  .hero .scene-tabs { flex-wrap: nowrap; gap: 6px; justify-content: safe center; overflow-x: auto; scrollbar-width: none; }
  .scene-tabs button { padding: 12px 12px 14px; font-size: .9rem; white-space: nowrap; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 > .card { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px; }
  .grid-4 > .card .card-icon { grid-row: span 2; margin: 0; inline-size: 40px; block-size: 40px; }
  .grid-4 > .card h3 { align-self: center; font-size: 1.08rem; }
  .grid-4 > .card p { grid-column: 2; font-size: .93rem; }
  .dock a { padding: 11px 13px; }
  .dock a span { display: none; }
  .dock a[aria-current] span { display: inline; }
  .paths li { grid-template-columns: 1fr; gap: 6px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  pm-reveal, pm-reveal > * { opacity: 1 !important; translate: none !important; }
  .pc-langs > span:first-child, .sc-path > span:first-child { opacity: 1; translate: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; }
  .vip-type { inline-size: 22ch; } .ld-box::after { opacity: 1; }
  /* Deux exceptions voulues : le minuteur des cartes en direct garde sa durée (ce n'est pas un mouvement), et le
     changement de carte reste un court fondu enchaîné, comme ce réglage le fait dans macOS et iOS. */
  .live-bar[auto] .live-chip[data-run] i { animation-duration: var(--live-interval, 8s), calc(var(--live-interval, 8s) * .4) !important; }
  .live-frame { transition-duration: .3s !important; }
}
@media print {
  .top, .dock, .hero-bg, .chip { display: none; }
  pm-reveal, pm-reveal > * { opacity: 1 !important; translate: none !important; }
}
