/* Trois scènes, un problème par écran. Les captures remplacent les skeletons. */
.billing-benefits { --mock-paper: oklch(97.7% .013 80); --mock-line: oklch(85% .021 80); --mock-metal: oklch(68% .012 80); }
/* scroll-margin-top annule le scroll-padding du document : « Voir le copilote » pose la scène bord à bord. */
.benefit-scene { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; color: rgb(243 238 229 / .86); scroll-margin-top: -24px; }
.benefit-stage { position: relative; min-height: 100svh; display: grid; align-items: center; padding: clamp(64px, 9svh, 112px) var(--gutter); }
.benefit-layout { width: min(100%, 1320px); margin-inline: auto; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(48px, 7vw, 112px); align-items: center; }
.benefit-copy { grid-column: 2; grid-row: 1; }
/* Pas d'eyebrow au-dessus des titres des démonstrations (retirées le 01/10/2026) : le titre ouvre la colonne. */
.benefit-copy h2 { margin-bottom: 26px; color: var(--papier); font-size: clamp(2.5rem, 4.2vw, 4.75rem); line-height: 1.05; letter-spacing: -.045em; }/* Colonne étroite à droite du portable : à 3,1vw, « Votre tableau de bord affiche tout votre forfait. »
   tient en deux lignes de 1280 à 1440 (mesuré le 01/10 ; trois lignes à 1920 et sous 1100). */
#benefit-saisie { font-size: clamp(2.125rem, 3.1vw, 3.25rem); line-height: 1.08; }
.benefit-answer { font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.5; color: rgb(243 238 229 / .86); }
/* Audit F-09 : le « comment » de « La facturation électronique devient facile », en tête de la scène
   suivante (arbitrage 4 : l'écran du message garde sa phrase unique), sur un filet papier. */
.benefit-facture { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid rgb(243 238 229 / .16); max-width: 34rem; font-size: 1.0625rem; line-height: 1.5; color: rgb(243 238 229 / .86); }
.benefit-copy > .section-lien { margin-top: 14px; }
.benefit-visual { grid-column: 1; grid-row: 1; min-width: 0; margin: 0; }
.benefit-visual figcaption { margin-top: 26px; text-align: center; font-size: .8125rem; color: rgb(243 238 229 / .72); }
.benefit-mobile .benefit-layout { grid-template-columns: 1fr 1fr; max-width: 1120px; }
.benefit-mobile .benefit-copy { grid-column: 1; }
.benefit-mobile .benefit-visual { grid-column: 2; }
.capture-slot { position: relative; overflow: hidden; background: var(--mock-paper); }
.capture-slot > img, .capture-slot > video { display: block; width: 100%; height: 100%; object-fit: contain; }
.capture-desktop { aspect-ratio: 1440 / 900; border-radius: 3px; }
.device-phone { position: relative; width: clamp(210px, 20vw, 286px); margin-inline: auto; padding: 7px; border: 2px solid oklch(40% .025 208); border-radius: 38px; background: oklch(11% .02 212); box-shadow: inset 0 0 0 1px oklch(27% .025 210), 0 48px 90px -40px rgb(0 0 0 / .8); }
.device-phone::before { content: ''; position: absolute; top: 90px; left: -4px; height: 40px; width: 2px; background: oklch(40% .025 208); border-radius: 2px; }
.device-phone::after { content: ''; position: absolute; bottom: 15px; left: 35%; width: 30%; height: 4px; border-radius: 3px; background: var(--encre); }
.phone-camera { position: absolute; top: 15px; left: 35%; width: 30%; height: 15px; border-radius: 20px; background: oklch(7% .012 212); z-index: 1; }
.capture-mobile { aspect-ratio: 390 / 844; border-radius: 29px; }
@media (prefers-reduced-motion: no-preference) {
  .benefits-motion .benefit-copy > *, .benefits-motion .benefit-visual { opacity: 0; transform: translateY(32px); transition: opacity 700ms ease-out, transform 900ms cubic-bezier(.16, 1, .3, 1); }
  .benefits-motion .benefit-visual { transform: translate(-36px, 42px) scale(.97); }
  .benefits-motion .benefit-mobile .benefit-visual { transform: translate(36px, 42px) scale(.97); }
  .benefits-motion .is-visible .benefit-copy > *, .benefits-motion .is-visible .benefit-visual { opacity: 1; transform: none; }
  .benefits-motion .is-visible .benefit-copy h2 { transition-delay: 100ms; }
  .benefits-motion .is-visible .benefit-answer { transition-delay: 200ms; }
  .benefits-motion .is-visible .benefit-visual { transition-delay: 140ms; }
}
@media (max-width: 760px) {
  .benefit-scene { min-height: 100svh; }
  .benefit-stage { position: relative; padding-block: 64px; }
  .benefit-layout, .benefit-mobile .benefit-layout { grid-template-columns: 1fr; gap: 40px; }
  .benefit-copy, .benefit-mobile .benefit-copy { grid-column: 1; grid-row: 1; }
  .benefit-visual, .benefit-mobile .benefit-visual { grid-column: 1; grid-row: 2; }
  .benefit-copy h2 { font-size: clamp(2.25rem, 8vw, 3.5rem); margin-bottom: 20px; }
  .benefit-answer { font-size: 1.125rem; }
  .device-phone { width: min(60vw, 224px); }
  .benefit-visual figcaption { margin-top: 18px; font-size: .75rem; }
  .benefits-motion .benefit-visual, .benefits-motion .benefit-mobile .benefit-visual { transform: translateY(32px) scale(.97); }
  .benefits-motion .is-visible .benefit-visual { transform: none; }
}
@media (max-height: 650px), (prefers-reduced-motion: reduce) {
  .benefit-scene { min-height: auto; }
}
/* Audit F-27 et arbitrage 7 (2 octobre 2026) : sur la démonstration vocale, la bulle passe en rond
   (data-bulle-mode="rond") et la scène lui réserve le bas, pour ne couvrir ni le téléphone ni sa légende. */
#demo-voix .benefit-stage { padding-bottom: max(64px, var(--dock-reserve)); }
