/* ---------- Bons plans : paperboard écrit au feutre par une main ---------- */
.deals { position: relative; padding-top: 60px; overflow: hidden; }
.deals-ticker { transform: rotate(-2deg); margin: 0 -20px; padding: 14px 0; background: linear-gradient(90deg, #FF8DB8, #F4A93C, #F6EC9A); box-shadow: 0 16px 40px -14px rgba(217,70,127,.5); overflow: hidden; white-space: nowrap; }
.deals-ticker div { display: inline-flex; gap: 46px; animation: ticker 22s linear infinite; font: 700 clamp(18px, 2vw, 26px) var(--display); color: #2A1B2E; }
@keyframes ticker { to { transform: translateX(-50%); } }
.deals-inner { padding-top: 50px; text-align: center; }
.deals-inner > h2, .deals-inner > .lead { display: none; }
.deal-note { font-size: 13px; color: var(--muted); margin-top: 22px; }

.pb-wrap { position: relative; width: min(820px, 100%); margin: 0 auto; perspective: 1400px; }
.pb-easel { position: relative; transform-origin: 50% 0; transform: rotateX(-70deg) translateY(-40px); opacity: 0; transition: transform 1s cubic-bezier(.2,1.3,.4,1), opacity .4s; }
.pb-wrap.in .pb-easel { transform: none; opacity: 1; animation: pbSway 7s 1.2s ease-in-out infinite; }
@keyframes pbSway { 50% { transform: rotate(.6deg); } }
/* pince du haut */
.pb-clip { position: relative; z-index: 2; height: 26px; margin: 0 -2%; border-radius: 13px; background: linear-gradient(180deg, #B9BCC6, #8E92A0); box-shadow: 0 6px 12px -4px rgba(0,0,0,.35); }
.pb-clip i { position: absolute; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #6D7180; box-shadow: inset 0 2px 2px rgba(0,0,0,.4); }
.pb-clip i:first-child { left: 18%; } .pb-clip i:last-child { right: 18%; }
/* feuille : papier légèrement gondolé, coin qui rebique (pas de bord dur) */
.pb-sheet { position: relative; margin-top: -10px; padding: clamp(30px, 5vw, 54px) clamp(20px, 6vw, 64px) clamp(40px, 6vw, 70px); text-align: left; color: #2A1B2E;
  background: linear-gradient(175deg, #FFFFFF 0%, #FBFAF6 60%, #F3F0E8 100%); border-radius: 4px 4px 10px 40px / 4px 4px 10px 26px;
  box-shadow: 0 30px 60px -24px rgba(60,30,70,.45), 0 2px 0 #E8E3D6; }
.pb-sheet::after { content: ""; position: absolute; left: 0; bottom: 0; width: 70px; height: 50px; border-radius: 0 0 0 40px / 0 0 0 26px; background: linear-gradient(45deg, #E9E3D3 0 45%, rgba(0,0,0,.08) 50%, transparent 56%); }
.pb-under { position: absolute; inset: auto 6px -8px 10px; height: 20px; z-index: -1; background: #EFEBE0; border-radius: 0 0 12px 40px; transform: rotate(.8deg); }
/* écriture au feutre */
.pb-line { margin: 0; color: var(--ink); font: 400 clamp(20px, 3vw, 30px)/1.2 "Permanent Marker", "Caveat", cursive; }
.pb-ink { display: inline-block; clip-path: inset(-20% 100% -30% -5%); }
.pb-wrap.static .pb-ink { clip-path: none; }
.pb-title { font-size: clamp(38px, 6.5vw, 64px); transform: rotate(-2deg); }
.pb-name { margin-top: clamp(18px, 3vw, 30px); font-size: clamp(26px, 4.2vw, 40px); }
.pb-what { font: 700 clamp(20px, 3vw, 28px)/1.2 "Caveat", cursive; opacity: .85; }
.pb-soon { margin-top: clamp(22px, 4vw, 36px); font: 700 clamp(22px, 3.4vw, 32px) "Caveat", cursive; transform: rotate(-1.5deg); }
.pb-deal { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: clamp(12px, 3vw, 30px); }
.pb-deal > .pb-name, .pb-deal > .pb-what { grid-column: 1 / -1; }
.pb-offer { position: relative; display: inline-block; margin: 14px 0 0 6px; }
.pb-big { font-size: clamp(54px, 9vw, 92px); transform: rotate(-6deg); }
/* traits de feutre dessinés */
.pb-doodle { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pb-doodle path { stroke-dasharray: 700; stroke-dashoffset: 700; transition: stroke-dashoffset .5s ease-out; }
.pb-doodle.draw path, .pb-wrap.static .pb-doodle path { stroke-dashoffset: 0; }
.pb-underline { display: block; width: min(420px, 80%); height: 22px; margin: 2px 0 0; stroke: #FFD45C; stroke-width: 10; }
.pb-circle { position: absolute; left: -22%; top: -14%; width: 144%; height: 130%; stroke: #F05A3F; stroke-width: 4; pointer-events: none; }
.pb-arrow { position: absolute; left: clamp(120px, 24vw, 210px); top: calc(100% - 140px); width: clamp(70px, 12vw, 120px); stroke: #2A1B2E; stroke-width: 4; display: none; }
/* code sur un post-it, lien souligné au feutre */
.pb-postit { justify-self: start; display: grid; gap: 2px; margin-top: 14px; padding: 14px 20px 12px; border: 0; cursor: pointer; text-align: left; color: #2A1B2E;
  background: linear-gradient(170deg, #FFF3A6, #FFE873); box-shadow: 0 14px 22px -12px rgba(120,90,0,.55); border-radius: 2px 2px 18px 2px;
  transform: rotate(3deg) scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.pb-postit.pb-on, .pb-wrap.static .pb-postit { transform: rotate(3deg); }
.pb-postit:hover { transform: rotate(-1deg) scale(1.05); }
.pb-postit small { font: 700 18px "Caveat", cursive; color: #8A6A00; }
.pb-postit b { font: 400 clamp(20px, 3.2vw, 28px) "Permanent Marker", cursive; letter-spacing: .02em; }
.pb-copy { font: 700 13px var(--text); color: #A3245A; }
.pb-postit.done { animation: pbWiggle .5s; } .pb-postit.done .pb-copy { color: #2E7D5B; }
@keyframes pbWiggle { 30% { transform: rotate(-6deg) scale(1.1); } 70% { transform: rotate(6deg) scale(1.05); } }
.pb-go { grid-column: 1 / -1; justify-self: start; margin-top: 18px; font: 400 clamp(22px, 3.4vw, 30px) "Permanent Marker", cursive; color: #E2508B; text-decoration: none; opacity: 0; transform: translateY(10px); transition: .4s; }
.pb-go span { background: linear-gradient(#FFD45C, #FFD45C) 0 92% / 0 38% no-repeat; transition: background-size .6s .2s; }
.pb-go.pb-on, .pb-wrap.static .pb-go { opacity: 1; transform: none; }
.pb-go.pb-on span, .pb-go:hover span { background-size: 100% 38%; }
.pb-go:hover { transform: translateX(6px); }
/* pieds du chevalet */
.pb-legs { position: relative; height: clamp(60px, 10vw, 110px); }
.pb-legs i { position: absolute; top: 0; width: 12px; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #A88A68, #C9A982); }
.pb-legs i:nth-child(1) { left: 18%; transform: rotate(10deg); transform-origin: top; } .pb-legs i:nth-child(2) { right: 18%; transform: rotate(-10deg); transform-origin: top; }
.pb-legs i:nth-child(3) { left: 50%; width: 10px; height: 70%; opacity: .6; }
/* la main */
.pb-hand { position: absolute; left: 0; top: 0; z-index: 5; width: clamp(80px, 12vw, 130px); pointer-events: none; opacity: 0; transform-origin: 6% 72%; filter: drop-shadow(0 14px 16px rgba(60,30,70,.3)); transition: opacity .3s; }
.pb-wrap.in .pb-hand { opacity: 1; }
.pb-wrap.static .pb-hand { display: none; }
.pb-confetti { position: fixed; z-index: 99; width: 9px; height: 14px; border-radius: 3px; pointer-events: none; animation: pbConf 1.1s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes pbConf { to { transform: translate(var(--dx), calc(var(--dy) + 120px)) rotate(var(--r)); opacity: 0; } }
@media (max-width: 760px) {
  .deals-inner { padding-left: 4px; padding-right: 4px; }
  .pb-deal { grid-template-columns: 1fr; }
  .pb-offer { justify-self: start; }
}
/* chiffres sans ambiguïté (en Permanent Marker, « 15 » se lisait « IS ») */
.pb-big { font-family: "Caveat", cursive; font-weight: 700; }
.pb-postit b { font: 700 clamp(20px, 3vw, 26px) "Fredoka", sans-serif; letter-spacing: .03em; }
/* gribouillis ajoutés par la main, après l'écriture */
.pb-scribble { position: absolute; width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transition: opacity .8s; }
.pb-scribble path { stroke-dasharray: 160; stroke-dashoffset: 160; transition: stroke-dashoffset .7s ease-out; }
.pb-scribble.draw path { stroke-dashoffset: 0; }
.pb-scribble.bye { opacity: 0; }
/* le chevalet respire et le post-it bat doucement, même après l'écriture */
.pb-wrap.written .pb-postit { animation: pbPost 3.2s ease-in-out infinite; }
@keyframes pbPost { 50% { transform: rotate(-1deg) translateY(-4px); } }
.pb-wrap.written .pb-big { animation: pbBig 2.4s ease-in-out infinite; }
@keyframes pbBig { 50% { transform: rotate(-3deg) scale(1.06); } }
