@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,700;12..96,800&family=Inter:wght@500;600;700&display=swap');

.k-helmo { background: #fff; color: #101828; font-family: 'Inter', sans-serif; }

.k-helmo .brand { left: 5cqw; top: 4.5cqw; width: 20cqw; height: auto; }
.k-helmo h3 { left: 5cqw; top: 13cqw; width: 49cqw; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 5.7cqw; line-height: .96; letter-spacing: -.04em; }
.k-helmo .cta { left: 5cqw; bottom: 5.5cqw; background: #0E7C7B; color: #fff; font-weight: 700; font-size: 4cqw; line-height: 1; padding: 2.2cqw 3cqw; border-radius: 1.6cqw; white-space: nowrap; animation: helmo-cta 4s ease-in-out infinite; }
.k-helmo .cta i { display: inline-block; font-style: normal; }
@keyframes helmo-cta { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(1.2cqw); } }

/* panneau de droite : déborde en haut, à droite et en bas */
.k-helmo .panel { left: 56cqw; top: 0; right: 0; bottom: 0; background: #E3F2F1; }
.k-helmo .mark { right: 5cqw; top: 4cqw; width: 11cqw; overflow: visible; animation: helmo-float 4s ease-in-out infinite; }
.k-helmo .sail { transform-box: fill-box; transform-origin: 50% 100%; animation: helmo-sway 4s ease-in-out infinite; }
@keyframes helmo-sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes helmo-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(1cqw); } }

.k-helmo .bar { height: 7cqw; right: 0; border-radius: 1.6cqw 0 0 1.6cqw; background: #0E7C7B; color: #fff; display: flex; align-items: center; padding-left: 3cqw; box-sizing: border-box; transform: translateX(110%); animation: helmo-slide 7s cubic-bezier(.3, 1.35, .5, 1) infinite; }
.k-helmo .b1 { top: 18cqw; width: 42cqw; }
.k-helmo .b2 { top: 26.5cqw; width: 30cqw; background: #dc6803; }
.k-helmo .b3 { top: 35cqw; width: 36cqw; background: #101828; animation-delay: .5s; }
@keyframes helmo-slide {
  0%, 4% { transform: translateX(110%); }
  18%, 88% { transform: translateX(0); }
  100% { transform: translateX(110%); }
}
.k-helmo .bar span { position: absolute; left: 3cqw; font-weight: 700; font-size: 3.4cqw; line-height: 1; white-space: nowrap; }
.k-helmo .b2 .done { opacity: 0; animation: helmo-done 7s infinite; }
.k-helmo .b2 .todo { animation: helmo-todo 7s infinite; }
.k-helmo .b2 { animation: helmo-slide 7s cubic-bezier(.3, 1.35, .5, 1) .25s infinite, helmo-ok 7s linear infinite; }
@keyframes helmo-ok { 0%, 58% { background-color: #dc6803; } 64%, 100% { background-color: #067647; } }
@keyframes helmo-todo { 0%, 58% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes helmo-done { 0%, 60% { opacity: 0; } 66%, 100% { opacity: 1; } }

.k-helmo .toast { right: 5cqw; bottom: 4cqw; width: 40cqw; display: flex; flex-direction: column; gap: 1cqw; background: #fff; color: #101828; padding: 2.2cqw 2.6cqw; border-radius: 2cqw; box-shadow: 0 1.6cqw 4cqw rgba(16, 24, 40, .28); white-space: nowrap; line-height: 1; opacity: 0; transform: translateY(4cqw) scale(.9); animation: helmo-toast 7s cubic-bezier(.3, 1.5, .5, 1) infinite; }
.k-helmo .toast b { font-size: 3.4cqw; font-weight: 700; }
.k-helmo .toast span { font-size: 3.2cqw; color: #067647; font-weight: 600; }
@keyframes helmo-toast {
  0%, 58% { opacity: 0; transform: translateY(4cqw) scale(.9); }
  66%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .k-helmo .mark, .k-helmo .sail, .k-helmo .cta { animation: none; }
  .k-helmo .bar { animation: none; transform: none; }
  .k-helmo .b2 .done { animation: none; opacity: 0; }
  .k-helmo .b2 .todo { animation: none; opacity: 1; }
  .k-helmo .toast { animation: none; opacity: 1; transform: none; }
}
