:root {
  --vert:        #00873b;
  --blanc:       #ffffff;
  --orange:      #eb6215;
  --vert-fonce:  #1c4832;

  --police: "Figtree", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--vert);
  overflow-x: hidden;
}

body { font-family: var(--police); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.stage {
  position: relative;
  overflow: hidden;
}

#card {
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: visible;
  display: block;
}

#bg { fill: var(--vert); }
#paf { fill: var(--blanc); }

#nums-dark .num   { fill: var(--vert-fonce); }
#nums-orange .num { fill: var(--orange); }

.jet { fill: none; stroke: var(--blanc); stroke-width: 10; }

.message {
  padding: 1.5rem 1.5rem 4rem;
  text-align: center;
}

#message-text {
  margin: 0 auto;
  color: var(--blanc);
  font-weight: 700;
  font-size: clamp(1.4rem, 6.6vw, 3.4rem);
  line-height: 1.15;
}

.ligne { display: block; white-space: nowrap; }

.word { display: inline-block; }

.js .stage { height: 100vh; height: 100svh; }
.js .message {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 1.5rem;
  pointer-events: none;
}

.scroll-hint {
  display: none;
  position: absolute;
  bottom: 1.2rem;
  left: 0; right: 0;
  margin: 0;
  text-align: center;
  color: var(--blanc);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.js .scroll-hint { display: block; }

.fleche {
  display: inline-block;
  animation: rebond 1.4s ease-in-out infinite;
}
@keyframes rebond {
  0%, 100% { transform: translateY(-3px); }
  50%      { transform: translateY(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .js .stage { height: auto; }
  .js .message { position: static; display: block; padding: 1.5rem 1.5rem 4rem; }
  .js .scroll-hint { display: none; }
  .fleche { animation: none; }
}
