@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;800;900&display=swap');

.k-frigos { background: #fff; color: #222; font-family: 'Montserrat', sans-serif; }

/* Frigo : l'illustration du site, les étagères sont masquées par une vitre vide qui se lève étage par étage. */
.k-frigos .scene { left: 5cqw; top: 3.4cqw; height: 46cqw; aspect-ratio: 400 / 586; }
.k-frigos .fridge { position: absolute; inset: 0; width: 100%; height: 100%; }
.k-frigos .shelf { position: absolute; left: 51.6%; width: 43%; background: linear-gradient(135deg, #e5e5e5 30%, #f4f4f4); opacity: 1; }
.k-frigos .s-top { top: 22%; height: 19.6%; border-radius: 1.6cqw 1.6cqw 0 0; animation: frigos-top 6s infinite; }
.k-frigos .s-mid { top: 41.4%; height: 14.8%; animation: frigos-mid 6s infinite; }
.k-frigos .s-bot { top: 56.2%; height: 17.4%; border-radius: 0 0 1.6cqw 1.6cqw; animation: frigos-bot 6s infinite; }

.k-frigos .logo { left: 40cqw; top: 3.4cqw; width: 6.8cqw; }
.k-frigos .tag { left: 48.6cqw; top: 4.1cqw; font-size: 3.2cqw; line-height: 1.2; font-weight: 600; color: #53B9C9; letter-spacing: -.01em; white-space: nowrap; }

.k-frigos h3 { left: 40cqw; top: 12cqw; font-size: 5.8cqw; line-height: 1.08; font-weight: 800; letter-spacing: -.045em; color: #222; white-space: nowrap; }
.k-frigos .spark { left: 71.6cqw; top: 12.4cqw; width: 4.8cqw; transform-origin: 20% 80%; animation: frigos-spark 6s infinite; }

.k-frigos .hls { left: 40cqw; top: 25.5cqw; display: flex; flex-direction: column; align-items: flex-start; gap: .8cqw; }
.k-frigos .hl { position: relative; display: inline-block; padding: .5cqw 1.8cqw .7cqw; font-size: 5.8cqw; font-weight: 900; line-height: 1.12; letter-spacing: -.03em; color: #fff; background: #FF1A1A; border-radius: 1.2cqw; clip-path: inset(0 0 0 0 round 1.2cqw); }
.k-frigos .h1 { animation: frigos-hl1 6s infinite; }
.k-frigos .h2 { animation: frigos-hl2 6s infinite; }

.k-frigos .btn { left: 40cqw; top: 43.6cqw; background: #53B9C9; color: #fff; font-size: 3.4cqw; font-weight: 800; padding: 1.5cqw 2.6cqw; border-radius: 4cqw; line-height: 1.1; white-space: nowrap; }

/* Repère de carte : fond de plan turquoise clair, repère rouge qui pulse. */
.k-frigos .map { right: 4cqw; top: 43cqw; width: 17cqw; height: 8.4cqw; background: #e3f4f7; border-radius: 1.2cqw; overflow: hidden; }
.k-frigos .road { position: absolute; background: #fff; }
.k-frigos .r1 { left: 0; right: 0; top: 3.2cqw; height: 1cqw; transform: rotate(-8deg); }
.k-frigos .r2 { top: 0; bottom: 0; left: 5.4cqw; width: .9cqw; transform: rotate(10deg); }
.k-frigos .r3 { top: 0; bottom: 0; left: 12cqw; width: .7cqw; }
.k-frigos .pin { position: absolute; left: 9.4cqw; top: 3.2cqw; width: 2cqw; height: 2cqw; }
.k-frigos .dot { position: absolute; inset: 0; background: #FF1A1A; border-radius: 50%; border: .3cqw solid #fff; box-sizing: border-box; }
.k-frigos .ring { position: absolute; inset: -.2cqw; border-radius: 50%; background: #FF1A1A; opacity: 0; animation: frigos-pulse 2s ease-out infinite; }

@keyframes frigos-bot { 0%, 10% { opacity: 1; } 20%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes frigos-mid { 0%, 20% { opacity: 1; } 30%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes frigos-top { 0%, 30% { opacity: 1; } 40%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes frigos-hl1 { 0%, 8% { clip-path: inset(0 100% 0 0 round 1.2cqw); } 26%, 92% { clip-path: inset(0 0 0 0 round 1.2cqw); } 100% { clip-path: inset(0 0 0 100% round 1.2cqw); } }
@keyframes frigos-hl2 { 0%, 24% { clip-path: inset(0 100% 0 0 round 1.2cqw); } 46%, 92% { clip-path: inset(0 0 0 0 round 1.2cqw); } 100% { clip-path: inset(0 0 0 100% round 1.2cqw); } }
@keyframes frigos-spark { 0%, 46% { opacity: 0; transform: scale(.4); } 54% { opacity: 1; transform: scale(1.12); } 60%, 92% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1); } }
@keyframes frigos-pulse { 0% { opacity: .55; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(3.4); } }

@media (prefers-reduced-motion: reduce) {
  .k-frigos .shelf { opacity: 0; animation: none; }
  .k-frigos .hl { clip-path: none; animation: none; }
  .k-frigos .spark { left: 71.6cqw; top: 12.4cqw; width: 4.8cqw; transform-origin: 20% 80%; animation: frigos-spark 6s infinite; }
  .k-frigos .ring { opacity: .3; transform: scale(2.2); animation: none; }
}
