/* ───────────────────────────────────────────────────────────
   Véloras Digital — /realisations/automobile-premium
   Feuille autonome (préfixes courts), indépendante de styles.css :
   le thème du site est clair, cette page est volontairement sombre.
   Polices auto-hébergées : Archivo (largeur variable), Geist, Geist Mono.
   ─────────────────────────────────────────────────────────── */

@font-face {
  font-family: "Archivo";
  src: url("/realisations/automobile-premium/media/fonts/archivo-variable-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("/realisations/automobile-premium/media/fonts/geist-variable-latin.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/realisations/automobile-premium/media/fonts/geist-mono-variable-latin.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}

:root {
  --bg: #050506;
  --bg-2: #0a0b0d;
  --bg-3: #111317;
  --panel: #14161a;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --ink: #f4f5f6;
  --steel: #9aa0a8;
  --steel-2: #6e747c;
  --signal: #e50914;
  --metal: linear-gradient(135deg, #f7f8fa 0%, #b4bac3 38%, #eceef2 54%, #7d838c 100%);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gut: clamp(20px, 4.2vw, 56px);
  --hdr: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; color-scheme: dark;
}
img, video { display: block; max-width: 100%; }
picture { display: block; max-width: 100%; }
.feature__img picture, .shot picture, .contact__bg picture { width: 100%; height: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(255, 255, 255, .85); color: #000; }
[id] { scroll-margin-top: calc(var(--hdr) + 12px); }

.skip { position: fixed; left: 12px; top: 12px; z-index: 200; transform: translateY(-160%); background: #fff; color: #000; padding: 12px 16px; border-radius: 8px; font-weight: 600; transition: transform .25s var(--ease); }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gut); }

/* ───────── En-tête ───────── */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--hdr);
  border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease, backdrop-filter .4s ease;
}
.hdr.is-solid { background: rgba(5, 5, 6, .74); border-color: var(--line); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); }
.hdr__in { height: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-body); font-weight: 650; font-size: 17px; letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.nav a { position: relative; padding: 8px 0; transition: color .25s ease; }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.nav__cta):hover { color: var(--ink); }
.nav a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta { color: #0a0b0d; background: var(--metal); padding: 10px 16px !important; border-radius: 999px; font-weight: 600; letter-spacing: .08em; transition: transform .35s var(--ease), box-shadow .35s ease; }
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .4); }
.burger { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 1040px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--hdr) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5, 5, 6, .96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line); padding: 8px var(--gut) 22px;
    font-size: 13px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s ease, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s ease, transform .3s var(--ease); }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav__cta { margin-top: 18px; text-align: center; border-bottom: 0 !important; padding: 15px 16px !important; }
  .hdr.is-open { background: rgba(5, 5, 6, .96); }
}

/* ───────── Boutons ───────── */
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s ease, background .3s ease, border-color .3s ease, color .3s ease;
}
.btn--primary { color: #08090a; background: var(--metal); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 18px 40px -18px rgba(255, 255, 255, .35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 24px 50px -16px rgba(255, 255, 255, .5); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); transform: translateY(-2px); }
.btn--lg { min-height: 60px; padding: 18px 34px; font-size: 13.5px; }
.btn__arr { width: 22px; height: 1px; background: currentColor; position: relative; transition: width .4s var(--ease); }
.btn__arr::after { content: ""; position: absolute; right: 0; top: -3.5px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .btn__arr { width: 30px; }
.btn[aria-disabled="true"] { cursor: default; color: var(--steel); background: rgba(255, 255, 255, .05); border: 1px dashed var(--line-2); box-shadow: none; }
.btn[aria-disabled="true"]:hover { transform: none; box-shadow: none; }
.btn[aria-disabled="true"] .btn__arr { display: none; }

/* ───────── Hero ───────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #000; }
.hero__media { position: absolute; inset: -6% 0 -6% 0; z-index: -3; will-change: transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero__shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 6, .72) 0%, rgba(5, 5, 6, .12) 28%, rgba(5, 5, 6, .18) 56%, rgba(5, 5, 6, .92) 100%),
    radial-gradient(120% 80% at 50% 110%, rgba(5, 5, 6, .85), transparent 60%);
}
.hero__in { padding-top: calc(var(--hdr) + 40px); padding-bottom: clamp(88px, 13vh, 150px); }
.crumb { display: flex; gap: 10px; align-items: center; margin: 0 0 clamp(18px, 3vh, 30px); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); }
.crumb a { transition: color .25s ease; } .crumb a:hover { color: var(--ink); }
.crumb span[aria-hidden] { opacity: .5; }
.hero__title {
  margin: 0; max-width: 22ch; font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 112;
  font-size: clamp(34px, 5vw, 82px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; text-wrap: balance;
  text-shadow: 0 6px 60px rgba(0, 0, 0, .55);
}
.hero__title .ln { display: block; }
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; }
.hero__lead { max-width: 52ch; margin: clamp(22px, 3.4vh, 34px) 0 0; font-size: clamp(16px, 1.35vw, 19px); color: #c9cdd3; }
.hero__act { margin-top: clamp(26px, 4vh, 40px); }
.hero__note { position: absolute; left: var(--gut); bottom: 22px; margin: 0; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--steel-2); max-width: 46ch; }
.hero__cue { position: absolute; right: var(--gut); bottom: 18px; width: 44px; height: 64px; display: grid; place-items: center; }
.hero__cue span { width: 1px; height: 44px; background: linear-gradient(var(--line-2), rgba(255, 255, 255, .7)); position: relative; overflow: hidden; }
.hero__cue span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--signal); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }

/* Entrée cinématique du hero (uniquement si animations permises) */
.js-motion .hero__title .w > span { transform: translateY(112%); }
.js-motion .is-ready .hero__title .w > span { transform: none; transition: transform 1.15s var(--ease) calc(.25s + var(--i) * .09s); }
.js-motion .hero [data-r] { opacity: 0; transform: translateY(18px); }
.js-motion .is-ready [data-r] { opacity: 1; transform: none; transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js-motion .hero__video { transform: scale(1.06); }
.js-motion .is-ready .hero__video { transform: none; transition: transform 3.2s var(--ease); }

@media (max-width: 700px) {
  .kick { font-size: 11px; letter-spacing: .16em; gap: 10px; flex-wrap: wrap; row-gap: 4px; }
  .kick span::after { width: 26px; margin-left: 10px; }
  .hero__shade { background: linear-gradient(180deg, rgba(5, 5, 6, .8) 0%, rgba(5, 5, 6, .1) 24%, rgba(5, 5, 6, .55) 48%, rgba(5, 5, 6, .94) 78%, #050506 100%); }
  .crumb, .hero__lead { text-shadow: 0 1px 18px rgba(0, 0, 0, .85); }
  .hero__video { object-position: 62% 50%; }
  .hero__title { font-size: clamp(28px, 8.2vw, 46px); font-variation-settings: "wdth" 108; max-width: none; }
  .hero__note { bottom: 74px; right: var(--gut); }
  .hero__cue { right: 50%; transform: translateX(50%); bottom: 8px; }
  .hero__in { padding-bottom: 150px; }
}

/* ───────── Sections ───────── */
.sec { position: relative; padding: clamp(88px, 12vw, 168px) 0; }
.sec--deep { background: linear-gradient(180deg, var(--bg-2), var(--bg) 100%); border-block: 1px solid var(--line); }
.kick { display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(26px, 4vw, 44px); font-family: var(--f-mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--steel); }
.kick span { color: var(--ink); } .kick span::after { content: ""; display: inline-block; vertical-align: middle; width: 44px; height: 1px; margin-left: 14px; background: var(--line-2); }
.kick--c { justify-content: center; }
.h2 { margin: 0; font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 112; font-size: clamp(30px, 4.3vw, 66px); line-height: 1.03; letter-spacing: -.03em; text-transform: uppercase; text-wrap: balance; }
.h2 em { font-style: normal; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.h2--xl { font-size: clamp(34px, 5.8vw, 92px); }
.lead { margin: 0; max-width: 58ch; font-size: clamp(16px, 1.3vw, 19px); color: #b9bec6; }
.lead--c { margin-inline: auto; text-align: center; }
.head { display: grid; gap: clamp(18px, 2.4vw, 28px); max-width: 880px; margin-bottom: clamp(36px, 5vw, 64px); }

/* ───────── Concept ───────── */
.concept { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.concept__txt p { margin: 0 0 1.2em; color: #b9bec6; } .concept__txt strong { color: var(--ink); font-weight: 600; }
.goals { list-style: none; margin: 1.8em 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.goals li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; }
.goals li::before { content: ""; position: absolute; left: 0; top: 27px; width: 18px; height: 1px; background: var(--metal); }
.goals em { font-style: normal; color: var(--steel); }
.feature { margin: clamp(48px, 7vw, 96px) 0 0; }
.feature__img { overflow: hidden; border-radius: 6px; background: var(--bg-3); aspect-ratio: 16 / 8.2; box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .9); }
.feature__img img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.feature figcaption { margin-top: 14px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-2); }
.palette { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: clamp(36px, 5vw, 56px); background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.palette div { background: var(--bg-2); padding: 18px 18px 20px; display: grid; gap: 2px; }
.palette i { display: block; height: 44px; margin-bottom: 12px; border-radius: 3px; background: var(--c); border: 1px solid var(--line-2); }
.palette b { font-weight: 600; font-size: 14px; } .palette small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--steel-2); }

@media (max-width: 860px) {
  .concept { grid-template-columns: 1fr; }
  .feature__img { aspect-ratio: 4 / 5; }
  .palette { grid-template-columns: repeat(2, 1fr); }
  .palette div:last-child { grid-column: 1 / -1; }
}

/* ───────── Lecteur vidéo ───────── */
.player { position: relative; border-radius: 8px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px var(--line), 0 80px 140px -60px rgba(0, 0, 0, .95), 0 0 120px -40px rgba(255, 255, 255, .08); isolation: isolate; }
.player__video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player__big {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: clamp(68px, 9vw, 104px); aspect-ratio: 1; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .35);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .5s var(--ease), background .3s ease, opacity .3s ease;
}
.player__big svg { width: 36%; fill: #fff; margin-left: 6%; }
.player__big:hover { transform: translate(-50%, -50%) scale(1.07); background: rgba(255, 255, 255, .16); }
.player.is-playing .player__big { opacity: 0; pointer-events: none; }
.player__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 34px clamp(12px, 2vw, 22px) clamp(10px, 1.4vw, 16px);
  background: linear-gradient(0deg, rgba(0, 0, 0, .82), transparent); opacity: 1; transition: opacity .35s ease;
}
.player.is-playing.is-idle .player__bar { opacity: 0; }
.player.is-playing.is-idle { cursor: none; }
.pbtn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background .25s ease; flex: none; }
.pbtn:hover { background: rgba(255, 255, 255, .14); }
.pbtn svg { width: 22px; height: 22px; fill: #fff; }
.pbtn .i-pause { display: none; } .player.is-playing .pbtn .i-pause { display: block; } .player.is-playing .pbtn .i-play { display: none; }
.ptime { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: #d7dade; min-width: 38px; font-variant-numeric: tabular-nums; }
.pseek { flex: 1; min-width: 0; height: 44px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --p: 0%; }
.pseek::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, #fff var(--p), rgba(255, 255, 255, .25) var(--p)); }
.pseek::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); }
.pseek::-moz-range-progress { height: 3px; border-radius: 3px; background: #fff; }
.pseek::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; margin-top: -5px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); }
.pseek::-moz-range-thumb { width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 0; }
.player:fullscreen { aspect-ratio: auto; border-radius: 0; width: 100vw; height: 100vh; } .player:-webkit-full-screen { aspect-ratio: auto; border-radius: 0; width: 100vw; height: 100vh; }
.facts { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.facts li { background: var(--bg-2); padding: 18px 20px; display: grid; gap: 2px; }
.facts b { font-family: var(--f-display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: clamp(16px, 2vw, 24px); letter-spacing: -.02em; }
.facts span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-2); }
@media (max-width: 600px) { .ptime[data-p-dur] { display: none; } .facts { grid-template-columns: 1fr; } .facts li { padding: 14px 18px; } .player__bar { gap: 6px; } }

/* ───────── Aperçus appareils ───────── */
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: clamp(26px, 4vw, 44px); border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .02); max-width: 100%; }
.tabs button { min-height: 44px; padding: 10px 22px; border-radius: 999px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); transition: background .3s ease, color .3s ease; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: #08090a; background: var(--metal); font-weight: 600; }
.devices { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) clamp(170px, 19%, 250px); gap: clamp(18px, 3vw, 44px); align-items: end; padding: clamp(20px, 4vw, 56px); border: 1px solid var(--line); border-radius: 10px; background: radial-gradient(80% 90% at 50% 0%, #15171b 0%, var(--bg-2) 60%, var(--bg) 100%); overflow: hidden; perspective: 1400px; }
.dev { transform-style: preserve-3d; transition: transform .6s var(--ease); will-change: transform; }
.dev--desk { border-radius: 10px; background: #0d0e10; box-shadow: 0 0 0 1px var(--line-2), 0 50px 100px -30px #000; overflow: hidden; }
.dev__chrome { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #17191d; border-bottom: 1px solid var(--line); }
.dev__chrome i { width: 9px; height: 9px; border-radius: 50%; background: #34373d; }
.dev__chrome span { margin: 0 auto; transform: translateX(-24px); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-2); }
.dev__screen { position: relative; aspect-ratio: 1440 / 900; background: #000; overflow: hidden; }
.dev__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.dev__screen img.is-on { opacity: 1; }
.dev--phone { position: relative; border-radius: clamp(22px, 3vw, 38px); padding: clamp(6px, .8vw, 10px); background: #1b1d21; box-shadow: 0 0 0 1px var(--line-2), 0 50px 100px -30px #000; }
.dev--phone .dev__screen { aspect-ratio: 390 / 844; border-radius: clamp(16px, 2.4vw, 30px); }
.dev__notch { position: absolute; top: clamp(11px, 1.4vw, 17px); left: 50%; width: 26%; height: clamp(9px, 1.2vw, 14px); transform: translateX(-50%); border-radius: 99px; background: #000; z-index: 2; }
.visit { display: flex; flex-wrap: wrap; gap: 14px; margin-top: clamp(26px, 4vw, 40px); }
.note { margin: 16px 0 0; font-size: 14px; color: var(--steel-2); }
@media (max-width: 760px) {
  .devices { grid-template-columns: 1fr; padding: 18px; justify-items: center; gap: 28px; }
  .dev--desk { width: 100%; }
  .dev--phone { width: min(58%, 230px); }
  .tabs { display: flex; } .tabs button { flex: 1; padding-inline: 8px; }
  .visit .btn { width: 100%; }
}

/* ───────── Cartes détails ───────── */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.card { position: relative; background: var(--bg-2); padding: clamp(26px, 2.8vw, 38px); min-height: 300px; display: flex; flex-direction: column; justify-content: flex-start; transition: background .5s ease; }
.card:hover { background: var(--bg-3); }
.card__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .2em; color: var(--steel-2); margin-bottom: 0; padding-bottom: 64px; }
.card h3 { margin: 0 0 12px; font-family: var(--f-display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: 21px; letter-spacing: -.02em; text-transform: uppercase; }
.card p { margin: 0; font-size: 15px; line-height: 1.65; color: #aab0b8; }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--metal); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.card:hover::after { transform: scaleX(1); }
@media (max-width: 1040px) { .cards { grid-template-columns: repeat(2, 1fr); } .card { min-height: 0; } .card__n { padding-bottom: 28px; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ───────── Galerie ───────── */
.rail { margin-top: clamp(48px, 7vw, 96px); }
.rail__track { display: flex; gap: clamp(12px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x proximity; padding: 4px var(--gut) 18px; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track:focus-visible { outline-offset: -2px; }
.shot { position: relative; flex: 0 0 auto; width: clamp(250px, 34vw, 500px); aspect-ratio: 4 / 5; margin: 0; border-radius: 6px; overflow: hidden; scroll-snap-align: center; background: var(--bg-3); }
.shot:first-child { margin-left: max(0px, calc((100vw - 1240px) / 2)); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .78)); pointer-events: none; }
.shot figcaption { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 16px; font-family: var(--f-display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: 17px; letter-spacing: -.01em; text-transform: uppercase; }
.shot figcaption small { display: block; margin-top: 2px; font-family: var(--f-mono); font-weight: 400; font-size: 10.5px; letter-spacing: .12em; color: #aeb3ba; text-transform: uppercase; }
.rail__ctl { display: flex; gap: 10px; justify-content: flex-end; padding-top: 6px; }
.rbtn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; transition: background .3s ease, border-color .3s ease, transform .3s var(--ease); }
.rbtn:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); transform: translateY(-1px); }
.rbtn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 700px) { .shot { width: 74vw; } .rail__ctl { display: none; } }

/* ───────── Applications ───────── */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.app { position: relative; padding: clamp(26px, 3vw, 44px); border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(160deg, var(--bg-3), var(--bg-2) 60%); overflow: hidden; transition: border-color .5s ease, transform .6s var(--ease); }
.app::before { content: ""; position: absolute; inset: -1px; background: radial-gradient(600px 220px at var(--mx, 80%) -10%, rgba(255, 255, 255, .08), transparent 60%); opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.app:hover { border-color: var(--line-2); transform: translateY(-3px); } .app:hover::before { opacity: 1; }
.app header { display: flex; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.app__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .18em; color: var(--steel-2); }
.app h3 { margin: 0; font-family: var(--f-display); font-variation-settings: "wdth" 115; font-weight: 800; font-size: clamp(22px, 2.3vw, 32px); letter-spacing: -.025em; text-transform: uppercase; }
.app p { margin: 0 0 20px; color: #c3c7ce; font-size: 17px; }
.app ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.app li { position: relative; padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); color: #9fa5ad; font-size: 15px; }
.app li:last-child { border-bottom: 0; }
.app li::before { content: ""; position: absolute; left: 0; top: 25px; width: 14px; height: 1px; background: var(--steel); }
@media (max-width: 800px) { .apps { grid-template-columns: 1fr; } }

/* ───────── Studio ───────── */
.studio { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.studio .lead { margin-top: 24px; }
.studio__links { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 32px 0 0; }
.tlink { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid var(--line-2); transition: border-color .3s ease, color .3s ease; }
.tlink:hover { border-color: #fff; }
.skills { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.skills li { display: grid; gap: 4px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.skills b { font-family: var(--f-display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: -.01em; }
.skills span { color: #a1a7af; font-size: 15px; }
@media (max-width: 860px) { .studio { grid-template-columns: 1fr; } }

/* ───────── Contact ───────── */
.contact { text-align: center; overflow: hidden; isolation: isolate; padding-block: clamp(110px, 15vw, 210px); }
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: saturate(.8); }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(5, 5, 6, .35), var(--bg) 100%), linear-gradient(180deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.contact__in { display: grid; justify-items: center; gap: clamp(22px, 3vw, 32px); }
.contact .h2 { max-width: 17ch; }
.fine { max-width: 74ch; margin: clamp(22px, 4vw, 44px) 0 0; font-size: 12.5px; line-height: 1.7; color: #9aa0a8; text-shadow: 0 1px 10px rgba(0,0,0,.85); }

/* ───────── Pied de page ───────── */
.ftr { border-top: 1px solid var(--line); padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); background: var(--bg); }
.ftr__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; }
.ftr p { margin: 0; font-size: 13px; color: var(--steel-2); }
.ftr a:not(.brand) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); transition: color .25s ease; } .ftr a:not(.brand):hover { color: var(--ink); }

/* ───────── Révélations au défilement ───────── */
.js-motion [data-reveal] { opacity: 0; transform: translateY(34px); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s); }
.js-motion .rail[data-reveal] { transform: translateY(24px); }

/* ───────── Réduction des animations ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero__cue span::after { animation: none; }
  .feature__img img { height: 100%; }
}
