/* ==========================================================================
   Affiche Couture · feuille de style
   Mobile d'abord. Les couleurs d'accent viennent des affiches d'exemple.
   ========================================================================== */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../assets/fonts/bricolage-grotesque.woff2') format('woff2');
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../assets/fonts/instrument-serif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #F2ECE0;
  --paper-2: #E8DFCF;
  --sheet: #FBF8F1;
  --ink: #16161A;
  --ink-2: #55524A;
  --line: rgba(22, 22, 26, .16);

  --rouge: #E2412B;
  --bleu: #2A4FC9;
  --rose: #FF4F9B;
  --jaune: #FFC83D;
  --navy: #1C2A4F;
  --moutarde: #D9A441;
  --olive: #6F7A30;
  --orange: #C9561E;

  --f-sans: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', serif;
  --f-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;

  --gut: 1.25rem;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 760px) { :root { --gut: 2.5rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
/* Les animations d'entrée ne doivent jamais élargir la page sur mobile */
main > section { overflow-x: clip; }
html.reduced { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
/* Grain de papier sur toute la page */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  background: url('../assets/img/grain.png');
  background-size: 160px 160px;
  opacity: .55;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--jaune); color: var(--ink); }

.wrap { width: min(100% - var(--gut) * 2, 1240px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--ink); color: var(--paper); padding: .75rem 1rem; }
.skip:focus { left: .5rem; top: .5rem; }
.only-fine { display: none; }
@media (hover: hover) and (pointer: fine) { .only-fine { display: inline; } .only-coarse { display: none; } }

em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.015em; font-stretch: 100%; }

/* Marqueur des textes à relire */
.av {
  font-family: var(--f-mono);
  font-size: .72em;
  font-weight: 500;
  letter-spacing: 0;
  background: var(--jaune);
  color: var(--ink);
  padding: .1em .4em;
  border-radius: 3px;
  white-space: nowrap;
}

/* ---------- Éléments communs ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.kicker span {
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: .68rem;
  letter-spacing: 0;
}
.sec-head { max-width: 46rem; margin-bottom: 2.25rem; }
.sec-title {
  font-size: clamp(2.5rem, 10.5vw, 5.75rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: .95;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.sec-title em { font-size: 1.06em; }
.sec-lead { margin-top: 1.25rem; font-size: 1.125rem; color: var(--ink-2); max-width: 36rem; }
/* Masques de lignes créés par SplitText : on laisse respirer les accents et les jambages */
.sec-title [class*="-mask"], .final__title [class*="-mask"] { padding: .08em 0 .12em; margin: -.08em 0 -.12em; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: .6rem .6rem .6rem 1.5rem;
  min-height: 3.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--rouge);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn__label, .btn__price { position: relative; display: inline-block; }
.btn__price {
  padding: .5rem .95rem;
  border-radius: 999px;
  background: var(--rouge);
  color: #fff;
  font-weight: 800;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--big { min-height: 4.25rem; font-size: 1.25rem; padding-left: 2rem; }
.btn--big .btn__price { padding: .7rem 1.2rem; }
.btn--small { min-height: 2.75rem; padding: .5rem 1.1rem; font-size: .9375rem; }
@media (hover: hover) {
  .btn:hover::before { transform: translateY(0); }
  .btn:hover .btn__price { background: var(--paper); color: var(--ink); }
  .btn--light:hover { color: #fff; }
  .btn--light:hover .btn__price { background: var(--ink); color: var(--paper); }
}
.btn:active { transform: scale(.97); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.75rem;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - .55rem) / 100% 1.5px no-repeat;
  transition: background-size .4s var(--ease);
}
@media (hover: hover) { .textlink:hover { background-size: 0 1.5px; background-position: 100% calc(100% - .55rem); } }

.chip {
  min-height: 2.5rem;
  padding: .4rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: .9375rem;
  white-space: nowrap;
  transition: background .25s, color .25s, transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.chip.is-active { background: var(--ink); color: var(--paper); }
.chip:active { transform: scale(.95); }
@media (hover: hover) { .chip:not(.is-active):hover { background: var(--jaune); } }

/* ---------- En-tête ---------- */
.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem var(--gut);
  transition: transform .45s var(--ease), background .3s;
}
.top.is-stuck { background: rgba(242, 236, 224, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.top.is-hidden, .pin-on .top { transform: translateY(-105%); }
.brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 800; font-stretch: 85%; font-size: 1.125rem; letter-spacing: -.02em; min-height: 2.75rem; }
.brand__mark { width: 1.35rem; height: 1.35rem; color: var(--rouge); }
.brand em { font-size: 1.12em; }
.top__nav { display: none; gap: 1.75rem; font-size: .9375rem; font-weight: 500; }
.top__nav a { text-decoration: none; padding: .5rem 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .35s var(--ease); }
.top__nav a:hover { background-size: 100% 1.5px; }
.top__cta { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: .3rem .35rem .3rem 1rem; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: .875rem; text-decoration: none; white-space: nowrap; }
.top__cta span { background: var(--rouge); color: #fff; border-radius: 999px; padding: .35rem .7rem; font-weight: 800; }
.brand, .brand__name { white-space: nowrap; }
@media (max-width: 340px) { .top { padding-inline: .75rem; gap: .5rem; } .brand__mark { display: none; } }
@media (max-width: 380px) { .brand { font-size: 1rem; gap: .35rem; } .top__cta { font-size: .8rem; padding-left: .8rem; gap: .4rem; } .top__cta span { padding: .3rem .55rem; } }
@media (min-width: 960px) { .top__nav { display: flex; } .top { padding-block: 1rem; } }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: 5.5rem var(--gut) calc(56vh + 2.75rem);
  padding-bottom: calc(56svh + 2.75rem);
  overflow: hidden;
}
.hero__scene { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s; }
.hero-3d .hero__canvas { opacity: 1; }
.hero__content { position: relative; z-index: 2; max-width: 40rem; }
.eyebrow { display: flex; align-items: center; gap: .6rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow__dot { flex: none; width: .55rem; height: .55rem; border-radius: 50%; background: var(--rouge); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.55); opacity: .5; } }
.hero__title {
  margin: 1.1rem 0 1.25rem -.04em;
  font-size: clamp(3.1rem, min(15.4vw, 11.5vh), 9rem);
  font-size: clamp(3.1rem, min(15.4vw, 11.5svh), 9rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: .9;
  letter-spacing: -.04em;
}
.hero__title .hl { display: block; white-space: nowrap; overflow: hidden; padding: .1em .06em .08em .04em; margin: -.1em -.06em -.08em -.04em; }
.hero__title em { color: var(--rouge); font-size: 1.07em; letter-spacing: -.02em; }
.hero__title .ch { will-change: transform; }
.hero__lead { max-width: 31rem; font-size: 1.0625rem; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.1rem; margin-top: 1.5rem; }
.hero__meta { display: none; margin-top: 1rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .02em; color: var(--ink-2); }
/* Sur mobile, le lien secondaire est raccourci pour tenir à côté du bouton */
.textlink__long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 900px) {
  .hero__meta { display: block; }
  .hero__actions { gap: .75rem 1.5rem; }
  .textlink__long { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .textlink__short { display: none; }
}
/* État initial tant que le script d'animation n'a pas démarré */
.js:not(.ready):not(.failsafe) .hero__title,
.js:not(.ready):not(.failsafe) [data-hero-fade],
.js:not(.ready):not(.failsafe) .hero__eyebrow { visibility: hidden; }

/* Version 2D des affiches */
.deck { position: absolute; left: 0; right: 0; bottom: 0; height: 56vh; height: 56svh; }
.deck__card {
  position: absolute;
  left: calc(50% + var(--u, 0) * 50%);
  top: calc(50% + var(--v, 0) * 50%);
  width: calc(var(--w, .4) * var(--s, 1) * 100%);
  z-index: var(--zi, 1);
  opacity: 0;
  visibility: hidden;
}
.deck__card img { width: 100%; border-radius: 2px; box-shadow: 0 1px 1px rgba(22, 22, 26, .2), 0 14px 30px -8px rgba(22, 22, 26, .35); }
.hero-2d .deck__card { opacity: 1; visibility: visible; }
.deck__card--desk { display: none; }
@media (min-width: 900px) {
  .hero { padding: 6.5rem var(--gut) 4rem; justify-content: center; }
  .hero__content { max-width: min(47%, 46rem); }
  .hero__title { font-size: clamp(3.5rem, min(7.3vw, 13.5vh), 9.5rem); }
  .hero__lead { font-size: 1.1875rem; }
  .deck { left: 47%; top: 0; height: auto; }
  .deck__card--desk { display: block; }
}

/* ---------- Bandeau défilant ---------- */
.ticker { position: relative; z-index: 3; overflow: hidden; border-block: 1.5px solid var(--ink); background: var(--paper); padding: .7rem 0; }
.ticker__track { display: inline-flex; align-items: center; gap: 1.5rem; white-space: nowrap; will-change: transform; font-size: clamp(1.9rem, 7vw, 4rem); font-weight: 800; font-stretch: 75%; letter-spacing: -.03em; text-transform: uppercase; line-height: 1; padding-right: 1.5rem; }
.ticker__track i { flex: none; width: .5em; height: .5em; background: var(--rouge); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 2v28M2 16h28M6 6l20 20M26 6L6 26' stroke='%23000' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E"); animation: spin 9s linear infinite; }
.ticker__track span:nth-of-type(even) { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; font-stretch: 100%; letter-spacing: -.02em; font-size: 1.05em; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 2. Le problème ---------- */
.pain { padding: 5rem 0 5.5rem; }
.pain__title { font-size: clamp(2.6rem, 11vw, 7rem); font-weight: 800; font-stretch: 75%; line-height: .93; letter-spacing: -.04em; max-width: 14ch; }
.pain__grid { display: grid; gap: 3rem; margin-top: 3rem; }
.pain__item { position: relative; padding: 1.4rem 0 1.5rem; border-top: 1.5px solid var(--ink); transition: opacity .5s; }
.pain__item h3 { position: relative; display: inline; font-size: 1.5rem; font-weight: 700; font-stretch: 85%; line-height: 1.15; letter-spacing: -.02em; background: linear-gradient(var(--rouge), var(--rouge)) 0 58% / 0 .14em no-repeat; transition: background-size .6s var(--ease); }
.pain__item p { margin-top: .5rem; color: var(--ink-2); max-width: 30rem; }
.pain__item.is-struck { opacity: .5; }
.pain__item.is-struck h3 { background-size: 100% .14em; }

.wipe { position: relative; width: min(100%, 27.5rem); margin-inline: auto; }
/* pan-y : le doigt qui glisse à l'horizontale déplace la raclette, à la verticale la page défile normalement */
.wipe__frame { position: relative; aspect-ratio: 4 / 5; --p: 0%; touch-action: pan-y; cursor: ew-resize; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.wipe__frame img { pointer-events: none; -webkit-user-drag: none; }
.wipe__before, .wipe__after { position: absolute; inset: 0; border-radius: 3px; overflow: hidden; }
.wipe__before { background: #D4D3CF; box-shadow: 0 20px 40px -18px rgba(22, 22, 26, .4); }
.wipe__after { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.wipe__after img { width: 100%; height: 100%; object-fit: cover; }
.wipe__blade { position: absolute; top: -5%; bottom: -5%; left: var(--p); width: 12px; margin-left: -6px; border-radius: 3px; background: var(--ink); box-shadow: 4px 0 14px rgba(22, 22, 26, .3); }
.wipe__blade::before { content: ''; position: absolute; left: 50%; top: 50%; width: 44px; height: 88px; margin: -44px 0 0 -22px; border-radius: 12px; background: var(--rouge); box-shadow: inset 0 0 0 2px rgba(22, 22, 26, .25), 0 8px 16px -6px rgba(22, 22, 26, .5); transition: transform .25s var(--ease); }
/* deux chevrons sur la poignée : on comprend qu'elle se déplace à gauche et à droite */
.wipe__blade::after { content: ''; position: absolute; left: 50%; top: 50%; width: 24px; height: 12px; margin: -6px 0 0 -12px; background: #fff; clip-path: polygon(0 50%, 34% 0, 34% 100%, 0 50%, 100% 50%, 66% 0, 66% 100%, 100% 50%); }
.wipe.is-dragging .wipe__blade::before { transform: scale(1.08); }
.wipe__blade:focus-visible { outline: none; }
.wipe__blade:focus-visible::before { outline: 3px solid var(--bleu); outline-offset: 3px; }
.wipe__cap { position: relative; margin-top: 1.4rem; font-family: var(--f-mono); font-size: .8rem; height: 1.4em; }
.wipe__cap span { position: absolute; inset: 0; transition: opacity .35s, transform .35s var(--ease); }
.wipe__cap .wipe__hint { inset: auto 0 auto auto; top: 1.9em; color: var(--ink-2); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.wipe__cap { margin-bottom: 1.6em; }
.wipe.is-touched .wipe__hint { opacity: 0; }
.wipe__cap-b { opacity: 0; transform: translateY(.5em); font-weight: 700; }
.wipe.is-done .wipe__cap-a { opacity: 0; transform: translateY(-.5em); }
.wipe.is-done .wipe__cap-b { opacity: 1; transform: none; }

/* Faux éditeur gris (volontairement terne) */
.mock { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: Arial, Helvetica, sans-serif; color: #444; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #BDBCB8; }
.mock__bar i { width: 34px; height: 12px; border-radius: 6px; background: #A3A29E; }
.mock__clock { margin-left: auto; font: 700 12px var(--f-mono); color: #5d5c58; }
.mock__body { flex: 1; display: flex; min-height: 0; }
.mock__tools { display: flex; flex-direction: column; gap: 10px; padding: 12px 9px; background: #C8C7C3; }
.mock__tools i { width: 22px; height: 22px; border-radius: 5px; background: #ADACA8; }
.mock__page { position: relative; flex: 1; margin: 7% 9%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4%; text-align: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .14); }
.mock__t1 { font-weight: 700; font-size: clamp(1rem, 5vw, 1.5rem); color: #c22; transform: translateX(-5%); }
.mock__t2 { font-size: clamp(.85rem, 4vw, 1.1rem); transform: translateX(8%); }
.mock__t3 { font-style: italic; font-size: clamp(.75rem, 3.4vw, .95rem); color: #1a56b0; text-decoration: underline; }
.mock__star { width: 26%; aspect-ratio: 1; background: #f2c100; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); transform: rotate(-8deg); }
.mock__sel { position: absolute; left: 8%; right: 18%; top: 41%; height: 15%; border: 1.5px solid #2f7bf6; }
.mock__sel i { position: absolute; width: 8px; height: 8px; background: #fff; border: 1.5px solid #2f7bf6; }
.mock__sel i:nth-child(1) { left: -5px; top: -5px; } .mock__sel i:nth-child(2) { right: -5px; top: -5px; }
.mock__sel i:nth-child(3) { left: -5px; bottom: -5px; } .mock__sel i:nth-child(4) { right: -5px; bottom: -5px; }
.mock__cursor { position: absolute; right: 12%; top: 52%; width: 22px; height: 22px; }

@media (min-width: 900px) {
  .pain { padding: 8rem 0 9rem; }
  .pain__grid { grid-template-columns: 1fr minmax(0, 27.5rem); gap: 5rem; align-items: start; margin-top: 5rem; }
  .pain__item h3 { font-size: 2rem; }
  .pain__item { padding: 1.9rem 0 2.1rem; }
}

/* ---------- 3. Démo ---------- */
.demo { padding: 5rem 0; background: var(--paper-2); }
.demo__chips { display: flex; align-items: center; gap: .5rem; overflow-x: auto; margin: 0 calc(var(--gut) * -1) 1.75rem; padding: .25rem var(--gut); scrollbar-width: none; }
.demo__chips::-webkit-scrollbar { display: none; }
.demo__chips-label { flex: none; font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; margin-right: .25rem; }
.demo__stage { display: grid; grid-template-columns: minmax(0, 1fr); }

.prompt { position: relative; z-index: 1; background: var(--ink); color: #EDE8DD; border-radius: 18px; font-family: var(--f-mono); font-size: .8125rem; line-height: 1.55; box-shadow: 0 30px 50px -28px rgba(22, 22, 26, .65); }
.prompt__bar { display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .7rem; color: rgba(237, 232, 221, .55); letter-spacing: .03em; }
.prompt__dots { display: inline-flex; gap: 5px; }
.prompt__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.prompt__body { padding: 1rem; }
.prompt__edit { position: relative; padding: .8rem .9rem; border-radius: 10px; background: rgba(255, 255, 255, .07); box-shadow: inset 3px 0 0 var(--jaune); transition: background .4s; }
.prompt__line { font-size: .9375rem; font-weight: 700; color: #fff; min-height: 1.55em; overflow-wrap: anywhere; }
.prompt__line b { font-weight: 800; }
.prompt__line:nth-child(1) b { color: var(--jaune); }
.prompt__line:nth-child(2) b { color: #FF86B9; }
.prompt__line:nth-child(3) b { color: #86A6FF; }
.prompt__line:nth-child(4) b { color: #9BD67A; }
.prompt__line:nth-child(5) b { color: #FFA366; }
.prompt__line.is-typing span::after, .prompt__style.is-typing::after { content: ''; display: inline-block; width: .55em; height: 1.05em; margin-left: 2px; vertical-align: -.18em; background: var(--jaune); animation: blink .7s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.prompt__tag { position: absolute; right: -.4rem; top: -.9rem; padding: .3rem .7rem; border-radius: 6px; background: var(--jaune); color: var(--ink); font-family: var(--f-sans); font-size: .8125rem; font-weight: 700; transform: rotate(3deg); transform-origin: 80% 100%; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .6); }
.prompt__style { margin-top: .9rem; color: rgba(237, 232, 221, .36); font-size: .78rem; }
.prompt__skeleton { display: grid; gap: .5rem; margin-top: .8rem; }
.prompt__skeleton i { height: .5rem; border-radius: 4px; background: rgba(255, 255, 255, .09); transform-origin: 0 50%; }
.prompt__skeleton i:nth-child(1) { width: 96%; } .prompt__skeleton i:nth-child(2) { width: 88%; }
.prompt__skeleton i:nth-child(3) { width: 93%; } .prompt__skeleton i:nth-child(4) { width: 52%; }
.prompt__rest { margin-top: .8rem; font-size: .72rem; color: rgba(237, 232, 221, .5); }
.prompt__foot { display: flex; align-items: center; justify-content: space-between; padding: .7rem 1rem .9rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.prompt__hint { font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: rgba(237, 232, 221, .45); }
.prompt__send { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: #EDE8DD; color: var(--ink); font-weight: 800; font-family: var(--f-sans); }

/* Mobile : la feuille est dimensionnée d'après la hauteur de l'écran pour tenir, entière, sous le prompt */
.print { position: relative; z-index: 2; width: 58%; width: clamp(9.5rem, 58%, (100svh - 30.5rem) * .8); margin: -3rem auto 0 .5rem; }
@media (max-width: 899px) {
  .prompt__body { padding: .85rem .9rem; }
  .prompt__edit { padding: .65rem .8rem; }
  .prompt__line { font-size: .875rem; line-height: 1.5; }
  .prompt__style { margin-top: .7rem; font-size: .74rem; }
  .prompt__skeleton { gap: .4rem; margin-top: .65rem; }
  .prompt__skeleton i:nth-child(n+3) { display: none; }
  .prompt__rest { margin-top: .65rem; }
  .prompt__foot { padding: .5rem .9rem .6rem; }
  .prompt__send { width: 1.9rem; height: 1.9rem; }
}
.print__slot { display: none; }
.print__sheet { position: relative; aspect-ratio: 4 / 5; background: var(--sheet); border-radius: 2px; overflow: hidden; isolation: isolate; transform: rotate(2.5deg); box-shadow: 0 1px 1px rgba(22, 22, 26, .2), 0 22px 40px -14px rgba(22, 22, 26, .55); }
@media (max-width: 899px) { .print__sheet { transform: rotate(-2.5deg); } .print__status { text-align: left; } }
.print__sheet img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.print__plate, .fx-plate { position: absolute; inset: 0; isolation: isolate; }
.print__plate img, .fx-plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25); }
.print__plate::after, .fx-plate::after { content: ''; position: absolute; inset: 0; background: var(--plate, var(--rose)); mix-blend-mode: screen; }
.print__plate--a { --plate: var(--rose); visibility: hidden; }
.print__plate--b { --plate: var(--bleu); mix-blend-mode: multiply; transform: translate(3px, -2px); visibility: hidden; }
.print__head { position: absolute; left: 0; right: 0; top: 0; height: 3px; margin-top: -1px; background: var(--ink); box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 -14px 24px 6px rgba(255, 255, 255, .5); visibility: hidden; }
.print__status { margin-top: 1rem; font-family: var(--f-mono); font-size: .7rem; line-height: 1.4; color: var(--ink-2); text-align: right; min-height: 2.8em; }
.print__status::before { content: ''; display: inline-block; width: .5rem; height: .5rem; margin-right: .45rem; border-radius: 50%; background: var(--olive); }
.print__status.is-busy::before { background: var(--rouge); animation: blink .6s steps(1) infinite; }
.replay { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .5rem; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: underline; text-underline-offset: .3em; }

@media (min-width: 900px) {
  .demo { padding: 8rem 0 8.5rem; }
  .demo__chips { margin-inline: 0; padding-inline: 0; margin-bottom: 2.5rem; }
  .demo__stage { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 4rem; align-items: center; }
  .prompt { font-size: .9375rem; border-radius: 22px; }
  .prompt__body { padding: 1.5rem; }
  .prompt__line { font-size: 1.25rem; }
  .prompt__edit { padding: 1.1rem 1.25rem; }
  .prompt__style { font-size: .9rem; }
  .prompt__tag { font-size: 1rem; right: -1.2rem; top: -1.2rem; }
  .print { width: min(100%, 26rem); margin: 0 auto; }
  .print__status { text-align: left; }
}

/* ---------- 4. Les 4 styles ---------- */
.styles { --bg: #20304F; --fg: #F2ECE0; --ac: #F2C230; background: var(--bg); color: var(--fg); transition: background-color .7s var(--ease), color .7s var(--ease); }
.styles[data-style="seventies"] { --bg: #4A2912; --fg: #F6E7C8; --ac: #E7A13A; }
.styles[data-style="riso"] { --bg: #2A4FC9; --fg: #FBF3E4; --ac: #FF86B9; }
.styles[data-style="flat"] { --bg: #DD3F2A; --fg: #FBEBD0; --ac: #1C2A4F; }
/* La section fait exactement la hauteur de l'écran : l'affiche prend la place qui reste, le texte n'est jamais coupé */
.styles__pin { height: 100vh; height: 100svh; display: flex; align-items: stretch; padding: 3.75rem 0 1.25rem; }
.styles__inner { display: flex; flex-direction: column; min-height: 0; }
.styles__head .kicker { margin-bottom: .6rem; }
.styles .sec-title { font-size: clamp(1.9rem, 8vw, 5rem); }
.styles .sec-title em { color: var(--ac); transition: color .7s; }
.styles__tabs { display: flex; gap: .4rem; margin: 1rem calc(var(--gut) * -1) 0; padding: .25rem var(--gut); overflow-x: auto; scrollbar-width: none; }
.styles__tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-height: 2.5rem; padding: .35rem .95rem; border: 1.5px solid currentColor; border-radius: 999px; font-weight: 700; font-size: .9375rem; opacity: .55; transition: opacity .3s, background .3s, color .3s; -webkit-tap-highlight-color: transparent; }
.tab.is-active { opacity: 1; background: var(--fg); color: var(--bg); border-color: var(--fg); }
.styles__viewer { position: relative; flex: 1 1 0; min-height: 8rem; margin: .9rem 0; }
.styles__frame { position: absolute; left: 50%; top: 50%; height: min(100%, 26rem, (100vw - 2.5rem) * 1.25); aspect-ratio: 4 / 5; transform: translate(-50%, -50%) rotate(-2deg); }
.styles__img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .6); }
.styles__fx { position: absolute; inset: 0; }
.fx-clip { position: absolute; inset: 0; overflow: hidden; border-radius: 2px; }
.fx-fill { position: absolute; inset: 0; background-size: 100% 100%; will-change: transform, clip-path; }
.fx-piece { position: absolute; inset: 0; filter: drop-shadow(0 5px 7px rgba(0, 0, 0, .4)); will-change: transform; }
.fx-piece i { position: absolute; inset: 0; background-size: 100% 100%; }
.styles__info { position: relative; min-height: 7.6rem; }
.sinfo { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .35s, transform .5s var(--ease), visibility 0s .35s; }
.sinfo.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .15s, .15s, 0s; }
.sinfo__num { position: absolute; right: 0; top: .35rem; font-family: var(--f-mono); font-size: .75rem; opacity: .7; }
.sinfo h3 { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--ac); }
.sinfo p:last-child { margin-top: .4rem; font-size: .9375rem; line-height: 1.4; max-width: 30rem; }
.styles__progress { height: 3px; margin-top: .75rem; background: color-mix(in srgb, var(--fg) 22%, transparent); }
.styles__progress i { display: block; height: 100%; background: var(--ac); transform: scaleX(0); transform-origin: 0 50%; transition: background .7s; }

@media (min-width: 900px) {
  .styles__pin { padding: 6rem 0 2.5rem; }
  .styles__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; column-gap: 4rem; }
  .styles__head { grid-column: 1; grid-row: 1; }
  .styles .sec-title { font-size: clamp(3rem, 5.4vw, 5.25rem); }
  .styles__tabs { grid-column: 1; grid-row: 2; flex-direction: column; align-items: flex-start; gap: 0; margin: 2rem 0 0; padding: 0; overflow: visible; }
  .tab { border: 0; border-radius: 0; padding: 0; min-height: 0; font-size: clamp(2.6rem, 6.4vh, 4.5rem); font-weight: 800; font-stretch: 75%; line-height: 1.02; letter-spacing: -.035em; opacity: .28; transition: opacity .3s, transform .5s var(--ease), color .3s; }
  .tab.is-active { background: none; color: var(--ac); opacity: 1; transform: translateX(1.25rem); }
  .tab:hover { opacity: .8; }
  .styles__viewer { grid-column: 2; grid-row: 1 / 4; margin: 0; }
  .styles__frame { height: min(100%, 44rem, 74vh); }
  .styles__info { grid-column: 1; grid-row: 3; align-self: end; min-height: 8.5rem; }
  .sinfo h3 { display: none; }
  .sinfo__num { position: static; margin-bottom: .5rem; }
  .sinfo p:last-child { font-size: 1.1875rem; }
  .styles__progress { grid-column: 1 / -1; grid-row: 4; margin-top: 2rem; }
}
/* Sans épinglage (mouvement réduit) : la section reprend une hauteur normale */
.reduced .styles__pin { height: auto; padding-bottom: 4rem; }
.reduced .styles__viewer { flex: none; height: min(60vh, 26rem); }
@media (min-width: 900px) { .reduced .styles__viewer { height: auto; min-height: min(70vh, 40rem); } }

/* ---------- 5. Galerie ---------- */
.gallery { padding: 5rem 0 6rem; }
.gallery__bar { margin-bottom: 2rem; }
.gallery__chips { display: flex; gap: .5rem; overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding: .25rem var(--gut); scrollbar-width: none; }
.gallery__chips::-webkit-scrollbar { display: none; }
.gallery__hint { margin-top: 1rem; font-family: var(--f-mono); font-size: .75rem; color: var(--ink-2); }
.gallery__grid { display: flex; align-items: flex-start; gap: 1rem; }
.gcol { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; }
.gcol:nth-child(2) { margin-top: 3.5rem; }
.gcol:nth-child(3) { margin-top: 1.25rem; }
.gcol:nth-child(4) { margin-top: 5rem; }

.shot { position: relative; display: block; width: 100%; text-align: left; transition: opacity .4s, filter .4s; -webkit-tap-highlight-color: transparent; }
.shot__stack { position: relative; display: block; aspect-ratio: 4 / 5; }
.shot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; box-shadow: 0 1px 1px rgba(22, 22, 26, .18), 0 12px 24px -12px rgba(22, 22, 26, .4); transition: transform .6s var(--ease); will-change: transform; background: var(--paper-2); }
.shot__badge { position: absolute; left: 50%; top: -.75rem; z-index: 5; padding: .3rem .65rem; border-radius: 6px; background: var(--ink); color: var(--paper); font-size: .72rem; font-weight: 700; white-space: nowrap; opacity: 0; transform: translate(-50%, .5rem) rotate(-2deg); transition: opacity .3s, transform .45s var(--ease); pointer-events: none; }
.shot__cap { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin-top: .6rem; font-size: .875rem; }
.shot__cap b { font-weight: 700; }
.shot__cap i { font-family: var(--f-serif); font-size: 1.15rem; line-height: 1; }
.shot.is-open { z-index: 20; }
.shot.is-open .shot__img--1 { transform: translate(calc(var(--dir, 1) * -17%), -1%) rotate(calc(var(--dir, 1) * -6deg)) scale(.84); }
.shot.is-open .shot__img--2 { transform: translate(calc(var(--dir, 1) * 9%), 3%) rotate(calc(var(--dir, 1) * 2deg)) scale(.84); transition-delay: .04s; }
.shot.is-open .shot__img--3 { transform: translate(calc(var(--dir, 1) * 34%), 8%) rotate(calc(var(--dir, 1) * 9deg)) scale(.84); transition-delay: .08s; }
.shot.is-open .shot__badge { opacity: 1; transform: translate(-50%, 0) rotate(-2deg); }
.shot.is-dim { opacity: .22; filter: grayscale(1); }
.gtile { padding: 1.1rem 0 .5rem; border-top: 1.5px solid var(--ink); }
.gtile p:first-child { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.7rem, 7vw, 2.6rem); line-height: 1; letter-spacing: -.01em; }
.gtile p:last-child { margin-top: .6rem; font-size: .875rem; color: var(--ink-2); }
@media (min-width: 760px) {
  .gallery { padding: 8rem 0 9rem; }
  .gallery__grid { gap: 1.75rem; }
  .gcol { gap: 2.25rem; }
  .gallery__chips { margin-inline: 0; padding-inline: 0; }
  .gallery__bar { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
  .gallery__hint { margin-top: 0; }
}

/* ---------- 6. Le pack ---------- */
.pack { padding: 5rem 0 6rem; background: var(--paper-2); }
.pack__grid { display: grid; gap: 3.5rem; }
.step { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: start; padding: 1.5rem 0; border-top: 1.5px solid var(--ink); }
.step:last-child { border-bottom: 1.5px solid var(--ink); }
.step__num { font-family: var(--f-serif); font-style: italic; font-size: 5.5rem; line-height: .8; color: var(--rouge); }
.step h3 { font-size: 1.75rem; font-weight: 800; font-stretch: 80%; letter-spacing: -.025em; line-height: 1.1; }
.step p { margin-top: .4rem; color: var(--ink-2); }

.receipt-wrap { position: relative; width: min(100%, 21.5rem); margin-inline: auto; padding-top: .55rem; }
.receipt__slot { position: absolute; z-index: 2; left: -.9rem; right: -.9rem; top: 0; height: 1.1rem; border-radius: 999px; background: var(--ink); box-shadow: inset 0 -4px 0 rgba(255, 255, 255, .12), 0 8px 12px -6px rgba(22, 22, 26, .45); }
.receipt {
  position: relative;
  padding: 2rem 1.4rem 2.6rem;
  background: var(--sheet);
  font-family: var(--f-mono);
  font-size: .8125rem;
  line-height: 1.5;
  filter: drop-shadow(0 18px 20px rgba(22, 22, 26, .22));
  --zig: conic-gradient(from -45deg at 50% 100%, #0000 0 90deg, #000 0) 0 100% / 14px 8px repeat-x, linear-gradient(#000 0 0) 0 0 / 100% calc(100% - 8px) no-repeat;
  -webkit-mask: var(--zig);
  mask: var(--zig);
}
.receipt__brand { text-align: center; font-family: var(--f-sans); font-weight: 800; font-stretch: 75%; font-size: 1.6rem; letter-spacing: .02em; line-height: 1; }
.receipt__sub { text-align: center; font-size: .72rem; color: var(--ink-2); margin-top: .3rem; }
.receipt hr { border: 0; border-top: 1.5px dashed rgba(22, 22, 26, .45); margin: 1rem 0; }
.receipt hr.receipt__double { border-top: 4px double var(--ink); }
.receipt__label { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .35rem; }
.receipt li { display: flex; align-items: baseline; gap: .4rem; }
.receipt li i { flex: 1; border-bottom: 1.5px dotted rgba(22, 22, 26, .35); transform: translateY(-.25em); }
.receipt__total { display: flex; justify-content: space-between; font-family: var(--f-sans); font-weight: 800; font-size: 1.5rem; font-stretch: 80%; }
.receipt__bars { height: 2.4rem; margin-top: 1.2rem; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, #0000 2px 5px, var(--ink) 5px 6px, #0000 6px 10px, var(--ink) 10px 13px, #0000 13px 15px); }
@media (min-width: 900px) {
  .pack { padding: 8rem 0 9rem; }
  .pack__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 5rem; align-items: start; }
  .step { grid-template-columns: 7rem 1fr; padding: 2.25rem 0; }
  .step__num { font-size: 8rem; }
  .step h3 { font-size: 2.5rem; }
  .step p { font-size: 1.1875rem; }
  .receipt-wrap { transform: rotate(1.5deg); }
}

/* ---------- 7. Prix ---------- */
.price { background: var(--ink); color: var(--paper); padding: 5rem 0 5.5rem; overflow: hidden; }
.price__amount { display: flex; align-items: flex-start; justify-content: center; font-weight: 800; font-stretch: 75%; font-size: clamp(11rem, 58vw, 30rem); line-height: .8; letter-spacing: -.06em; margin: .5rem 0 2.5rem -.04em; }
.price__digits { display: inline-flex; }
.odo { display: inline-block; height: .8em; overflow: hidden; }
.odo__strip { display: flex; flex-direction: column; will-change: transform; }
.odo__strip span { display: block; height: .8em; line-height: .8em; text-align: center; }
.price__cur { font-size: .36em; line-height: 1; margin: .12em 0 0 .08em; color: var(--jaune); letter-spacing: 0; }
.price__title { font-size: clamp(2rem, 8.4vw, 3.5rem); font-weight: 800; font-stretch: 75%; line-height: .98; letter-spacing: -.035em; }
.price__title em { color: var(--jaune); font-size: 1.07em; }
.price__list { margin: 1.75rem 0 2rem; border-bottom: 1px solid rgba(242, 236, 224, .22); }
.price__list li { position: relative; padding: .8rem 0 .8rem 1.9rem; border-top: 1px solid rgba(242, 236, 224, .22); }
.price__list li::before { content: ''; position: absolute; left: .1rem; top: 1.2rem; width: .95rem; height: .5rem; border-left: 2.5px solid var(--jaune); border-bottom: 2.5px solid var(--jaune); transform: rotate(-45deg); }
.price__note { margin-top: 1.1rem; font-family: var(--f-mono); font-size: .72rem; line-height: 1.7; color: rgba(242, 236, 224, .7); }
.kicker--light { color: var(--paper); }
@media (min-width: 900px) {
  .price { padding: 8rem 0; }
  .price__main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; align-items: center; }
  .price__amount { font-size: clamp(16rem, 30vw, 30rem); margin: 0; justify-content: flex-start; }
}

/* ---------- 8. Garantie ---------- */
.guarantee { padding: 5rem 0; }
.guarantee__inner { display: grid; gap: 2.5rem; }
.stamp { width: 11.5rem; color: var(--rouge); transform: rotate(-12deg); }
.stamp svg { display: block; width: 100%; overflow: visible; }
.stamp__ring { font-family: var(--f-sans); font-weight: 700; font-size: 13.4px; fill: currentColor; transform-origin: 100px 100px; }
.stamp__num { font-family: var(--f-sans); font-weight: 800; font-stretch: 75%; font-size: 74px; fill: currentColor; }
.stamp__unit { font-family: var(--f-mono); font-size: 13px; letter-spacing: .2em; fill: currentColor; }
@media (min-width: 900px) {
  .guarantee { padding: 8rem 0; }
  .guarantee__inner { grid-template-columns: auto minmax(0, 1fr); gap: 6rem; align-items: center; }
  .stamp { width: 19rem; }
}

/* ---------- 9. FAQ ---------- */
.faq { padding: 5rem 0 6rem; background: var(--paper-2); }
.faq__head { margin-bottom: 2rem; }
.faq__item { border-top: 1.5px solid var(--ink); }
.faq__item:last-child { border-bottom: 1.5px solid var(--ink); }
.faq__item h3 { font: inherit; }
.faq__item button { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; width: 100%; min-height: 4rem; padding: 1.1rem 0; text-align: left; font-size: 1.125rem; font-weight: 700; font-stretch: 88%; line-height: 1.25; letter-spacing: -.01em; -webkit-tap-highlight-color: transparent; }
.faq__icon { position: relative; flex: none; width: 2.25rem; height: 2.25rem; border: 1.5px solid var(--ink); border-radius: 50%; transition: background .3s, transform .5s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: .85rem; height: 2px; margin: -1px 0 0 -.425rem; background: var(--ink); transition: transform .5s var(--ease), background .3s; }
.faq__icon::after { transform: rotate(90deg); }
.faq__item button[aria-expanded="true"] .faq__icon { background: var(--ink); transform: rotate(180deg); }
.faq__item button[aria-expanded="true"] .faq__icon::before, .faq__item button[aria-expanded="true"] .faq__icon::after { background: var(--paper); }
.faq__item button[aria-expanded="true"] .faq__icon::after { transform: rotate(0deg); }
.js:not(.failsafe) .faq__panel { height: 0; overflow: hidden; }
.faq__body { padding: 0 3.5rem 1.5rem 0; color: var(--ink-2); max-width: 40rem; }
@media (min-width: 900px) {
  .faq { padding: 8rem 0 9rem; }
  .faq__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 5rem; align-items: start; }
  .faq__head { position: sticky; top: 7rem; }
  .faq__item button { font-size: 1.375rem; min-height: 5rem; }
}

/* ---------- 10. Appel final ---------- */
.final { position: relative; background: var(--jaune); padding: 0 0 5.5rem; overflow: hidden; text-align: center; }
.final__strip { padding: 3.5rem 0 3rem; transform: rotate(-3deg) scale(1.06); }
.final__strip-track { display: inline-flex; gap: 1rem; will-change: transform; padding-right: 1rem; }
.final__strip-track img { flex: none; width: 34vw; max-width: 15rem; border-radius: 2px; box-shadow: 0 16px 26px -14px rgba(22, 22, 26, .55); }
.final__strip-track img:nth-child(odd) { transform: translateY(.75rem) rotate(1.5deg); }
.final__title { font-size: clamp(2.9rem, 12.5vw, 8rem); font-weight: 800; font-stretch: 75%; line-height: .92; letter-spacing: -.04em; max-width: 13ch; margin: 1rem auto 2.25rem; text-wrap: balance; }
.final__title em { font-size: 1.07em; }
.final__meta { margin-top: 1.1rem; font-family: var(--f-mono); font-size: .75rem; }
@media (min-width: 900px) { .final { padding-bottom: 9rem; } .final__strip { padding: 5rem 0 4.5rem; } }

/* ---------- Pied de page ---------- */
.foot { background: var(--ink); color: var(--paper); padding: 3rem 0 6.5rem; }
.foot__inner { display: grid; gap: 1.5rem; }
.foot__brand { font-weight: 800; font-stretch: 80%; font-size: 1.5rem; letter-spacing: -.02em; }
.foot__brand em { font-size: 1.12em; }
.foot__links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font-size: .9375rem; }
.foot__links a, .foot__links button { min-height: 2.75rem; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.foot__legal { font-size: .75rem; line-height: 1.7; color: rgba(242, 236, 224, .6); max-width: 46rem; }
@media (min-width: 760px) { .foot { padding-bottom: 3rem; } }

/* ---------- Barre d'achat fixe (mobile) ---------- */
.buybar { position: fixed; inset: auto 0 0 0; z-index: 600; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem var(--gut) calc(.6rem + env(safe-area-inset-bottom, 0px)); background: rgba(242, 236, 224, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1.5px solid var(--ink); transform: translateY(110%); transition: transform .45s var(--ease); }
.buybar p { display: flex; flex-direction: column; line-height: 1.2; font-size: .9375rem; }
.buybar p span { font-family: var(--f-mono); font-size: .68rem; color: var(--ink-2); }
.buybar.is-on { transform: none; }
body.cookie-open .buybar { transform: translateY(110%); }
@media (min-width: 760px) { .buybar { display: none; } }

/* ---------- Bandeau cookies ---------- */
.cookie { position: fixed; z-index: 800; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); padding: 1rem 1.1rem 1.1rem; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 16px; box-shadow: 0 20px 40px -16px rgba(22, 22, 26, .5); }
.cookie[hidden] { display: none; }
.cookie__title { font-weight: 800; font-stretch: 80%; font-size: 1.125rem; }
.cookie__text { margin-top: .25rem; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .9rem; }
/* Même style pour les deux boutons : aucun des deux choix n'est mis en avant */
.cookie__btn { min-height: 2.9rem; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--sheet); color: var(--ink); font-weight: 700; font-size: .9375rem; transition: background .2s, color .2s; }
@media (hover: hover) { .cookie__btn:hover { background: var(--ink); color: var(--paper); } }
@media (min-width: 760px) { .cookie { left: auto; right: 1.5rem; bottom: 1.5rem; width: 23rem; } }

/* ---------- Curseur personnalisé ---------- */
.cursor { display: none; }
.has-cursor .cursor { display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 1000; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--rouge); color: #fff; pointer-events: none; opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .25s, opacity .25s; }
.has-cursor .cursor.is-on { opacity: 1; }
.cursor span { font-size: .72rem; font-weight: 700; line-height: 1.1; text-align: center; white-space: nowrap; opacity: 0; transition: opacity .2s; }
.cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(226, 65, 43, .28); }
.cursor.is-label { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--ink); }
.cursor.is-label span { opacity: 1; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker__track, .final__strip-track { flex-wrap: wrap; white-space: normal; }
}
