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;
  }
}

/* Input focus */
.field {
  outline: none;
}
.field:focus {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.45);
}

/* Toast */
.toast {
  position: fixed;
  inset-inline: 0;
  top: 1rem;
  margin-inline: auto;
  width: fit-content;
  z-index: 60;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.toast.show {
  transform: none;
  opacity: 1;
}

/* Accordion */
.acc-item[open] .acc-chevron {
  transform: rotate(180deg);
}

/* Map wrapper */
.map-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}
.map-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
}

/* contact */

.phone-number {
  display: flex;
  flex-direction: column;
}
