/* Literie Store — démo v6 : retouches de Graig (23/11/2026)
   - plus de serif : titres en Helvetica (charte), gras et serrés
   - bande promo : texte centré verticalement */

:root { --serif: var(--font); }

/* ---------- Titres : Helvetica gras, serré, percutant ---------- */
.hero-photo__title, .intro__title, .lc__name, .guide__title, .q__title, .res__name, .well__title, .brands__title,
.best__title, .shops__title, .buy__name, .inside__title, .cn__title, .demo__title, .card__name, .drawer__nav a,
.shop__name, .shortcuts__title, .trust__title, .band__text {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .98;
}
.hero-photo__title { font-size: clamp(34px, 9vw, 92px); letter-spacing: -.05em; }
.card__name, .shop__name, .demo__title { letter-spacing: -.03em; line-height: 1.05; }
.q__title, .lc__name { letter-spacing: -.04em; }
.hero-photo__price strong { font-family: var(--font); font-weight: 700; letter-spacing: -.03em; }
.shops__num { font-size: 1.15em; }

/* ---------- Bande promo : centrage vertical réel ---------- */
.promo { display: flex; align-items: center; height: 42px; padding: 0; }
.promo__text { align-items: center; height: 100%; }
.ticker__item { height: 100%; align-items: center; line-height: 1; padding-top: .12em; box-sizing: border-box; }
.ticker__item::after { margin-top: -.12em; }

/* ---------- Mur de marques interactif ---------- */
.brands { padding-left: var(--gutter); padding-right: var(--gutter); }
.brands__head { padding: 0; }
.bswitch { position: relative; display: inline-flex; margin-top: 24px; padding: 4px; border-radius: 999px; background: var(--sand, #efe6da); }
.bswitch__btn { position: relative; z-index: 1; border: 0; background: none; padding: 11px 18px; border-radius: 999px; font: 700 14px var(--font); color: var(--ink); cursor: pointer; transition: color .3s; }
.bswitch__btn[aria-selected="true"] { color: #fff; }
.bswitch__ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--ink); transition: transform .45s var(--ease-out), width .45s var(--ease-out); }
.bwall { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bcard { perspective: 900px; }
.bcard__inner {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; background: none; cursor: pointer;
  transform-style: preserve-3d; transition: transform .7s var(--ease-out);
}
.bcard.is-flipped .bcard__inner { transform: rotateY(180deg); }
.bcard__face { position: absolute; inset: 0; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.bcard__front { display: grid; place-items: center; background: #fff; }
.bcard__front::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 12px; height: 4px; border-radius: 999px; background: var(--orange); transform: scaleX(0); transition: transform .4s var(--ease-out); }
.bcard:hover .bcard__front::after { transform: scaleX(1); }
.bcard__front img { max-width: 68%; max-height: 52%; object-fit: contain; transition: transform .5s var(--ease-out); }
.bcard__front img.is-square { max-width: none; max-height: none; width: 100%; height: 100%; object-fit: cover; transform: scale(1.4); }
.bcard:hover .bcard__front img { transform: scale(1.06); }
.bcard:hover .bcard__front img.is-square { transform: scale(1.48); }
.bcard__back {
  transform: rotateY(180deg); background: #1a1613; color: #fff; text-align: left;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 16px;
}
.bcard__line { margin: 0; font-size: 12px; color: #b3a99c; }
.bcard__model { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.bcard__price { margin: 0 0 8px; font-size: 14px; color: var(--orange); font-weight: 700; }
.bcard__back .btn { min-height: 40px; padding: 0 14px; font-size: 13px; align-self: flex-start; }
.bwall.is-in .bcard { animation: bin .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes bin { from { opacity: 0; transform: translateY(24px) scale(.95); } }
@media (min-width: 1000px) {
  .bwall { grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
  .bcard__model { font-size: 26px; }
  .bcard__back { padding: 22px; }
}
[data-theme="black-november"] .bswitch { background: #2a2420; }
[data-theme="black-november"] .bswitch__btn { color: #f3ede4; }
[data-theme="black-november"] .bswitch__ink { background: var(--orange); }
@media (prefers-reduced-motion: reduce) { .bwall.is-in .bcard { animation: none; } .bcard__inner { transition: none; } }
@media (max-width: 699px) {
  .bcard__inner { aspect-ratio: 1 / 1; }
  .bcard__model { font-size: 17px; }
  .bcard__back { padding: 12px; }
  .bswitch__btn { padding: 10px 14px; font-size: 13px; white-space: nowrap; }
}

/* ---------- Vraie carte des magasins ---------- */
.shopmap { position: relative; overflow: hidden; padding: 0; background: var(--sand); }
.shopmap__map { height: 380px; width: 100%; border-radius: var(--r-lg, 28px); z-index: 0; }
.shopmap__map .leaflet-tile-pane { filter: grayscale(.85) sepia(.18) contrast(.95) brightness(1.04); }
.shopmap__map .leaflet-control-attribution { font-size: 10px; background: rgba(255,255,255,.8); }
.shopmap__map .leaflet-control-zoom a { border-radius: 10px !important; }
.shopmap__locate { position: absolute; left: 12px; bottom: 12px; z-index: 500; min-height: 44px; padding: 0 16px; font-size: 14px; gap: 8px; }
.shopmap__locate svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.shopmap__locate[disabled] { opacity: .7; }
.shopmap__msg { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 500; margin: 0; padding: 10px 14px; border-radius: 14px; background: #1a1613; color: #fff; font-size: 14px; }
.shopmap__msg[hidden] { display: none; }
.lspin { position: relative; }
.lspin__tag {
  position: absolute; left: 0; bottom: 14px; transform: translateX(-50%);
  background: var(--orange); color: #fff; font: 700 13px/1 var(--font); padding: 7px 10px; border-radius: 999px; white-space: nowrap;
  transition: transform .3s var(--ease-out), background-color .3s;
}
.lspin__tag::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.lspin__dot { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 999px; background: #1a1613; border: 2px solid #fff; }
.lspin.is-on .lspin__tag { background: #1a1613; transform: translateX(-50%) scale(1.18); }
.lspin.is-on .lspin__dot::after { content: ""; position: absolute; inset: -8px; border-radius: 999px; border: 2px solid var(--orange); animation: ping 1.6s ease-out infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.lsme span { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 999px; background: #2b7bff; border: 3px solid #fff; }
.shop__approx { font-style: normal; color: #9a8f84; }
.shop__dist { font-weight: 700; color: var(--orange); }
.shop__dist[hidden] { display: none; }
@media (min-width: 1000px) { .shopmap__map { height: 560px; } }
@media (prefers-reduced-motion: reduce) { .lspin.is-on .lspin__dot::after { animation: none; } }

/* ---------- Orange plus vif (comme le site en cours chez la cliente) ---------- */
:root { --orange: #F15223; --promo-bg: var(--orange); --promo-ink: #fff; }

/* ---------- Bande du haut : engagements, pictos blancs ---------- */
.promo { height: 44px; }
.ticker__copy { display: inline-flex; align-items: center; height: 100%; }
.ticker__item {
  gap: 9px; padding: 0 22px; padding-top: 0;
  font: 600 14px/1 var(--font); letter-spacing: 0; text-transform: none; color: var(--promo-ink);
}
.ticker__item svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ticker__item::after { content: none; }
.promo__text { animation-duration: 45s; }
[data-theme="black-november"] { --promo-ink: #fff; }
[data-theme="black-november"] .ticker__item svg { color: var(--orange); }
[data-theme="soldes"] .ticker__item svg { color: #d6282e; }

/* ---------- Bloc orange plein : 3x / 4x sans frais ---------- */
.paybig { position: relative; overflow: hidden; background: var(--orange); color: #fff; padding: 72px var(--gutter); }
.paybig::before {           /* un grand « 3x » en filigrane, qui glisse au défilement */
  content: "3x 4x"; position: absolute; right: -4%; bottom: -12%; z-index: 0; pointer-events: none;
  font: 400 clamp(180px, 46vw, 520px)/.8 "Bebas Neue", sans-serif; color: rgba(255,255,255,.12); white-space: nowrap;
  transform: translateX(var(--pay-shift, 0px));
}
.paybig > * { position: relative; z-index: 1; }
.paybig__kicker { margin: 0; font-weight: 700; font-size: 15px; opacity: .9; }
.paybig__title { margin: 10px 0 0; font: 700 clamp(44px, 12vw, 120px)/.92 var(--font); letter-spacing: -.05em; }
.paybig__title > span:first-child { font: 400 1.18em/0.8 "Bebas Neue", sans-serif; letter-spacing: .01em; color: #1a1613; }
.paybig__lead { margin: 18px 0 0; max-width: 34ch; font-size: 18px; font-weight: 500; }
.paybig__actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.btn--light { background: #fff; color: #1a1613; }
.btn--light:hover { background: #1a1613; color: #fff; }
.paybig__call { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.paybig__call:hover { border-color: #fff; }
@media (min-width: 1000px) { .paybig { padding: 140px var(--gutter); } .paybig__lead { font-size: 21px; } }
[data-theme="black-november"] .paybig { background: #0b0a09; }
[data-theme="black-november"] .paybig__title > span:first-child { color: var(--orange); }
[data-theme="soldes"] .paybig { background: #d6282e; }

/* ---------- Guide sur fond noir : une section qui tranche ---------- */
.guide { --g-bg: #14110f; --g-ink: #f3ede4; --g-soft: #b3a99c; --g-tile: #211c18; --g-tile-hover: #2a2420; background: #14110f; color: #f3ede4; }
.guide .guide__visual { background: #211c18; }
.guide .bedview__frame { fill: #3a332e; stroke: #f3ede4; }
.guide .bedview__pillow { fill: #f3ede4; stroke: none; }
.guide .firm__gauge span { background: #3a332e; }
.guide .opt { background: #211c18; color: #f3ede4; }
.guide .opt small { color: #b3a99c; }
.guide .opt:hover { background: #2a2420; }
.guide .q__bar i { background: #3a332e; }
.guide .q__bar i.done { background: #f3ede4; }
.guide .linkbtn { color: #f3ede4; }
.guide .alt { background: #211c18; color: #f3ede4; }
.guide .alt:hover { background: #2a2420; }
.guide .btn--ink { background: #f3ede4; color: #1a1613; }

/* ---------- Rythme : chaque section a son fond ---------- */
.shortcuts { background: #fff; }
.best { background: var(--linen); }
.brands { background: #fff; }
.shops { background: var(--linen); }
.paybig__title > span:first-child { display: block; font-size: 1.9em; line-height: .82; margin-bottom: .06em; }

/* ---------- Marques : fin et raffiné ---------- */
.brands--fine { padding-top: 96px; padding-bottom: 96px; background: #fff; }
.brands--fine .brands__title { font-size: clamp(30px, 7.4vw, 64px); }
.brands--fine .brands__title span { color: #9a8f84; font-weight: 400; }
.blogos { position: relative; margin-top: 40px; overflow: hidden; border-radius: var(--r-lg, 28px); }
.blogos__halo {
  position: absolute; left: 0; top: 0; width: 320px; height: 320px; margin: -160px 0 0 -160px; border-radius: 999px;
  background: radial-gradient(closest-side, rgba(241, 82, 35, .10), rgba(241, 82, 35, 0));
  opacity: 0; transition: opacity .4s; pointer-events: none; will-change: transform;
}
.blogos.is-hover .blogos__halo { opacity: 1; }
.blogos__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.blogo {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  aspect-ratio: 5 / 4; transition: opacity .45s var(--ease-out), filter .45s var(--ease-out);
}
/* séparations très fines, à l'intérieur seulement */
.blogo:nth-child(odd)::after { content: ""; position: absolute; right: 0; top: 18%; bottom: 18%; width: 1px; background: #ece5db; }
.blogo:nth-child(-n+2)::before { content: ""; position: absolute; left: 14%; right: 14%; bottom: 0; height: 1px; background: #ece5db; }
.blogo__mag { display: grid; place-items: center; width: 62%; height: 42%; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.blogo__mag img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.blogo__name { font-size: 12px; letter-spacing: .02em; color: #9a8f84; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease-out); }
.blogos.is-hover .blogo:not(.is-focus) { opacity: .35; filter: grayscale(.6); }
.blogo.is-focus .blogo__name { opacity: 1; transform: none; }
/* révélation à l'arrivée : un rideau blanc s'ouvre sur chaque logo */
.blogo__mag { clip-path: inset(0 0 0 0); }
.brands--fine:not(.is-in) .blogo__mag { clip-path: inset(0 100% 0 0); transform: translateX(-12px); }
.brands--fine.is-in .blogo__mag { transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1), transform 1.1s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--i, 0) * 140ms); }
.brands--fine.is-in .blogo.is-focus .blogo__mag, .brands--fine.is-in .blogo:hover .blogo__mag { transition: transform .5s cubic-bezier(.22, 1, .36, 1); transition-delay: 0s; }
@media (min-width: 1000px) {
  .brands--fine { padding-top: 160px; padding-bottom: 140px; }
  .blogos { margin-top: 64px; }
  .blogos__list { grid-template-columns: repeat(4, 1fr); }
  .blogo { aspect-ratio: 1 / 1; }
  .blogo::after { content: ""; position: absolute; right: 0; top: 22%; bottom: 22%; width: 1px; background: #ece5db; }
  .blogo:last-child::after, .blogo:nth-child(-n+2)::before { content: none; }
}
@media (prefers-reduced-motion: reduce) { .brands--fine:not(.is-in) .blogo__mag { clip-path: none; transform: none; } }
[data-theme="black-november"] .brands--fine { background: #0b0a09; }
[data-theme="black-november"] .blogo__mag { background: #fff; border-radius: 14px; padding: 10px; }

.blogo:nth-child(2) .blogo__mag { width: 30%; height: 38%; }

/* ---------- Guide visuel : grande photo + pictos ---------- */
.gvis { position: relative; overflow: hidden; padding: 0 !important; display: block !important; min-height: 320px; border-radius: var(--r-lg, 28px); background: #211c18; }
.gvis__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .9s var(--ease-out), transform 6s ease-out; }
.gvis__img.is-on { opacity: 1; transform: scale(1); }
.gvis::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,16,13,.7), rgba(20,16,13,0) 55%); pointer-events: none; }
.gvis .bedview { display: none; }
.gvis__chips { position: absolute; left: 14px; right: 14px; top: 14px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.gchip { background: #fff; color: #1a1613; font: 700 13px/1 var(--font); padding: 8px 12px; border-radius: 999px; animation: chip .5s var(--ease-out) both; }
.gchip--ghost { background: rgba(255,255,255,.85); font-weight: 500; color: #6e6258; }
@keyframes chip { from { opacity: 0; transform: translateY(-6px) scale(.9); } }
.gvis .firm { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; color: #fff; }
.gvis .firm__label { color: #fff; }
.gvis .firm__ends { color: rgba(255,255,255,.75); }
.gvis .firm__gauge span { background: rgba(255,255,255,.3); }
.gvis .firm__gauge span.is-on { background: var(--orange); }
@media (min-width: 1000px) { .gvis { min-height: 620px; position: sticky; top: calc(var(--header-h) + 24px); } .gvis .firm { left: 28px; right: 28px; bottom: 28px; } .gvis__chips { left: 24px; top: 24px; } }

.q__options--visual { grid-template-columns: 1fr 1fr; gap: 10px; }
.opt--visual { align-items: flex-start; gap: 6px; padding: 16px 16px 18px; min-height: 0; border-radius: var(--r-md, 18px); }
.opt__icon { display: block; width: 72px; height: 44px; margin-bottom: 6px; color: var(--orange); transition: transform .4s var(--ease-out), color .2s; }
.opt__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.opt__label { font-weight: 700; font-size: 17px; }
.opt--visual small { font-size: 13px; line-height: 1.35; }
.opt--visual:hover .opt__icon { transform: translateY(-3px) scale(1.06); }
.opt--visual[aria-pressed="true"] .opt__icon { color: #fff; }
.q__options--visual.q__options--sizes { grid-template-columns: repeat(3, 1fr); }
.q__options--sizes .opt--visual { align-items: center; text-align: center; padding: 14px 8px; }
.q__options--sizes .opt__icon { width: 56px; height: 40px; }
@media (min-width: 1000px) { .opt--visual { padding: 20px 20px 22px; } .opt__icon { width: 84px; height: 52px; } }

/* ---------- Marques : deux rangées qui défilent, logos plus petits ---------- */
.lmarq {
  margin-top: 44px; display: grid; gap: 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.lmarq__row { overflow: hidden; }
.lmarq__track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; gap: 12px; animation: lmarq 46s linear infinite; }
.lmarq__row--rev .lmarq__track { animation-direction: reverse; animation-duration: 54s; }
.lmarq__row:hover .lmarq__track { animation-play-state: paused; }
@keyframes lmarq { to { transform: translateX(calc(-50% - 6px)); } }
.lmarq__item {
  flex: none; display: grid; place-items: center; width: 150px; height: 72px; padding: 0 22px;
  border-radius: 16px; background: #faf7f2; transition: transform .45s var(--ease-out), opacity .4s, background-color .3s;
}
.lmarq__item img { max-width: 100%; max-height: 30px; object-fit: contain; mix-blend-mode: multiply; }
.lmarq__item img.is-square { max-height: 38px; }
.lmarq__item img.is-white { filter: brightness(0); mix-blend-mode: normal; max-height: 24px; }   /* logo Tempur fourni en blanc : affiché en noir */
.lmarq__row:hover .lmarq__item { opacity: .45; }
.lmarq__row:hover .lmarq__item:hover { opacity: 1; transform: translateY(-3px) scale(1.06); background: #fff; }
/* entrée : les rangées glissent depuis les côtés */
.brands--fine:not(.is-in) .lmarq__row { opacity: 0; transform: translateX(40px); }
.brands--fine:not(.is-in) .lmarq__row--rev { transform: translateX(-40px); }
.lmarq__row { transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.lmarq__row--rev { transition-delay: .15s; }
@media (min-width: 1000px) {
  .lmarq { margin-top: 64px; gap: 18px; }
  .lmarq__item { width: 190px; height: 92px; }
  .lmarq__item img { max-height: 38px; }
  .lmarq__item img.is-square { max-height: 48px; }
  .lmarq__item img.is-white { max-height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .lmarq__track { animation: none; flex-wrap: wrap; width: auto; }
  .brands--fine:not(.is-in) .lmarq__row { opacity: 1; transform: none; }
}
[data-theme="black-november"] .lmarq__item { background: #f3ede4; }

/* ---------- Magasins : carte et liste déroulante de même hauteur, sans vide autour ---------- */
.shops { padding-top: 64px; padding-bottom: 64px; }
.shops__lead { margin-top: 10px; }
.shops__body { margin-top: 24px; gap: 12px; align-items: stretch; }
.shops__map.shopmap { position: relative; top: auto; }
.shopmap__map { height: 340px; }
.shops__list {
  max-height: 340px; overflow-y: auto; overscroll-behavior: contain; gap: 8px; padding-right: 4px;
  scrollbar-width: thin; scrollbar-color: var(--orange) transparent;
}
.shops__list::-webkit-scrollbar { width: 6px; }
.shops__list::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 999px; }
.shop { padding: 14px 16px; gap: 2px; }
.shop__name { font-size: 19px; }
.shop__addr, .shop__hours, .shop__dist { font-size: 13px; }
.shop__actions { margin-top: 8px; gap: 6px; }
.shop__actions .btn { min-height: 38px; padding: 0 14px; font-size: 13px; }
@media (min-width: 1000px) {
  .shops { padding-top: 110px; padding-bottom: 110px; }
  .shops__body { margin-top: 36px; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; }
  .shopmap__map, .shops__list { height: 520px; max-height: 520px; }
}

/* ---------- Bloc 3x / 4x : animations du texte ---------- */
.paybig__title { position: relative; }
.paybig__title > span:first-child { display: block; white-space: nowrap; }
.pb-ch, .pb-roll { display: inline-block; overflow: hidden; vertical-align: top; height: .86em; line-height: .86; }
.pb-ch > span { display: inline-block; }
.pb-sp { display: inline-block; width: .22em; }
.pb-roll__col { display: flex; flex-direction: column; }
.pb-roll__col span { display: block; height: .86em; line-height: .86; }
.pb-words { display: block; }
.pb-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; position: relative; }
.pb-w > span { display: inline-block; }
.pb-w--mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .07em; border-radius: 999px; background: #fff; transform: scaleX(0); transform-origin: left; }

/* état de départ (le script a préparé le texte) */
.pb-ready .pb-ch > span { transform: translateY(105%); }
.pb-ready .pb-roll__col { transform: translateY(0); }
.pb-ready .pb-w > span { transform: translateY(110%); }
.pb-ready .paybig__kicker, .pb-ready .paybig__lead, .pb-ready .paybig__actions { opacity: 0; transform: translateY(18px); }

/* entrée à l'écran */
.pb-in .pb-ch > span { transform: none; transition: transform .8s cubic-bezier(.2, .9, .2, 1); transition-delay: calc(var(--n, 0) * 55ms + 150ms); }
.pb-in .pb-roll__col { transform: translateY(calc(-9 * .86em)); transition: transform 1.5s cubic-bezier(.15, .85, .2, 1); transition-delay: calc(var(--n, 0) * 55ms + 100ms); }
.pb-in .pb-w > span { transform: none; transition: transform .8s cubic-bezier(.2, .9, .2, 1); transition-delay: calc(var(--w, 0) * 120ms + 750ms); }
.pb-in .pb-w--mark::after { transform: scaleX(1); transition: transform .7s cubic-bezier(.7, 0, .2, 1) 1.35s; }
.pb-in .paybig__kicker { opacity: .9; transform: none; transition: opacity .6s, transform .7s var(--ease-out); }
.pb-in .paybig__lead { opacity: 1; transform: none; transition: opacity .7s 1.1s, transform .8s var(--ease-out) 1.1s; }
.pb-in .paybig__actions { opacity: 1; transform: none; transition: opacity .7s 1.3s, transform .8s var(--ease-out) 1.3s; }

/* survol : les lettres ondulent */
@media (hover: hover) {
  .pb-in .paybig__title:hover .pb-ch > span,
  .pb-in .paybig__title:hover .pb-roll { animation: pbwave .9s ease-in-out; animation-delay: calc(var(--n, 0) * 50ms); }
}
@keyframes pbwave { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-14%); } 70% { transform: translateY(4%); } }

/* Marques : sans cadre, logos posés directement sur le fond */
.lmarq__item, .lmarq__row:hover .lmarq__item:hover, [data-theme="black-november"] .lmarq__item { background: transparent; border-radius: 0; }
.lmarq { margin-bottom: 0; }

/* =========================================================
   Premier écran « coup de poing » (photo Bultex, promo en force, bandes qui traversent)
   ========================================================= */
.hero-photo__img { object-position: 56% 40%; }
.hero-photo__frame::after {
  background: linear-gradient(to top, rgba(20, 14, 10, .82) 0%, rgba(20, 14, 10, .45) 42%, rgba(20, 14, 10, 0) 70%);
}

/* La promo : arrive comme un tampon, onde orange, reflet qui passe */
.hero-promo { position: relative; justify-self: start; width: fit-content; }
.hero-promo .sticker { position: relative; overflow: hidden; transform-origin: 30% 60%; rotate: -2deg; }
.hero-promo.is-hit .sticker { animation: hslam .75s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes hslam {
  0% { opacity: 0; transform: scale(2.3) rotate(-10deg); filter: blur(6px); }
  55% { opacity: 1; transform: scale(.93) rotate(1deg); filter: none; }
  72% { transform: scale(1.04) rotate(-1deg); }
  100% { transform: none; }
}
.hero-promo::before {
  content: ""; position: absolute; inset: 0 0 18px; border-radius: 22px; pointer-events: none;
  border: 3px solid var(--st-bg, var(--orange)); opacity: 0; rotate: -2deg;
}
.hero-promo.is-hit::before { animation: hshock 1.1s ease-out .45s 2 both; }
@keyframes hshock { 0% { opacity: .95; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45, 1.6); } }
.hero-promo .sticker::after {
  content: ""; position: absolute; inset: -20% auto -20% -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-18deg); animation: hshine 4.2s ease-in-out 1.6s infinite;
}
@keyframes hshine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.hero-promo.is-hit .sticker__pct { animation: hshake .45s ease-in-out 1.45s both; }
@keyframes hshake { 0%, 100% { transform: none; } 20% { transform: translateX(-5px) rotate(-2deg); } 45% { transform: translateX(5px) rotate(2deg); } 70% { transform: translateX(-3px); } }
/* La case des secondes tape à chaque seconde */
.sticker__cd .cdbox:last-child { animation: htick .5s ease-out; }
@keyframes htick { 0% { transform: scale(1.18); background: #fff; color: #1a1613; } 100% { transform: none; } }

/* Le titre, mot à mot */
.hero-photo__title .hw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-photo__title .hw > span { display: inline-block; transform: translateY(105%); animation: hword .9s cubic-bezier(.2, .8, .2, 1) calc(.55s + var(--i, 0) * .09s) forwards; }
@keyframes hword { to { transform: none; } }
.hero-photo__lead { animation-delay: 1s; }
.hero-photo__actions { animation-delay: 1.15s; }
.hero-photo__price { animation-delay: 1.3s; }

/* Boutons aimantés + le texte qui s'efface au défilement */
.hero-photo__actions .btn, .hero-photo__price { translate: var(--mx, 0) var(--my, 0); transition: translate .25s ease-out, transform .4s var(--ease-out), background .2s, color .2s; }
@media (min-width: 1000px) { .hero-photo__copy { translate: 0 calc(var(--hs, 0) * -60px); opacity: calc(1 - var(--hs, 0) * 1.3); } }

/* Les deux bandes qui traversent la photo */
.hbands { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.hbands[hidden] { display: none; }
.hband { position: absolute; left: -15%; right: -15%; display: flex; overflow: hidden; white-space: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.hband--orange { top: 13%; rotate: -5deg; background: var(--st-bg, var(--orange)); color: #fff; translate: calc(var(--hs, 0) * -120px) 0; }
.hband--dark { top: 19%; rotate: 3deg; background: #14110f; color: #fff; translate: calc(var(--hs, 0) * 120px) 0; }
.hband__track { display: flex; align-items: center; flex: none; padding: 7px 0 5px; font: 400 clamp(22px, 5.4vw, 40px)/1 "Bebas Neue", sans-serif; letter-spacing: .03em; animation: hmarq 22s linear infinite; }
.hband--dark .hband__track { font-size: clamp(16px, 3.6vw, 26px); animation-duration: 28s; animation-direction: reverse; }
.hband__track span { padding: 0 18px; }
.hband__track i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .7; flex: none; }
.hband--dark .hband__track i { background: var(--orange); opacity: 1; }
@keyframes hmarq { to { transform: translateX(-50%); } }
/* Entrée : les bandes balaient l'écran juste après le choc */
.hband { clip-path: inset(0 100% 0 0); }
.hband--dark { clip-path: inset(0 0 0 100%); }
.hbands.is-in .hband { animation: hwipeL .7s cubic-bezier(.7, 0, .2, 1) .35s forwards; }
.hbands.is-in .hband--dark { animation: hwipeR .7s cubic-bezier(.7, 0, .2, 1) .5s forwards; }
@keyframes hwipeL { to { clip-path: inset(0 0 0 0); } }
@keyframes hwipeR { to { clip-path: inset(0 0 0 0); } }
[data-theme="black-november"] .hband--dark { background: #fff; color: #14110f; }

@media (min-width: 1000px) {
  .hband--orange { top: 9%; }
  .hband--dark { top: 16%; }
  .hero-photo__img { object-position: 50% 45%; }
}
@media (prefers-reduced-motion: reduce) {
  .hband, .hband--dark { clip-path: none; }
  .hband__track, .hero-promo .sticker::after { animation: none; }
}
.hero-photo__price { z-index: 3; }

/* =========================================================
   « Complétez votre nuit » : une fenêtre, un article à la fois (sommier → protection → oreiller → récap)
   ========================================================= */
.up { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.up[hidden] { display: none; }
.up__scrim { position: absolute; inset: 0; background: rgba(12, 9, 7, .62); opacity: 0; transition: opacity .35s; backdrop-filter: blur(3px); }
.up__box {
  position: relative; width: min(440px, 100%); max-height: calc(100svh - 32px); overflow: hidden auto;
  background: var(--paper, #fffdf9); color: var(--ink); border-radius: 28px; padding: 22px 22px 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  transform: translateY(30px) scale(.92); opacity: 0; transition: transform .5s cubic-bezier(.2, 1.3, .4, 1), opacity .3s;
}
.up.is-open .up__scrim { opacity: 1; }
.up.is-open .up__box { transform: none; opacity: 1; }
.up__x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f1ebe2; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.up__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.up__added { display: flex; gap: 10px; align-items: center; padding-right: 44px; font-size: 14px; font-weight: 500; }
.up__check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #1f8a4c; position: relative; }
.up__check::after { content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Les étapes */
.up__dots { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.up__dots li { display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 600; color: #a39686; text-transform: uppercase; letter-spacing: .03em; }
.up__dots li span { height: 5px; border-radius: 9px; background: #ebe4d9; font-size: 0; transition: background .4s; }
.up__dots li.is-now { color: var(--ink); }
.up__dots li.is-now span { background: var(--orange); }
.up__dots li.is-yes span { background: #1f8a4c; }
.up__dots li.is-no span { background: #cfc4b6; }

/* La carte de l'article */
.up__stage { position: relative; display: grid; margin-top: 8px; }
.up__card { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; text-align: center; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .35s; }
.up__card.is-enter { transform: translateX(60px); opacity: 0; }
.up__card.is-leave { transform: translateX(-60px); opacity: 0; pointer-events: none; }
.up__card.is-fly { transform: translate(120px, -260px) scale(.2) rotate(12deg); opacity: 0; pointer-events: none; transition: transform .5s cubic-bezier(.6, 0, .4, 1), opacity .5s ease-in; }
.up__step { margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--orange); text-transform: uppercase; letter-spacing: .05em; }
.up__art { width: 100%; margin-top: 6px; aspect-ratio: 16 / 9; border-radius: 20px; background: radial-gradient(circle at 50% 40%, #fff 0%, #f3ece2 70%); display: grid; place-items: center; overflow: hidden; }
.up__art svg { width: 78%; height: auto; animation: upbob 3.2s ease-in-out infinite; }
@keyframes upbob { 50% { transform: translateY(-6px); } }
.up-drop { animation: updrop 1.6s ease-in infinite; }
.up-drop--2 { animation-delay: .6s; }
@keyframes updrop { 0% { transform: translateY(-10px); opacity: 0; } 25% { opacity: 1; } 80% { transform: translateY(34px); opacity: 1; } 100% { transform: translateY(40px); opacity: 0; } }
.up__name { margin: 14px 0 0; font-family: var(--font); font-weight: 700; font-size: clamp(22px, 6vw, 28px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.up__name--big { font-size: clamp(30px, 8vw, 40px); }
.up__detail { margin-top: 6px; font-size: 14px; color: #6b6157; }
.up__why { margin-top: 8px; font-size: 15px; }
.up__price { margin-top: 10px; font: 400 52px/1 "Bebas Neue", sans-serif; color: var(--ink); letter-spacing: .01em; }
.up__price span { color: var(--orange); margin-right: 2px; }
.up__yes { width: 100%; margin-top: 14px; justify-content: center; }
.up__yes:active { transform: scale(.97); }
.up__no { margin-top: 6px; min-height: 44px; padding: 0 14px; border: 0; background: none; color: #6b6157; font: 500 15px var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.up__no:hover { color: var(--ink); }

/* Le récapitulatif */
.up__recap { list-style: none; width: 100%; margin: 16px 0 0; padding: 0; display: grid; gap: 2px; text-align: left; }
.up__recap li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: #f6f1ea; font-size: 14px; animation: rise .5s var(--ease-out) both; }
.up__recap li:first-child { border-radius: 14px 14px 4px 4px; }
.up__recap li:last-child { border-radius: 4px 4px 14px 14px; }
.up__recap li:only-child { border-radius: 14px; }
.up__recap li:nth-child(2) { animation-delay: .08s; } .up__recap li:nth-child(3) { animation-delay: .16s; } .up__recap li:nth-child(4) { animation-delay: .24s; }
.up__recap b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.up__total { width: 100%; margin-top: 14px; display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.up__total strong { font: 400 44px/1 "Bebas Neue", sans-serif; font-variant-numeric: tabular-nums; }
.up__pay { width: 100%; text-align: right; font-size: 13px; color: var(--orange); font-weight: 600; }

@media (max-height: 700px) { .up__art { aspect-ratio: 2 / 1; } .up__price { font-size: 42px; } }
@media (prefers-reduced-motion: reduce) {
  .up__box, .up__card, .up__scrim { transition: none; }
  .up__art svg, .up-drop, .up__recap li { animation: none; }
}
