/* Hallmark · version F2, le mur de références · theme: custom · idea: "toutes les références forment un mur qui glisse derrière le titre" · hero: a panel over a tilted, drifting wall · signature: the isometric wall of real captures */

.v-f2 { --font-display: "League Spartan", ui-sans-serif, system-ui, sans-serif; }

.f2-hero { position: relative; min-height: calc(100svh - var(--nav-h)); min-height: max(720px, calc(100svh - var(--nav-h))); background: var(--sky-soft); overflow: clip; display: grid; align-items: center; }
.f2-scene { position: absolute; inset: 0; overflow: hidden; }
.f2-tilt { position: absolute; left: 38%; top: -30%; width: 1400px; transform: rotateX(50deg) rotateZ(-32deg); transform-origin: 30% 30%; }
.f2-wall { display: grid; animation: f2-drift 60s linear infinite; }
.f2-set { display: grid; grid-template-columns: repeat(4, 320px); gap: var(--space-lg); padding-bottom: var(--space-lg); }
.f2-tile { height: 210px; border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-tile); }
.f2-tile img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.f2-tile.is-phone { display: grid; place-items: center; background: var(--blue); }
.f2-tile.is-phone img { width: auto; height: 94%; object-fit: contain; border-radius: 10px; }
.f2-hero:hover .f2-wall, .f2-hero:focus-within .f2-wall { animation-play-state: paused; }
.f2-front { position: relative; z-index: 2; }
.f2-panel { max-width: 600px; padding: var(--space-2xl) var(--space-xl); border-radius: 32px; background: var(--white); box-shadow: var(--shadow-panel); animation: f2-in 0.9s var(--ease-out) both; }
.f2-panel h1 { font-size: clamp(2.75rem, 3.6vw + 1rem, 4.75rem); line-height: 0.95; }
.f2-panel p { margin-top: var(--space-lg); font-size: var(--text-lg); line-height: 1.5; color: var(--ink-2); }
.f2-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); margin-top: var(--space-xl); }
.f2-actions .pause { color: var(--ink-2); }

@keyframes f2-drift { to { transform: translateY(-50%); } }
@keyframes f2-in { from { opacity: 0; transform: translateY(30px); } }

@media (max-width: 60rem) {
  .f2-tilt { left: 0; top: 30%; width: 1000px; }
  .f2-hero { align-items: start; padding-top: var(--space-xl); }
  .f2-panel { padding: var(--space-xl) var(--space-lg); }
}
@media (prefers-reduced-motion: reduce) { .f2-wall, .f2-panel { animation: none; } }
