/* FounderDesk — site vitrine
   Concept : une page « papier » encrée, où le produit lui-même (bureau Mac + widgets) sert d'illustration.
   Même système que l'app : encre épaisse, papier crème, couleurs franches, ombres décalées pleines. */
:root {
  --ink: #23212e;
  --ink-soft: #5a5668;
  --ink-faint: #8e8a9c;
  --paper: #fff9ee;
  --paper-2: #f3e8d2;
  --paper-3: #eadcc0;
  --coral: #ff6b6b;
  --coral-soft: #ffe1e1;
  --mustard: #ffd166;
  --mustard-deep: #f2b93b;
  --mustard-soft: #fff1c9;
  --mint: #5fcb9a;
  --mint-soft: #d9f5e8;
  --sky: #4d96ff;
  --sky-soft: #dce9ff;
  --lilac: #b388ff;
  --lilac-soft: #eae0ff;
  --night: #1b1a24;
  --night-2: #26243a;
  --green-text: #1f9d62;
  --font-display: 'Fredoka', 'Nunito', 'Avenir Next Rounded', system-ui, sans-serif;
  --font-body: 'Nunito', 'Avenir Next', system-ui, sans-serif;
  --font-hand: 'Caveat', 'Bradley Hand', cursive;
  --border: 3px;
  --radius: 24px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --wrap: 1180px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain papier, discret, posé sur toute la page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.16;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--mustard); color: var(--ink); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 999px;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter-l) + var(--gutter-r));
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

/* ---------- Typographie ---------- */
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.3vw, 82px); line-height: 0.98; }
h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.02; }
h3 { font-size: 23px; line-height: 1.15; font-weight: 600; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-soft); max-width: 36em; }
.num, .tabular { font-variant-numeric: tabular-nums; }

.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
}
.kicker::before { content: ""; width: 11px; height: 11px; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--k, var(--mustard)); }

.section-head { display: grid; gap: 18px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head .lead { max-width: 34em; }

/* Surligneur au marqueur */
.hl { position: relative; display: inline-block; z-index: 0; white-space: nowrap; }
.hl::before {
  content: ""; position: absolute; z-index: -1; left: -0.12em; right: -0.12em; top: 0.52em; bottom: 0.04em;
  background: var(--hl, var(--mustard)); border-radius: 0.18em; transform: rotate(-1.2deg);
}
.hl-coral { --hl: var(--coral); }
.hl-mint { --hl: var(--mint); }
.hl-sky { --hl: var(--sky); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.78em 1.4em; border: var(--border) solid var(--ink); border-radius: 999px;
  background: var(--paper); color: var(--ink); text-decoration: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 800; font-size: 16px; line-height: 1.1; white-space: nowrap;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.btn-coral { background: var(--coral); }
.btn-mustard { background: var(--mustard); }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 5px 5px 0 var(--coral); }
.btn-ink:hover { box-shadow: 7px 7px 0 var(--coral); }
.btn-ink:active { box-shadow: 1px 1px 0 var(--coral); }
.btn-lg { padding: 0.95em 1.7em; font-size: 18px; }
.btn-sm { padding: 0.6em 1.1em; font-size: 14.5px; box-shadow: 4px 4px 0 var(--ink); }
.btn svg { width: 1.1em; height: 1.1em; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.btn .fill { fill: currentColor; stroke: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 14px var(--gutter-r) 0 var(--gutter-l);
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  pointer-events: none;
}
.nav-in {
  pointer-events: auto;
  max-width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
  padding: 10px 12px 10px 16px;
  background: var(--paper); border: var(--border) solid var(--ink); border-radius: 999px; box-shadow: var(--shadow);
  transition: padding 0.25s ease, box-shadow 0.25s ease;
}
.nav.scrolled .nav-in { padding-top: 7px; padding-bottom: 7px; box-shadow: 4px 4px 0 var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.mark { width: 36px; height: 36px; flex: none; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 13px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 15px; color: var(--ink-soft);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }
.nav .btn-sm { margin-left: 8px; }
.nav .btn-sm .os { color: var(--mustard); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(118px, 14vw, 170px); overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; position: relative; z-index: 2; }
.pill-live {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px;
  border: 2.5px solid var(--ink); border-radius: 999px; background: var(--paper);
  font-size: 13.5px; font-weight: 900; letter-spacing: 0.02em; box-shadow: 3px 3px 0 var(--ink);
}
.pill-live .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mint); border: 2px solid var(--ink); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.35); } }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 800; color: var(--ink-soft); }
.hero-facts li { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts svg { width: 18px; height: 18px; stroke: var(--green-text); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.hero-visual { position: relative; }
.hero-note {
  position: absolute; left: 7%; top: -6%; margin-top: -30px; z-index: 3; transform: rotate(-6deg);
  font-family: var(--font-hand); font-size: clamp(20px, 2vw, 27px); font-weight: 600; color: var(--ink); line-height: 1;
  display: grid; gap: 2px; justify-items: end;
  /* Encre sur encre : un léger contour papier garde le texte lisible s'il passe sur le cadre de l'écran */
  text-shadow: 0 0 3px var(--paper), 0 0 3px var(--paper), 0 0 6px var(--paper);
}
.hero-note svg { width: 70px; height: 74px; stroke: var(--ink); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; transform: rotate(14deg) translate(8px, 2px); }
.hero-blob { position: absolute; z-index: 0; border-radius: 50%; border: var(--border) solid var(--ink); }
.hero-blob.b1 { width: 110px; height: 110px; right: -6%; top: 6%; background: var(--lilac); }
.hero-blob.b2 { width: 58px; height: 58px; left: -4%; bottom: 10%; background: var(--mint); }
.hero-star { position: absolute; z-index: 3; width: 44px; height: 44px; right: -2%; bottom: 18%; color: var(--mustard); }
.hero-star svg { stroke: var(--ink); stroke-width: 2.5; fill: currentColor; stroke-linejoin: round; animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: scale(0.8) rotate(18deg); } }

/* Écran type iMac */
.screen { position: relative; z-index: 2; background: var(--ink); border-radius: 26px; padding: 10px; box-shadow: 12px 12px 0 var(--coral); transform-style: preserve-3d; }
.screen.tilt { transition: transform 0.4s ease; will-change: transform; }
.stand { width: 26%; height: 20px; margin: -2px auto 0; background: var(--ink); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.stand::after { content: ""; display: block; }
.foot { width: 42%; height: 12px; margin: 0 auto; background: var(--ink); border-radius: 0 0 10px 10px; }

/* ---------- Bureau simulé ---------- */
/* Toutes les cotes sont en cqw : le bureau se redimensionne d'un bloc. */
.mac {
  position: relative; container-type: inline-size; aspect-ratio: 16 / 10; width: 100%;
  border-radius: 1.4cqw; overflow: hidden; background: var(--paper-2);
  font-family: var(--font-body); color: var(--ink); isolation: isolate;
}
.mac .wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s; }
.mac .menubar {
  position: absolute; inset: 0 0 auto 0; height: 3.1cqw; padding: 0 2.4cqw 0 1.8cqw; z-index: 4;
  display: flex; align-items: center; gap: 1.6cqw;
  background: rgba(255, 249, 238, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 1.22cqw; font-weight: 800; color: var(--ink); border-bottom: 0.14cqw solid rgba(35, 33, 46, 0.18);
}
.mac .mb-logo { width: 1.5cqw; height: 1.5cqw; border-radius: 50%; background: var(--ink); flex: none; }
.mac .menubar b { font-weight: 900; }
.mac .mb-right { margin-left: auto; display: flex; align-items: center; gap: 1.6cqw; }
.mac .mb-app { display: inline-flex; align-items: center; gap: 0.6cqw; padding: 0.25cqw 0.9cqw; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 900; transform: scale(0); transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mac .mb-app.on { transform: scale(1); }
.mac .mb-app .tray-ic { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: var(--mustard); border: 0.18cqw solid var(--paper); }

.mac .wg {
  position: absolute; width: 27cqw; padding: 1.3cqw 1.6cqw 1.5cqw; z-index: 3;
  background: var(--paper); border: 0.3cqw solid var(--ink); border-radius: 2cqw; box-shadow: 0.6cqw 0.6cqw 0 var(--ink);
  transform: scale(0.6); opacity: 0; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, left 0.9s cubic-bezier(0.4, 0, 0.2, 1), top 0.9s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s;
}
.mac .wg.on { transform: scale(1); opacity: 1; }
.mac .wg.lift { box-shadow: 1.2cqw 1.2cqw 0 var(--ink); transform: scale(1.03); }
.mac .w-head { display: flex; align-items: center; gap: 1cqw; }
.mac .chip { display: grid; place-items: center; width: 3cqw; height: 3cqw; border-radius: 50%; background: var(--chip, var(--mustard)); border: 0.25cqw solid var(--ink); flex: none; }
.mac .chip svg { width: 1.7cqw; height: 1.7cqw; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.mac .eyebrow { font-weight: 900; font-size: 1.12cqw; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.mac .big { margin-top: 0.9cqw; font-family: var(--font-display); font-weight: 700; font-size: 3.6cqw; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.mac .sub { margin-top: 0.8cqw; font-size: 1.25cqw; font-weight: 700; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mac .up { color: var(--green-text); }
.mac .pill { display: inline-block; padding: 0.15cqw 0.8cqw; border-radius: 999px; border: 0.2cqw solid var(--ink); background: var(--mint); color: var(--ink); font-size: 1.05cqw; font-weight: 900; vertical-align: 0.1cqw; }
.mac .dots { display: flex; gap: 0.6cqw; margin-top: 1cqw; min-height: 1.3cqw; flex-wrap: wrap; }
.mac .dots span { width: 1.25cqw; height: 1.25cqw; border-radius: 50%; border: 0.2cqw solid var(--ink); background: var(--sky); animation: pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.mac .dots span:nth-child(2n) { background: var(--lilac); }
.mac .dots span:nth-child(3n) { background: var(--mint); }
.mac .dots span.out { animation: shrink 0.3s ease both; }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes shrink { to { transform: scale(0); } }
.mac .bar { position: relative; margin-top: 1.1cqw; height: 1.7cqw; border: 0.25cqw solid var(--ink); border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.mac .bar-fill { height: 100%; width: 0%; border-radius: 999px; background: repeating-linear-gradient(135deg, var(--mustard) 0 0.9cqw, var(--mustard-deep) 0.9cqw 1.8cqw); background-size: 2.6cqw 2.6cqw; animation: stripes 1.6s linear infinite; transition: width 1.1s cubic-bezier(0.34, 1.3, 0.64, 1); }
@keyframes stripes { to { background-position: 2.6cqw 0; } }
.mac .bar-meta { display: flex; justify-content: space-between; margin-top: 0.7cqw; font-size: 1.15cqw; font-weight: 800; color: var(--ink-soft); }
.mac .badge { position: absolute; top: -1.4cqw; right: 1.4cqw; padding: 0.35cqw 1cqw; border-radius: 999px; border: 0.25cqw solid var(--ink); background: var(--coral); color: #fff; font-weight: 900; font-size: 1.15cqw; box-shadow: 0.3cqw 0.3cqw 0 var(--ink); transform: scale(0) rotate(-8deg); transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mac .wg.celebrate .badge { transform: scale(1) rotate(-8deg); }
.mac .wg.celebrate { animation: wiggle 0.5s ease-in-out 3; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-2deg); } 75% { transform: rotate(2deg); } }
.mac .wg.bump .big { animation: bump 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes bump { 30% { transform: scale(1.1); } }

.mac .visit-chip {
  position: absolute; z-index: 3; padding: 0.4cqw 1cqw; border-radius: 999px; border: 0.22cqw solid var(--ink);
  background: var(--sky); color: var(--paper); font-size: 1.1cqw; font-weight: 900; box-shadow: 0.3cqw 0.3cqw 0 var(--ink);
  transform: scale(0); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s; white-space: nowrap;
}
.mac .visit-chip.on { transform: scale(1); }

.mac .notif { position: absolute; top: 3.3cqw; left: 50%; z-index: 6; transform: translate(-50%, -160%); transition: transform 0.65s cubic-bezier(0.34, 1.4, 0.64, 1); }
.mac .notif.show { transform: translate(-50%, 1cqw); }
.mac .notif.out { transition: transform 0.5s cubic-bezier(0.6, -0.3, 0.7, 0.4); transform: translate(-50%, -160%); }
.mac .notif-card { display: flex; align-items: center; gap: 1.3cqw; min-width: 28cqw; max-width: 44cqw; padding: 1.2cqw 2cqw 1.2cqw 1.2cqw; background: var(--paper); border: 0.3cqw solid var(--ink); border-radius: 2.2cqw; box-shadow: 0.6cqw 0.6cqw 0 var(--ink); }
.mac .avatar { display: grid; place-items: center; width: 4.4cqw; height: 4.4cqw; border-radius: 50%; border: 0.25cqw solid var(--ink); background: var(--coral); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.6cqw; flex: none; }
.mac .notif.milestone .avatar { background: var(--mustard); color: var(--ink); }
.mac .notif.big .avatar { background: var(--lilac); }
.mac .notif-amount { margin-top: 0.2cqw; font-family: var(--font-display); font-weight: 700; font-size: 2.9cqw; line-height: 1; white-space: nowrap; }
.mac .notif-meta { margin-top: 0.4cqw; font-size: 1.25cqw; font-weight: 700; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mac .flash { position: absolute; inset: 0; z-index: 5; background: var(--mustard); opacity: 0; pointer-events: none; }
.mac .flash.go { animation: flash 0.7s ease-out; }
@keyframes flash { 0% { opacity: 0.55; } 100% { opacity: 0; } }

.mac .panel {
  position: absolute; left: 50%; top: 50%; z-index: 7; width: 40cqw; padding: 2cqw 2.2cqw 2.2cqw;
  background: var(--paper); border: 0.3cqw solid var(--ink); border-radius: 2.2cqw; box-shadow: 0.8cqw 0.8cqw 0 var(--ink);
  transform: translate(-50%, -50%) scale(0.7); opacity: 0; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
}
.mac .panel.on { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.mac .panel h4 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 2.2cqw; line-height: 1.1; }
.mac .panel .eyebrow { margin-bottom: 0.6cqw; }
.mac .field { margin-top: 1.4cqw; display: flex; align-items: center; gap: 1cqw; padding: 0.9cqw 1.2cqw; border: 0.25cqw solid var(--ink); border-radius: 1.2cqw; background: #fff; font-size: 1.35cqw; font-weight: 800; font-family: ui-monospace, 'SF Mono', Menlo, monospace; min-height: 3.6cqw; }
.mac .field .caret { width: 0.18cqw; height: 1.6cqw; background: var(--ink); animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.mac .field .pill { margin-left: auto; font-family: var(--font-body); }
.mac .panel-row { display: flex; align-items: center; gap: 1cqw; margin-top: 1.4cqw; }
.mac .mbtn { display: inline-flex; align-items: center; padding: 0.7cqw 1.4cqw; border: 0.25cqw solid var(--ink); border-radius: 999px; background: var(--coral); font-size: 1.3cqw; font-weight: 900; box-shadow: 0.35cqw 0.35cqw 0 var(--ink); transition: transform 0.15s, box-shadow 0.15s; }
.mac .mbtn.press { transform: translate(0.3cqw, 0.3cqw); box-shadow: 0 0 0 var(--ink); }
.mac .status { font-size: 1.25cqw; font-weight: 800; color: var(--ink-soft); opacity: 0; transition: opacity 0.3s; }
.mac .status.on { opacity: 1; }
.mac .status .ok { display: inline-block; width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: var(--mint); border: 0.18cqw solid var(--ink); vertical-align: -0.1cqw; margin-right: 0.4cqw; }

.mac .summary { width: 36cqw; padding: 1.8cqw 2cqw 2cqw; }
.mac .summary .srow { display: flex; justify-content: space-between; align-items: baseline; gap: 1cqw; padding: 0.75cqw 0; border-bottom: 0.14cqw dashed rgba(35, 33, 46, 0.3); font-size: 1.3cqw; font-weight: 800; color: var(--ink-soft); }
.mac .summary .srow b { font-family: var(--font-display); font-weight: 700; font-size: 1.9cqw; color: var(--ink); }
.mac .summary .srows { margin-top: 1.2cqw; }
.mac .summary .sfoot { margin-top: 1.3cqw; display: flex; align-items: center; justify-content: space-between; gap: 1cqw; font-size: 1.2cqw; font-weight: 800; }
.mac .summary .time { padding: 0.3cqw 0.9cqw; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 900; }

.mac .cursor { position: absolute; z-index: 9; width: 2.6cqw; height: 2.6cqw; left: 60cqw; top: 40cqw; opacity: 0; transition: left 0.9s cubic-bezier(0.4, 0, 0.2, 1), top 0.9s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s, transform 0.2s; pointer-events: none; filter: drop-shadow(0.15cqw 0.2cqw 0 rgba(0, 0, 0, 0.35)); }
.mac .cursor.on { opacity: 1; }
.mac .cursor.grab { transform: scale(0.85); }
.mac .cursor svg { width: 100%; height: 100%; }
.mac .confetti { position: absolute; inset: 0; z-index: 8; width: 100%; height: 100%; pointer-events: none; }

.mac .endcard { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; background: rgba(27, 26, 36, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.5s; }
.mac .endcard.on { opacity: 1; pointer-events: auto; }
.mac .endcard-in { display: grid; justify-items: center; gap: 1.6cqw; text-align: center; color: var(--paper); }
.mac .endcard-in .mark { width: 6cqw; height: 6cqw; }
.mac .endcard-in h4 { margin: 0; font-family: var(--font-display); font-size: 3.4cqw; font-weight: 700; line-height: 1.05; }
.mac .endcard-in .row { display: flex; gap: 1cqw; flex-wrap: wrap; justify-content: center; }
.mac .endcard-in .btn { font-size: 1.5cqw; padding: 0.8em 1.5em; border-width: 0.25cqw; box-shadow: 0.45cqw 0.45cqw 0 var(--coral); }
.mac .endcard-in .btn-ink { box-shadow: 0.45cqw 0.45cqw 0 var(--coral); }
.mac .endcard-in .btn-paper { box-shadow: 0.45cqw 0.45cqw 0 var(--ink); }

/* ---------- Bandeau ventes ---------- */
.ticker { position: relative; z-index: 2; margin-top: clamp(40px, 6vw, 80px); margin-bottom: -26px; background: var(--ink); color: var(--paper); border-block: var(--border) solid var(--ink); overflow: hidden; transform: rotate(-1deg) scale(1.03); }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; gap: 12px; padding: 12px 26px; font-weight: 800; font-size: 15px; white-space: nowrap; }
.ticker-item b { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--mustard); }
.ticker-item .sep { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); border: 2px solid var(--paper); }
.ticker-item .faint { color: var(--ink-faint); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.pad { padding-block: clamp(72px, 9vw, 130px); }

/* Cinéma (démo) */
.cinema { background: var(--night); color: var(--paper); padding-block: clamp(72px, 9vw, 130px); background-image: radial-gradient(rgba(255, 249, 238, 0.09) 1.1px, transparent 1.6px); background-size: 26px 26px; }
.cinema .kicker { color: rgba(255, 249, 238, 0.65); }
.cinema .lead { color: rgba(255, 249, 238, 0.72); }
.player { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.player-frame { background: var(--night-2); border: var(--border) solid var(--paper); border-radius: 26px; padding: 12px; box-shadow: 10px 10px 0 var(--coral); }
.player-screen { position: relative; }
.player-screen .mac { border-radius: 1.2cqw; }
.caption {
  position: absolute; left: 3%; right: 3%; bottom: 4%; z-index: 11; pointer-events: none;
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px;
  background: rgba(35, 33, 46, 0.92); color: var(--paper); border-radius: 16px; border: 2.5px solid var(--paper);
  font-size: clamp(12px, 1.35vw, 17px); font-weight: 700; line-height: 1.35;
  opacity: 0; transform: translateY(10px); transition: opacity 0.35s, transform 0.35s;
}
.caption.on { opacity: 1; transform: none; }
.caption .cap-ch { flex: none; padding: 2px 9px; border-radius: 999px; background: var(--mustard); color: var(--ink); font-size: 0.8em; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 1px; }
.player-big {
  position: absolute; inset: 0; z-index: 12; margin: auto; width: 94px; height: 94px; border-radius: 50%;
  border: 3px solid var(--ink); background: var(--mustard); box-shadow: 6px 6px 0 var(--ink); cursor: pointer;
  display: grid; place-items: center; transition: transform 0.2s, opacity 0.3s;
}
.player-big svg { width: 38px; height: 38px; fill: var(--ink); margin-left: 5px; }
.player-big:hover { transform: scale(1.06); }
.player.playing .player-big, .player.ended .player-big { opacity: 0; pointer-events: none; }
.player-bar { display: flex; align-items: center; gap: 12px; padding: 12px 6px 2px; }
.pbtn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 2.5px solid var(--paper); background: transparent; color: var(--paper); display: grid; place-items: center; cursor: pointer; transition: background 0.15s, color 0.15s; }
.pbtn:hover { background: var(--paper); color: var(--ink); }
.pbtn svg { width: 18px; height: 18px; fill: currentColor; }
.pbtn .ic-pause { display: none; }
.player.playing .pbtn .ic-play { display: none; }
.player.playing .pbtn .ic-pause { display: block; }
.pbtn.sound .ic-on { display: none; }
.pbtn.sound.on .ic-on { display: block; }
.pbtn.sound.on .ic-off { display: none; }
.progress { position: relative; flex: 1; height: 14px; display: flex; gap: 4px; cursor: pointer; }
.seg { position: relative; flex: var(--w); height: 100%; border-radius: 999px; background: rgba(255, 249, 238, 0.18); overflow: hidden; }
.seg i { position: absolute; inset: 0; width: 0%; background: var(--mustard); border-radius: 999px; }
.seg.done i { width: 100%; }
.time { font-size: 13px; font-weight: 800; color: rgba(255, 249, 238, 0.7); min-width: 84px; text-align: right; }
.chapters { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.chapters li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 2.5px solid transparent; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.chapters li:hover { background: rgba(255, 249, 238, 0.08); }
.chapters li.cur { border-color: var(--paper); background: rgba(255, 249, 238, 0.06); }
.chapters .ch-n { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; border: 2.5px solid var(--paper); font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.chapters li.cur .ch-n { background: var(--mustard); color: var(--ink); border-color: var(--ink); }
.chapters li.done .ch-n { background: var(--mint); color: var(--ink); border-color: var(--ink); }
.chapters .ch-t { font-weight: 800; font-size: 15px; }
.chapters .ch-d { margin-left: auto; font-size: 12.5px; font-weight: 800; color: rgba(255, 249, 238, 0.55); }
.cinema-note { margin-top: 16px; font-size: 14px; color: rgba(255, 249, 238, 0.55); font-weight: 700; }

/* Fonctions (bento) */
.features { background: var(--paper-2); }
.bento { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.feat {
  grid-column: span 6; display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  background: var(--paper); border: var(--border) solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feat:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.feat.w7 { grid-column: span 7; }
.feat.w5 { grid-column: span 5; }
.feat.w4 { grid-column: span 4; }
.feat-art { position: relative; min-height: 260px; background: var(--tint, var(--mustard-soft)); border-bottom: var(--border) solid var(--ink); overflow: hidden; background-image: radial-gradient(rgba(35, 33, 46, 0.13) 1px, transparent 1.4px); background-size: 18px 18px; }
.feat-art.tall { min-height: 300px; }
.feat-body { padding: 22px 26px 28px; display: grid; gap: 10px; align-content: start; }
.feat-body p { color: var(--ink-soft); font-size: 16px; }
.feat-body .kicker { margin-bottom: 2px; }

/* Mini-démos des cartes : réutilisent le système .mac en plus petit */
.feat-art .mini { position: absolute; inset: 0; container-type: inline-size; }
.mini .notif { position: absolute; top: 18%; left: 50%; transform: translate(-50%, -220%); transition: transform 0.65s cubic-bezier(0.34, 1.4, 0.64, 1); }
.mini .notif.show { transform: translate(-50%, 0); }
.mini .notif.out { transition: transform 0.5s cubic-bezier(0.6, -0.3, 0.7, 0.4); transform: translate(-50%, -220%); }
.mini .notif-card { display: flex; align-items: center; gap: 3.2cqw; min-width: 62cqw; padding: 3cqw 5cqw 3cqw 3cqw; background: var(--paper); border: 0.7cqw solid var(--ink); border-radius: 5.5cqw; box-shadow: 1.5cqw 1.5cqw 0 var(--ink); }
.mini .avatar { display: grid; place-items: center; width: 11cqw; height: 11cqw; border-radius: 50%; border: 0.6cqw solid var(--ink); background: var(--coral); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 4cqw; flex: none; }
.mini .notif.big .avatar { background: var(--lilac); }
.mini .eyebrow { font-weight: 900; font-size: 2.6cqw; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.mini .notif-amount { margin-top: 0.5cqw; font-family: var(--font-display); font-weight: 700; font-size: 7cqw; line-height: 1; }
.mini .notif-meta { margin-top: 1cqw; font-size: 3cqw; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.mini .wg { position: absolute; width: 62cqw; padding: 3cqw 4cqw 3.6cqw; background: var(--paper); border: 0.7cqw solid var(--ink); border-radius: 5cqw; box-shadow: 1.5cqw 1.5cqw 0 var(--ink); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.mini .w-head { display: flex; align-items: center; gap: 2.4cqw; }
.mini .chip { display: grid; place-items: center; width: 7cqw; height: 7cqw; border-radius: 50%; background: var(--chip, var(--mustard)); border: 0.6cqw solid var(--ink); flex: none; }
.mini .chip svg { width: 4cqw; height: 4cqw; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.mini .big { margin-top: 2cqw; font-family: var(--font-display); font-weight: 700; font-size: 8.5cqw; line-height: 1; }
.mini .sub { margin-top: 1.6cqw; font-size: 3cqw; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.mini .up { color: var(--green-text); }
.mini .dots { display: flex; gap: 1.4cqw; margin-top: 2.4cqw; min-height: 3cqw; flex-wrap: wrap; }
.mini .dots span { width: 3cqw; height: 3cqw; border-radius: 50%; border: 0.5cqw solid var(--ink); background: var(--sky); animation: pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.mini .dots span:nth-child(2n) { background: var(--lilac); }
.mini .dots span:nth-child(3n) { background: var(--mint); }
.mini .dots span.out { animation: shrink 0.3s ease both; }
.mini .bar { position: relative; margin-top: 2.6cqw; height: 4cqw; border: 0.6cqw solid var(--ink); border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.mini .bar-fill { height: 100%; width: 0%; border-radius: 999px; background: repeating-linear-gradient(135deg, var(--mustard) 0 2cqw, var(--mustard-deep) 2cqw 4cqw); background-size: 6cqw 6cqw; animation: stripes-mini 1.6s linear infinite; transition: width 1.2s cubic-bezier(0.34, 1.3, 0.64, 1); }
@keyframes stripes-mini { to { background-position: 6cqw 0; } }
.mini .bar-meta { display: flex; justify-content: space-between; margin-top: 1.6cqw; font-size: 2.8cqw; font-weight: 800; color: var(--ink-soft); }
.mini .badge { position: absolute; top: -3.2cqw; right: 3cqw; padding: 0.9cqw 2.4cqw; border-radius: 999px; border: 0.6cqw solid var(--ink); background: var(--coral); color: #fff; font-weight: 900; font-size: 2.8cqw; box-shadow: 0.7cqw 0.7cqw 0 var(--ink); transform: scale(0) rotate(-8deg); transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mini .wg.celebrate .badge { transform: scale(1) rotate(-8deg); }
.mini .wg.celebrate { animation: wiggle-c 0.5s ease-in-out 3; }
@keyframes wiggle-c { 0%, 100% { transform: translate(-50%, -50%) rotate(0); } 25% { transform: translate(-50%, -50%) rotate(-2deg); } 75% { transform: translate(-50%, -50%) rotate(2deg); } }
.mini .wg.bump .big { animation: bump 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.mini .confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mini .srows { margin-top: 1.6cqw; }
.mini .srow { display: flex; justify-content: space-between; align-items: baseline; padding: 1.2cqw 0; border-bottom: 0.3cqw dashed rgba(35, 33, 46, 0.3); font-size: 2.6cqw; font-weight: 800; color: var(--ink-soft); }
.mini .srow:last-child { border-bottom: 0; }
.mini .srow b { font-family: var(--font-display); font-weight: 700; font-size: 3.8cqw; color: var(--ink); }
.mini .time { position: absolute; top: -3.2cqw; right: 3cqw; padding: 0.9cqw 2.4cqw; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 900; font-size: 2.8cqw; border: 0.6cqw solid var(--ink); }
/* Déplacement : widget + fantôme + curseur */
.mini.move .wg { width: 44cqw; left: 12%; top: 50%; transform: translate(0, -50%); transition: left 1.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s; }
.mini.move .wg.lift { box-shadow: 2.6cqw 2.6cqw 0 var(--ink); }
.mini.move .wg.far { left: 44%; }
.mini.move .ghost { position: absolute; width: 44cqw; height: 46%; left: 44%; top: 50%; transform: translateY(-50%); border: 0.7cqw dashed var(--ink); border-radius: 5cqw; opacity: 0.35; }
.mini.move .cursor { position: absolute; width: 7cqw; height: 7cqw; left: 30%; top: 62%; transition: left 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s; filter: drop-shadow(0.4cqw 0.5cqw 0 rgba(0, 0, 0, 0.3)); }
.mini.move .cursor.far { left: 62%; }
.mini.move .cursor.grab { transform: scale(0.85); }
/* Barre des menus */
.mini.tray .menubar { position: absolute; left: 5%; right: 5%; top: 7cqw; height: 8cqw; padding: 0 2.6cqw; display: flex; align-items: center; gap: 3cqw; background: var(--paper); border: 0.7cqw solid var(--ink); border-radius: 2.6cqw; box-shadow: 1.5cqw 1.5cqw 0 var(--ink); font-size: 2.9cqw; font-weight: 800; }
.mini.tray .mb-logo { width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: var(--ink); }
.mini.tray .mb-right { margin-left: auto; display: flex; align-items: center; gap: 3cqw; }
.mini.tray .mb-app { display: inline-flex; align-items: center; gap: 1.4cqw; padding: 0.6cqw 2.2cqw; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 900; }
.mini.tray .tray-ic { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--mustard); border: 0.5cqw solid var(--paper); }
.mini.tray .menu { position: absolute; right: 5%; top: 17.5cqw; width: 44cqw; padding: 1.6cqw; background: var(--paper); border: 0.7cqw solid var(--ink); border-radius: 3cqw; box-shadow: 1.5cqw 1.5cqw 0 var(--ink); font-size: 2.6cqw; font-weight: 800; display: grid; gap: 0.3cqw; }
.mini.tray .menu div { padding: 1cqw 2cqw; border-radius: 1.6cqw; display: flex; justify-content: space-between; gap: 2cqw; }
.mini.tray .menu div.hi { background: var(--mustard); }
.mini.tray .menu .sep { height: 0.3cqw; background: rgba(35, 33, 46, 0.2); padding: 0; margin: 0.8cqw 2cqw; }
.mini.tray .menu .faint { color: var(--ink-faint); font-weight: 800; }

/* Détails en grille */
.details { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.detail { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 16px; font-weight: 800; font-size: 15px; box-shadow: 4px 4px 0 var(--ink); }
.detail .ic { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--c, var(--mint)); border: 2.5px solid var(--ink); }
.detail .ic svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Fonds d'écran */
.walls { background: var(--mustard); overflow: hidden; padding-block: clamp(72px, 9vw, 120px); }
.walls .kicker { --k: var(--coral); }
.walls .lead { color: var(--ink); opacity: 0.8; }
.marquee { margin-top: 44px; overflow: hidden; transform: rotate(-1.5deg); }
.marquee + .marquee { margin-top: 26px; }
.marquee-track { display: flex; width: max-content; padding: 10px 0 14px; animation: marquee 70s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 84s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.wall-thumb { position: relative; flex: none; margin: 0 22px 0 0; width: clamp(230px, 24vw, 340px); aspect-ratio: 16 / 10; border: var(--border) solid var(--ink); border-radius: 18px; overflow: hidden; box-shadow: 5px 5px 0 var(--ink); background: var(--paper-2); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.wall-thumb:hover { transform: translate(-3px, -5px) rotate(1deg); box-shadow: 8px 9px 0 var(--ink); }
.wall-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wall-thumb span { position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px; background: var(--paper); border: 2px solid var(--ink); font-size: 11.5px; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; }
.walls-foot { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag { padding: 7px 14px; border-radius: 999px; border: 2.5px solid var(--ink); background: var(--paper); font-weight: 900; font-size: 13.5px; }

/* Atelier */
.atelier { position: relative; background: var(--night); color: var(--paper); overflow: hidden; min-height: 560px; }
.atelier-bg { position: absolute; inset: 0; }
.atelier-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.atelier-bg .lvl2 { opacity: var(--lvl, 0); transition: opacity 0.2s linear; }
.atelier-bg .lamp { position: absolute; left: 84%; top: 47%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 196, 110, 0.5), rgba(255, 170, 80, 0.12) 40%, transparent 70%); animation: breathe 4.5s ease-in-out infinite; pointer-events: none; mix-blend-mode: screen; }
@keyframes breathe { 50% { opacity: 0.65; transform: translate(-50%, -50%) scale(1.06); } }
.atelier-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27, 26, 36, 0.92) 0%, rgba(27, 26, 36, 0.78) 34%, rgba(27, 26, 36, 0.15) 62%, rgba(27, 26, 36, 0) 100%); }
.atelier .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 520px) 1fr; align-items: center; min-height: 560px; padding-block: clamp(72px, 9vw, 130px); }
.atelier-copy { display: grid; gap: 22px; justify-items: start; }
.atelier .kicker { --k: var(--coral); color: rgba(255, 249, 238, 0.7); }
.atelier .lead { color: rgba(255, 249, 238, 0.78); }
.atelier .soon { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--coral); color: var(--ink); font-size: 12.5px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; border: 2.5px solid var(--ink); vertical-align: middle; }
.atelier-controls { display: grid; gap: 14px; width: 100%; max-width: 440px; }
.slider { display: grid; gap: 8px; font-weight: 800; font-size: 14.5px; color: rgba(255, 249, 238, 0.85); }
.slider .slider-head { display: flex; justify-content: space-between; gap: 10px; }
.slider input { width: 100%; accent-color: var(--mustard); height: 28px; }
.atelier-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.atelier .btn-paper { background: var(--paper); }
.sprite { position: absolute; z-index: 1; pointer-events: none; transform: translate(-50%, -100%); }
.sprite.coin { width: 7.5%; transform-origin: 50% 100%; }
.sprite.coin.land { animation: coin-land 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes coin-land { 0% { opacity: 0; transform: translate(-50%, -100%) translateY(-60%) scale(0.8); } 40% { opacity: 1; } 100% { opacity: 1; transform: translate(-50%, -100%); } }
.sprite.coin.gone { animation: fade-out 0.6s ease both; }
.sprite.visitor { width: 9%; transform-origin: 50% 100%; }
.sprite.visitor.in { animation: visitor-in 0.7s ease both; }
.sprite.visitor.gone { animation: fade-out 0.7s ease both; }
@keyframes visitor-in { 0% { opacity: 0; transform: translate(-50%, -100%) translateY(2%) scale(0.96); } 100% { opacity: 1; transform: translate(-50%, -100%); } }
@keyframes fade-out { to { opacity: 0; } }
.float-amt { position: absolute; z-index: 3; font-family: var(--font-display); font-weight: 700; font-size: clamp(16px, 1.8vw, 26px); color: var(--mustard); text-shadow: 2px 2px 0 var(--ink); animation: float-up 1.6s ease-out both; pointer-events: none; }
@keyframes float-up { 0% { opacity: 0; transform: translateX(-50%) translateY(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateX(-50%) translateY(-70px); } }
.bubble { position: absolute; z-index: 3; padding: 6px 12px; border-radius: 999px; background: var(--paper); color: var(--ink); border: 2.5px solid var(--ink); font-size: 13px; font-weight: 900; box-shadow: 3px 3px 0 var(--ink); transform: translate(-50%, -100%); animation: bubble-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both; pointer-events: none; white-space: nowrap; }
@keyframes bubble-pop { from { transform: translate(-50%, -100%) scale(0); } to { transform: translate(-50%, -100%) scale(1); } }

/* Mise en route */
.how .kicker { --k: var(--sky); }
.steps { margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 26px 30px; background: var(--paper); border: var(--border) solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 12px; align-content: start; }
.step-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: var(--border) solid var(--ink); background: var(--c, var(--mustard)); font-family: var(--font-display); font-weight: 700; font-size: 24px; box-shadow: 3px 3px 0 var(--ink); }
.step p { color: var(--ink-soft); font-size: 16px; }
.code { margin: 6px 0 0; padding: 14px 16px; background: var(--ink); color: var(--paper); border-radius: 14px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12.5px; line-height: 1.5; overflow-x: auto; white-space: pre; }
.code .k { color: var(--mustard); }
.code .s { color: var(--mint); }
.step .opt { position: absolute; top: -13px; right: 18px; padding: 3px 10px; border-radius: 999px; background: var(--sky); color: var(--paper); border: 2.5px solid var(--ink); font-size: 12px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }

/* Confidentialité */
.privacy { background: var(--ink); color: var(--paper); padding-block: clamp(64px, 8vw, 110px); }
.privacy .kicker { --k: var(--mint); color: rgba(255, 249, 238, 0.65); }
.privacy .lead { color: rgba(255, 249, 238, 0.72); }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.facts { display: grid; gap: 14px; }
.fact { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 2.5px solid rgba(255, 249, 238, 0.35); border-radius: 18px; }
.fact .ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--c, var(--mint)); border: 2.5px solid var(--ink); }
.fact .ic svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.fact b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 19px; margin-bottom: 3px; }
.fact p { color: rgba(255, 249, 238, 0.72); font-size: 15px; }

/* Prix */
.pricing .kicker { --k: var(--coral); }
.pricing-grid { margin-top: clamp(36px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.price-card { position: relative; padding: 34px 34px 36px; background: var(--paper); border: var(--border) solid var(--ink); border-radius: 28px; box-shadow: var(--shadow-lg); display: grid; gap: 22px; }
.price-card .ribbon { position: absolute; top: -16px; left: 28px; padding: 5px 14px; border-radius: 999px; background: var(--mustard); border: 2.5px solid var(--ink); font-size: 12.5px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; box-shadow: 3px 3px 0 var(--ink); transform: rotate(-2deg); }
.price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-now { font-family: var(--font-display); font-weight: 700; font-size: clamp(56px, 7vw, 84px); line-height: 1; letter-spacing: -0.02em; }
.price-note { font-weight: 800; color: var(--ink-soft); font-size: 17px; }
.plan-name { font-size: 22px; margin-bottom: -12px; }
.price-card.plan-studio { box-shadow: 10px 10px 0 var(--lilac); }
.price-card.plan-studio .ribbon { background: var(--lilac-soft); }
.pricing-grid:has(.plan-studio) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.pricing-grid:has(.plan-studio) .price-card { grid-template-rows: auto auto 1fr auto auto; }
.pricing-extra { margin-top: 26px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.price-card .fine a { color: inherit; font-weight: 800; }
.btn.is-busy { opacity: 0.6; cursor: progress; pointer-events: none; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-weight: 800; }
.checks li { display: flex; align-items: center; gap: 12px; }
.checks svg { width: 24px; height: 24px; flex: none; }
.fine { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
.side-card { padding: 30px; background: var(--paper-2); border: var(--border) solid var(--ink); border-radius: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.side-card h3 { font-size: 26px; }
.side-card p { color: var(--ink-soft); }
.form { display: flex; gap: 10px; flex-wrap: wrap; }
.form input { flex: 1 1 200px; min-width: 0; padding: 14px 18px; border: var(--border) solid var(--ink); border-radius: 999px; background: var(--paper); font: inherit; font-weight: 700; color: var(--ink); }
.form input:focus { outline: 3px solid var(--sky); outline-offset: 2px; }
.form input::placeholder { color: var(--ink-faint); }
.form-msg { min-height: 1.4em; font-weight: 800; color: var(--green-text); }
.quote-card { padding: 26px 28px; background: var(--ink); color: var(--paper); border-radius: 24px; border: var(--border) solid var(--ink); box-shadow: 6px 6px 0 var(--coral); display: grid; gap: 10px; }
.quote-card q { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.2; quotes: "« " " »"; }
.quote-card cite { font-style: normal; font-size: 14px; font-weight: 800; color: rgba(255, 249, 238, 0.7); }

/* FAQ */
.faq { background: var(--paper-2); }
.faq .kicker { --k: var(--lilac); }
.faq-list { margin-top: clamp(32px, 4vw, 48px); display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--paper); border: var(--border) solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--mustard); display: grid; place-items: center; transition: transform 0.3s, background 0.3s; }
.faq summary .plus svg { width: 14px; height: 14px; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--coral); }
.faq .answer { padding: 0 22px 20px; color: var(--ink-soft); font-size: 16px; max-width: 62ch; }

/* Pied de page */
.cta-final { padding-block: clamp(72px, 9vw, 130px); text-align: center; }
.cta-final .cta-row { justify-content: center; }
.cta-final h2 { max-width: 14em; margin-inline: auto; }
footer { background: var(--ink); color: var(--paper); padding-block: 40px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; font-size: 14.5px; font-weight: 800; }
.foot-in .brand { color: var(--paper); }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-left: auto; }
.foot-links a { color: rgba(255, 249, 238, 0.75); text-decoration: none; }
.foot-links a:hover { color: var(--paper); text-decoration: underline; }
.foot-copy { width: 100%; color: rgba(255, 249, 238, 0.5); font-weight: 700; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 70; transform: translate(-50%, 140%); padding: 12px 20px; background: var(--ink); color: var(--paper); border: 2.5px solid var(--paper); border-radius: 999px; font-weight: 800; box-shadow: 5px 5px 0 var(--coral); transition: transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1); }
.toast.on { transform: translate(-50%, 0); }

/* Révélation au défilement */
.js .reveal { opacity: 0; transform: translateY(22px) rotate(var(--r, 0deg)); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Réactif ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 720px; margin-inline: auto; width: 100%; }
  .hero-note { left: auto; right: 4%; top: -14%; }
  .player { grid-template-columns: 1fr; }
  .chapters { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
  .privacy-grid, .pricing-grid, .pricing-grid:has(.plan-studio), .pricing-extra { grid-template-columns: 1fr; }
  .atelier .wrap { grid-template-columns: 1fr; align-content: end; }
  .atelier-bg img { object-position: 70% 50%; }
  .atelier-bg::after { background: linear-gradient(180deg, rgba(27, 26, 36, 0.25) 0%, rgba(27, 26, 36, 0.85) 55%, rgba(27, 26, 36, 0.95) 100%); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .bento .feat, .bento .feat.w7, .bento .feat.w5, .bento .feat.w4 { grid-column: span 12; }
  .steps { grid-template-columns: 1fr; }
  .cta-final h2 { font-size: clamp(30px, 8vw, 44px); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-in { gap: 10px; padding: 8px 8px 8px 12px; }
  .brand-name { display: none; }
  .btn-lg { width: 100%; }
  .cta-row { width: 100%; }
  .hero-blob, .hero-star { display: none; }
  .hero-note { display: none; }
  .ticker-item { padding: 10px 18px; font-size: 14px; }
  .player-frame { padding: 8px; border-radius: 18px; box-shadow: 6px 6px 0 var(--coral); }
  .caption { font-size: 11px; padding: 8px 10px; gap: 8px; border-radius: 10px; }
  .player-big { width: 70px; height: 70px; }
  .time { display: none; }
  .feat-art { min-height: 200px; }
  .price-card, .side-card { padding: 26px 22px; }
  .faq summary { font-size: 17px; padding: 16px 18px; }
  .marquee { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .marquee-track, .pill-live .dot, .hero-star svg, .atelier-bg .lamp, .mac .bar-fill, .mini .bar-fill { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .screen.tilt { transition: none; }
}

/* ---------- Série impasto mise en avant ---------- */
.wall-feature { margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.wall-big { margin: 0; position: relative; aspect-ratio: 16 / 10; border: var(--border) solid var(--ink); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.wall-big:nth-child(odd) { transform: rotate(-1.2deg); }
.wall-big:nth-child(even) { transform: rotate(1deg); }
.wall-big:hover { transform: translate(-3px, -5px) rotate(0deg); box-shadow: var(--shadow-lg); }
.wall-big img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wall-big figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px; background: var(--paper); border: 2px solid var(--ink); font-size: 12px; font-weight: 900; }
.wall-feature-note { margin-top: 22px; text-align: center; font-weight: 800; }
.wall-feature-note .tag { margin-right: 8px; }
@media (max-width: 900px) { .wall-feature { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .wall-big, .wall-big:nth-child(odd), .wall-big:nth-child(even) { transform: none; transition: none; } }
