/* Cartes projets : seul le format 1,91:1 est commun, chaque carte reprend la charte de son projet.
   Plus petit texte : 3.2cqw ; tout texte sous 4cqw porte la classe .sm et disparaît sur les petites cartes. */
@import url('https://fonts.googleapis.com/css2?family=Bagel+Fat+One&family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=IBM+Plex+Mono:wght@400;500&display=swap');


.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(170px, 28vw, 360px), 1fr)); gap: 0; }

.pc-card { position: relative; display: block; width: 100%; padding: 0; border: 0; font: inherit; text-align: left; cursor: inherit; aspect-ratio: 1.91 / 1; border-radius: 0; overflow: hidden; container-type: inline-size; isolation: isolate; }
.pc-grid .pc-card:hover { outline: 3px solid #FFD60A; outline-offset: -3px; z-index: 2; }
/* Sous 250 px de large (téléphone en deux colonnes), les textes secondaires disparaissent : la fiche les montre. */
@container (max-width: 250px) { .sm { display: none !important; } }
.pc-card:focus-visible { outline: 3px solid #FFD60A; outline-offset: -3px; z-index: 2; }
.pc-card * { margin: 0; }
.pc-card .abs { position: absolute; }

/* Camille Casting */
.k-cam { background: #0c0c0c; color: #fffaf0; font-family: 'Inter', sans-serif; }
.k-cam .photo { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .6; animation: cam-zoom 16s ease-in-out infinite alternate; }
.k-cam:hover .photo { opacity: .78; }
@keyframes cam-zoom { from { transform: scale(1.05); } to { transform: scale(1.18) translateX(-3%); } }
.k-cam .veil { inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.4) 62%, rgba(0,0,0,.15) 100%); }
.k-cam .logo { left: 5cqw; top: 5cqw; width: 27cqw; }
.k-cam h3 { left: 5cqw; top: 19.5cqw; width: 60cqw; font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 8.4cqw; line-height: .96; letter-spacing: -.045em; }
.k-cam h3 em { font-family: 'Caveat'; font-style: normal; font-weight: 700; font-size: 10.5cqw; letter-spacing: 0; color: oklch(0.66 0.21 35); display: inline-block; line-height: .8; clip-path: inset(0 100% 0 0); animation: cam-ink 6s ease-in-out infinite; }
@keyframes cam-ink { 0%, 8% { clip-path: inset(0 100% 0 0); } 30%, 100% { clip-path: inset(0 0 0 0); } }
.k-cam .note { right: 4.5cqw; top: 5cqw; width: 33cqw; background: oklch(0.66 0.21 35); border-radius: 1.8cqw; padding: 2cqw 2.2cqw; transform: rotate(4deg); transform-origin: 50% 0; animation: cam-sway 4s ease-in-out infinite; box-shadow: 0 1cqw 2.4cqw rgba(0,0,0,.35); }
@keyframes cam-sway { 50% { transform: rotate(1.5deg); } }
.k-cam .note b { display: block; font-family: 'Caveat'; font-size: 4.4cqw; line-height: .95; color: #1a0a04; font-weight: 700; }
.k-cam .note span { display: block; margin-top: .8cqw; font-size: 3.2cqw; color: #2a1208; line-height: 1.15; font-weight: 600; }

/* ChefMate */
.k-chef { background: radial-gradient(circle at 75% 55%, #eaf1f6 0, #fafbfc 55%); color: #0a0e17; font-family: 'Inter', sans-serif; }
.k-chef .brand { left: 5cqw; top: 4.5cqw; display: flex; align-items: center; gap: 1.2cqw; font-weight: 700; font-size: 3.6cqw; }
.k-chef .brand img { width: 4.8cqw; }
.k-chef h3 { left: 5cqw; top: 12cqw; font-weight: 800; font-size: 7.4cqw; line-height: .98; letter-spacing: -.045em; }
.k-chef h3 span { background: linear-gradient(180deg, #2EEBFF 0%, #00a6dd 55%, #007FB8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.k-chef .facts { left: 5cqw; bottom: 4.5cqw; font-size: 3.2cqw; font-weight: 600; color: #57606a; }
.k-chef .facts i { display: inline-block; width: 1.6cqw; height: 1.6cqw; border-radius: .4cqw; background: #007FB8; margin-right: 1cqw; vertical-align: middle; }
.k-chef .stage { right: -4cqw; top: -4cqw; width: 50cqw; height: 60cqw; perspective: 90cqw; }
.k-chef .phone { width: 100%; mix-blend-mode: multiply; transform: rotateY(-8deg) rotateX(4deg); animation: chef-float 6s ease-in-out infinite; transition: transform .6s; }
.k-chef:hover .phone { transform: rotateY(-22deg) rotateX(8deg) scale(1.04); animation-play-state: paused; }
@keyframes chef-float { 50% { transform: rotateY(-12deg) rotateX(6deg) translateY(-1.2cqw); } }
.k-chef .toast { right: 22cqw; top: 31cqw; background: #fff; border: 1px solid #e8ecf0; border-radius: 2cqw; padding: 1.6cqw 2cqw; font-size: 3.2cqw; box-shadow: 0 1.4cqw 3.2cqw rgba(10,14,23,.14); display: flex; gap: 1.4cqw; align-items: center; white-space: nowrap; opacity: 0; animation: chef-toast 7s ease-in-out infinite; }
.k-chef .toast b { font-weight: 700; }
.k-chef .toast .dot { width: 4.4cqw; height: 4.4cqw; border-radius: 1.2cqw; background: #e6f4fa; color: #007FB8; display: grid; place-items: center; font-weight: 800; font-size: 3.2cqw; }
@keyframes chef-toast { 0%, 8% { opacity: 0; transform: translateX(4cqw); } 15%, 72% { opacity: 1; transform: none; } 82%, 100% { opacity: 0; transform: translateY(-1.5cqw); } }

/* steph */
.k-steph { background: #0b0b0b; color: #f4f4f0; font-family: 'Space Grotesk', sans-serif; background-image: linear-gradient(#1a1a1a 1px, transparent 1px), linear-gradient(90deg, #1a1a1a 1px, transparent 1px); background-size: 4cqw 4cqw; }
.k-steph .brand { left: 5cqw; top: 4.5cqw; display: flex; align-items: center; gap: 1.4cqw; font-weight: 700; font-size: 4.4cqw; letter-spacing: -.02em; }
.k-steph .brand svg { width: 4cqw; }
.k-steph .term { left: 5cqw; top: 14cqw; width: 52cqw; background: #161616; border: 1px solid #3a3a37; border-radius: 1.4cqw; padding: 2.4cqw 2.6cqw; font-family: 'JetBrains Mono'; font-size: 3.2cqw; line-height: 1.5; }
.k-steph .prompt { color: #e2ff3b; }
.k-steph .cmd { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; width: 0; animation: st-type 8s steps(8) infinite; }
@keyframes st-type { 0% { width: 0; } 16%, 100% { width: 8ch; } }
.k-steph .out { color: #77776f; opacity: 0; animation: st-show 8s infinite; }
@keyframes st-show { 0%, 20% { opacity: 0; } 24%, 94% { opacity: 1; } 100% { opacity: 0; } }
.k-steph .side { right: 5cqw; top: 12cqw; width: 34cqw; font-size: 6.6cqw; line-height: .98; letter-spacing: -.045em; font-weight: 500; text-align: right; }
.k-steph .side em { font-style: normal; color: #e2ff3b; }
.k-steph .say { left: 5cqw; top: 33cqw; font-size: 5.4cqw; font-weight: 500; letter-spacing: -.03em; color: #e2ff3b; display: flex; align-items: center; gap: 1.6cqw; opacity: 0; animation: st-say 8s infinite; }
@keyframes st-say { 0%, 32% { opacity: 0; transform: translateY(1.5cqw); } 38%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.k-steph .say svg { width: 5cqw; flex: none; }
.k-steph .bars { left: 5cqw; right: 5cqw; bottom: 4cqw; height: 3.6cqw; display: flex; gap: 1.4cqw; align-items: flex-end; }
.k-steph .bars i { background: #e2ff3b; height: 100%; transform-origin: bottom; transform: scaleY(.18); animation: st-eq 8s infinite; }
@keyframes st-eq { 0%, 36% { transform: scaleY(.18); } 40% { transform: scaleY(1); } 44% { transform: scaleY(.45); } 48% { transform: scaleY(.9); } 52% { transform: scaleY(.3); } 56% { transform: scaleY(.8); } 60%, 100% { transform: scaleY(.18); } }

/* Coloc : image OG de coloc.lsmdx.com */
.k-coloc { background: radial-gradient(ellipse at 15% 10%, #7FDCC9 0, transparent 60%), linear-gradient(160deg, #72D5C1, #4CCBB6); color: #06281F; font-family: 'Inter', sans-serif; }
.k-coloc .brand { left: 5cqw; top: 4.5cqw; display: flex; align-items: center; gap: 1.4cqw; font-weight: 800; font-size: 4cqw; letter-spacing: -.02em; }
.k-coloc .brand svg { width: 4.4cqw; }
.k-coloc h3 { left: 5cqw; top: 14cqw; width: 64cqw; font-weight: 800; font-size: 6.2cqw; line-height: 1.02; letter-spacing: -.045em; }
.k-coloc .mascot { right: 6cqw; top: 6cqw; width: 22cqw; transform: rotate(-8deg); }
.k-coloc .mascot svg { display: block; width: 100%; animation: co-bob 3.2s ease-in-out infinite; }
@keyframes co-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1cqw); } }
.k-coloc .eyes { transform-origin: 50px 60px; animation: co-blink 4.6s infinite; }
@keyframes co-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.k-coloc .pupils { animation: co-glance 5s ease-in-out infinite; }
@keyframes co-glance { 0%, 30%, 100% { transform: translate(0, 0); } 40%, 60% { transform: translate(4px, 0); } 70%, 90% { transform: translate(-1px, 1px); } }
.k-coloc .draft { right: 5cqw; top: 28.5cqw; background: #fff; border-radius: 1.6cqw; padding: 1.6cqw 2.4cqw 1.6cqw 1.8cqw; box-shadow: 0 1cqw 3cqw rgba(6,40,31,.18); display: flex; align-items: center; gap: 1.4cqw; animation: co-draft 7s cubic-bezier(.2,.7,.1,1) infinite; }
@keyframes co-draft { 0%, 12% { opacity: 0; transform: translateY(2cqw); } 20%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.k-coloc .draft i { width: 3cqw; height: 3cqw; border-radius: 50%; background: #E6E0F5; box-shadow: inset 0 0 0 .8cqw #E6E0F5, inset 0 0 0 3cqw #4E3D84; flex: none; }
.k-coloc .draft span { display: flex; flex-direction: column; }
.k-coloc .draft b { font-size: 3.4cqw; letter-spacing: -.02em; white-space: nowrap; }
.k-coloc .draft small { font-size: 3.2cqw; color: #6B6862; white-space: nowrap; }
.k-coloc .pill { left: 5cqw; bottom: 4cqw; background: #fff; color: #1A7A6A; font-weight: 700; font-size: 3.2cqw; padding: 1.6cqw 3cqw; border-radius: 99px; letter-spacing: -.01em; }

/* Allô Léon */
.k-leon { background: #fff; color: #111; font-family: 'Outfit', sans-serif; box-shadow: inset 0 0 0 1px #ececec; }
.k-leon .brand { left: 5cqw; top: 4.5cqw; display: flex; align-items: center; gap: 1.4cqw; font-weight: 700; font-size: 3.6cqw; }
.k-leon .brand i { width: 4cqw; height: 4cqw; border: .4cqw solid #111; border-radius: 50%; display: grid; place-items: center; }
.k-leon .brand i::after { content: ""; width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #111; }
.k-leon h3 { left: 5cqw; top: 13cqw; width: 60cqw; font-weight: 300; font-size: 6.6cqw; line-height: 1.04; letter-spacing: -.04em; }
.k-leon h3 b { font-weight: 700; background: linear-gradient(#ffd400, #ffd400) 0 88% / 0 24% no-repeat; animation: leon-hl 6s ease-in-out infinite; }
@keyframes leon-hl { 0%, 10% { background-size: 0 24%; } 25%, 100% { background-size: 100% 24%; } }
.k-leon .floor { right: 4cqw; top: 40cqw; width: 30cqw; height: 6cqw; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.1), transparent); }
.k-leon .leon { right: 7cqw; top: 11cqw; width: 25cqw; animation: leon-ring 3s ease-in-out infinite; transform-origin: 50% 85%; }
@keyframes leon-ring { 0%, 55%, 100% { transform: rotate(0); } 60% { transform: rotate(-7deg); } 65% { transform: rotate(6deg); } 70% { transform: rotate(-5deg); } 75% { transform: rotate(3deg); } 80% { transform: translateY(-1cqw); } 88% { transform: translateY(0); } }
.k-leon .sms { right: 3cqw; top: 4cqw; background: #111; color: #fff; font-weight: 700; font-size: 3.2cqw; padding: 1.4cqw 2.2cqw; border-radius: 2.4cqw 2.4cqw .4cqw 2.4cqw; transform-origin: 100% 100%; animation: leon-sms 6s cubic-bezier(.3,1.6,.5,1) infinite; }
@keyframes leon-sms { 0%, 35% { transform: scale(0); } 42%, 90% { transform: scale(1); } 100% { transform: scale(0); } }

/* POF : thème « Abysse » de pof.design (mur bleu nuit à pétales, étagère ardoise, livre blanc au monogramme gonflé) */
.k-pof { background: #0e1b2c; color: #dfe7f2; font-family: 'Bricolage Grotesque', sans-serif; }
.k-pof .wall { inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 4Q36 28 60 32Q36 36 32 60Q28 36 4 32Q28 28 32 4Z' fill='%231d3a5a' fill-opacity='.7'/%3E%3C/svg%3E") 0 0 / 14cqw 14cqw; animation: pof-pan 24s linear infinite; }
@keyframes pof-pan { to { background-position: 14cqw 14cqw; } }
.k-pof .name { z-index: 2; left: 5cqw; top: 9cqw; font-weight: 700; font-size: 8.4cqw; line-height: .96; letter-spacing: -.045em; }
.k-pof .name span { display: block; animation: pof-in 6s cubic-bezier(.2, .8, .2, 1) infinite; }
.k-pof .name span + span { animation-delay: .12s; }
@keyframes pof-in { 0% { opacity: 0; transform: translateY(4cqw); } 10%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-2cqw); } }
.k-pof .bar { z-index: 2; left: 5cqw; top: 29cqw; width: 14cqw; height: .9cqw; background: #00baff; transform-origin: 0 50%; animation: pof-bar 6s ease-in-out infinite; }
@keyframes pof-bar { 0%, 8% { transform: scaleX(0); } 24%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.k-pof .role { z-index: 2; left: 5cqw; top: 32cqw; font-weight: 700; font-size: 4cqw; letter-spacing: .01em; color: #00baff; }
.k-pof .stage { left: 46cqw; right: 0; top: 0; bottom: 0; perspective: 120cqw; perspective-origin: 40% 38%; }
.k-pof .shelf { position: absolute; left: 0; right: 0; bottom: 4.5cqw; height: 3.2cqw; background: linear-gradient(#4a6b96, #2c4a72); box-shadow: 0 1.4cqw 2cqw rgba(0, 0, 0, .45); }
.k-pof .bk { --w: 8cqw; --h: 28cqw; --d: 6cqw; position: absolute; bottom: 7.7cqw; width: var(--w); height: var(--h); transform-style: preserve-3d; }
.k-pof .bk .f { position: absolute; display: block; backface-visibility: hidden; }
.k-pof .bk .front, .k-pof .bk .back { inset: 0; }
.k-pof .bk .front { transform: translateZ(calc(var(--d) / 2)); }
.k-pof .bk .back { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.k-pof .bk .spine, .k-pof .bk .edge { top: 0; height: 100%; width: var(--d); left: calc(50% - var(--d) / 2); }
.k-pof .bk .spine { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.k-pof .bk .edge { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); background: repeating-linear-gradient(0deg, #f1ede4 0 .35cqw, #d8d2c4 .35cqw .5cqw); }
.k-pof .bk .top, .k-pof .bk .bot { left: 0; width: 100%; height: var(--d); top: calc(50% - var(--d) / 2); }
.k-pof .bk .top { transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); background: #cfc9bb; }
.k-pof .bk .bot { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); background: #8a8579; }
.k-pof .b1 { left: 2cqw; --w: 9cqw; --h: 34cqw; --d: 7cqw; animation: pof-sway-a 7s ease-in-out infinite; }
.k-pof .b1 .front, .k-pof .b1 .back { background: #1d5fa6; }
.k-pof .b1 .spine, .k-pof .b1 .top { background: #164a85; }
.k-pof .b1 .bot { background: #0f3560; }
.k-pof .b3 { left: 40cqw; --w: 9cqw; --h: 29cqw; --d: 6.5cqw; animation: pof-sway-a 7s ease-in-out -3.5s infinite; }
.k-pof .b3 .front, .k-pof .b3 .back { background: #00baff; }
.k-pof .b3 .spine, .k-pof .b3 .top { background: #0894cc; }
.k-pof .b3 .bot { background: #066c94; }
.k-pof .b2 { left: 13.5cqw; --w: 22cqw; --h: 38cqw; --d: 5.6cqw; animation: pof-turn 7s ease-in-out infinite; }
.k-pof .b2 .front { background: linear-gradient(135deg, #ecebe6, #d3d0c8); display: grid; place-items: center; }
.k-pof .b2 .back { background: #d3d0c8; }
.k-pof .b2 .spine { background: linear-gradient(90deg, #cfccc3, #e4e1da); }
.k-pof .logo { font-family: 'Bagel Fat One', sans-serif; font-weight: 400; font-size: 10cqw; line-height: 1; letter-spacing: -.01em; color: #44b3de; -webkit-text-stroke: .35cqw #8fd6f0; text-shadow: 0 .6cqw 0 #2a86ad, .3cqw 1.2cqw 1.2cqw rgba(0, 0, 0, .25); transform: translateZ(.8cqw); animation: pof-puff 7s cubic-bezier(.3, 1.6, .5, 1) infinite; }
@keyframes pof-puff { 0%, 4% { transform: translateZ(.8cqw) scale(.5); opacity: 0; } 14%, 100% { transform: translateZ(.8cqw) scale(1); opacity: 1; } }
@keyframes pof-turn { 0%, 100% { transform: translateZ(0) rotateY(-42deg); } 50% { transform: translateZ(5cqw) rotateY(34deg); } }
@keyframes pof-sway-a { 0%, 100% { transform: rotateY(-14deg); } 50% { transform: rotateY(10deg); } }

/* Maille : refonte alignée sur maille.lsmdx.com (carte d'influence, fiche blanche, pastilles jaunes) */
.k-maille { background: #F5F4EF; color: #0E0E0E; font-family: 'Inter Tight', system-ui, sans-serif; }
.k-maille .net { inset: 0; width: 100%; height: 100%; overflow: hidden; }
.k-maille .sp { animation: m-drift 11s ease-in-out infinite; }
.k-maille .s2 { animation-duration: 14s; animation-delay: -4s; }
.k-maille .s3 { animation-duration: 9s; animation-delay: -2s; }
@keyframes m-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-1.6px, 1.6px); } }
.k-maille .ln { stroke-width: .22; stroke-opacity: .7; stroke-dasharray: 1 1.4; animation: m-flow 1.6s linear infinite; }
@keyframes m-flow { to { stroke-dashoffset: -2.4; } }
.k-maille .pk { transform-box: fill-box; transform-origin: center; animation: m-bob 3.4s ease-in-out infinite; }
.k-maille .pk1 { animation-delay: -.8s; } .k-maille .pk2 { animation-delay: -1.6s; } .k-maille .pk3 { animation-delay: -2.4s; }
@keyframes m-bob { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(1.2px, -1.4px) scale(1.25); } }
.k-maille .wm { left: 5cqw; top: 3.6cqw; font-weight: 800; font-size: 5.6cqw; letter-spacing: -.06em; line-height: 1; }
.k-maille .wm i { display: inline-block; width: 1.5cqw; height: 1.5cqw; margin-left: .3cqw; border-radius: 50%; background: #FFD60A; animation: m-dot 3s ease-in-out infinite; }
@keyframes m-dot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.5); } }
.k-maille .tag { left: 24cqw; top: 4.6cqw; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 3.2cqw; color: #6F6B62; line-height: 1; white-space: nowrap; }
.k-maille .fiche { left: 5cqw; top: 13cqw; width: 60cqw; box-sizing: border-box; padding: 3cqw 3.4cqw 3.2cqw; background: #fff; border: 1px solid #0E0E0E; box-shadow: 1.2cqw 1.2cqw 0 #0E0E0E; animation: m-rise 6s cubic-bezier(.2, .8, .2, 1) infinite; }
@keyframes m-rise { 0% { transform: translateY(3cqw); opacity: 0; } 10%, 90% { transform: none; opacity: 1; } 100% { transform: translateY(-1cqw); opacity: 0; } }
.k-maille .lab { display: block; margin-bottom: 2cqw; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 3.2cqw; color: #6F6B62; line-height: 1; letter-spacing: .04em; }
.k-maille h3 { margin: 0; font-weight: 800; font-size: 7.6cqw; line-height: .95; letter-spacing: -.05em; }
.k-maille h3 em { font-style: normal; background: linear-gradient(#FFD60A, #FFD60A) 0 88% / 0% 42% no-repeat; animation: m-mark 6s ease-in-out infinite; }
@keyframes m-mark { 0%, 22% { background-size: 0% 42%; } 46%, 100% { background-size: 100% 42%; } }
.k-maille h3 u { text-decoration: none; color: #FFD60A; display: inline-block; animation: m-dot 3s ease-in-out infinite; }

/* BLE Spammer : l'app telle que dans son README */
.k-ble { background: #fff; color: #000; font-family: 'Roboto', sans-serif; box-shadow: inset 0 0 0 1px #ececec; }
.k-ble .icon { left: 4cqw; top: 4cqw; width: 15cqw; }
.k-ble .icon .arc { animation: ble-arc 1.5s ease-in-out infinite; }
.k-ble .icon .a2 { animation-delay: .2s; }
.k-ble .icon .a3 { animation-delay: .4s; }
@keyframes ble-arc { 0%, 100% { opacity: .15; } 40% { opacity: 1; } }
.k-ble .title { left: 5cqw; top: 21cqw; font-weight: 900; font-size: 7.6cqw; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.k-ble .title span { color: #F9772F; }
.k-ble .stars { left: 5cqw; bottom: 5cqw; font-weight: 700; font-size: 3.4cqw; display: flex; align-items: center; gap: 1.2cqw; }
.k-ble .stars b { background: #F9772F; color: #fff; padding: .6cqw 1.6cqw; }
.k-ble .list { right: 4.5cqw; top: 4.5cqw; display: flex; flex-direction: column; gap: 1.6cqw; align-items: flex-end; }
.k-ble .list small { align-self: flex-start; font-size: 3.2cqw; color: #777; font-weight: 500; margin-bottom: -.6cqw; }
.k-ble .btn { display: flex; align-items: center; gap: 2cqw; background: #fff; padding: 1.6cqw 2.2cqw; font-weight: 700; font-size: 3.2cqw; text-transform: uppercase; box-shadow: 0 0 0 .3cqw #e6e6e6, .4cqw .4cqw 0 .3cqw #d0d0d0; }
.k-ble .btn i { width: 2cqw; height: 2cqw; border-radius: 50%; background: #aaa; animation: ble-on 6s infinite; }
.k-ble .btn:nth-of-type(2) i { animation-delay: 2s; }
.k-ble .btn:nth-of-type(3) i { animation-delay: 4s; }
@keyframes ble-on { 0%, 33.3%, 100% { background: #aaa; box-shadow: none; } 2%, 31% { background: #F9772F; box-shadow: 0 0 0 .8cqw rgba(249,119,47,.25); } }
.k-ble .step { right: 4.5cqw; bottom: 4.5cqw; display: flex; align-items: center; gap: 1.4cqw; font-size: 4cqw; color: #555; }
.k-ble .step b { width: 5.6cqw; height: 5.6cqw; background: #F9772F; color: #fff; display: grid; place-items: center; font-size: 3.6cqw; box-shadow: .3cqw .3cqw 0 rgba(0,0,0,.18); }
.k-ble .step span { font-variant-numeric: tabular-nums; min-width: 9cqw; text-align: center; }
.k-ble .step span::after { content: "20ms"; animation: ble-ms 6s steps(1) infinite; }
@keyframes ble-ms { 0% { content: "20ms"; } 33% { content: "100ms"; } 66% { content: "2000ms"; } }

/* Fiche projet */
.pc-scrim { position: fixed; inset: 0; z-index: 9000; background: rgba(10,10,10,.62); backdrop-filter: blur(6px); overflow-y: auto; padding: 6vh 16px; animation: pc-fade .25s ease; }
@keyframes pc-fade { from { opacity: 0; } }
.pc-sheet { position: relative; margin: 0 auto; width: min(720px, 100%); background: #fff; color: #111; border-radius: 18px; overflow: hidden; animation: pc-up .4s cubic-bezier(.2,.7,.1,1); font-family: 'Inter Tight', sans-serif; }
@keyframes pc-up { from { transform: translateY(28px); opacity: 0; } }
.pc-sheet .pc-card { border-radius: 0; }
.pc-sheet .in { padding: 24px 26px 28px; }
.pc-sheet .in .k { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: #777; }
.pc-sheet .in h3 { font-size: clamp(30px, 6vw, 40px); letter-spacing: -.03em; margin: 6px 0 10px; font-weight: 800; line-height: 1; }
.pc-sheet .in p { font-size: 17px; line-height: 1.55; color: #333; margin: 0 0 18px; }
.pc-sheet .in dl { display: grid; grid-template-columns: 120px 1fr; gap: 8px 14px; font-size: 16px; margin: 0 0 22px; }
.pc-sheet .in dt { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #777; padding-top: 3px; }
.pc-sheet .in dd { margin: 0; }
@media (max-width: 620px) { .pc-sheet .in dl { grid-template-columns: 1fr; gap: 2px; } .pc-sheet .in dd { margin-bottom: 10px; } }
.pc-sheet .in .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pc-sheet .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; padding: 13px 20px; border-radius: 99px; border: 1.5px solid var(--b); background: var(--b); color: var(--f); text-decoration: none; }
.pc-sheet .go.ghost { background: transparent; color: #111; border-color: #111; }
.pc-close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .pc-card *, .pc-card *::before, .pc-card *::after { animation: none !important; }
  .k-cam h3 em { clip-path: none; }
  .k-chef .toast, .k-steph .out, .k-steph .say, .k-coloc .draft { opacity: 1; }
  .k-steph .cmd { width: 8ch; }
  .k-leon h3 b { background-size: 100% 24%; }
  .k-leon .sms { transform: none; }
  .k-pof .wall, .k-pof .name span, .k-pof .bar, .k-pof .b1, .k-pof .b2, .k-pof .b3, .k-pof .logo { animation: none; opacity: 1; transform: none; }
  .k-pof .b2 { transform: rotateY(-24deg); }
  .k-maille .fiche { opacity: 1; transform: none; }
  .k-maille h3 em { background-size: 100% 42%; }
}

/* Tuile de clôture : comble la dernière ligne de la grille, volontairement la plus voyante */
.pc-more { container-type: size; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; padding: clamp(10px, 2.4vw, 28px); min-height: 0; overflow: hidden; background: #FFD60A; color: #0E0E0E; text-decoration: none; font-weight: 900; letter-spacing: -0.045em; line-height: .95; }
.pc-more span { display: block; font-size: clamp(16px, min(13cqw, 26cqh), 84px); }
.pc-more b { align-self: flex-start; display: inline-flex; align-items: center; gap: .35em; background: #0E0E0E; color: #FFD60A; font-size: clamp(11px, min(6cqw, 13cqh), 44px); letter-spacing: 0; padding: .4em .7em; }
.pc-more b i { display: inline-block; font-style: normal; animation: pc-nudge 1.2s ease-in-out infinite; }
@keyframes pc-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(.35em); } }
.pc-more:hover { background: #0E0E0E; color: #FFD60A; }
.pc-more:hover b { background: #FFD60A; color: #0E0E0E; }
.pc-more:focus-visible { outline: 3px solid #0E0E0E; outline-offset: -6px; }
@media (prefers-reduced-motion: reduce) { .pc-more b i { animation: none; } }
