html {
  scroll-behavior: smooth;
}
.container-p {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .container-p {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container-p {
    padding: 0 2rem;
  }
}

.header-shadow {
  box-shadow: 0 6px 30px rgba(2, 6, 23, 0.06), 0 1px 0 rgba(2, 6, 23, 0.06);
}

/* Marqueur animé (charte) */
.marker {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.marker::before {
  content: "";
  position: absolute;
  left: -0.18em;
  right: -0.18em;
  bottom: 0.12em;
  height: 0.62em;
  border-radius: 0.25em;
  z-index: -1;
  background: #a7f3d0;
  animation: markerHue 5s ease-in-out infinite,
    markerBreath 5s ease-in-out infinite;
}
@keyframes markerHue {
  0% {
    background: #a7f3d0;
  }
  33% {
    background: #bfdbfe;
  }
  66% {
    background: #fde68a;
  }
  100% {
    background: #a7f3d0;
  }
}
@keyframes markerBreath {
  0%,
  100% {
    transform: scaleX(0.98);
  }
  50% {
    transform: scaleX(1.02);
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* KPI */
.kpi .val {
  font-variant-numeric: tabular-nums;
}

.adn {
  position: relative;
  background: url("/static/assets/image_8.webp") center center / cover no-repeat;
  background-attachment: fixed;
}

.adn > * {
  position: relative;
  z-index: 3;
}

/* Timeline */
.tl:before {
  content: "";
  position: absolute;
  inset-inline-start: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(2, 6, 23, 0.08);
}
