/* Home featured carousel (home-carousel.js): 4.25 / 2.25 / 1.25 cards; film strip band (owner 2026-11-19). */
.page.home-page { --home-g: clamp(16px, 1.4vw, 24px); max-width: none; padding-left: var(--home-g); padding-right: var(--home-g); padding-top: 0; overflow-x: clip; }
.home-page .hcta-wrap { max-width: none; }
.home-page .hf-wrap { margin-right: calc(-1 * var(--home-g)); }
.hf { --hf-g: 14px; --hf-n: 4.25; --hf-full: 4; margin-bottom: 14px; }
.hf-wrap { --sp: repeating-linear-gradient(90deg, #0000 0 10px, #0008 10px 22px, #0000 22px 34px); position: relative; margin-left: calc(-1 * var(--home-g, 0px)); padding: 30px 0 30px var(--home-g, 16px);
  background: linear-gradient(180deg, #2a0e05, #7a2a0c 45%, #b6461a); box-shadow: inset 0 1px #ffffff0f, inset 0 -1px #0006; }
.hf-wrap::before, .hf-wrap::after { content: ""; position: absolute; left: 0; right: 0; height: 9px; background: var(--sp); border-radius: 2px; pointer-events: none; }
.hf-wrap::before { top: 10px; } .hf-wrap::after { bottom: 10px; }
.hf-track { display: flex; gap: var(--hf-g); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 2px; }
.hf-track::-webkit-scrollbar { display: none; }
.hf-track:focus-visible, .hf-card:focus-visible, .hf-nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hf-card { flex: 0 0 calc((100% - var(--hf-full) * var(--hf-g)) / var(--hf-n)); min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; color: var(--ink); text-decoration: none;
  border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #2b1209, #1a0a05); border: 1px solid #ff8c3c2e; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s; }
.hf-media { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 28px; border: 1px solid var(--line);
  background: radial-gradient(120% 120% at 0% 0%, rgba(var(--accent-rgb, 255, 162, 74), .3), transparent 55%), linear-gradient(160deg, var(--panel-2), #0d0d0f); }
.hf-card .hf-media { border: 0; border-radius: 0; }
.hf-media > video, .hf-media > img, .hf-media > .media.cover { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.hf-media > video, .hf-media > img { object-fit: cover; }
.hf-glyph { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #0009; color: var(--accent); font-size: 22px; }
.hf-title { margin: 0; padding: 12px 16px 2px; font-size: clamp(15px, 1.15vw, 19px); text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hf-blurb { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 16px 14px; color: rgba(255,225,205,.62); font-size: 13px; }
.hf-card:hover { transform: translateY(-4px); border-color: #ff8c3c8c; box-shadow: 0 14px 34px #0007, 0 0 0 1px #ff8c3c40, 0 0 32px #ff6e1e40; }
.hf-card:hover .hf-media > :is(video, img, .media.cover) { transform: scale(1.04); }
.hf-nav { position: absolute; top: 38%; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
  background: #151517e6; color: var(--ink); cursor: pointer; }
.hf-nav.prev { left: 10px; } .hf-nav.next { right: 10px; }
.hf-nav:hover { background: var(--panel-3); }
@media (max-width: 1024px) { .hf { --hf-n: 2.25; --hf-full: 2; } }
@media (max-width: 640px) { .hf { --hf-n: 1.25; --hf-full: 1; } }
@media (prefers-reduced-motion: reduce) { .hf-track { scroll-behavior: auto; } .hf-card, .hf-card:hover, .hf-card:hover .hf-media > * { transition: none; transform: none; } }
.home-page .cover-cap { display: none !important; }   /* owner 2026-11-24: no « Rendu réel » badge on the home (studio pages keep it) */
/* owner 2026-11-25: Apps page full width, 5 per row, 16:9 */
.page.apps-page{max-width:none;padding-inline:clamp(16px,1.4vw,24px);overflow-x:clip}
.apps-page .app-row{grid-template-columns:repeat(5,minmax(0,1fr))}
.apps-page .app-card .media{aspect-ratio:16/9}
.apps-page .pro-card .media{background:linear-gradient(160deg,#25150d,#111117)}
.apps-page .pro-card .placeholder{color:#ff8a1d}
@media(max-width:1100px){.apps-page .app-row{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.apps-page .app-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
