/* ============================================================
   Premier Tech · We believe in the future
   Micro-site concept — ultra premium, dark, cinematic
   ============================================================ */

/* Fontes : voir fonts.css (embarquées en base64, chargé avant ce fichier). */

/* ---------- Tokens ---------- */
:root {
  --bg: #000005;
  --bg-elev: #08090f;
  --ink: #ffffff;
  --ink-dim: rgba(255, 255, 255, 0.66);
  --ink-faint: rgba(255, 255, 255, 0.42);
  --ink-ghost: rgba(255, 255, 255, 0.14);

  --accent: #56C1FF;          /* brand blue — solid UI accents (lines, rings) */
  --accent-soft: #64B4E1;     /* brand blue — text */
  --accent-deep: #0076BA;     /* brand blue — deep (gradient end) */
  --grad-blue: linear-gradient(90deg, #56C1FF, #0076BA); /* brand blue gradient */
  --warm: #ff6a45;            /* moodboard warm glow */

  --line: rgba(255, 255, 255, 0.09);
  --card: rgba(255, 255, 255, 0.028);
  --card-hi: rgba(255, 255, 255, 0.06);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);   /* sharp, decisive */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --wrap: 1180px;
  --gut: clamp(22px, 5vw, 88px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "PT Text", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent-deep); color: #fff; }

img { max-width: 100%; display: block; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 20px; border: 2px solid #000; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.22); }

/* ---------- Accès protégé (verrou) ---------- */
.gate {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: #000005; padding: 24px;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.gate.is-open { opacity: 0; visibility: hidden; pointer-events: none; }
.gate::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 46% at 50% 38%, rgba(86, 193, 255, 0.12), transparent 70%);
}
.gate__inner { position: relative; width: 100%; max-width: 400px; text-align: center; }
.gate__brand {
  font-family: "PT Text"; font-weight: 700; letter-spacing: 0.16em;
  font-size: 12px; color: #fff; margin-bottom: clamp(26px, 5vw, 40px);
}
.gate__eyebrow {
  font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 14px;
}
.gate__title {
  font-family: "PT Title"; font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(27px, 5vw, 40px); margin-bottom: clamp(26px, 4vw, 34px);
}
.gate__form { display: flex; gap: 10px; }
.gate__input {
  flex: 1; min-width: 0; color: #fff; font-family: "PT Text"; font-size: 15px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  border-radius: 100px; padding: 14px 20px; outline: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.gate__input:focus { border-color: var(--accent); background: rgba(255, 255, 255, 0.08); }
.gate__input::placeholder { color: var(--ink-faint); }
.gate__btn {
  flex: none; border: 0; border-radius: 100px; padding: 14px 26px; cursor: pointer;
  font-family: "PT Text"; font-weight: 700; font-size: 14px; color: #05060c; background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.gate__btn:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(86, 193, 255, 0.45); }
.gate__error { margin-top: 16px; color: #ff8a6b; font-size: 13px; }
.gate.shake .gate__inner { animation: gateShake 0.4s var(--ease); }
@keyframes gateShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}
@media (max-width: 420px) {
  .gate__form { flex-direction: column; }
  .gate__btn { padding: 14px; }
}

/* ---------- Grain / vignette ---------- */
.grain {
  position: fixed; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.045; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, transparent 55%, rgba(0,0,0,.55) 100%);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: transparent;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, #56C1FF, #0076BA);
  box-shadow: 0 0 18px rgba(86, 193, 255, 0.9);
  transition: width 0.1s linear;
}

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gut);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim);
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), padding 0.5s var(--ease);
}
.topbar.is-stuck {
  background: rgba(0,0,3,.55);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  padding-top: 14px; padding-bottom: 14px;
}
.topbar__brand { display: flex; align-items: center; gap: 10px; }
.topbar__mark { color: var(--ink); font-weight: 700; font-family: "PT Text"; }
.topbar__sep { color: var(--ink-faint); }
.topbar__ctx { color: var(--ink-faint); }
.topbar__meta { color: var(--ink-faint); font-size: 10px; }
@media (max-width: 640px) { .topbar__meta { display: none; } }

/* ---------- Sticky dot navigation ---------- */
.dotnav {
  position: fixed; left: clamp(16px, 2.4vw, 38px); top: 50%;
  transform: translateY(-50%); z-index: 55;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
}
.dotnav__item {
  display: flex; align-items: center; justify-content: flex-start; gap: 13px;
  text-decoration: none; cursor: pointer; height: 12px;
}
.dotnav__label {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim); white-space: nowrap;
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color 0.35s var(--ease);
}
.dotnav__dot {
  width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.55);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.dotnav__item:hover .dotnav__label { opacity: 1; transform: none; color: #fff; }
.dotnav__item:hover .dotnav__dot { border-color: #fff; transform: scale(1.15); }
.dotnav__item.is-active .dotnav__dot {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 12px var(--accent); transform: scale(1.15);
}
/* Labels reveal on hover only (avoids overlapping page content). */
@media (max-width: 820px) { .dotnav { display: none; } }

/* Offset anchored scrolling so section tops clear the fixed topbar */
.section { scroll-margin-top: 84px; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 500;
}
.label {
  font-family: "PT Title"; font-weight: 700;
  font-size: clamp(13px, 1.6vw, 15px);
  letter-spacing: 0.02em; color: var(--ink);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: clamp(28px, 4vw, 46px);
}
.label::before {
  content: ""; width: 26px; height: 1px; background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.hl { color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

.section { position: relative; padding: clamp(90px, 13vw, 190px) 0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: 0 var(--gut);
}
/* Real Earth photo — arcs up behind the title, per the wireframe.
   transform is driven by scroll (see script.js) to zoom toward the planet. */
.hero__earth {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: url("img/earth.jpg") no-repeat center 82% / cover;
  transform-origin: 50% 60%;
  will-change: transform, opacity;
}
/* Deepen the top so stars/title read, and blend the planet into the page below. */
.hero__earth::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,5,.55) 0%, transparent 30%, transparent 70%, var(--bg) 100%);
}
.hero__stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

.hero__inner { position: relative; z-index: 2; }

.hero .eyebrow { margin-bottom: clamp(26px, 4vw, 40px); }

.hero__title {
  font-family: "PT Title"; line-height: 0.9; letter-spacing: -0.03em;
  display: flex; flex-direction: column; align-items: center;
}
.hero__title-lead {
  font-weight: 700; font-size: clamp(22px, 4.6vw, 62px);
  letter-spacing: -0.02em; color: var(--ink);
  margin-bottom: clamp(2px, 0.6vw, 8px);
}
.hero__title-hero {
  font-weight: 700;
  font-size: clamp(78px, 18vw, 260px);
  letter-spacing: -0.045em;
  color: #fff;
  text-shadow: 0 0 80px rgba(86, 193, 255, 0.22);
  padding: 0 0.04em;
}
.hero__title-sub {
  font-weight: 700; font-size: clamp(22px, 4.6vw, 62px);
  letter-spacing: -0.02em; color: var(--ink);
  margin-top: clamp(2px, 0.6vw, 8px);
}

.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-faint);
}
.hero__scroll i {
  width: 1px; height: 40px; background: linear-gradient(var(--ink-faint), transparent);
  position: relative; overflow: hidden;
}
.hero__scroll i::after {
  content: ""; position: absolute; top: -40px; left: 0; width: 1px; height: 40px;
  background: linear-gradient(var(--accent-soft), transparent);
  animation: scrollDrop 2.2s var(--ease) infinite;
}
@keyframes scrollDrop { 0% { top: -40px; } 60%, 100% { top: 40px; } }

/* ============================================================
   L'IDÉE
   ============================================================ */
.idea { overflow: hidden; padding-bottom: clamp(60px, 7vw, 110px); }
.sell { padding-top: clamp(50px, 6vw, 96px); }
.idea .wrap { position: relative; z-index: 1; }
/* Jean Bélanger — portrait discours en fond, bas à droite, fondu dans le noir. */
.idea__portrait {
  position: absolute; right: 0; bottom: -70px; z-index: 0;
  width: min(48%, 640px); height: auto;
  pointer-events: none; user-select: none;
  opacity: 1;
}
.idea .label { margin-bottom: clamp(14px, 1.8vw, 22px); }
.idea__lead {
  font-family: "PT Title"; font-weight: 400;
  font-size: clamp(19px, 2.3vw, 31px);
  line-height: 1.3; letter-spacing: -0.02em;
  color: #fff;
  max-width: 560px;
}
.idea__lead .hl { color: #fff; }

/* ============================================================
   ON VEND QUOI
   ============================================================ */
.sell__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.4vw, 22px);
}
.sell__card {
  position: relative; padding: clamp(24px, 2vw, 34px) clamp(22px, 1.8vw, 30px);
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  min-height: 300px; display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), background 0.6s var(--ease);
}
.sell__card::before {
  content: ""; position: absolute; inset: 0; border-radius: 18px; pointer-events: none;
  background: radial-gradient(120% 90% at 50% -10%, rgba(86,193,255,.14), transparent 60%);
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.sell__card:hover {
  transform: translateY(-6px);
  border-color: rgba(86,193,255,.4);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
}
.sell__card:hover::before { opacity: 1; }
.sell__num {
  font-family: "PT Title"; font-weight: 700; font-size: 13px;
  color: var(--accent-soft); letter-spacing: 0.1em; margin-bottom: auto;
}
.sell__msg {
  font-family: "PT Title"; font-weight: 700;
  font-size: clamp(18px, 1.55vw, 22px); line-height: 1.22; letter-spacing: -0.02em;
  color: #fff; margin-top: clamp(40px, 6vw, 66px);
}
.sell__support {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
  font-family: "PT Title"; font-weight: 700;
  font-size: clamp(18px, 1.55vw, 22px); line-height: 1.22; letter-spacing: -0.02em;
  color: var(--accent-soft); font-style: normal;
}

/* ============================================================
   INSPIRATIONS
   ============================================================ */
.insp__intro {
  font-family: "PT Title"; font-weight: 400;
  font-size: clamp(19px, 2.5vw, 30px); line-height: 1.4; letter-spacing: -0.02em;
  color: var(--ink-dim); max-width: 30ch;
  margin-bottom: clamp(46px, 6vw, 80px);
}
.insp__intro em { font-style: italic; color: var(--ink); }

/* Player */
.player { max-width: 1000px; }
.player__stage {
  position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
  background: #05060c; border: 1px solid var(--line);
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02) inset;
}
.player__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease), opacity 0.6s var(--ease), filter 0.6s var(--ease);
  filter: saturate(1.05) contrast(1.02);
}
.player__stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 90% at 50% 30%, transparent 40%, rgba(0,0,0,.5) 100%);
  transition: opacity 0.6s var(--ease); z-index: 1;
}
.player.is-playing .player__stage::after,
.player.is-playing .player__play { opacity: 0; pointer-events: none; }
.player:not(.is-playing) .player__stage:hover .player__poster { transform: scale(1.04); }

.player__play {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: clamp(66px, 8vw, 92px); height: clamp(66px, 8vw, 92px); border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.5s var(--ease);
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
}
.player__play svg { width: 42%; height: 42%; fill: currentColor; margin-left: 8%; }
.player__play::before {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255,255,255,.35); animation: pulseRing 2.6s var(--ease) infinite;
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.28); }
  70%, 100% { box-shadow: 0 0 0 26px rgba(255,255,255,0); }
}
.player__play:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff; color: #05060c;
  box-shadow: 0 16px 60px rgba(86,193,255,.5);
}
.player__frame { position: absolute; inset: 0; z-index: 3; opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease); }
.player.is-playing .player__frame { opacity: 1; pointer-events: auto; }
.player__frame iframe { width: 100%; height: 100%; border: 0; }

.player__meta {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-top: 26px;
}
.player__brand {
  font-family: "PT Title"; font-weight: 900; letter-spacing: -0.02em;
  font-size: clamp(30px, 4vw, 46px); line-height: 1;
}
.player__name {
  font-size: clamp(13px, 1.2vw, 15px); color: var(--accent-soft);
  letter-spacing: 0.02em; margin-top: 8px; text-transform: uppercase;
}
.player__badge {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint);
  border: 1px solid var(--line); border-radius: 100px; padding: 8px 16px; white-space: nowrap;
}

/* Rail */
.rail {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
  margin-top: clamp(34px, 4vw, 52px);
}
.thumb {
  position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: #05060c; cursor: pointer; padding: 0;
  text-align: left; color: #fff;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.thumb__img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
  filter: saturate(0.9) brightness(0.62);
}
.thumb__glow {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,5,.85) 100%);
}
.thumb__ico {
  position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; z-index: 2;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transform: scale(0.8); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.thumb__ico svg { width: 12px; height: 12px; fill: #fff; margin-left: 2px; }
.thumb__cap {
  position: absolute; left: 14px; bottom: 12px; z-index: 2; display: flex; flex-direction: column;
}
.thumb__cap b { font-family: "PT Title"; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.thumb__cap i {
  font-style: normal; font-size: 11px; color: var(--ink-dim); margin-top: 2px;
  letter-spacing: 0.02em;
}
.thumb:hover { transform: translateY(-5px); border-color: rgba(86,193,255,.4); }
.thumb:hover .thumb__img { transform: scale(1.08); filter: saturate(1.05) brightness(0.78); }
.thumb:hover .thumb__ico { opacity: 1; transform: scale(1); }

.thumb.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 14px 50px -20px var(--accent);
}
.thumb.is-active .thumb__img { filter: saturate(1.1) brightness(0.8); }
.thumb.is-active::after {
  content: "En lecture"; position: absolute; top: 12px; left: 12px; z-index: 3;
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  color: #05060c; background: var(--accent-soft); padding: 4px 8px; border-radius: 100px;
}

/* ============================================================
   NARRATION — feuille de papier centrée
   ============================================================ */
.narration__layout {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 600px);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.narration__intro {
  color: var(--ink-dim);
  font-size: clamp(14px, 1.05vw, 16px); line-height: 1.75;
  padding-top: clamp(6px, 2vw, 26px);
  max-width: 340px;
}
@media (max-width: 860px) {
  .narration__layout { grid-template-columns: minmax(0, 600px); }
}
.paper {
  width: 100%; max-width: 600px; margin: 0 auto;
  background: #fbfbf9; color: #111214;
  border-radius: 8px;
  padding: clamp(34px, 4.5vw, 66px) clamp(26px, 4vw, 58px) clamp(40px, 5vw, 72px);
  box-shadow: 0 60px 140px -50px rgba(0, 0, 0, 0.9), 0 2px 0 rgba(255, 255, 255, 0.05);
  position: relative; z-index: 4; /* au-dessus du grain + vignette pour rester blanc net */
}
.paper__tabs {
  display: flex; gap: 8px; justify-content: center;
  padding-bottom: clamp(26px, 3.5vw, 40px);
  margin-bottom: clamp(26px, 3.5vw, 40px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}
.paper__tab {
  font-family: "PT Text"; font-weight: 700; font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(0, 0, 0, 0.42); background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 100px;
  padding: 9px 18px; cursor: pointer;
  transition: color 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.paper__tab:hover { color: #111; border-color: rgba(0, 0, 0, 0.3); }
.paper__tab.is-active {
  color: #fff; background: var(--accent-deep); border-color: var(--accent-deep);
}
.paper__version {
  font-family: "PT Text"; font-weight: 400;
  font-size: clamp(15px, 1.1vw, 17px); line-height: 1.72;
  color: #16181b; letter-spacing: -0.005em;
  animation: paperFade 0.5s var(--ease);
}
.paper__version[hidden] { display: none; }
.paper__version p { margin-bottom: 1.15em; }
.paper__version p:last-child { margin-bottom: 0; }
@keyframes paperFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ============================================================
   DÉMONSTRATION — intro + cards bleues scrollables
   ============================================================ */
.demo__intro {
  font-family: "PT Title"; font-weight: 400;
  font-size: clamp(18px, 1.9vw, 26px); line-height: 1.5; letter-spacing: -0.015em;
  color: var(--ink-dim); max-width: 820px;
  margin-bottom: clamp(44px, 6vw, 76px);
}
.demo__intro .hl { color: #fff; }

.demo__cardhead {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-bottom: clamp(20px, 2.5vw, 30px);
}
.demo__cardtitle {
  font-family: "PT Title"; font-weight: 700;
  font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -0.01em; color: #fff;
}
.demo__controls { display: flex; gap: 12px; flex: none; }
.demo__arrow {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  color: #fff; background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    color 0.35s var(--ease), transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.demo__arrow svg { width: 20px; height: 20px; }
.demo__arrow:hover {
  background: var(--accent-deep); border-color: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -10px var(--accent);
}
.demo__arrow.is-disabled { opacity: 0.28; pointer-events: none; }

.demo__cards {
  display: flex; gap: clamp(14px, 1.4vw, 20px);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding-bottom: 18px; margin-bottom: -18px; /* room for scrollbar */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(86, 193, 255, 0.5) transparent;
}
.demo__cards::-webkit-scrollbar { height: 6px; }
.demo__cards::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 20px; }
.demo__cards::-webkit-scrollbar-thumb { background: rgba(86, 193, 255, 0.5); border-radius: 20px; }
.demo__cards::-webkit-scrollbar-thumb:hover { background: rgba(86, 193, 255, 0.75); }

.demo-card {
  flex: 0 0 clamp(230px, 25vw, 290px);
  scroll-snap-align: start;
  min-height: 320px; border-radius: 20px;
  padding: clamp(22px, 2vw, 30px);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  color: #fff;
  background: linear-gradient(158deg, #12a0dc 0%, #0076ba 46%, #044f79 100%);
  box-shadow: 0 30px 60px -34px rgba(0, 118, 186, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.demo-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 90% at 0% 0%, rgba(86, 193, 255, 0.55), transparent 52%);
}
.demo-card > * { position: relative; z-index: 1; }
.demo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 80px -34px rgba(0, 118, 186, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.demo-card__tag {
  align-self: flex-start;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  color: #fff; background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 100px; padding: 6px 13px;
  backdrop-filter: blur(4px);
}
.demo-card__benefit {
  font-family: "PT Title"; font-weight: 700;
  font-size: clamp(19px, 1.6vw, 23px); line-height: 1.22; letter-spacing: -0.02em;
  margin-top: 22px;
}
.demo-card__foot { margin-top: auto; padding-top: 26px; }
.demo-card__product {
  font-family: "PT Title"; font-weight: 900;
  font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.02em; line-height: 1;
}
.demo-card__sign {
  font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, 0.88); margin-top: 9px;
}
/* Template card — reads as a model, slightly translucent */
.demo-card--template { opacity: 0.62; }
/* Empty card — placeholder to complete */
.demo-card--empty {
  background: transparent;
  border: 1.5px dashed rgba(86, 193, 255, 0.5);
  box-shadow: none;
  align-items: center; justify-content: center; text-align: center;
}
.demo-card--empty::before { display: none; }
.demo-card--empty:hover { transform: translateY(-6px); box-shadow: none; }
.demo-card__todo {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  color: var(--accent-soft);
}

/* ============================================================
   QUESTIONS DE L'ENTREVUE — cartes blanches, texte bleu
   ============================================================ */
.qa__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.qa__intro {
  font-family: "PT Title"; font-weight: 400;
  font-size: clamp(18px, 1.9vw, 26px); line-height: 1.4; letter-spacing: -0.015em;
  color: var(--ink-dim); max-width: 640px;
}
.qa__arrow {
  flex: none; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    transform 0.35s var(--ease), opacity 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.qa__arrow svg { width: 20px; height: 20px; }
.qa__arrow:hover {
  background: var(--accent-deep); border-color: var(--accent-deep);
  transform: translateY(-2px); box-shadow: 0 10px 26px -10px var(--accent);
}
.qa__arrow.is-disabled { opacity: 0.28; pointer-events: none; }

.qcards {
  display: flex; gap: clamp(14px, 1.4vw, 20px);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;
  padding-bottom: 18px; margin-bottom: -18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: rgba(86, 193, 255, 0.5) transparent;
}
.qcards::-webkit-scrollbar { height: 6px; }
.qcards::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 20px; }
.qcards::-webkit-scrollbar-thumb { background: rgba(86, 193, 255, 0.5); border-radius: 20px; }
.qcards::-webkit-scrollbar-thumb:hover { background: rgba(86, 193, 255, 0.75); }

.qcard {
  flex: 0 0 clamp(260px, 30vw, 340px);
  scroll-snap-align: start;
  border-radius: 18px; padding: clamp(24px, 2.4vw, 32px);
  background: #fbfbf9; color: #0076ba;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 30px 60px -38px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.qcard:hover { transform: translateY(-6px); box-shadow: 0 44px 84px -38px rgba(0, 0, 0, 0.95); }
.qcard__n {
  font-family: "PT Title"; font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; color: #56c1ff;
}
.qcard__q {
  font-family: "PT Title"; font-weight: 700;
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.32; letter-spacing: -0.01em;
  color: #0076ba;
}

/* ============================================================
   MUSIQUE — player audio + sélecteurs
   ============================================================ */
.music__intro {
  font-family: "PT Title"; font-weight: 400;
  font-size: clamp(18px, 1.9vw, 26px); line-height: 1.5; letter-spacing: -0.015em;
  color: var(--ink-dim); max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.music__intro em { font-style: italic; }

.aplayer {
  max-width: 760px;
  border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  padding: clamp(24px, 3vw, 38px);
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 0.9);
}
.aplayer__top { display: flex; align-items: center; gap: clamp(16px, 2vw, 24px); }
.aplayer__play {
  flex: none; width: clamp(58px, 6vw, 70px); height: clamp(58px, 6vw, 70px);
  border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: #fff; color: #05060c;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.aplayer__play svg { width: 42%; height: 42%; fill: currentColor; }
.aplayer__play .ic-play { margin-left: 9%; }
.aplayer__play:hover { transform: scale(1.06); box-shadow: 0 14px 40px rgba(86, 193, 255, 0.5); }
.ic-pause { display: none; }
.aplayer.is-playing .ic-play { display: none; }
.aplayer.is-playing .ic-pause { display: block; }
.aplayer__meta { flex: 1; min-width: 0; }
.aplayer__idxrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.aplayer__idx { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-soft); }
.aplayer__reco {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  color: #05121f; background: var(--accent-soft); padding: 3px 10px; border-radius: 100px;
}
.aplayer__desc em { font-style: italic; color: #fff; }
.mtrack__reco {
  align-self: flex-start; margin-bottom: 8px;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  color: var(--accent-soft); border: 1px solid rgba(86, 193, 255, 0.5);
  padding: 4px 9px; border-radius: 100px;
}
.aplayer__title {
  font-family: "PT Title"; font-weight: 700; font-size: clamp(21px, 2.4vw, 29px);
  letter-spacing: -0.02em; line-height: 1.1; margin-top: 5px;
}
.aplayer__artist { color: var(--ink-dim); font-size: 14px; margin-top: 3px; }
.aplayer__eq { display: flex; align-items: flex-end; gap: 3px; height: 26px; flex: none; }
.aplayer__eq i { width: 3px; height: 5px; border-radius: 2px; background: var(--accent-soft); opacity: 0.4; }
.aplayer.is-playing .aplayer__eq i { opacity: 1; animation: eq 0.9s ease-in-out infinite; }
.aplayer__eq i:nth-child(2) { animation-delay: 0.2s; }
.aplayer__eq i:nth-child(3) { animation-delay: 0.4s; }
.aplayer__eq i:nth-child(4) { animation-delay: 0.1s; }
.aplayer__eq i:nth-child(5) { animation-delay: 0.3s; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 24px; } }

.aplayer__seek { display: flex; align-items: center; gap: 14px; margin-top: clamp(22px, 2.6vw, 30px); }
.aplayer__time {
  font-size: 12px; color: var(--ink-faint); min-width: 36px;
  font-variant-numeric: tabular-nums;
}
.aplayer__time:last-child { text-align: right; }
.aplayer__track {
  position: relative; flex: 1; height: 6px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.12); cursor: pointer; touch-action: none;
}
.aplayer__fill {
  position: absolute; left: 0; top: 0; height: 100%; width: 0;
  border-radius: 20px; background: linear-gradient(90deg, #56C1FF, #0076BA);
}
.aplayer__knob {
  position: absolute; top: 50%; left: 0; width: 13px; height: 13px; border-radius: 50%;
  background: #fff; transform: translate(-50%, -50%); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  opacity: 0; transition: opacity 0.2s var(--ease); pointer-events: none;
}
.aplayer__track:hover .aplayer__knob, .aplayer.is-playing .aplayer__knob { opacity: 1; }
.aplayer__desc {
  margin-top: clamp(20px, 2.5vw, 26px); color: var(--ink-dim);
  font-size: clamp(14px, 1.05vw, 15.5px); line-height: 1.6; max-width: 64ch;
}

.music__cta {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px; margin-top: clamp(24px, 3vw, 36px); max-width: 760px;
}
.mtrack {
  text-align: left; cursor: pointer; color: #fff;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--card); padding: 16px 18px;
  display: flex; flex-direction: column; gap: 3px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.mtrack:hover:not(:disabled) { transform: translateY(-3px); border-color: rgba(86, 193, 255, 0.4); }
.mtrack__n { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.mtrack__t { font-family: "PT Title"; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.mtrack__a { font-size: 13px; color: var(--ink-dim); }
.mtrack.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 16px 44px -22px var(--accent); }
.mtrack.is-active .mtrack__n { color: var(--accent-soft); }
.mtrack.is-empty, .mtrack:disabled { opacity: 0.45; cursor: not-allowed; }

/* ============================================================
   CLOSING
   ============================================================ */
.closing { text-align: center; padding-bottom: clamp(120px, 16vw, 220px); }
.closing__wrap { display: flex; flex-direction: column; align-items: center; }
.closing__kicker {
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent-soft);
  margin-bottom: 22px;
}
.closing__title {
  font-family: "PT Title"; font-weight: 900; letter-spacing: -0.035em;
  font-size: clamp(44px, 9vw, 128px); line-height: 0.95;
  background: linear-gradient(180deg, #fff 30%, #56C1FF 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.closing__sub { margin-top: 22px; color: var(--ink-dim); font-size: clamp(15px, 1.6vw, 18px); }

/* ---------- Footer ---------- */
.footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px var(--gut); border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint);
}
.footer span:first-child { color: var(--ink-dim); font-weight: 700; font-family: "PT Text"; }

/* ============================================================
   Reveal animations
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .sell__grid { grid-template-columns: repeat(2, 1fr); }
  .sell__card { min-height: 240px; }
}
@media (max-width: 560px) {
  .sell__grid { grid-template-columns: 1fr; }
  .sell__card { min-height: 0; }
  .player__meta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .player__badge { align-self: flex-start; }
  .hero__title-hero { font-size: clamp(66px, 24vw, 120px); }
  .idea__lead, .insp__intro { max-width: none; }
}
@media (max-width: 760px) {
  .idea__portrait { width: 82%; opacity: 0.42; }
}
