/* =========================================================
   produrise
   Formes : cartes 16px, champs 12px, boutons et puces en pilule.
   Couleur : neutres chauds + un seul accent (citron).
   ========================================================= */
:root {
  --font: 'Geist', system-ui, sans-serif;
  --display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --r: 16px;
  --r-sm: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 68px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
}
:root,
[data-theme='dark'] {
  --bg: #0c0c0b;
  --bg-2: #121211;
  --surface: #171716;
  --surface-2: #1e1e1c;
  --line: rgba(241, 240, 236, 0.09);
  --line-2: rgba(241, 240, 236, 0.18);
  --text: #f1f0ec;
  --muted: #a3a29b;
  --faint: #75746d;
  --accent: #d4ff3a;
  --accent-ink: #11140a;
  --accent-text: #d4ff3a;
  --danger: #ff6b57;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}
[data-theme='light'] {
  --bg: #f4f4f2;
  --bg-2: #ebebe8;
  --surface: #fcfcfb;
  --surface-2: #f0f0ed;
  --line: rgba(18, 18, 17, 0.09);
  --line-2: rgba(18, 18, 17, 0.2);
  --text: #121211;
  --muted: #5d5c57;
  --faint: #7d7c76;
  --accent: #d4ff3a;
  --accent-ink: #11140a;
  --accent-text: #4b6400;
  --danger: #c8321e;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 24px 50px -28px rgba(40, 40, 30, 0.35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color 0.5s var(--ease), color 0.3s;
}
img, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 650; margin: 0; letter-spacing: -0.035em; line-height: 1; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-feature-settings: 'tnum'; letter-spacing: -0.01em; }
.accent-text { color: var(--accent-text); }
kbd { font-family: var(--mono); font-size: 11px; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.skip:focus { top: 16px; }
.container { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
[hidden] { display: none !important; }

/* ---------- Couches fixes ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme='light'] .grain { opacity: 0.06; mix-blend-mode: multiply; }
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 95; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* rideau de transition entre pages */
.curtain { position: fixed; inset: 0; z-index: 200; background: var(--accent); display: grid; place-items: center; pointer-events: none; }
.curtain-mark { width: 54px; height: 54px; background: var(--accent-ink); clip-path: polygon(50% 0, 100% 100%, 50% 78%, 0 100%); }

/* ---------- Curseur ---------- */
.cursor { display: none; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [data-cursor], .has-cursor label, .has-cursor canvas { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }
.has-cursor .cursor { display: block; }
.cursor { position: fixed; inset: 0 auto auto 0; z-index: 250; pointer-events: none; }
.cursor-dot { position: fixed; left: 0; top: 0; width: 20px; height: 24px; margin: 0 0 0 -10px; transform-origin: 10px 0; transition: opacity 0.15s, scale 0.2s var(--ease); will-change: transform; z-index: 2; }
.cursor-dot svg { display: block; width: 20px; height: 24px; overflow: visible; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4)); }
.cursor-dot path { fill: var(--accent); stroke: #11140a; stroke-width: 1.8; stroke-linejoin: round; }
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  opacity: 0;
  display: grid;
  place-items: center;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-radius 0.25s var(--ease), background-color 0.2s, border-color 0.2s, opacity 0.2s, scale 0.2s var(--ease);
  will-change: transform;
}
.cursor-label { font-size: 12px; font-weight: 600; color: var(--accent-ink); white-space: nowrap; opacity: 0; transform: scale(0.6); transition: opacity 0.25s, transform 0.4s var(--ease); }
.cursor.is-link .cursor-ring { width: 44px; height: 44px; opacity: 1; border-color: color-mix(in srgb, var(--accent) 70%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.cursor.is-text .cursor-dot, .cursor.is-text .cursor-ring { opacity: 0; }
.cursor.is-label .cursor-ring { width: 84px; height: 84px; opacity: 1; border-color: transparent; background: var(--accent); }
.cursor.is-label .cursor-label { opacity: 1; transform: none; }
.cursor.is-label .cursor-dot, .cursor.is-drag .cursor-dot { opacity: 0; }
.cursor.is-link .cursor-dot { scale: 1.1; }
.cursor.is-down .cursor-dot { scale: 0.82; }
.cursor.is-down .cursor-ring { scale: 0.94; }
.cursor.is-stick .cursor-ring { opacity: 1; border-color: var(--accent); background: transparent; }
.cursor.is-drag .cursor-ring { width: 84px; height: 84px; opacity: 1; background: var(--text); border-color: transparent; }
.cursor.is-drag .cursor-label { color: var(--bg); opacity: 1; transform: none; }
.cursor.is-hidden .cursor-ring, .cursor.is-hidden .cursor-dot { opacity: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 12px;
  left: 50%;
  translate: -50% 0;
  width: min(var(--max), 100% - 24px);
  height: 56px;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 0 8px 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  transition: translate 0.6s var(--ease), background-color 0.3s;
}
.nav.is-hidden { translate: -50% -140%; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 17px; transition: rotate 0.6s var(--ease); }
.brand:hover .brand-mark { rotate: 45deg; }
.nav-links { display: flex; justify-content: center; gap: 2px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; color: var(--muted); font-size: 19px; transition: color 0.2s, background-color 0.2s; }
.icon-btn:hover { color: var(--text); background: var(--surface-2); }
.icon-btn .count { position: absolute; top: 3px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 10px/16px var(--mono); text-align: center; }
[data-theme='dark'] .i-light, [data-theme='light'] .i-dark { display: none; }
.burger { display: none; }
.burger span { position: absolute; left: 12px; width: 16px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease); }
.burger span:first-child { transform: translateY(-3px); }
.burger span:last-child { transform: translateY(3px); }
.nav.open .burger span:first-child { transform: rotate(45deg); }
.nav.open .burger span:last-child { transform: rotate(-45deg); }

/* ---------- Boutons ---------- */
.btn {
  --h: 48px;
  position: relative;
  height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn i { font-size: 18px; }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-solid { background: var(--text); color: var(--bg); }
.btn-line { border: 1px solid var(--line-2); }
.btn-line:hover { border-color: var(--text); }
/* remplissage qui part de l'endroit où le curseur entre */
.btn-accent::before, .btn-solid::before {
  content: '';
  position: absolute;
  left: var(--fx, 50%);
  top: var(--fy, 50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  translate: -50% -50%;
  background: var(--text);
  z-index: -1;
  transition: width 0.55s var(--ease), height 0.55s var(--ease);
}
.btn-solid::before { background: var(--accent); }
.btn-accent:hover { color: var(--bg); }
.btn-solid:hover { color: var(--accent-ink); }
.btn-accent:hover::before, .btn-solid:hover::before { width: 260%; height: 260%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(3px) rotate(-45deg); }
.link-under { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease); }
.link-under:hover { background-size: 100% 1px; }

/* ---------- Structure ---------- */
main { position: relative; z-index: 1; min-height: 100dvh; outline: none; }
.page { padding: calc(var(--nav-h) + 56px) 0 96px; }
.section { padding: clamp(80px, 12vw, 160px) 0; }
.h-xl { font-size: clamp(46px, 6.1vw, 104px); letter-spacing: -0.055em; line-height: 0.92; }
.h-lg { font-size: clamp(38px, 5.6vw, 84px); letter-spacing: -0.045em; line-height: 0.95; }
.h-md { font-size: clamp(28px, 3.4vw, 48px); line-height: 1; }
.lede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 52ch; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--muted); white-space: nowrap; }
.tag i { font-size: 14px; }
.tag-accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.page-head { display: grid; gap: 20px; margin-bottom: 48px; max-width: 900px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }

/* ---------- Accueil : héros ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 48px;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
}
.hero-copy { position: relative; z-index: 2; display: grid; gap: 28px; justify-items: start; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero h1 .w > span { display: inline-block; }
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-stage { position: relative; height: min(80dvh, 780px); margin-right: calc(var(--gutter) * -1); }
.hero-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }

/* ---------- Bandeau ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; gap: 48px; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: baseline; gap: 12px; font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.03em; color: var(--muted); white-space: nowrap; transition: color 0.2s; }
.ticker-item:hover { color: var(--text); }
.ticker-item .mono { font-size: 13px; color: var(--accent-text); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Galerie horizontale épinglée ---------- */
.pan { position: relative; overflow: hidden; }
.pan-track { display: flex; align-items: center; gap: 24px; height: 100dvh; padding: 0 var(--gutter); width: max-content; }
.pan-intro { flex: none; width: min(460px, 80vw); display: grid; gap: 20px; padding-right: 48px; }
.pan-card { flex: none; width: clamp(300px, 34vw, 520px); display: grid; gap: 16px; }
.pan-card .cover { aspect-ratio: 4 / 3; border-radius: var(--r); }
.pan-card h3 { font-size: clamp(26px, 2.4vw, 36px); }
.pan-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.pan-card p { color: var(--muted); }
.pan-num { font-family: var(--mono); font-size: 13px; color: var(--faint); }

/* ---------- Couvertures ---------- */
.cover { position: relative; overflow: hidden; background: var(--surface-2); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.6s; }
.cover img.loading { opacity: 0; }
.cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.35)); pointer-events: none; }
.cover .mark { position: absolute; left: 14px; bottom: 14px; z-index: 1; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset; }
.cover .fallback { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: clamp(60px, 10vw, 140px); color: rgba(255, 255, 255, 0.3); }
a:hover .cover img, .pcard:hover .cover img { transform: scale(1.05); }

/* ---------- Histoire épinglée ---------- */
.story { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.story-pin { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; display: grid; gap: 36px; padding-top: 8vh; }
.story-steps { display: grid; gap: 24px; }
.story-step { display: grid; grid-template-columns: 34px 1fr; gap: 14px; opacity: 0.3; transition: opacity 0.5s var(--ease); }
.story-step.on { opacity: 1; }
.story-step .n { font-family: var(--mono); font-size: 13px; padding-top: 7px; color: var(--accent-text); }
.story-step h3 { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 8px; }
.story-step p { color: var(--muted); max-width: 42ch; }
.story-panels { display: grid; gap: 14vh; padding: 8vh 0 18vh; }
.story-panel { min-height: 62vh; border-radius: var(--r); display: grid; place-items: center; padding: clamp(24px, 4vw, 56px); position: relative; overflow: hidden; }
.story-panel.p1 { background: var(--surface); border: 1px solid var(--line); }
.story-panel.p2 { background: var(--accent); color: var(--accent-ink); }
.story-panel.p3 { background: var(--text); color: var(--bg); }
.demo-field { width: min(440px, 100%); display: grid; gap: 14px; }
.demo-field .input { background: var(--bg); }
.demo-vote { display: grid; justify-items: center; gap: 24px; text-align: center; }
.demo-vote .big { font-family: var(--display); font-size: clamp(88px, 13vw, 200px); font-weight: 700; letter-spacing: -0.06em; line-height: 0.85; font-feature-settings: 'tnum'; }
.demo-vote button { height: 64px; padding: 0 30px; border-radius: 999px; background: var(--accent-ink); color: var(--accent); font-weight: 600; font-size: 17px; display: inline-flex; align-items: center; gap: 10px; transition: transform 0.3s var(--ease); }
.demo-vote button:active { transform: scale(0.96); }
.demo-chart { width: 100%; display: grid; gap: 24px; }
.demo-chart .kpi-row { display: flex; gap: 40px; flex-wrap: wrap; }
.demo-chart .kpi-row strong { display: block; font-family: var(--display); font-size: clamp(36px, 4vw, 56px); letter-spacing: -0.04em; }
.demo-chart .kpi-row span { font-size: 13px; opacity: 0.6; }
.demo-chart .canvas-box { height: 240px; }

/* ---------- Mosaïque ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(230px, auto); gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.tile h3 { font-size: clamp(24px, 2.2vw, 32px); }
.tile p { color: var(--muted); max-width: 40ch; }
.t-launch { grid-column: span 7; grid-row: span 2; background: var(--surface); border: 1px solid var(--line); }
.t-count { grid-column: span 5; background: var(--accent); color: var(--accent-ink); }
.t-count p { color: inherit; opacity: 0.75; }
.t-count .big { font-family: var(--display); font-size: clamp(64px, 8vw, 120px); font-weight: 700; letter-spacing: -0.06em; line-height: 0.85; }
.t-photo { grid-column: span 5; padding: 0; min-height: 260px; color: #fff; }
.t-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.t-photo:hover img { transform: scale(1.05); }
.t-photo .over { position: relative; z-index: 1; margin-top: auto; padding: 28px; display: grid; gap: 8px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); }
.t-photo .over p { color: rgba(255, 255, 255, 0.82); }
.t-badge { grid-column: span 6; background: var(--surface-2); }
.t-cats { grid-column: span 6; background: var(--surface); border: 1px solid var(--line); }
.cat-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-cloud a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.cat-cloud a:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.cat-cloud a span { font-family: var(--mono); font-size: 12px; color: var(--faint); margin-left: 6px; }
.cat-cloud a:hover span { color: inherit; opacity: 0.6; }
.launch-list { display: grid; gap: 2px; }
.launch-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 10px; margin: 0 -10px; border-radius: var(--r-sm); transition: background-color 0.2s; }
.launch-row:hover { background: var(--surface-2); }
.launch-row .cover { width: 56px; height: 56px; border-radius: 10px; }
.launch-row .cover::after { display: none; }
.launch-row b { display: block; font-weight: 600; }
.launch-row small { color: var(--muted); font-size: 13px; }
.countdown { font-family: var(--mono); font-size: 14px; font-feature-settings: 'tnum'; white-space: nowrap; }

/* ---------- Témoignages ---------- */
.voices { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.voice { padding: clamp(24px, 3vw, 40px); display: grid; gap: 28px; align-content: space-between; }
.voice blockquote { margin: 0; font-family: var(--display); font-size: clamp(22px, 2.1vw, 30px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.voice.main { background: var(--surface-2); }
.voice.main blockquote { font-size: clamp(28px, 3.2vw, 46px); }
.voice footer { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.voice footer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.voice footer small { display: block; color: var(--muted); }
.voices-side { display: grid; gap: 14px; }

/* ---------- Appel final ---------- */
.final { position: relative; border-radius: calc(var(--r) * 1.5); background: var(--accent); color: var(--accent-ink); padding: clamp(40px, 7vw, 96px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; overflow: hidden; }
.final h2 { font-size: clamp(44px, 7.4vw, 120px); letter-spacing: -0.055em; line-height: 0.9; }
.final .btn-solid { background: var(--accent-ink); color: var(--accent); }
.final .btn-solid::before { background: #fff; }
.final .btn-solid:hover { color: var(--accent-ink); }

/* ---------- Cartes projet ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 40px 20px; }
.pcard { position: relative; display: grid; gap: 16px; align-content: start; outline: none; }
.pcard .cover { aspect-ratio: 4 / 3; border-radius: var(--r); }
.pcard .cover .boost { position: absolute; top: 12px; left: 12px; z-index: 1; }
.pcard-body { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: start; }
.pcard h3 { font-size: 22px; letter-spacing: -0.03em; line-height: 1.15; }
.pcard .tagline { grid-column: 1; color: var(--muted); font-size: 15px; line-height: 1.45; }
.pcard .meta { grid-column: 1 / -1; display: flex; gap: 14px; margin-top: 4px; font-size: 13px; color: var(--faint); }
.pcard .meta span { display: inline-flex; align-items: center; gap: 5px; }
.pcard:focus-visible .cover { outline: 2px solid var(--accent); outline-offset: 3px; }
.save { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; font-size: 17px; color: #fff; background: rgba(12, 12, 11, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transform: translateY(-4px); transition: opacity 0.3s, transform 0.3s var(--ease), background-color 0.2s; }
.pcard:hover .save, .save.on, .save:focus-visible { opacity: 1; transform: none; }
.save.on { background: var(--accent); color: var(--accent-ink); }
@media (hover: none) { .save { opacity: 1; transform: none; } }
.vote {
  grid-row: 1 / 3;
  grid-column: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 60px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  font: 500 14px/1 var(--mono);
  gap: 4px;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.vote i { font-size: 16px; }
.vote:hover { border-color: var(--text); }
.vote.on { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.vote.bump, .vote-lg.bump { animation: bump 0.5s var(--ease); }
@keyframes bump { 35% { transform: translateY(-5px) scale(1.06); } }

/* ---------- Explorer ---------- */
.toolbar { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-bottom: 16px; }
.search { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); transition: border-color 0.2s; }
.search:focus-within { border-color: var(--text); }
.search i { font-size: 20px; color: var(--muted); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font-size: 16px; }
.search input::placeholder { color: var(--faint); }
.select { height: 54px; padding: 0 44px 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a29b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center / 16px; appearance: none; cursor: pointer; }
.select option, .select optgroup { background: var(--surface); color: var(--text); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 40px; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); scroll-snap-align: start; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip .mono { font-size: 12px; margin-left: 4px; opacity: 0.6; }
.empty { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 96px 20px; color: var(--muted); grid-column: 1 / -1; }
.empty i { font-size: 40px; color: var(--faint); }
.empty h3 { color: var(--text); font-size: 28px; }
.skel { border-radius: var(--r); background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%; animation: skel 1.4s infinite linear; }
.skel-card { display: grid; gap: 14px; }
.skel-card .a { aspect-ratio: 4 / 3; }
.skel-card .b { height: 22px; width: 60%; border-radius: 8px; }
.skel-card .c { height: 16px; width: 85%; border-radius: 8px; }
@keyframes skel { to { background-position: -300% 0; } }

/* ---------- Page projet ---------- */
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 28px; transition: color 0.2s; }
.back:hover { color: var(--text); }
.p-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; margin-bottom: 48px; }
.p-hero .cover { aspect-ratio: 16 / 10; border-radius: var(--r); }
.p-title { display: grid; gap: 20px; align-content: end; }
.p-title .crumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.p-title h1 { font-size: clamp(44px, 6vw, 96px); letter-spacing: -0.055em; line-height: 0.92; }
.p-title .by { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.p-title .by a { color: var(--text); }
.p-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.vote-lg.on { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.p-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.p-desc { font-size: 19px; line-height: 1.6; max-width: 62ch; }
.p-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.p-stats div { background: var(--surface); padding: 20px; }
.p-stats strong { display: block; font-family: var(--display); font-size: 34px; letter-spacing: -0.04em; }
.p-stats span { font-size: 13px; color: var(--muted); }
.p-side { display: grid; gap: 14px; position: sticky; top: calc(var(--nav-h) + 32px); }
.tile3d { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.tile3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.tile3d .label { position: absolute; left: 16px; top: 14px; }
.comments { display: grid; gap: 24px; margin-top: 64px; }
.c-form { display: grid; gap: 12px; padding: 20px; }
.c-form .row { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.c-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 20px 0; border-top: 1px solid var(--line); }
.c-item .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-weight: 600; font-size: 15px; }
.c-item header { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.c-item header small { color: var(--faint); font-size: 13px; }
.c-item .tag { height: 22px; font-size: 12px; padding: 0 8px; }
.notify-box { padding: 24px; display: grid; gap: 16px; }
.cd-big { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cd-big div { background: var(--surface-2); border-radius: var(--r-sm); padding: 14px 6px; text-align: center; }
.cd-big strong { display: block; font: 500 30px/1 var(--mono); font-feature-settings: 'tnum'; }
.cd-big span { font-size: 12px; color: var(--muted); }

/* ---------- Formulaires ---------- */
.field { display: grid; gap: 8px; }
.field > label, .field > .flabel { font-size: 14px; font-weight: 600; }
.field .help { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.input, .textarea {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: var(--surface);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .textarea:focus { border-color: var(--text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); }
.field .error { display: none; color: var(--danger); font-size: 13px; }
.field.err .input, .field.err .textarea, .field.err .drop { border-color: var(--danger); }
.field.err .error { display: block; }

.submit-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.steps-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 32px; }
.steps-bar div { display: grid; gap: 10px; font-size: 13px; color: var(--faint); transition: color 0.3s; }
.steps-bar i { display: block; height: 3px; border-radius: 3px; background: var(--line-2); position: relative; overflow: hidden; }
.steps-bar i::after { content: ''; position: absolute; inset: 0; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.steps-bar .done { color: var(--text); }
.steps-bar .done i::after { transform: scaleX(1); }
.fstep { display: none; gap: 24px; }
.fstep.on { display: grid; animation: stepIn 0.6s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } }
.cat-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.swatch { position: relative; width: 40px; height: 40px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line) inset; transition: transform 0.3s var(--ease), box-shadow 0.2s; }
.swatch:hover { transform: scale(1.08); }
.swatch.on { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--text); }
.swatch.custom { display: grid; place-items: center; border: 1px dashed var(--line-2); box-shadow: none; color: var(--muted); }
.swatch.custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop { position: relative; display: grid; place-items: center; gap: 6px; min-height: 180px; padding: 20px; border-radius: var(--r); border: 1.5px dashed var(--line-2); text-align: center; color: var(--muted); overflow: hidden; transition: border-color 0.2s, background-color 0.2s; }
.drop i { font-size: 30px; color: var(--text); }
.drop.over { border-color: var(--text); background: var(--surface-2); }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop .rm { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--bg); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.switch { position: relative; width: 48px; height: 28px; border-radius: 999px; background: var(--line-2); transition: background-color 0.3s; flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); transition: transform 0.4s var(--ease); }
.switch[aria-checked='true'] { background: var(--accent); }
.switch[aria-checked='true']::after { transform: translateX(20px); background: var(--accent-ink); }
.tags-input { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 52px; padding: 7px 10px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface); }
.tags-input:focus-within { border-color: var(--text); }
.tags-input input { flex: 1; min-width: 120px; height: 36px; border: 0; background: none; outline: none; }
.tags-input input::placeholder { color: var(--faint); }
.tag-x { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 6px 0 12px; border-radius: 999px; background: var(--surface-2); font-size: 14px; }
.tag-x button { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--muted); }
.tag-x button:hover { background: var(--line-2); color: var(--text); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; }
.preview { position: sticky; top: calc(var(--nav-h) + 40px); display: grid; gap: 16px; }
.preview .pcard { pointer-events: none; }
.recap { display: grid; border-top: 1px solid var(--line); }
.recap div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.recap span { color: var(--muted); }
.recap b { font-weight: 500; overflow-wrap: anywhere; }

/* ---------- À venir ---------- */
.upcoming { display: grid; gap: 14px; }
.up-row { display: grid; grid-template-columns: 240px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 14px; }
.up-row .cover { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.up-row h3 { font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 8px; }
.up-row .side-col { display: grid; gap: 12px; justify-items: end; text-align: right; padding-right: 8px; }
.up-row .countdown { font-size: clamp(20px, 2vw, 28px); }

/* ---------- Booster ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan { padding: 28px; display: flex; flex-direction: column; gap: 20px; position: relative; transition: transform 0.5s var(--ease), border-color 0.3s; }
.plan:hover { transform: translateY(-4px); border-color: var(--line-2); }
.plan.featured { background: var(--text); color: var(--bg); border-color: var(--text); }
.plan.featured .muted, .plan.featured li { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.plan.featured .tag { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 40%, transparent); }
.plan h3 { font-size: 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price { font-family: var(--display); font-size: clamp(48px, 5vw, 68px); font-weight: 650; letter-spacing: -0.05em; line-height: 1; }
.price small { font-family: var(--font); font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.plan.featured .price small { color: color-mix(in srgb, var(--bg) 62%, transparent); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: var(--muted); }
.plan li i { color: var(--accent-text); font-size: 18px; margin-top: 2px; }
.plan.featured li i { color: var(--accent); }
[data-theme='light'] .plan.featured li i { color: var(--accent); }
.plan .btn { margin-top: auto; }
.plan.featured .btn-line { border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.calc { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 14px; margin-top: 14px; }
.calc .card { padding: clamp(22px, 3vw, 36px); }
.range { display: grid; gap: 12px; margin-bottom: 28px; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.range-head b { font: 500 22px/1 var(--mono); }
input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--text) var(--p, 50%), var(--line-2) var(--p, 50%)); outline: none; }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--line-2); cursor: grab; transition: transform 0.2s var(--ease); }
input[type='range']::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
input[type='range']::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); }
.reach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.reach strong { display: block; font-family: var(--display); font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.04em; }
.reach span { font-size: 13px; color: var(--muted); }
.chart-box { position: relative; height: 260px; }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.seg button { position: relative; z-index: 1; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color 0.3s; white-space: nowrap; }
.seg button.on { color: var(--bg); }
.seg .pill { position: absolute; top: 4px; bottom: 4px; border-radius: 999px; background: var(--text); transition: left 0.5s var(--ease), width 0.5s var(--ease); }
.save-tag { font: 500 11px/1 var(--mono); padding: 3px 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); margin-left: 6px; }

/* ---------- Statistiques ---------- */
.dash { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 14px; align-items: start; }
.side { position: sticky; top: calc(var(--nav-h) + 32px); max-height: calc(100dvh - 120px); overflow: auto; padding: 10px; }
.side .label { padding: 12px 10px 8px; display: block; }
.side-item { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; width: 100%; padding: 8px 10px; border-radius: var(--r-sm); text-align: left; transition: background-color 0.2s; }
.side-item .cover { width: 36px; height: 36px; border-radius: 9px; }
.side-item .cover::after { display: none; }
.side-item b { display: block; font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-item small { color: var(--muted); font-size: 12px; }
.side-item:hover { background: var(--surface-2); }
.side-item.on { background: var(--text); color: var(--bg); }
.side-item.on small { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.dash-main { display: grid; gap: 14px; min-width: 0; }
.dash-head { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; padding: 16px; }
.dash-head .cover { width: 96px; height: 72px; border-radius: 10px; }
.dash-head .cover::after { display: none; }
.dash-head h2 { font-size: 30px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.kpi { background: var(--surface); padding: 22px; }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi strong { display: block; font-family: var(--display); font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.04em; margin: 6px 0; }
.delta { font: 500 12px/1 var(--mono); }
.delta.up { color: var(--accent-text); }
.delta.down { color: var(--danger); }
.panel { padding: clamp(18px, 2.4vw, 28px); min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.panel-head h3 { font-size: 20px; letter-spacing: -0.02em; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.funnel { display: grid; gap: 18px; }
.funnel-row header { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.funnel-row b { font-family: var(--mono); font-weight: 500; }
.funnel-bar { height: 8px; }
.funnel-bar i { display: block; height: 100%; border-radius: 8px; background: var(--text); width: 0; transition: width 1.4s var(--ease); }
.funnel-row:first-child .funnel-bar i { background: var(--accent); }
.code { position: relative; font: 13px/1.6 var(--mono); padding: 16px 100px 16px 16px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px solid var(--line); word-break: break-all; color: var(--muted); }
.code button { position: absolute; top: 9px; right: 9px; }
.utm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.utm-grid .select, .utm-grid .input { height: 46px; border-radius: var(--r-sm); }
.badge-preview { display: grid; place-items: center; padding: 28px; border-radius: var(--r-sm); background: var(--bg-2); margin-bottom: 12px; }

/* ---------- Classement ---------- */
.podium-stage { position: relative; height: clamp(380px, 50vw, 580px); margin: -24px 0 32px; }
.podium-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.podium-names { display: grid; grid-template-columns: 1fr 1.1fr 1fr; text-align: center; margin-top: -8px; margin-bottom: 48px; }
.podium-names a { display: grid; gap: 4px; padding: 0 8px; }
.podium-names b { font-family: var(--display); font-size: clamp(18px, 2vw, 28px); letter-spacing: -0.03em; }
.podium-names span { font: 500 13px/1.4 var(--mono); color: var(--muted); }
.board { display: grid; }
.board-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 110px 110px 120px; gap: 16px; align-items: center; padding: 16px 12px; border-top: 1px solid var(--line); border-radius: var(--r-sm); transition: background-color 0.2s; }
.board-row:hover { background: var(--surface); }
.board-row .pos { font: 500 15px/1 var(--mono); color: var(--faint); }
.board-row .who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.board-row .who .av { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 700; }
.board-row .who b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-row .who small { color: var(--muted); font-size: 13px; }
.board-row .num { text-align: right; font: 500 15px/1.3 var(--mono); }
.board-row .num small { display: block; font-family: var(--font); font-size: 12px; color: var(--faint); }
.board-row .pts { color: var(--accent-text); }

/* ---------- Créateur ---------- */
.creator-head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: end; margin-bottom: 56px; }
.creator-head .av { width: clamp(88px, 10vw, 140px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: clamp(40px, 5vw, 64px); font-weight: 700; color: #fff; }
.creator-stats { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 16px; }
.creator-stats strong { display: block; font: 500 26px/1.1 var(--mono); }
.creator-stats span { font-size: 13px; color: var(--muted); }

/* ---------- Tarifs ---------- */
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.compare th, .compare td { padding: 16px; text-align: center; }
.compare tbody tr:nth-child(odd) td { background: var(--surface); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--muted); }
.compare tbody td:first-child { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.compare tbody td:last-child { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.compare thead th { font-family: var(--display); font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.compare i { font-size: 20px; color: var(--accent-text); }
.compare .no { color: var(--faint); }
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 80px); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; text-align: left; font-size: 18px; font-weight: 500; }
.faq-item button i { font-size: 20px; transition: transform 0.5s var(--ease); flex: none; }
.faq-item.open button i { transform: rotate(45deg); }
.faq-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq-item.open .faq-body { grid-template-rows: 1fr; }
.faq-body > div { overflow: hidden; }
.faq-body p { padding-bottom: 24px; color: var(--muted); max-width: 60ch; }

/* ---------- Pied de page ---------- */
.footer { position: relative; z-index: 1; padding: clamp(64px, 10vw, 120px) var(--gutter) 28px; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; }
.footer-big { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer-claim { font-family: var(--display); font-size: clamp(48px, 8vw, 120px); font-weight: 650; letter-spacing: -0.055em; line-height: 0.88; }
.footer-claim span { color: var(--accent-text); }
.newsletter { display: grid; gap: 14px; }
.newsletter label { font-size: 16px; color: var(--muted); max-width: 36ch; }
.nl-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); }
.nl-row input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 0; background: none; outline: none; }
.nl-row input::placeholder { color: var(--faint); }
.nl-row .btn { --h: 44px; }
.footer-cols { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 24px; padding: 40px 0; }
.footer-cols div { display: grid; gap: 10px; align-content: start; }
.footer-cols div a { color: var(--muted); font-size: 15px; width: fit-content; transition: color 0.2s; }
.footer-cols div a:hover { color: var(--text); }
.footer-bottom { font-size: 13px; color: var(--faint); }

/* ---------- Modale & palette ---------- */
.modal, .cmdk { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.open, .cmdk.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.35s; }
.open .modal-backdrop { opacity: 1; }
.modal-panel { position: relative; width: min(560px, 100%); max-height: calc(100dvh - 32px); overflow: auto; border-radius: calc(var(--r) * 1.25); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity 0.4s var(--ease), transform 0.6s var(--ease); }
.open .modal-panel, .open .cmdk-panel { opacity: 1; transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; background: var(--surface); }
.cmdk { place-items: start center; padding-top: 14dvh; }
.cmdk-panel { position: relative; width: min(600px, 100%); border-radius: calc(var(--r) * 1.25); overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); opacity: 0; transform: scale(0.97); transition: opacity 0.25s, transform 0.4s var(--ease); }
.cmdk-input { display: flex; align-items: center; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.cmdk-input i { font-size: 20px; color: var(--muted); }
.cmdk-input input { flex: 1; height: 60px; border: 0; background: none; outline: none; font-size: 17px; }
.cmdk-list { list-style: none; margin: 0; padding: 8px; max-height: 52dvh; overflow: auto; }
.cmdk-list .group { padding: 12px 12px 6px; }
.cmdk-item { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 8px 12px; border-radius: var(--r-sm); cursor: pointer; }
.cmdk-item .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--surface-2); font-size: 17px; }
.cmdk-item .cover { width: 34px; height: 34px; border-radius: 9px; }
.cmdk-item .cover::after { display: none; }
.cmdk-item small { color: var(--faint); font-size: 12px; font-family: var(--mono); }
.cmdk-item.sel { background: var(--surface-2); }
.success { padding: clamp(28px, 5vw, 44px); display: grid; gap: 18px; }
.success .cover { aspect-ratio: 16 / 9; border-radius: var(--r); }
.success h2 { font-size: clamp(30px, 4vw, 44px); }

/* ---------- Toasts & éclats ---------- */
.toasts { position: fixed; left: 50%; bottom: 20px; translate: -50% 0; z-index: 180; display: grid; gap: 8px; justify-items: center; width: max-content; max-width: calc(100vw - 32px); }
.toast { display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 500; box-shadow: var(--shadow); animation: toastIn 0.5s var(--ease); }
.toast i { font-size: 18px; color: var(--accent); }
[data-theme='light'] .toast i { color: #8fb300; }
.toast.error i { color: var(--danger); }
.toast.out { animation: toastOut 0.35s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(0.96); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px) scale(0.96); } }
#burst { position: fixed; inset: 0; width: 100vw; height: 100dvh; pointer-events: none; z-index: 170; }

/* ---------- Apparitions ---------- */
.reveal { opacity: 0; transform: translateY(32px); }
.split-line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.split-line > span { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { grid-template-columns: auto 1fr; }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.5s var(--ease);
  }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 20px; font-family: var(--display); letter-spacing: -0.02em; color: var(--text); }
  .nav-actions { justify-self: end; }
  .burger { display: grid; }
  .hero { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 16px); gap: 8px; }
  .hero-stage { order: -1; height: 44dvh; margin: 0 calc(var(--gutter) * -1); }
  .story { grid-template-columns: 1fr; }
  .story-pin { position: relative; top: 0; padding-top: 0; }
  .story-step { opacity: 1; }
  .story-panels { gap: 16px; padding: 0; }
  .story-panel { min-height: 380px; }
  .t-launch, .t-count, .t-photo, .t-badge, .t-cats { grid-column: span 12; grid-row: auto; }
  .voices { grid-template-columns: 1fr; }
  .p-hero, .p-body, .submit-layout, .calc, .dash, .two, .faq { grid-template-columns: 1fr; }
  .p-side, .preview, .side { position: static; max-height: none; }
  .side { display: flex; gap: 6px; overflow-x: auto; }
  .side .label { display: none; }
  .side-item { width: auto; flex: none; }
  .plans { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-big { grid-template-columns: 1fr; }
  .final { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-actions .btn, #cmdBtn { display: none; }
  .toolbar { grid-template-columns: 1fr; }
  .pan-track { height: auto; flex-direction: column; align-items: stretch; width: auto; padding: 64px var(--gutter); gap: 48px; }
  .pan-card, .pan-intro { width: 100%; }
  .up-row { grid-template-columns: 1fr; gap: 16px; }
  .up-row .side-col { justify-items: start; text-align: left; }
  .board-row { grid-template-columns: 36px minmax(0, 1fr) 90px; }
  .board-row .hide-sm { display: none; }
  .reach, .utm-grid { grid-template-columns: 1fr 1fr; }
  .dash-head { grid-template-columns: 64px 1fr; }
  .dash-head .cover { width: 64px; height: 48px; }
  .dash-head .p-actions { grid-column: 1 / -1; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols .brand { grid-column: 1 / -1; }
  .recap div { grid-template-columns: 1fr; gap: 2px; }
  .creator-head { grid-template-columns: 1fr; }
  .c-form .row { grid-template-columns: 1fr; }
  .cd-big strong { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); backdrop-filter: none; }
}
