/* Commun aux cinq maquettes : le bandeau Nodova (toujours visible, ces entreprises sont fictives) et les apparitions au défilement. */
@font-face { font-family: "Geist Nodova"; src: url("/assets/fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
.ndv { position: fixed; z-index: 90; left: max(12px, env(safe-area-inset-left)); bottom: calc(var(--ndv-bas, 12px) + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 13px; background: rgba(16, 18, 22, .8); color: #fff; font: 500 12.5px/1 "Geist Nodova", system-ui, sans-serif; letter-spacing: 0; -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(255, 255, 255, .13); }
.ndv a { color: inherit; text-decoration: none; border-radius: 10px; transition: background-color .2s cubic-bezier(.23, 1, .32, 1); }
.ndv__n { display: flex; align-items: center; gap: 8px; padding: 8px 10px 8px 9px; }
.ndv__n b { display: inline-flex; align-items: baseline; font-weight: 700; font-size: 15px; line-height: 1; }
.ndv__n b i { width: 4px; height: 4px; margin-left: 1px; border-radius: 1px; background: #5C7CFF; }
.ndv__n em { font-style: normal; opacity: .68; }
.ndv__c { padding: 8px 11px; background: rgba(255, 255, 255, .14); font-weight: 600; white-space: nowrap; }
@media (hover: hover) { .ndv__n:hover { background: rgba(255, 255, 255, .1); } .ndv__c:hover { background: rgba(255, 255, 255, .26); } }
.ndv a:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
@media (max-width: 560px) { .ndv { font-size: 12px; } .ndv__n em { display: none; } }
.capture .ndv { display: none; }

html.js [data-r] { opacity: 0; transform: translateY(20px); transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform 1.1s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
/* Le masque est posé sur l'image, jamais sur l'élément observé : un élément entièrement masqué ne serait jamais vu */
html.js [data-r="masque"] { opacity: 1; transform: none; transition: none; }
html.js [data-r="masque"] > img { clip-path: inset(0 0 100% 0); transform: scale(1.07); transition: clip-path 1.25s cubic-bezier(.77, 0, .175, 1), transform 1.7s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
html.js [data-r="masque"].vu > img { clip-path: inset(0 0 0 0); transform: none; }
html.js [data-r="fondu"] { transform: none; }
html.js [data-r].vu { opacity: 1; transform: none; }
[hidden] { display: none !important; }
.l { display: block; overflow: hidden; padding-top: .17em; margin-top: -.17em; padding-bottom: .1em; margin-bottom: -.1em; }
.l > span { display: block; }
html.js [data-lignes] .l > span { transform: translateY(128%); transition: transform 1.15s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0s); }
html.js [data-lignes].vu .l > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-r] { transform: none; transition: opacity .3s linear; transition-delay: 0s; }
  html.js [data-r="masque"] > img { transform: none; clip-path: none; transition: none; }
  html.js [data-lignes] .l > span { transform: none; transition: none; }
}
html.capture [data-r], html.capture [data-r="masque"] > img { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
html.capture [data-lignes] .l > span { transform: none !important; transition: none !important; }

/* Montage 3D : la section est haute, sa scène reste collée à l'écran pendant que l'objet se monte */
.montage { position: relative; height: 290vh; height: 290svh; }
.montage__scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.montage__objet { position: relative; margin: 0; }
.montage__objet canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s cubic-bezier(.16, 1, .3, 1); }
.montage__objet.seq-prete canvas { opacity: 1; }
.montage__objet img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
html.js .montage__objet img { visibility: hidden; }
.montage__barre { overflow: hidden; height: 2px; }
.montage__barre i { display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }
.montage__etapes li { transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1); }
html.js .montage__etapes li { opacity: .3; }
html.js .montage__etapes li.on { opacity: 1; }
/* Sans animation, en capture ou sans script : une scène ordinaire, l'objet monté */
html:not(.js) .montage, html.capture .montage { height: auto; }
html:not(.js) .montage__scene, html.capture .montage__scene { position: relative; height: auto; min-height: 0; overflow: visible; }
html.capture .montage__etapes li { opacity: 1; }
html.capture .montage__objet img { visibility: visible; }
html.capture .montage__objet canvas { display: none; }
html.reduit .montage__etapes li { transition: opacity .3s linear; transform: none !important; }
/* Téléphone à l'horizontale : trop peu de hauteur pour une scène collée, la section reprend sa place dans la page */
@media (max-height: 500px) and (orientation: landscape) {
  .montage { height: auto; }
  .montage__scene { position: relative; height: auto; overflow: hidden; padding-block: 72px 48px; }
}
