/* Raquettes : bloc « Les programmes en cours » relié aux quatre cartes, et sa fenêtre (dev2-programme.js).
   Choix du 13 novembre 2026 : préréglage « Sable et forêt » (fond sable, flèche dans un rond vert forêt),
   554 × 120 px, coins de 35 px ; traits courbes de la couleur de chaque carte ; fenêtre C. */
.pr-on { position: relative; }
.pr-on .af-grid--offer { position: relative; z-index: 1; }
.pr-links { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; overflow: visible; }
.pr-row { position: relative; z-index: 1; margin-top: 70px; }
.pr-bk { --bg: #F2E3C2; --fg: #1C2621; --acc: #1F3F35;
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 554px; max-width: 100%; height: 120px; padding: .8rem 1.1rem .8rem 1rem;
  border: 0; border-radius: 35px; background: var(--bg); color: var(--fg); font: inherit; text-align: center; cursor: pointer; overflow: hidden;
  box-shadow: 0 7px 16px -7px rgba(20, 30, 25, .39); transition: transform .3s ease, box-shadow .3s ease; }
.pr-bk:hover { transform: translateY(-3px); box-shadow: 0 12px 26px -10px rgba(20, 30, 25, .42); }
.pr-bk:focus-visible { outline: 3px solid #F2B544; outline-offset: 4px; }
.pr-bk svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pr-ic, .pr-arr { display: grid; place-content: center; flex: none; width: 52px; height: 52px; border-radius: 50%; }
.pr-ic { color: var(--acc); background: color-mix(in srgb, var(--acc) 18%, transparent); }
.pr-arr { background: var(--acc); color: var(--bg); transition: background .3s ease; }
.pr-arr svg { stroke-width: 2.2; animation: pr-nudge 2.6s ease-in-out infinite; }
.pr-bk:hover .pr-arr svg { animation: none; transform: translateX(5px); transition: transform .3s ease; }
@keyframes pr-nudge { 0%, 55%, 100% { transform: translateX(0); } 25% { transform: translateX(5px); } 40% { transform: translateX(1px); } }
.pr-t { flex: 1; min-width: 0; font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.1; text-wrap: balance; }
.pr-band { display: none; position: absolute; left: 0; right: 0; top: 0; height: 6px; }
.pr-band i { flex: 1; }
/* téléphone (cartes l'une sous l'autre) : le bloc en pleine largeur après la carte Juniors, la bande aux 4 couleurs en haut */
.pr-stacked .pr-links { display: none; }
.pr-stacked .pr-row { margin: 0; }
.pr-stacked .pr-bk { width: 100%; height: auto; min-height: 5.5rem; padding: 1.2rem 1rem 1rem; border-radius: 22px; }
.pr-stacked .pr-band { display: flex; }
.pr-stacked .pr-t { font-size: 1.35rem; }
.pr-stacked .pr-ic, .pr-stacked .pr-arr { width: 44px; height: 44px; }
@media (prefers-reduced-motion: reduce) { .pr-arr svg { animation: none; } .pr-bk { transition: none; } }

/* ---------- la fenêtre ---------- */
.pr-dlg { width: min(54rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: 22px; background: transparent; overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.pr-dlg::backdrop { background: rgba(15, 25, 20, .6); backdrop-filter: blur(3px); }
.pr-dlg[open] { animation: pr-in .35s ease both; }
@keyframes pr-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (max-width: 640px) { .pr-dlg { width: 100%; max-width: none; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 94dvh; } .pr-dlg[open] { animation-name: pr-up; } }
@keyframes pr-up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .pr-dlg[open] { animation: none; } }
.pr-w { --p: #FBF7EF; --gold: #F2B544; --muted: #55605A; background: var(--p); color: #1C2621; container-type: inline-size; }
.pr-w svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pr-w-hd { position: relative; height: clamp(8rem, 26cqi, 13rem); }
.pr-w-hd img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pr-w-rg { position: absolute; left: -1px; bottom: -2px; width: calc(100% + 2px) !important; height: 36% !important; stroke: none !important; }
.pr-w-rg polygon { fill: var(--p); }
.pr-x { position: absolute; top: .8rem; right: .8rem; padding: .3rem; border: 0; background: none; color: #fff; cursor: pointer; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .7)); }
.pr-x svg { width: 26px; height: 26px; stroke-width: 2.4; }
.pr-x:focus-visible { outline: 3px solid var(--gold); }
.pr-in { position: relative; margin-top: -.3rem; padding: 0 clamp(1rem, 4cqi, 1.8rem) 1rem; }
.pr-kick { display: flex; align-items: center; gap: .4rem; margin: 0; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #B07A10; }
.pr-kick svg { width: 14px; height: 14px; }
.pr-in h3 { margin: .2rem 0 .6rem; font-family: var(--display); font-size: clamp(1.45rem, 5cqi, 2rem); line-height: 1.05; color: inherit; }
.pr-legend { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin: 0 0 .8rem; }
.pr-act { display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; font-weight: 700; color: var(--a); }
.pr-act i { width: .62rem; height: .62rem; border-radius: 50%; background: var(--a); }
.pr-sun { display: grid; place-content: center; flex: none; width: 2.5rem; aspect-ratio: 1; border-radius: 50%; background: var(--gold); color: #3A2600; text-align: center; line-height: 1; }
.pr-sun small { font-size: .42rem; font-weight: 800; text-transform: uppercase; }
.pr-sun b { font-family: var(--display); font-size: .95rem; }
.pr-pl { display: inline-block; padding: .18rem .55rem; border-radius: 999px; background: #EDE6D8; font-size: .68rem; font-weight: 700; white-space: nowrap; }
.pr-pl.is-few { background: var(--gold); color: #3A2600; }
.pr-pl.is-full { background: none; border: 2px solid #C0563A; color: #C0563A; letter-spacing: .12em; text-transform: uppercase; rotate: -4deg; }
.pr-pr { display: inline-flex; align-items: baseline; gap: .3rem; white-space: nowrap; } .pr-pr b { font-family: var(--display); font-size: 1.1rem; } .pr-pr small { font-size: .68rem; color: var(--muted); }
.pr-lieu { display: flex; align-items: center; gap: .3rem; margin: .1rem 0 0; font-size: .76rem; color: var(--muted); }
.pr-lieu svg { width: 12px; height: 12px; }
/* une sortie : proposition 1 retenue le 18 novembre 2026 (accroche, descriptif sur 3 lignes + « Lire la suite », lieu et horaires avec icône) */
.pr-top { display: flex; justify-content: space-between; align-items: baseline; gap: .8rem; }
.pr-res { margin: .15rem 0 0; font-size: .86rem; font-style: italic; line-height: 1.4; color: #3B4640; }
.pr-desc { margin: .45rem 0 0; font-size: .82rem; line-height: 1.5; color: #3B4640; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pr-desc.is-open { display: block; }
.pr-more { margin: .2rem 0 0; padding: .2rem 0; border: 0; background: none; font: inherit; font-size: .76rem; font-weight: 700; color: #1F3F35; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pr-inf { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; margin: .55rem 0 0; font-size: .76rem; color: var(--muted); }
.pr-inf > span:not(.pr-pl) { display: inline-flex; align-items: center; gap: .3rem; }
.pr-inf svg { width: 13px; height: 13px; }
.pr-inf .pr-pl { color: #1C2621; }
/* téléphone : la fiche de la sortie touchée, sous les deux mois */
.pr-mf { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .7rem; align-items: start; margin: .3rem 0 .4rem; padding: .8rem .8rem .9rem; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px -12px rgba(20, 30, 25, .45); }
.pr-mf h4 { margin: .1rem 0 0; font-family: var(--display); font-size: 1.05rem; line-height: 1.15; }
.pr-mres { grid-column: 1 / -1; font-size: .62rem; line-height: 1.3; color: #3B4640; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* calendrier */
.pr-mc p { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; margin: 0 0 .3rem; font-family: var(--display); font-weight: 700; color: #B07A10; }
.pr-mc p small { font-family: var(--body); font-weight: 600; font-size: .68rem; color: var(--muted); }
.pr-mg { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: .66rem; }
.pr-mg em { font-style: normal; font-weight: 700; color: var(--muted); font-size: .58rem; }
.pr-mg span, .pr-mg .pr-dd { display: grid; place-content: center; aspect-ratio: 1; border-radius: 50%; color: #8A8F86; }
.pr-mg .pr-dd { padding: 0; border: 0; background: var(--a); color: #fff; font: 700 .66rem var(--body); cursor: pointer; transition: transform .2s; }
.pr-mg .pr-dd:hover, .pr-mg .pr-dd.is-on { transform: scale(1.12); }
.pr-mg .pr-dd.is-on { box-shadow: 0 0 0 3px var(--gold); }
.pr-mg .pr-dd.is-full { background: repeating-linear-gradient(135deg, var(--a) 0 4px, color-mix(in srgb, var(--a) 55%, #fff) 4px 8px); }
.pr-mg .pr-dd:focus-visible { outline: 2px solid #1C2621; outline-offset: 2px; }
/* ordinateur : calendriers à gauche, toutes les sorties à droite */
.pr-duo { display: grid; grid-template-columns: 15.5rem minmax(0, 1fr); gap: 2rem; align-items: start; }
.pr-cals { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.pr-lst { position: relative; max-height: 32rem; overflow-y: auto; padding-right: .4rem; overscroll-behavior: contain; }
.pr-month { margin: .5rem 0 .2rem; font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: #B07A10; }
.pr-month:first-child { margin-top: 0; }
.pr-lo { list-style: none; margin: 0; padding: 0; }
.pr-r { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; align-items: start; padding: .9rem .5rem; border-radius: 12px; border-top: 1px solid #ECE4D6; cursor: pointer; transition: background .2s; }
.pr-r:hover, .pr-r.is-on { background: #fff; } .pr-r.is-on { box-shadow: inset 4px 0 0 var(--gold); }
.pr-r h4 { margin: .1rem 0 0; font-family: var(--display); font-size: 1.15rem; line-height: 1.15; color: inherit; }
.pr-r-e { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; }
.pr-r.is-full > * { opacity: .6; } .pr-r.is-full .pr-pl { opacity: 1; }
/* téléphone : deux mois à la fois, le calendrier à gauche et les sorties du mois à droite */
.pr-mob { display: none; }
@container (max-width: 680px) {
  .pr-duo { display: none; }
  .pr-mob { display: block; }
  .pr-w-hd { height: 6.5rem; }
  .pr-in h3 { font-size: 1.45rem; margin-bottom: .5rem; }
  .pr-legend { gap: .2rem .8rem; margin-bottom: .5rem; } .pr-legend .pr-act { font-size: .64rem; }
}
.pr-mp-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: .4rem; }
.pr-mp-h p { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: #B07A10; }
.pr-mp-nav { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #E3DACB; background: #fff; font-size: 1.3rem; line-height: 1; color: #1C2621; cursor: pointer; }
.pr-mp-nav:disabled { opacity: .3; cursor: default; }
.pr-mm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .7rem; align-items: start; padding: .55rem 0; border-top: 1px solid #ECE4D6; }
.pr-mm .pr-mc p { margin-bottom: .15rem; font-size: .9rem; } .pr-mm .pr-mc p small { font-size: .6rem; }
.pr-mm .pr-mg { gap: 1px; font-size: .6rem; } .pr-mm .pr-mg em { font-size: .5rem; } .pr-mm .pr-mg .pr-dd { font-size: .6rem; }
.pr-mml { position: relative; list-style: none; margin: 1.35rem 0 0; padding: 0; display: grid; gap: .3rem; max-height: 10.5rem; overflow-y: auto; }
.pr-mr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 .35rem; align-items: baseline; padding: .3rem .4rem .35rem .5rem; border-radius: 8px; background: #fff; border-left: 4px solid var(--a); font-size: .7rem; line-height: 1.25; cursor: pointer; }
.pr-mr b { font-size: .68rem; white-space: nowrap; }
.pr-mr span { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-mr small { grid-column: 1 / -1; font-size: .6rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-mr .pr-pl { grid-column: 1 / -1; justify-self: start; margin-top: .15rem; padding: .08rem .4rem; font-size: .58rem; }
.pr-mr .pr-pl.is-full { rotate: 0deg; border-width: 1.5px; }
.pr-mr.is-on { box-shadow: 0 0 0 2px var(--gold); }
.pr-mr.is-full > :not(.pr-pl) { opacity: .55; }
.pr-mr--none { display: block; border-left-color: #E3DACB; color: var(--muted); cursor: default; }
.pr-call { margin: 0 clamp(1rem, 4cqi, 1.8rem); padding: .8rem 0 1.2rem; border-top: 1px solid #E6DECF; text-align: right; }
.pr-call a { display: inline-flex; align-items: center; gap: .4rem; color: #2E5B4B; font-size: .84rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pr-call svg { width: 13px; height: 13px; }
/* légende : pastilles pleines de la couleur de l'activité, sans rond blanc ; un clic masque ou réaffiche l'activité */
.pr-chip { padding: .38rem .85rem; border: 0; border-radius: 999px; background: var(--a); color: #fff; font: 700 .76rem var(--body); cursor: pointer; transition: opacity .2s, transform .2s; }
.pr-chip:hover { transform: translateY(-1px); }
.pr-chip[aria-pressed=false] { opacity: .35; }
.pr-chip:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.pr-mg .pr-dd.is-off { opacity: .12; pointer-events: none; }
.pr-r.is-off, .pr-mr.is-off { display: none; }
@container (max-width: 680px) { .pr-chip { padding: .3rem .65rem; font-size: .66rem; } }
/* ordinateur : le bloc et la barre « N'hésitez pas » côte à côte, centrés ensemble (13 novembre 2026) ;
   le bloc garde sa taille (554 × 120), la barre se fait courte : le numéro devient un rond avec l'icône téléphone */
.pr-row--qb { display: flex; align-items: center; justify-content: center; gap: 1.25rem; }
.pr-row--qb .pr-bk { flex: none; }
.pr-row--qb .qb { flex: none; flex-wrap: nowrap; margin: 0; gap: .75rem; padding: .5rem .5rem .5rem .55rem; }
.pr-row--qb .qb img { width: 46px; height: 46px; }
.pr-row--qb .qb-t { white-space: nowrap; }
.pr-row--qb .qb .qb-tel { display: grid; place-content: center; width: 50px; height: 50px; min-height: 0; padding: 0; border-radius: 50%; font-size: 0; gap: 0; }
.pr-row--qb .qb .qb-tel svg { width: 20px; height: 20px; margin: 0; }
/* écrans moyens (zoom) : la phrase passe sur deux lignes, sans le portrait */
@media (max-width: 1500px) {
  .pr-row--qb .qb img { display: none; }
  .pr-row--qb .qb-t { white-space: normal; max-width: 11.5rem; line-height: 1.2; padding-left: .6rem; }
}
/* sans date programmée : la phrase de Caroline */
.pr-empty { max-width: 36rem; margin: .2rem 0 1rem; font-size: 1.02rem; line-height: 1.6; color: #3B4640; }

/* téléphone : la barre « Les programmes en cours » en tête de la liste des cartes (version V2 choisie le 14 novembre 2026) */
@media (max-width: 760px) {
  .af-grid--offer .pr-row { order: -1; margin: 0 0 .3rem; }
  .af-grid--offer .pr-t { text-align: left; }
}
