/* Uto'Pistes / Agenda / Pistou — lot 3 : feuillage aquarelle et accents courbes du cadre orange.
   Uniquement le composant de l'agenda, sans impact sur les filtres ou le calendrier.
   Les propriétés de positionnement de Pistou sont conservées du lot 1. */
.agenda-page .agenda-hero-calendar {
  width: min(100%, 430px);
  aspect-ratio: 1.08;
  overflow: visible;
  isolation: isolate;
  transform: rotate(0deg);
  padding: clamp(1.6rem, 3vw, 2.5rem);
}
/* Remonte le trait pointillé : il sert de repère graphique, pas de séparation du titre. */
.agenda-page .agenda-hero-calendar::before {
  content: none; /* supprime le trait pointillé rigide au-dessus du titre */
}
/* Titre à deux lignes, légèrement incliné comme sur la simulation validée. */
.agenda-page .agenda-hero-calendar > p {
  position: relative;
  z-index: 2;
  margin: 11% 0 0 1%;
  width: 85%;
  color: var(--forest-dark, #173a32);
  font-size: clamp(2.35rem, 3.65vw, 3.7rem);
  line-height: .9;
  letter-spacing: -.045em;
  transform: rotate(-5deg);
  transform-origin: 20% 55%;
}
.agenda-page .agenda-hero-calendar > p strong {
  display: inline-block;
  margin-left: 9%;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -.04em;
  transform: rotate(2deg);
}
/* Phrase de signature douce à gauche, décalée du visage de Pistou. */
.agenda-page .agenda-pistou-slogan {
  position: absolute;
  left: 11%;
  bottom: 22%;
  z-index: 2;
  max-width: 52%;
  color: #173a32;
  font-family: var(--serif, Georgia, serif);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.32rem);
  line-height: 1.2;
  transform: rotate(-7deg);
}
/* Branche peinte à l'aquarelle, issue de la même famille graphique que Pistou. */
.agenda-page .agenda-pistou-branch {
  position: absolute;
  z-index: 2;
  left: 4%;
  bottom: 3%;
  width: 36%;
  height: auto;
  transform: rotate(-3deg);
  pointer-events: none;
}
/* Quatre accents à courbes souples, juste au-dessus du mot « agendas ! ». */
.agenda-page .agenda-pistou-sparks {
  position: absolute;
  z-index: 2;
  right: 20%;
  top: 17%;
  width: 19%;
  height: auto;
  color: #173a32;
  transform: rotate(-7deg);
  pointer-events: none;
}
.agenda-page .agenda-pistou-illustration {
  display: block;
  position: absolute;
  z-index: 3;
  width: 67%;
  max-width: none;
  height: auto;
  right: -17%;
  bottom: -12%;
  pointer-events: none;
  filter: drop-shadow(0 4px 2px rgba(23,58,50,.08));
}
@media (max-width: 1050px) {
  .agenda-page .agenda-pistou-illustration { right: -8%; bottom: -7%; width: 61%; }
  .agenda-page .agenda-pistou-slogan { bottom: 18%; }
  .agenda-page .agenda-pistou-sparks { right: 17%; top: 18%; }
}
@media (max-width: 640px) {
  .agenda-page .agenda-hero-calendar {
    width: min(86%, 360px);
    margin: 1rem auto 2rem;
    padding: 1.45rem;
  }
  .agenda-page .agenda-hero-calendar > p {
    font-size: clamp(2.1rem, 8.7vw, 3rem);
    margin-top: 11%;
  }
  .agenda-page .agenda-pistou-illustration { width: 63%; right: -12%; bottom: -8%; }
  .agenda-page .agenda-pistou-slogan { font-size: clamp(.9rem, 3.6vw, 1.15rem); bottom: 19%; max-width: 50%; }
  .agenda-page .agenda-pistou-branch { width: 34%; left: 5%; bottom: 4%; }
  .agenda-page .agenda-pistou-sparks { right: 18%; top: 18%; width: 17%; }
}
