@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Nunito:wght@800;900&display=swap");

:root {
  --brique: #963214;
  --expresso: #2a1610;
  --texte: #5b4a42;
  --creme: #fffdf9;
  --peche: #fde9df;
  --jaune: #fff2c9;
  --vert: #1e8e5a;
  --vert-clair: #e3f4ec;
  --rouge: #d64545;
  --rouge-clair: #fde2e2;
  --bleu: #1f6feb;
  --bleu-clair: #e6f0ff;
  --violet: #7c3aed;
  --ombre: 0 14px 40px rgba(150, 50, 20, 0.12);
  --c0: #963214;
  --c1: #e07a3f;
  --c2: #1f6feb;
  --c3: #1e8e5a;
  --c4: #7c3aed;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--expresso);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
}

input {
  font: inherit;
}

.cache {
  display: none !important;
}

/* Décor commun */
.decor {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.decor::before {
  content: "";
  position: absolute;
  width: 62vmax;
  height: 62vmax;
  border-radius: 50%;
  background: var(--peche);
  right: -18vmax;
  top: -24vmax;
}

.decor::after {
  content: "";
  position: absolute;
  width: 26vmax;
  height: 26vmax;
  border-radius: 50%;
  background: var(--jaune);
  left: -9vmax;
  bottom: -11vmax;
}

.pastille {
  display: inline-block;
  background: var(--brique);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 40px;
}

/* Apparitions animées */
@keyframes monter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pop {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  70% {
    transform: scale(1.06);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  50% {
    transform: scale(1.06);
  }
}

.anim {
  opacity: 0;
  animation: monter 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@media (prefers-reduced-motion: reduce) {
  .anim {
    animation-duration: 0.01s;
  }
}

/* Mode sans animation : ajouter ?statique à l'adresse */
.statique .anim,
.statique .foule span,
.statique .mur div,
.statique .nuage span,
.statique .marche {
  opacity: 1 !important;
  animation: none !important;
}
.statique * {
  transition: none !important;
}
.statique .piste i {
  animation: none !important;
}
