/* KAPITO · encart « vraies pubs » (Reels, Story, fil Instagram) partagé : espace musique et page de vente. Généré depuis client-musique.html. */
.promo { --acc: var(--accent, #1ed760); --line: rgba(255,255,255,.1); --dim: #a1a1a6; --mut: #6e6e73; --f-ui: -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif; --f-disp: var(--fd, "Space Grotesk", -apple-system, system-ui, sans-serif); color: #f5f5f7; text-align: left; }
/* encart promo « Lancer ta campagne » : éventail de pubs (Meta / YouTube), vidéo au survol (remplace l'univers 3D, octobre 2026) */
.promo { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); padding: 22px 18px 18px; background: radial-gradient(90% 70% at 50% 100%, rgba(30,215,96,.12), transparent 70%), linear-gradient(180deg, #121216, #0b0b0f); }
.promo h3 { margin: 0; text-align: center; font: 700 26px/1.02 var(--f-disp); letter-spacing: -.025em; }
.promo h3 em { display: block; font: italic 400 1.12em/1.05 Georgia, "Times New Roman", serif; letter-spacing: -.01em; color: #fff; text-shadow: 0 0 22px rgba(255,255,255,.18); }
.promo .pr-sub { text-align: center; color: var(--dim); font-size: 12.5px; margin: 8px 6px 0; }
.pr-fan { position: relative; height: 250px; margin: 14px 0 8px; }
.pr-card { --r: 0deg; --x: 0px; position: absolute; left: 50%; bottom: 0; width: 118px; aspect-ratio: 9 / 16; margin-left: -59px; border-radius: 14px; overflow: hidden; cursor: pointer;
  border: 2px solid rgba(214,206,188,.75); background: #000; box-shadow: 0 18px 30px -14px rgba(0,0,0,.9); transform-origin: 50% 115%;
  transform: translateX(var(--x)) rotate(var(--r)); transition: transform .5s cubic-bezier(.23,1,.32,1), box-shadow .3s, z-index 0s .2s; }
.pr-fan:hover .pr-card { transform: translateX(calc(var(--x) * 1.28)) rotate(calc(var(--r) * 1.22)); }
.pr-card:hover, .pr-card:focus-visible, .pr-card.on { z-index: 9 !important; transform: translateX(calc(var(--x) * 1.28)) rotate(0deg) translateY(-14px) scale(1.12) !important; box-shadow: 0 26px 40px -12px rgba(0,0,0,.95), 0 0 0 3px rgba(30,215,96,.35); outline: none; transition: transform .5s cubic-bezier(.23,1,.32,1), box-shadow .3s, z-index 0s; }
.pr-card video, .pr-card .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pr-card .art { background: var(--bgc); }
.pr-card .art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 45% at 50% 38%, var(--glow), transparent 70%); animation: prPulse 3.2s ease-in-out infinite paused; }
.pr-card .art::after { content: ""; position: absolute; left: 50%; top: 30%; width: 54%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 8px; background: var(--cover); box-shadow: 0 10px 22px -8px rgba(0,0,0,.8); }
.pr-card:hover .art::before, .pr-card.on .art::before { animation-play-state: running; }
@keyframes prPulse { 50% { opacity: .45; transform: scale(1.12); } }
.pr-ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 7px 7px 8px; color: #fff; font: 600 8.5px/1.25 var(--f-ui); text-shadow: 0 1px 4px rgba(0,0,0,.8); pointer-events: none; }
.pr-top { display: flex; align-items: center; gap: 4px; } .pr-top i { width: 14px; height: 14px; border-radius: 50%; background: var(--acc); flex: none; } .pr-top small { display: block; font-weight: 400; opacity: .8; font-size: 7.5px; }
.pr-bar { height: 2px; border-radius: 2px; background: rgba(255,255,255,.3); margin-bottom: 5px; overflow: hidden; } .pr-bar b { display: block; height: 100%; width: 0; background: #fff; }
.pr-card:hover .pr-bar b, .pr-card.on .pr-bar b { animation: prBar 6s linear infinite; } @keyframes prBar { to { width: 100%; } }
.pr-cta { display: block; text-align: center; padding: 5px 4px; border-radius: 6px; background: rgba(255,255,255,.92); color: #000; text-shadow: none; font-weight: 700; }
.pr-yt .pr-cta { background: #3ea6ff; color: #000; } .pr-skip { position: absolute; right: 0; bottom: 30px; padding: 3px 5px; background: rgba(0,0,0,.72); border: 1px solid rgba(255,255,255,.3); border-right: 0; color: #fff; font: 600 8px/1 var(--f-ui); }
.pr-tag { position: absolute; left: 7px; top: 34px; padding: 2px 5px; border-radius: 4px; background: rgba(0,0,0,.55); color: #fff; font: 600 7.5px/1.2 var(--f-ui); letter-spacing: .03em; }
.pr-n { position: absolute; right: 6px; top: 12px; padding: 2px 5px; border-radius: 5px; background: rgba(0,0,0,.5); color: #fff; font: 500 7.5px/1.2 ui-monospace, Menlo, monospace; }
.pr-eq { display: flex; gap: 2px; align-items: flex-end; height: 12px; margin: 0 0 5px 1px; } .pr-eq span { width: 3px; height: 30%; background: #fff; border-radius: 1px; }
.pr-card:hover .pr-eq span, .pr-card.on .pr-eq span { animation: prEq .9s ease-in-out infinite alternate; } .pr-eq span:nth-child(2) { animation-delay: -.3s !important; } .pr-eq span:nth-child(3) { animation-delay: -.6s !important; } .pr-eq span:nth-child(4) { animation-delay: -.15s !important; }
@keyframes prEq { to { height: 100%; } }
.promo .pr-go { display: flex; width: 100%; justify-content: center; margin-top: 6px; padding: 12px 16px; font-size: 14.5px; }
.promo .pr-note { text-align: center; font-size: 11px; color: var(--mut); margin: 9px 0 0; }
@media (prefers-reduced-motion: reduce) { .pr-card, .pr-card:hover { transition: none; } .pr-card .art::before, .pr-bar b, .pr-eq span { animation: none !important; } }
@media (max-width: 860px) { .pr-fan { height: 230px; } .pr-card { width: 106px; margin-left: -53px; } }
/* téléphones « vraies pubs » (habillage Meta : Reels, Story, fil) */
.pr-card.ad { background: #000; } .pr-card.ad .art { display: none; }
.ad-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-ui { position: absolute; inset: 0; pointer-events: none; color: #fff; font: 600 8px/1.25 var(--f-ui); text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.ad-av { width: 15px; height: 15px; border-radius: 50%; flex: none; display: grid; place-items: center; font: 700 7.5px var(--f-ui); color: #fff; background: linear-gradient(135deg,#f9ce34,#ee2a7b,#6228d7); box-shadow: 0 0 0 1.5px #000, 0 0 0 2.5px rgba(255,255,255,.85); text-shadow: none; }
.ad-who { display: flex; align-items: center; gap: 5px; } .ad-who small { display: block; font-weight: 400; font-size: 7px; opacity: .85; }
.ad-ico { width: 11px; height: 11px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.ad-reel .ad-top { position: absolute; left: 7px; right: 7px; top: 9px; display: flex; justify-content: space-between; align-items: center; font: 700 10px var(--f-ui); }
.ad-reel .ad-side { position: absolute; right: 5px; bottom: 26px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.ad-reel .ad-bot { position: absolute; left: 7px; right: 22px; bottom: 7px; }
.ad-pill { white-space: nowrap; max-width: 100%; display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 6px; background: rgba(40,40,40,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-weight: 600; font-size: 7.5px; margin-bottom: 6px; text-shadow: none; }
.ad-follow { margin-left: 3px; padding: 1px 4px; border: 1px solid rgba(255,255,255,.75); border-radius: 4px; font-size: 6.5px; font-weight: 600; }
.ad-reel .ad-cap { font-weight: 400; font-size: 7px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-pub { position: absolute; right: 4px; bottom: 7px; font-size: 6px; font-weight: 500; opacity: .9; }
.ad-story .ad-prog { position: absolute; left: 6px; right: 6px; top: 6px; display: flex; gap: 2px; } .ad-story .ad-prog i { flex: 1; height: 1.5px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; } .ad-story .ad-prog i b { display: block; height: 100%; width: 0; background: #fff; }
.ad-story .ad-prog i:first-child b { width: 100%; } .pr-card.on .ad-story .ad-prog i:nth-child(2) b, .pr-card:hover .ad-story .ad-prog i:nth-child(2) b { animation: prBar 10s linear forwards; }
.ad-story .ad-head { position: absolute; left: 7px; right: 6px; top: 12px; display: flex; justify-content: space-between; align-items: center; }
.ad-story .ad-head .x { display: flex; gap: 4px; align-items: center; font-size: 9px; }
.ad-story .ad-link { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 3px; padding: 4px 8px; border-radius: 7px; background: #fff; color: #111; text-shadow: none; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; font: 400 8.5px/1 Georgia, "Times New Roman", serif; }
.ad-story .ad-link svg { width: 9px; height: 9px; stroke: #2a7de1; fill: none; stroke-width: 2.4; stroke-linecap: round; }
.ad-story .ad-msg { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 5px; padding: 5px 5px 7px; background: rgba(0,0,0,.85); text-shadow: none; }
.ad-story .ad-msg span:first-child { flex: 1; padding: 3px 6px; border: 1px solid rgba(255,255,255,.4); border-radius: 99px; font-size: 6.5px; font-weight: 400; color: rgba(255,255,255,.8); white-space: nowrap; overflow: hidden; }
.ad-story .ad-msg small { font-size: 6px; font-weight: 500; }
.ad-feed { background: #000; color: #f5f5f5; text-shadow: none; display: flex; flex-direction: column; }
.ad-feed .ad-ig { display: flex; justify-content: space-between; align-items: center; padding: 8px 6px 5px; } .ad-feed .ad-ig b { font: italic 600 10.5px/1 Georgia, serif; letter-spacing: -.01em; }
.ad-feed .ad-ph { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px; }
.ad-feed .ad-box { position: relative; width: 100%; aspect-ratio: var(--ar, 1); overflow: hidden; background: #111; } .ad-feed .ad-box .ad-media { position: absolute; }
.ad-feed .ad-cta { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px; background: #1f1f1f; font-weight: 700; font-size: 7.5px; color: #4cb5f9; }
.ad-feed .ad-act { display: flex; gap: 6px; padding: 5px 6px 2px; } .ad-feed .ad-act .ad-ico { filter: none; }
.ad-feed .ad-txt { padding: 1px 6px; font-weight: 400; font-size: 7px; color: #dcdcdc; } .ad-feed .ad-txt b { color: #fff; }
.pr-card.ad .pr-n { top: auto; bottom: auto; }
.pr-fan .pr-card.ad, .pr-fan:hover .pr-card.ad, .pr-fan .pr-card.ad:hover, .pr-fan .pr-card.ad.on, .pr-fan .pr-card.ad:focus-visible {
  transform: var(--t, none) !important; transition: transform .7s cubic-bezier(.22,1,.36,1), opacity .5s ease, box-shadow .5s ease, filter .5s ease !important; will-change: transform; backface-visibility: hidden; }
.pr-fan .pr-card.ad { filter: brightness(.62) saturate(.85); box-shadow: 0 18px 30px -16px rgba(0,0,0,.9); }
.pr-fan .pr-card.ad.on { z-index: 40 !important; filter: none; box-shadow: 0 30px 50px -18px rgba(0,0,0,.95), 0 0 0 2px rgba(30,215,96,.55); }
.pr-fan { overflow: visible; touch-action: pan-y; } .promo { isolation: isolate; }
.pr-dots { display: flex; justify-content: center; gap: 5px; margin: 2px 0 10px; } .pr-dots i { width: 5px; height: 5px; border-radius: 99px; background: rgba(255,255,255,.22); transition: width .4s cubic-bezier(.22,1,.36,1), background .4s; }
.pr-dots i.on { width: 16px; background: var(--acc); }
.ad-av.anon { background: linear-gradient(135deg,#3a3a40,#1d1d22); color: transparent; }
@media (prefers-reduced-motion: reduce) { .pr-fan .pr-card.ad { transition: opacity .3s ease !important; } }
.ad-who > span:first-of-type { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ad-who { min-width: 0; } .ad-follow { flex: none; }

/* bouton du son */
.pr-snd { position: absolute; top: 14px; right: 14px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 99px; border: 1px solid rgba(255,255,255,.16); background: rgba(20,20,24,.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #f5f5f7; font: 600 11.5px var(--f-ui); cursor: pointer; }
.pr-snd i { width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='M16 9l5 6M21 9l-5 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='M16 9l5 6M21 9l-5 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.pr-snd[aria-pressed="true"] { color: var(--acc); border-color: rgba(30,215,96,.45); }
.pr-snd[aria-pressed="true"] i { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M18.5 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M18.5 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E"); }
/* bouton principal autonome (la page de vente n'a pas le style .pill de l'espace client) */
.promo .pr-go { border: 0; border-radius: 99px; background: var(--acc); color: #04140a; font: 700 15px var(--f-ui); cursor: pointer; box-shadow: 0 12px 30px -12px rgba(30,215,96,.6); transition: transform .25s cubic-bezier(.22,1,.36,1), filter .2s; }
.promo .pr-go:hover { transform: translateY(-1px); filter: brightness(1.05); } .promo .pr-go:active { transform: scale(.98); }
.promo h3, .promo .pr-sub, .promo .pr-note { text-align: center; }

/* flèches : une pub à la fois */
.pr-fan .pr-nav { position: absolute; top: 50%; z-index: 60; width: 34px; height: 34px; margin-top: -17px; border: 0; border-radius: 99px; background: rgba(0,0,0,.55); color: #fff; font: 600 22px/1 system-ui, sans-serif; cursor: pointer; display: grid; place-items: center; padding: 0 0 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.14); transition: background .2s, transform .2s; }
.pr-fan .pr-nav.prev { left: 0; } .pr-fan .pr-nav.next { right: 0; }
.pr-fan .pr-nav:hover { background: rgba(0,0,0,.8); transform: scale(1.06); }
.pr-fan .pr-nav:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.pr-fan:focus-visible { outline: none; }
.pr-fan .pr-card.ad { user-select: none; -webkit-user-select: none; }

/* bouton son sur la pub au centre (comme sur Instagram) */
.pr-card .pr-mute { position: absolute; right: 7px; bottom: 34%; z-index: 6; width: 26px; height: 26px; border: 0; border-radius: 99px; background: rgba(0,0,0,.6); color: #fff; display: none; place-items: center; cursor: pointer; padding: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.16); }
.pr-card.on .pr-mute { display: grid; }
.pr-card .pr-mute i { width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='M16 9l5 6M21 9l-5 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='M16 9l5 6M21 9l-5 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.pr-card .pr-mute[aria-pressed="true"] { color: var(--acc); }
.pr-card .pr-mute[aria-pressed="true"] i { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M18.5 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M18.5 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E"); }

/* iPhones plus grands (3 pubs) : tout le téléphone est agrandi, textes compris, sans flou */
.pr-fan { height: 340px; } .pr-fan .pr-card.ad { zoom: 1.32; }
@media (max-width: 860px) { .pr-fan { height: 315px; } .pr-fan .pr-card.ad { zoom: 1.3; } }

/* mode nu (page de vente) : seulement les téléphones, sans cadre ni titre */
.promo.pr-bare { background: none; border: 0; padding: 0; overflow: visible; }
.promo.pr-bare .pr-snd { top: 0; right: 0; }
