/* ═══════════════════════════════════════════════════════════
   QUE DU FULL — feuille de style
   Thèmes : data-theme (qdf | noir | creme | olive | rouge)
   Mode   : data-mode  (light | dark)
   ═══════════════════════════════════════════════════════════ */

:root {
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --qdf-blue: #10208a;
  --snap: #fffc00;

  --accent: var(--qdf-blue);
  --accent-ink: #ffffff;
  --bg: #f7f7fa;
  --bg-2: #ffffff;
  --bg-3: #ecedf3;
  --ink: #0d1033;
  --ink-2: #6b6f8a;
  --line: rgba(16,32,138,.12);
  --shadow: 0 30px 60px -25px rgba(16,32,138,.3);

  --radius: 20px;
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-io: cubic-bezier(.65,0,.35,1);
  --gutter: clamp(16px, 4vw, 64px);
}
:root[data-mode="dark"] {
  --bg: #07081a; --bg-2: #0e1028; --bg-3: #171a38;
  --ink: #f2f3ff; --ink-2: #9a9ebf; --line: rgba(255,255,255,.10);
  --shadow: 0 30px 60px -20px rgba(0,0,0,.7);
}
:root[data-theme="qdf"]   { --accent: #10208a; --accent-ink: #fff; }
:root[data-theme="noir"]  { --accent: #111;    --accent-ink: #fff; --ink: #111; --ink-2: #6a6a6a; --line: rgba(0,0,0,.1); --bg: #f4f4f4; --bg-3: #e9e9e9; }
:root[data-theme="creme"] { --accent: #b8a06a; --accent-ink: #fff; --bg: #f5f2ec; --bg-3: #ebe6dc; --ink: #1c1a14; --ink-2: #6a6560; --line: rgba(0,0,0,.1); }
:root[data-theme="olive"] { --accent: #4b5a3a; --accent-ink: #fff; --bg: #f3f4ef; --bg-3: #e6e8df; --ink: #141a10; --ink-2: #656c5c; --line: rgba(0,0,0,.1); }
:root[data-theme="rouge"] { --accent: #9b1b1b; --accent-ink: #fff; --bg: #faf5f4; --bg-3: #f0e6e4; --ink: #1c1010; --ink-2: #74605e; --line: rgba(0,0,0,.1); }
:root[data-mode="dark"][data-theme="qdf"]   { --accent: #5b6cff; }
:root[data-mode="dark"][data-theme="noir"]  { --accent: #f4f1ea; --accent-ink: #0a0a0a; --bg: #0a0a0a; --bg-2: #141414; --bg-3: #1d1d1d; --ink: #f4f1ea; --ink-2: #a8a39a; --line: rgba(255,255,255,.1); }
:root[data-mode="dark"][data-theme="creme"] { --accent: #d9c9a3; --accent-ink: #1c1a14; --bg: #0f0e0b; --bg-2: #171511; --bg-3: #221f19; --ink: #f4f1ea; --ink-2: #a8a39a; --line: rgba(255,255,255,.1); }
:root[data-mode="dark"][data-theme="olive"] { --accent: #8fa26e; --accent-ink: #101409; --bg: #0b0d08; --bg-2: #13160f; --bg-3: #1c2016; --ink: #eef0e8; --ink-2: #9ea396; --line: rgba(255,255,255,.1); }
:root[data-mode="dark"][data-theme="rouge"] { --accent: #d84343; --accent-ink: #fff4f4; --bg: #0e0808; --bg-2: #171010; --bg-3: #211818; --ink: #f6eeee; --ink-2: #a89a9a; --line: rgba(255,255,255,.1); }

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background .5s var(--ease), color .5s var(--ease); }
body.is-locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -.02em; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* Transition de thème (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: themeReveal .7s var(--ease); }
@keyframes themeReveal { from { clip-path: circle(0 at var(--vt-x, 90%) var(--vt-y, 5%)); } to { clip-path: circle(150% at var(--vt-x, 90%) var(--vt-y, 5%)); } }

/* ─── Intro ─── */
.intro { position: fixed; inset: 0; z-index: 5000; background: var(--qdf-blue); display: grid; place-items: center; transition: transform .9s var(--ease-io); }
.intro__logo img { width: clamp(120px, 20vw, 220px); animation: introLogo 1.2s var(--ease) both; }
@keyframes introLogo { 0% { transform: scale(.6) rotate(-8deg); opacity: 0; } 60% { transform: scale(1.05) rotate(2deg); opacity: 1; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
.intro__bar { position: absolute; bottom: 12vh; width: min(240px, 50vw); height: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.intro__bar span { display: block; height: 100%; width: 100%; background: #fff; transform: scaleX(0); transform-origin: left; animation: introBar 1.1s .2s var(--ease) forwards; }
@keyframes introBar { to { transform: scaleX(1); } }
.intro.is-done { transform: translateY(-100%); }
.intro.is-done .intro__logo img { animation: none; }

/* ─── Curseur + barre ─── */
.cursor { position: fixed; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width .25s, height .25s, opacity .3s, background .3s; opacity: 0; }
.cursor.is-big { width: 72px; height: 72px; background: var(--accent); opacity: .25; }
.cursor.is-play { width: 64px; height: 64px; background: var(--snap); opacity: .9; }
.cursor.is-play::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 16px; color: #000; }
@media (hover: none) { .cursor { display: none; } }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); z-index: 1000; }

/* ─── Navigation ─── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 900; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px var(--gutter); border-bottom: 1px solid transparent; transition: background .4s, padding .4s, border-color .4s, transform .5s var(--ease); }
.nav.is-scrolled { padding: 10px var(--gutter); background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.logo-img { height: 44px; width: auto; transition: transform .4s var(--ease); }
.nav__logo:hover .logo-img { transform: rotate(-6deg) scale(1.05); }
.logo-img--light { display: none; }
:root[data-mode="dark"] .logo-img--dark { display: none; }
:root[data-mode="dark"] .logo-img--light { display: block; }
.nav__links { display: flex; gap: 26px; font-size: 14px; }
.nav__links a { position: relative; opacity: .8; transition: opacity .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.themes { display: flex; gap: 8px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; }
.themes__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--c); outline: 2px solid transparent; outline-offset: 2px; transition: transform .2s, outline-color .2s; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.themes__dot:hover { transform: scale(1.2); }
.themes__dot.is-active { outline-color: var(--ink); }
.mode-toggle, .snapbtn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.mode-toggle svg { width: 18px; height: 18px; }
.mode-toggle .icon-sun { display: none; }
:root[data-mode="dark"] .mode-toggle .icon-sun { display: block; }
:root[data-mode="dark"] .mode-toggle .icon-moon { display: none; }
.snapbtn { background: var(--snap); color: #000; border-color: var(--snap); animation: snapPulse 2.6s infinite; }
.snapbtn:hover { transform: scale(1.1) rotate(-8deg); }
@keyframes snapPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,252,0,.55); } 60% { box-shadow: 0 0 0 12px rgba(255,252,0,0); } }
.burger { display: none; width: 38px; height: 38px; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.burger span { width: 20px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav__links { position: fixed; top: 0; left: 0; width: 100vw; height: 100svh; background: var(--bg); flex-direction: column; justify-content: center; align-items: center; gap: 28px; font-size: 28px; font-family: var(--font-display); font-weight: 600; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .6s var(--ease), visibility 0s .6s; z-index: -1; }
  .nav__links.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .6s var(--ease); }
  .nav__links a { opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease); }
  .nav__links.is-open a { opacity: 1; transform: none; }
  .nav__links.is-open a:nth-child(2) { transition-delay: .05s; } .nav__links.is-open a:nth-child(3) { transition-delay: .1s; }
  .nav__links.is-open a:nth-child(4) { transition-delay: .15s; } .nav__links.is-open a:nth-child(5) { transition-delay: .2s; } .nav__links.is-open a:nth-child(6) { transition-delay: .25s; }
  .themes { display: none; }
  .burger { display: flex; }
}

/* ─── Boutons ─── */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-size: 14px; font-weight: 500; border: 1px solid var(--line); transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; position: relative; overflow: hidden; }
.btn > span { position: relative; z-index: 1; }
.btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--primary::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.18); transform: translateY(100%); transition: transform .4s var(--ease); }
.btn--primary:hover::before { transform: none; }
.btn--ghost { backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--snap { background: var(--snap); color: #000; border-color: var(--snap); font-weight: 600; }
.btn--snap:hover { background: #fff04a; }
.magnetic { will-change: transform; }

/* ─── Hero ─── */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding-top: 80px; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bgvideo { width: 100%; height: 100%; object-fit: cover; filter: blur(36px) saturate(1.3); transform: scale(1.2); opacity: .3; }
:root[data-mode="dark"] .hero__bgvideo { opacity: .22; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 40%, transparent), var(--bg) 96%); }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 30px var(--gutter) 90px; max-width: 1400px; margin: 0 auto; width: 100%; }
.hero__logo { width: clamp(90px, 10vw, 140px); margin-bottom: 24px; filter: drop-shadow(0 10px 30px rgba(16,32,138,.25)); animation: fadeUp 1s .2s var(--ease) both; }
:root[data-mode="dark"] .hero__logo { filter: drop-shadow(0 0 30px rgba(91,108,255,.5)) brightness(0) invert(1); }
.hero__kicker { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin: 0 0 20px; font-weight: 600; animation: fadeUp 1s .35s var(--ease) both; }
.hero__title { font-size: clamp(48px, 7.5vw, 110px); line-height: .95; font-weight: 700; }
.hero__title em { font-style: italic; font-weight: 400; color: var(--accent); }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; transform: translateY(110%); animation: lineUp 1.1s .5s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .6s; }
.hero__title .line:nth-child(3) > span { animation-delay: .7s; }
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__sub { margin: 28px 0 32px; color: var(--ink-2); font-size: 16px; max-width: 520px; line-height: 1.6; animation: fadeUp 1s .9s var(--ease) both; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp 1s 1s var(--ease) both; }
.hero__stats { list-style: none; display: flex; gap: 36px; padding: 0; margin: 44px 0 0; animation: fadeUp 1s 1.15s var(--ease) both; }
.hero__stats li { display: flex; flex-direction: column; gap: 2px; }
.hero__stats strong { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.hero__stats span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 40px; width: 1px; height: 64px; background: var(--line); overflow: hidden; z-index: 1; }
.hero__scroll span { display: block; width: 100%; height: 50%; background: var(--accent); animation: scrollHint 2s infinite var(--ease); }
@keyframes scrollHint { from { transform: translateY(-100%); } to { transform: translateY(200%); } }

.hero__phones { position: relative; display: grid; place-items: center; min-height: 560px; animation: fadeUp 1.2s .6s var(--ease) both; }
.phone { position: absolute; width: min(300px, 64vw); aspect-ratio: 9 / 19; border-radius: 44px; background: #0a0a0a; padding: 11px; box-shadow: 0 40px 80px -30px rgba(16,32,138,.5), inset 0 0 0 2px #2a2a2a; transition: transform .9s var(--ease); }
.phone--front { transform: rotate(-5deg) translateX(-6%); z-index: 2; }
.phone--back { transform: rotate(7deg) translate(34%, 6%) scale(.88); opacity: .9; }
.hero__phones:hover .phone--front { transform: rotate(-2deg) translateX(-10%) scale(1.02); }
.hero__phones:hover .phone--back { transform: rotate(10deg) translate(40%, 4%) scale(.9); }
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 36%; height: 24px; background: #0a0a0a; border-radius: 999px; z-index: 2; }
.phone__video { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; }
.phone__caption { position: absolute; left: 22px; bottom: 26px; padding: 8px 12px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; backdrop-filter: blur(6px); }
.hero__sticker { position: absolute; top: 2%; right: 0; padding: 16px 18px; background: var(--snap); color: #000; font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.15; text-align: center; border-radius: 50%; box-shadow: 0 16px 30px -12px rgba(0,0,0,.4); animation: wiggle 3s ease-in-out infinite; z-index: 3; }
@keyframes wiggle { 0%,100% { transform: rotate(10deg); } 50% { transform: rotate(4deg) translateY(-4px); } }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 10px; }
  .hero__phones { order: -1; min-height: 440px; }
  .phone { width: min(200px, 52vw); }
  .hero__stats { gap: 22px; }
  .hero__stats strong { font-size: 22px; }
}

/* Bouton son */
.sound { position: absolute; right: 20px; bottom: 22px; z-index: 3; height: 40px; min-width: 40px; padding: 0 12px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(8px); display: inline-flex; align-items: center; gap: 8px; transition: background .3s, transform .3s var(--ease); }
.sound:hover { transform: scale(1.08); }
.sound svg { width: 18px; height: 18px; }
.sound__on, .sound__bars { display: none; }
.sound.is-on { background: var(--snap); color: #000; }
.sound.is-on .sound__off { display: none; }
.sound.is-on .sound__on, .sound.is-on .sound__bars { display: inline-flex; }
.sound__bars { gap: 2px; align-items: flex-end; height: 14px; }
.sound__bars i { width: 3px; background: currentColor; border-radius: 2px; animation: bars .9s ease-in-out infinite; }
.sound__bars i:nth-child(2) { animation-delay: .2s; } .sound__bars i:nth-child(3) { animation-delay: .4s; }
@keyframes bars { 0%,100% { height: 4px; } 50% { height: 14px; } }
.phone--back .sound { right: 16px; bottom: 16px; }
.sound::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid rgba(255,255,255,.6); animation: soundHint 2.2s ease-out infinite; pointer-events: none; }
.sound.is-on::after, .sound.was-used::after { display: none; }
@keyframes soundHint { from { opacity: .9; transform: scale(.9); } to { opacity: 0; transform: scale(1.35); } }

/* ─── Marquee ─── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; white-space: nowrap; background: var(--bg-2); }
.marquee__track { display: inline-flex; gap: 56px; animation: marquee 36s linear infinite; font-family: var(--font-display); font-size: 20px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { opacity: .6; transition: opacity .3s; }
.marquee__track span:hover { opacity: 1; color: var(--accent); }
.marquee__track span::after { content: "✦"; margin-left: 56px; color: var(--accent); opacity: .9; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── Sections ─── */
.section { padding: clamp(72px, 9vw, 130px) var(--gutter); }
.section--tight { padding-top: 0; }
.section--dark { background: var(--bg-2); }
.section--accent { background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 10%, var(--bg)), var(--bg)); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section__head h2 { font-size: clamp(32px, 5vw, 60px); font-weight: 700; }
.section__head p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 640px) { .section__head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 28px; } }
.split .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); }
.split.is-visible .w > span { transform: none; }

/* ─── Reveal ─── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ─── Rail horizontal (Nouveautés) ─── */
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 20px; margin: 0 calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail .card { flex: 0 0 min(300px, 78vw); scroll-snap-align: start; }

/* ─── Catégories ─── */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.cat { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; padding: 22px; color: #fff; text-align: left; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -1; }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.75), transparent 60%); }
.cat:hover img { transform: scale(1.08); }
.cat__label { font-family: var(--font-display); font-size: 21px; font-weight: 700; }
.cat__count { font-size: 12px; opacity: .75; margin-top: 4px; letter-spacing: .1em; text-transform: uppercase; }
.cat__arrow { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.cat:hover .cat__arrow { background: var(--accent); color: var(--accent-ink); transform: rotate(45deg); }

/* ─── Pièces phares ─── */
.featured { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.featured .card { grid-column: span 4; }
.featured .card:first-child { grid-column: span 8; grid-row: span 2; }
.featured .card:first-child .card__media { aspect-ratio: 16 / 11; }
@media (max-width: 900px) { .featured .card, .featured .card:first-child { grid-column: span 6; } }
@media (max-width: 560px) { .featured .card, .featured .card:first-child { grid-column: span 12; } }

/* ─── Filtres ─── */
.filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; position: sticky; top: 60px; z-index: 50; padding: 14px 0; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); }
.filters__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chips--brand .chip { font-family: var(--font-display); letter-spacing: .04em; }
.chips--size .chip { padding: 8px 12px; min-width: 40px; text-align: center; font-weight: 600; }
.filters__tools { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.select { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); }
.select select { appearance: none; font: inherit; color: var(--ink); background: var(--bg-3); border: 1px solid var(--line); padding: 9px 36px 9px 14px; border-radius: 999px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
@media (max-width: 760px) {
  .filters { position: static; padding: 0; background: none; backdrop-filter: none; min-width: 0; max-width: 100%; }
  .filters > *, .filters__row > * { min-width: 0; max-width: 100%; }
  .filters__row { flex-direction: column; align-items: stretch; gap: 10px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter); max-width: none; width: calc(100% + 2 * var(--gutter)); }
  .filters__tools { flex-wrap: wrap; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .filters__tools { justify-content: space-between; }
  .chips--size { margin: 0; padding: 2px 0; }
}
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--ink-2); }
.legend b { color: var(--accent); margin-right: 4px; font-family: var(--font-display); }

/* ─── Grille & cartes ─── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px 14px; }
.card { text-align: left; display: block; width: 100%; border-radius: var(--radius); perspective: 900px; }
.card__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s; }
.card:hover .card__media { box-shadow: var(--shadow); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; opacity: 0; }
.card__media img.is-loaded { opacity: 1; }
.card__media img + img { position: absolute; inset: 0; opacity: 0 !important; transition: opacity .6s; }
.card:hover .card__media img + img.is-loaded { opacity: 1 !important; }
.card:hover .card__media img:first-child { transform: scale(1.06); }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { padding: 6px 10px; border-radius: 999px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; backdrop-filter: blur(8px); background: color-mix(in srgb, var(--bg) 75%, transparent); color: var(--ink); }
.badge--new { background: var(--snap); color: #000; }
.badge--unique { background: var(--accent); color: var(--accent-ink); }
.badge--sold { background: #222; color: #fff; }
.card__hover { position: absolute; inset: auto 12px 12px 12px; display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 500; transform: translateY(16px); opacity: 0; transition: transform .4s var(--ease), opacity .3s; }
.card:hover .card__hover { transform: translateY(0); opacity: 1; }
.card__body { padding: 14px 4px 0; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.card__brand { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 4px; font-weight: 600; }
.card__budget { font-family: var(--font-display); font-weight: 700; color: var(--accent); letter-spacing: .1em; font-size: 14px; }
.card__name { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin: 0; }
.card__meta { display: flex; justify-content: space-between; color: var(--ink-2); font-size: 13px; margin-top: 4px; gap: 10px; }
.card__sizes { display: flex; gap: 5px; margin-top: 10px; flex-wrap: wrap; }
.size { font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink); display: inline-flex; gap: 5px; align-items: center; }
.size small { color: var(--ink-2); font-weight: 500; }
.size.is-out { opacity: .35; text-decoration: line-through; }
.size.is-low { border-color: var(--accent); }
.card.is-in { animation: cardIn .7s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(28px) scale(.98); } to { opacity: 1; transform: none; } }
.card.is-out { animation: cardOut .3s var(--ease-io) both; }
@keyframes cardOut { to { opacity: 0; transform: scale(.96); } }
.empty { text-align: center; color: var(--ink-2); padding: 60px 0; }

/* ─── Stock (fiche) ─── */
.stock { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 28px; }
.stock__size { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 56px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-3); }
.stock__size b { font-family: var(--font-display); font-size: 16px; }
.stock__size span { font-size: 11px; color: var(--ink-2); }
.stock__size.is-out { opacity: .4; }
.stock__size.is-out b { text-decoration: line-through; }
.stock__size.is-low { border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent); }

/* ─── Reels (vidéos) ─── */
.reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: #000; text-align: left; color: #fff; isolation: isolate; }
.reel video, .reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel video { opacity: 0; transition: opacity .4s; }
.reel.is-playing video { opacity: 1; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), transparent 50%); }
.reel__info { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; }
.reel__brand { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.reel__title { font-family: var(--font-display); font-weight: 600; font-size: 15px; margin-top: 4px; line-height: 1.25; }
.reel__views { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); display: flex; gap: 6px; align-items: center; }
.reel__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(.9); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); display: grid; place-items: center; z-index: 1; transition: transform .4s var(--ease), opacity .3s; }
.reel.is-playing .reel__play { opacity: 0; transform: translate(-50%,-50%) scale(.6); }
.reel:hover { transform: translateY(-4px); transition: transform .5s var(--ease); }

/* ─── Marques ─── */
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.brand { position: relative; aspect-ratio: 9 / 13; border-radius: var(--radius); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff; text-align: left; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1s var(--ease), filter .5s; }
.brand::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.85), transparent 55%); }
.brand::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 3px var(--accent); opacity: 0; transition: opacity .3s; }
.brand:hover img { transform: scale(1.07); }
.brand:hover::after { opacity: 1; }
.brand--soon img { filter: grayscale(1) brightness(.7); }
.brand__name { font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.brand__tag { font-size: 12px; opacity: .8; margin-top: 4px; }
.brand__count { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-top: 8px; }
.brand__ring { position: absolute; top: 14px; left: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(255,255,255,.9); }
.brand__soon { position: absolute; top: 12px; right: 12px; padding: 6px 10px; border-radius: 999px; background: var(--snap); color: #000; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ─── À venir ─── */
.upcoming { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.soon { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.soon:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.soon__media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.soon__media img { width: 100%; height: 100%; object-fit: cover; filter: blur(6px) saturate(.8); transform: scale(1.1); transition: filter .8s var(--ease), transform .8s var(--ease); }
.soon:hover .soon__media img { filter: blur(0) saturate(1); transform: scale(1.02); }
.soon__when { position: absolute; top: 12px; left: 12px; padding: 7px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 600; letter-spacing: .05em; }
.soon__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.soon__brand { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.soon__name { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.soon__note { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.soon__bell { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent); }
.soon__bell svg { width: 16px; height: 16px; animation: ring 3s infinite; transform-origin: top center; }
@keyframes ring { 0%,80%,100% { transform: rotate(0); } 84% { transform: rotate(14deg); } 88% { transform: rotate(-12deg); } 92% { transform: rotate(8deg); } 96% { transform: rotate(-4deg); } }

/* ─── Partenaires ─── */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.partner { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-3); display: flex; align-items: flex-end; padding: 22px; color: #fff; isolation: isolate; text-align: left; }
.partner video, .partner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1s var(--ease); }
.partner:hover video, .partner:hover img { transform: scale(1.05); }
.partner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0,0,0,.8), transparent 60%); }
.partner__name { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.partner__role { font-size: 13px; opacity: .85; margin-top: 4px; }
.partner__link { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.15); backdrop-filter: blur(6px); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.partner:hover .partner__link { background: var(--snap); color: #000; transform: rotate(45deg); }
.partner--placeholder { border: 2px dashed var(--line); background: transparent; color: var(--ink); }
.partner--placeholder::before { display: none; }
.partner--placeholder img { opacity: .15; filter: grayscale(1); }
.partner--placeholder .partner__link { background: var(--accent); color: var(--accent-ink); }

/* ─── Contact ─── */
.section--contact { background: var(--qdf-blue); color: #fff; overflow: hidden; position: relative; }
.section--contact::before { content: ""; position: absolute; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, rgba(255,252,0,.18), transparent 60%); top: -30vw; right: -20vw; pointer-events: none; }
.contact { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; max-width: 1100px; margin: 0 auto; position: relative; }
.contact__code { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.snapcode { width: clamp(200px, 24vw, 300px); aspect-ratio: 1; border-radius: 32px; background: var(--snap); padding: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); transform: rotate(-3deg); transition: transform .8s var(--ease); animation: float 5s ease-in-out infinite; }
.snapcode:hover { transform: rotate(0) scale(1.04); }
.snapcode img { width: 100%; height: 100%; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.contact__hint { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; opacity: .7; margin: 0; }
.contact__logo { width: 72px; margin-bottom: 20px; }
.contact h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 700; line-height: 1; margin-bottom: 18px; }
.contact p { font-size: 16px; opacity: .85; line-height: 1.6; margin: 0 0 28px; max-width: 480px; }
.contact__links { display: flex; gap: 12px; flex-wrap: wrap; }
.contact .btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.contact .btn--ghost:hover { border-color: #fff; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; text-align: center; } .contact__text { display: flex; flex-direction: column; align-items: center; } .contact__links { justify-content: center; } }

/* ─── Footer ─── */
.footer .logo-img { height: 36px; }
.footer { padding: 48px var(--gutter); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--ink-2); font-size: 13px; }

/* ─── Lightbox (fiche pièce) ─── */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px; background: rgba(5,6,25,.82); backdrop-filter: blur(16px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__panel { display: grid; grid-template-columns: 1.2fr 1fr; width: min(1100px, 100%); height: min(760px, 90vh); max-height: 90vh; background: var(--bg); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); transform: translateY(30px) scale(.97); transition: transform .6s var(--ease); }
.lightbox.is-open .lightbox__panel { transform: none; }
.lightbox__media { background: var(--bg-3); display: flex; flex-direction: column; min-height: 320px; }
.lightbox__stage { flex: 1; position: relative; min-height: 0; }
.lightbox__stage { background: #000; }
.lightbox__stage img, .lightbox__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: stageIn .5s var(--ease); }
.lightbox__stage video { object-fit: contain; }
@keyframes stageIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.lightbox__thumbs { display: flex; gap: 8px; padding: 12px; background: rgba(0,0,0,.25); }
.lightbox__thumbs:empty { display: none; }
.lightbox__thumbs button { width: 56px; height: 70px; border-radius: 10px; overflow: hidden; opacity: .55; transition: opacity .3s, transform .3s var(--ease); border: 2px solid transparent; }
.lightbox__thumbs button.is-active { opacity: 1; border-color: var(--accent); }
.lightbox__thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__thumbs .is-video { display: grid; place-items: center; background: #000; color: #fff; font-size: 18px; }
.lightbox__info { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; overflow-y: auto; }
.lightbox__brand { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; font-weight: 600; }
.lightbox__info h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; margin-bottom: 6px; line-height: 1.05; }
.lightbox__color { margin: 0; color: var(--ink-2); font-size: 14px; }
.lightbox__budget { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--accent); }
.lightbox__budget small { font-family: var(--font-body); font-weight: 500; font-size: 12px; color: var(--ink-2); letter-spacing: .1em; text-transform: uppercase; }
.lightbox__close, .lightbox__nav { position: fixed; z-index: 1; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 22px; display: grid; place-items: center; backdrop-filter: blur(8px); transition: background .25s, transform .3s var(--ease); }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--snap); color: #000; transform: scale(1.08); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__nav--prev { left: 24px; } .lightbox__nav--next { right: 24px; }
@media (max-width: 800px) {
  .lightbox { padding: 12px; }
  .lightbox__panel { grid-template-columns: 1fr; overflow-y: auto; height: auto; max-height: 94vh; }
  .lightbox__stage { min-height: 52vh; }
  .lightbox__nav { display: none; }
}

/* ─── Lecteur vidéo ─── */
.player { position: fixed; inset: 0; z-index: 2100; background: rgba(0,0,0,.92); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.player.is-open { opacity: 1; pointer-events: auto; }
.player__frame { height: min(90vh, 900px, calc((100vw - 24px) * 16 / 9)); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #000; transform: scale(.94); transition: transform .5s var(--ease); }
.player.is-open .player__frame { transform: none; }
.player__frame video { width: 100%; height: 100%; object-fit: cover; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .hero__title .line > span, .split .w > span { transform: none; }
  .reveal { opacity: 1; transform: none; }
  .intro { display: none; }
}
