/* ─────────── Palette + tokens ─────────── */
:root {
  --pal-soft:   #ffb4cb;
  --pal-mid:    #ffd5e3;
  --pal-pale:   #ffeaef;
  --pal-deep:   #e02f74;
  --pal-accent: #ff77a1;

  --ink:        #2b1a36;
  --ink-soft:   #3a2540;
  --muted:      #7a6280;
  --muted-2:    #5a4660;
  --placeholder:#bcaac8;

  --title-font: 'Caveat', cursive;
  --body-font:  'Quicksand', 'Plus Jakarta Sans', sans-serif;
  --ui-font:    'Fredoka', sans-serif;

  --title-scale: 1.25; /* multiplicateur global — compensé selon la police */
  --body-size:   15px; /* taille de base du corps de texte (configurable via admin) */

  /* ─── 4 niveaux de titres (toutes les tailles sont multipliées par --title-scale) ─── */
  --title-xl: 120px;   /* display — "Tu viens ?" */
  --title-lg:  80px;   /* h2 de section — "Les infos", "Le programme", "FAQ" */
  --title-md:  44px;   /* hero date, cadeau, mot d'Ida, countdown */
  --title-sm:  36px;   /* sous-sections — "Déjà inscrits", "Playlist", footer */

  --content-max: 1100px;
  --content-max-wide: 1200px;

  --shadow-soft: 0 10px 22px rgba(0,0,0,0.08);
  --shadow-cta:  0 12px 28px rgba(224,47,116,0.32), inset 0 1px 0 rgba(255,255,255,.4);
}

/* ─── Mobile : tailles de titres réduites proportionnellement ─── */
@media (max-width: 759px) {
  :root {
    --title-xl: 56px;
    --title-lg: 48px;
    --title-md: 28px;
    --title-sm: 24px;
  }
}

/* ─────────── Reset / base ─────────── */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--body-font);
  font-size: var(--body-size);
  line-height: 1.5;
  color: var(--ink);
  background: linear-gradient(180deg, var(--pal-soft) 0%, var(--pal-mid) 25%, var(--pal-pale) 60%, #fdfaff 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ─────────── Animations ─────────── */
@keyframes floatY  { 0%,100%{ transform: translateY(0) } 50% { transform: translateY(-14px) } }
@keyframes floatY2 { 0%,100%{ transform: translateY(0) } 50% { transform: translateY(-22px) } }
@keyframes wiggle  { 0%,100% { transform: rotate(-3deg) } 50% { transform: rotate(3deg) } }
@keyframes pop     { 0% { transform: scale(0.985) } 50% { transform: scale(1.015) } 100% { transform: scale(0.985) } }
@keyframes driftX  {
  0%,100% { transform: translateX(calc(var(--cloud-drift-amplitude, 28px) * -1)) }
  50%     { transform: translateX(var(--cloud-drift-amplitude, 28px)) }
}
@keyframes peek-in {
  0%   { opacity: 0; transform: translateY(34px) scale(0.65) rotate(-8deg); }
  60%  { opacity: 1; transform: translateY(-4px) scale(1.04) rotate(2deg); }
  100% { opacity: 1; transform: translateY(0)   scale(1)    rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ─────────── Sections sit above cloud strips ─────────── */
.page > section { position: relative; z-index: 2; }

/* ─────────── Vague 2 · Fade-in des sections au scroll ─────────── */
/* Activé uniquement quand body.ida-fadein est présent (toggle admin). */
body.ida-fadein .page > section {
  opacity: 0;
  transform: translateY(var(--fadein-offset, 24px));
  transition:
    opacity   var(--fadein-duration, 0.7s) cubic-bezier(.22,.61,.36,1),
    transform var(--fadein-duration, 0.7s) cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
body.ida-fadein .page > section.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Le hero reste visible d'office (au-dessus du fold) */
body.ida-fadein .page > section.hero {
  opacity: 1;
  transform: none;
}

/* ─────────── Vague 2 · Gradient ciel évolutif ─────────── */
/* Une couche fixed pleine page, opacité = progression scroll × intensité.
   Mode multiplier pour conserver les fonds parallax fd1..fd4. */
body.ida-sky::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    var(--sky-top, #b9e0ff) 0%,
    var(--sky-bottom, #ffd6b0) 100%);
  opacity: calc(var(--sky-progress, 0) * var(--sky-intensity, 0.45));
  mix-blend-mode: multiply;
  transition: opacity .3s linear;
}

/* ─────────── Vague 2 · Confettis ambient ─────────── */
/* Conteneur ajouté en JS si anim_confetti_enable=1. z-index 1 = derrière les
   sections (z 2) mais devant le fond et le ciel. pointer-events: none pour
   ne pas bloquer les clics. */
.ida-confetti {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.ida-confetti__particle {
  position: absolute;
  top: -10vh;
  opacity: 0;
  animation-name: ida-confetti-fall;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  will-change: transform, opacity;
}
.ida-confetti__particle svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.10));
  animation: ida-confetti-sway var(--sway-dur, 4s) ease-in-out infinite;
}
@keyframes ida-confetti-fall {
  0%   { transform: translateY(-15vh) rotate(0deg);                            opacity: 0; }
  8%   {                                                                       opacity: var(--opacity-max, 0.7); }
  88%  {                                                                       opacity: var(--opacity-max, 0.7); }
  100% { transform: translateY(115vh) rotate(var(--end-rot, 360deg));          opacity: 0; }
}
@keyframes ida-confetti-sway {
  0%, 100% { transform: translateX(-8px); }
  50%      { transform: translateX(8px); }
}

/* ─────────── Fond parallax multi-strates ─────────── */
.bg-parallax {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transform: translateZ(0);
}
.bg-layer {
  position: absolute;
  left: 0;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
/* Mobile : strates élargies hors-cadre pour donner plus d'amplitude au
   parallax — l'image dépasse de chaque côté, et la translation verticale
   ne révèle plus le fond uni. */
@media (max-width: 759px) {
  .bg-layer {
    left: -20%;
    width: 140%;
  }
}
.bg-layer--fd1 {
  top: 0;
  aspect-ratio: 4000 / 1183;
  background-image: url('../assets/fd1.png');
}
.bg-layer--fd2 {
  top: 12vw;
  aspect-ratio: 4000 / 1184;
  background-image: url('../assets/fd2.png');
}
.bg-layer--fd3 {
  top: 22vw;
  aspect-ratio: 4000 / 1168;
  background-image: url('../assets/fd3.png');
}
.bg-layer--fd4 {
  top: 36vw;
  aspect-ratio: 4000 / 2580;
  background-image: url('../assets/fd4.png');
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 15%, #000 70%, transparent 100%);
}
@media (prefers-reduced-motion: reduce) {
  .bg-layer { transform: translate3d(0, 0, 0) !important; }
}


/* ─────────── Buttons ─────────── */
.btn {
  display: inline-block;
  background: linear-gradient(180deg, var(--pal-accent), var(--pal-deep));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-family: var(--ui-font);
  font-weight: 600;
  font-size: 1.067em;
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--small { padding: 10px 22px; font-size: 0.933em; }
.btn--ghost {
  background: rgba(255,255,255,0.85);
  color: var(--pal-deep);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.btn--block { display: block; width: 100%; text-align: center; }
.btn--big { font-size: 1.2em; padding: 18px; }

/* ─────────── Floating block (glass) ─────────── */
.float {
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 28px;
  padding: 20px;
}
.float--mid { background: rgba(255,255,255,0.55); padding: 24px; border-radius: 32px; }
.float--strong { background: rgba(255,255,255,0.6); padding: 22px; }
.float--faq { background: rgba(255,255,255,0.85); padding: 14px 18px; border-radius: 18px; box-shadow: 0 6px 24px rgba(91,40,80,0.06); }
@media (min-width: 760px) {
  .float--faq { padding: 20px 26px; border-radius: 22px; }
}

/* ─────────── Titres unifiés (4 niveaux sémantiques) ───────────
   Tous les titres du site partagent la même classe de base `.s-title`.
   Le niveau de taille est choisi via un modifier :
     .s-title          → lg (défaut)   — section h2
     .s-title--xl      → xl (display)  — "Tu viens ?"
     .s-title--md      → md            — hero date, mot d'Ida, cadeau, countdown
     .s-title--sm      → sm            — sous-section, footer
   Les sizes mobile/desktop sont gérées au niveau des variables `--title-*`.
─────────────────────────────────────────────────────────────── */
.s-title {
  text-align: center;
  font-family: var(--title-font);
  font-size: calc(var(--title-lg) * var(--title-scale));
  line-height: .95;
  color: var(--pal-deep);
  margin: 0;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 4px 22px rgba(255,255,255,0.5);
}
.s-title--xl  { font-size: calc(var(--title-xl) * var(--title-scale)); }
.s-title--md  { font-size: calc(var(--title-md) * var(--title-scale)); }
.s-title--sm  { font-size: calc(var(--title-sm) * var(--title-scale)); }
.s-title.s-title--left, .s-title.s-title--left h2 { text-align: left; }
.s-sub {
  text-align: center;
  font-family: var(--title-font);
  font-weight: 600;
  font-size: 22px;
  color: var(--muted);
  margin-top: 8px;
}
@media (min-width: 760px) {
  .s-sub { font-size: 24px; }
}

/* ─────────── Cloud strip + scattered clouds ─────────── */
.strip {
  position: relative;
  width: 100%;
  pointer-events: none;
  margin-top: -60px;
  margin-bottom: -60px;
  z-index: 0;
  overflow: visible;
}
.strip--light  { height: 220px; }
.strip--medium { height: 280px; }
.strip--dense  { height: 340px; }
/* Wrapper qui porte la position + l'animation de dérive horizontale.
   L'img enfant porte la taille/opacité + l'animation floatY.
   Les 2 animations ne se collident pas car elles s'appliquent à 2 éléments
   distincts (chacun gère son propre `transform`). */
.strip__cloud {
  position: absolute;
  left: var(--l, auto);
  right: var(--r, auto);
  top: var(--t, 0);
  animation: driftX calc(var(--drift-dur, 60s) * var(--cloud-drift-speed-mult, 1)) ease-in-out infinite;
  animation-direction: var(--drift-dir, normal);
  will-change: transform;
}
.strip__cloud img,
.strip img {
  display: block;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.10));
  width: calc(var(--w, 400px) * var(--cloud-size-mult, 1));
  opacity: var(--o, 1);
  animation: floatY var(--dur, 11s) ease-in-out var(--delay, 0s) infinite;
}
.cloud-bg {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 14px 24px rgba(0,0,0,0.08));
  animation: floatY var(--dur, 10s) ease-in-out var(--delay, 0s) infinite;
}

/* ─────────── Ballons ambient (répartis sur toute la page) ─────────── */
/* Conteneur en position absolute sur .page, qui s'étend sur toute la hauteur
   du document. Les ballons sont positionnés en top%/left% à l'intérieur. */
.page { position: relative; }
.ida-balloons {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.ida-balloon {
  position: absolute;
  /* top + left injectés inline */
  animation: driftX calc(var(--drift-dur, 60s) * var(--cloud-drift-speed-mult, 1)) ease-in-out infinite;
  animation-direction: var(--drift-dir, normal);
  will-change: transform;
}
.ida-balloon img {
  display: block;
  width: calc(var(--w, 120px) * var(--balloon-size-mult, 1));
  height: auto;
  opacity: 0.96;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,0.18));
  animation: floatY var(--dur, 11s) ease-in-out var(--delay, 0s) infinite;
}
@media (max-width: 759px) {
  /* Sur mobile : on tasse les ballons à 60% de leur taille desktop pour
     éviter qu'ils dévorent l'écran. */
  .ida-balloon img { width: calc(var(--w, 120px) * var(--balloon-size-mult, 1) * 0.6); }
}

/* ─────────── Personnages "peek" (apparition au scroll) ─────────── */
.ida-peek {
  position: relative;
  height: 0;            /* hors flux vertical : ne pousse pas le contenu */
  z-index: 4;
  pointer-events: none;
  max-width: var(--content-max-wide);
  margin: 0 auto;
  padding: 0 20px;
}
.ida-peek img {
  position: absolute;
  width: var(--peek-size, 100px);
  bottom: -20px;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,0.16));
  opacity: 0;
  transform: translateY(34px) scale(0.65) rotate(-8deg);
}
.ida-peek--right img { right: 4%; }
.ida-peek--left  img { left:  4%; }
/* Quand l'observer JS détecte la visibilité, on enchaine peek-in puis floatY */
.ida-peek.is-visible img {
  animation:
    peek-in .9s cubic-bezier(.18,.89,.32,1.28) forwards,
    floatY 5.5s ease-in-out 1.1s infinite;
}
@media (max-width: 759px) {
  .ida-peek img { width: calc(var(--peek-size, 100px) * 0.72); bottom: -10px; }
  .ida-peek--right img { right: 5%; }
  .ida-peek--left  img { left:  5%; }
}

/* ─────────── Hero ───────────
   Sur mobile : le hero prend toute la hauteur du viewport (100svh) et
   organise son contenu en flex column — tag+logo en haut, date+horaires+CTAs
   poussés en bas via `margin-top: auto` sur .hero__date.
─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 22px 18px 24px;
  overflow: hidden;
  text-align: center;
  /* Mobile : hero plein écran, contenu réparti haut/bas */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hero__sun {
  position: absolute; top: 0; left: 10%; width: 80%; height: 100%;
  background: url('../assets/soleil_rayons.png') top center / 100% auto no-repeat;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.hero__tag {
  align-self: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  font-family: var(--ui-font);
  font-size: 0.8em; font-weight: 600;
  color: var(--pal-deep);
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}
.hero__logo {
  /* Mobile : logo dominant, déborde à gauche pour casser la grille */
  margin: 70px 0 0 -100px;
  width: 160%;
  max-width: 650px;
  animation: pop 4s ease-in-out infinite;
  filter: drop-shadow(0 14px 28px rgba(224,47,116,0.18));
}

/* ─── Clouds-bg du hero ───
   Les 3 nuages décoratifs derrière le contenu. Tailles distinctes
   mobile/desktop pour préserver les proportions à chaque viewport.
   `max-width: none` est nécessaire car la règle globale `img` les caperait
   sinon à la largeur du conteneur. */
.cloud-bg { max-width: none; }

/* Mobile (par défaut) */
.cloud-bg--hero-left-top    { left: -160px; top: -20px;  width: 400px; }
.cloud-bg--hero-left-bottom { left: -110px; top: 380px;  width: 320px; }
.cloud-bg--hero-right       { right: -450px; top: 180px; width: 770px; }
.hero__date {
  font-family: var(--title-font);
  font-weight: 700;
  font-size: calc(var(--title-md) * var(--title-scale));
  color: var(--pal-deep);
  line-height: 1.1;
  margin-top: auto;  /* pousse date+time+ctas en bas du viewport */
}
.hero__time {
  font-family: var(--ui-font);
  font-weight: 600;
  font-size: 1.133em;
  color: var(--ink-soft);
  margin-top: 2px;
}
.hero__ctas {
  margin-top: 18px;
  margin-bottom: 4px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
@media (min-width: 760px) {
  /* Desktop : on revient à un hero classique (pas full-screen) */
  .hero {
    padding: 40px 60px 80px;
    min-height: 680px;
    display: block;
  }
  .hero__content { display: block; }
  .hero__tag { display: inline-block; align-self: auto; font-size: 0.933em; padding: 8px 18px; margin-bottom: 12px; }
  /* Desktop : logo centré, taille classique (annule l'asymétrie mobile) */
  .hero__logo {
    margin: 14px auto 0;
    width: 70%;
    max-width: 820px;
  }
  .hero__time { font-size: 22px; }
  .hero__date { margin-top: 8px; }
  /* Desktop : positions et tailles d'origine pour les clouds du hero */
  .cloud-bg--hero-left-top    { left: -160px; top: -20px;  width: 400px; }
  .cloud-bg--hero-left-bottom { left: -110px; top: 380px;  width: 320px; }
  .cloud-bg--hero-right       { right: -130px; top: 150px; width: 360px; }
}

/* ─────────── Countdown ─────────── */
.countdown { padding: 8px 18px 16px; text-align: center; }
.countdown__title {
  font-family: var(--title-font);
  font-size: calc(var(--title-md) * var(--title-scale));
  color: var(--pal-deep);
  font-weight: 700;
  margin: 0 0 14px;
}
.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  max-width: 900px;
  margin: 0 auto;
}
.countdown__n {
  font-family: var(--ui-font);
  font-size: 44px;
  font-weight: 700;
  color: var(--pal-deep);
  line-height: 1;
  text-shadow: 0 4px 18px rgba(255,255,255,0.6);
}
.countdown__l {
  font-size: 0.733em;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 4px;
}
@media (min-width: 760px) {
  .countdown { padding: 30px 60px 60px; }
  .countdown__title { margin-bottom: 18px; /* taille gérée par --title-md (var racine) */ }
  .countdown__grid { gap: 30px; }
  .countdown__n { font-size: 88px; text-shadow: 0 8px 28px rgba(255,255,255,0.6); }
  .countdown__l { font-size: 0.867em; letter-spacing: 1px; margin-top: 6px; }
}

/* ─────────── Mot d'Ida ─────────── */
.mot {
  padding: 20px 22px 24px;
  position: relative;
  text-align: center;
}
.mot__hat {
  font-size: 0.733em;
  font-weight: 700;
  color: var(--pal-deep);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}
.mot__text {
  font-family: var(--title-font);
  font-weight: 600;
  font-size: calc(var(--title-md) * var(--title-scale));
  line-height: 1.45;
  color: var(--pal-deep);
  text-shadow: 0 4px 22px rgba(255,255,255,0.5);
  max-width: 880px;
  margin: 0 auto;
}
.mot__signature {
  margin-top: 14px;
  font-family: var(--title-font);
  font-size: calc(var(--title-md) * var(--title-scale));
  color: var(--pal-deep);
  text-align: right;
}
@media (min-width: 760px) {
  .mot { padding: 50px 60px 70px; }
  .mot__hat { letter-spacing: 2.4px; margin-bottom: 16px; }
  .mot__text { line-height: 1.35; }
  .mot__signature { text-align: center; margin-top: 18px; }
}

/* ─────────── Infos ─────────── */
.infos { padding: 30px 22px 10px; }
.infos__grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.info-row {
  display: flex; gap: 14px; align-items: center;
  padding: 16px;
}
.info-row__icon {
  flex: 0 0 50px;
  width: 50px; height: 50px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pal-soft), var(--pal-mid));
  display: grid; place-items: center;
  font-size: 24px;
}
.info-row__hat {
  font-size: 0.733em; text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--muted); font-weight: 600;
}
.info-row__title {
  font-family: var(--ui-font); font-size: 1.133em; font-weight: 700; color: var(--ink-soft);
}
.info-row__sub { font-size: 0.867em; color: var(--muted); }
.info-card { text-align: center; padding: 22px; }
.info-card__icon {
  width: 60px; height: 60px; border-radius: 22px;
  background: linear-gradient(135deg, var(--pal-soft), var(--pal-mid));
  display: grid; place-items: center; font-size: 30px;
  margin: 0 auto 12px;
}
.infos__map-wrap { margin-top: 18px; }
.map {
  height: 180px;
  border-radius: 24px;
  background: linear-gradient(135deg, #c5e0d3, #e8f1d8);
  position: relative; overflow: hidden;
}
.map__pin {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 30px; height: 30px;
  border-radius: 50% 50% 50% 0;
  background: var(--pal-deep);
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
}
.map__cta {
  position: absolute; bottom: 10px; right: 10px;
  padding: 8px 14px; background: #fff; border-radius: 999px;
  font-size: 0.8em; font-weight: 600; color: var(--pal-deep);
  text-decoration: none;
}
@media (min-width: 760px) {
  .infos { padding: 40px 60px 30px; }
  .infos__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    max-width: var(--content-max);
    margin: 36px auto 0;
  }
  .infos__map-wrap {
    margin-top: 24px;
    max-width: var(--content-max);
    margin-left: auto; margin-right: auto;
  }
  .map { height: 240px; border-radius: 28px; }
  .map__pin { width: 36px; height: 36px; }
  .map__cta { bottom: 16px; right: 16px; padding: 10px 20px; font-size: 0.933em; }
}

/* ─────────── Programme ─────────── */
.programme { padding: 30px 22px 20px; position: relative; }
.programme--m {
  margin: 24px auto 0;
  max-width: 320px;
  position: relative;
  padding-left: 28px;
}
.programme--m__line {
  position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 3px;
  background: linear-gradient(180deg, var(--pal-deep), var(--pal-accent));
  border-radius: 4px;
  opacity: 0.5;
}
.programme--m__item { position: relative; margin-bottom: 18px; margin-left: 0; }
.programme--m__dot {
  position: absolute; left: -27px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 3px var(--pal-deep);
}
.programme--m__head {
  font-family: var(--ui-font); font-size: 1.2em; font-weight: 700;
  color: var(--pal-deep); display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap;
}
.programme--m__head .pt { color: var(--ink-soft); }
.programme--m__sub { font-size: 0.867em; color: var(--muted); margin-top: 2px; }

/* Desktop programme — horizontal timeline (mercredi) or staggered grid (samedi) */
.programme--d {
  display: none;
  margin-top: 50px;
  max-width: var(--content-max);
  margin-left: auto; margin-right: auto;
}
.programme--d__circle-row {
  position: relative;
  padding: 0 30px;
}
.programme--d__line {
  position: absolute; top: 46px; left: 80px; right: 80px; height: 4px;
  background: linear-gradient(90deg, var(--pal-deep), var(--pal-accent));
  border-radius: 4px; opacity: 0.45;
}
.programme--d__circles {
  display: grid; gap: 8px;
  position: relative;
}
.programme--d__circle {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px var(--pal-deep), 0 14px 32px rgba(0,0,0,0.10);
  margin: 0 auto;
  display: grid; place-items: center;
  font-size: 40px;
  position: relative; z-index: 2;
}
.programme--d__step { text-align: center; position: relative; }
.programme--d__h {
  font-family: var(--ui-font); font-size: 22px; font-weight: 700;
  color: var(--pal-deep); margin-top: 12px; line-height: 1;
}
.programme--d__t {
  font-family: var(--ui-font); font-size: 1.067em; font-weight: 600;
  color: var(--ink-soft); margin-top: 6px;
}
.programme--d__s { font-size: 0.8em; color: var(--muted); margin-top: 3px; }
.programme--d__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.programme--d__cell {
  position: relative;
  padding: 20px 24px;
}
.programme--d__cell:nth-child(3n+2) { transform: translateY(-8px); }
.programme--d__cell:nth-child(3n+3) { transform: translateY(-16px); }
.programme--d__cell::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.3) 50%, transparent 80%);
  border-radius: 32px;
}
.programme--d__cell > * { position: relative; }
.programme--d__emo { font-size: 44px; margin-bottom: 6px; }
@media (min-width: 760px) {
  .programme { padding: 60px 60px 40px; }
  .programme--m { display: none; }
  .programme--d { display: block; }
}

/* ─────────── À prévoir ─────────── */
.apprevoir { padding: 30px 22px; }
.apprevoir__grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.apprevoir__item { text-align: center; padding: 8px; }
.apprevoir__emo {
  font-size: 42px; margin-bottom: 6px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.08));
}
.apprevoir__t { font-family: var(--ui-font); font-weight: 700; font-size: 1.067em; color: var(--ink-soft); }
.apprevoir__s { font-size: 0.8em; color: var(--muted); margin-top: 2px; }
@media (min-width: 760px) {
  .apprevoir { padding: 50px 60px 30px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; max-width: var(--content-max-wide); margin: 0 auto; }
  .apprevoir__grid { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
  .apprevoir__emo { font-size: 52px; margin-bottom: 8px; }
  .apprevoir__t { font-size: 1.2em; }
  .apprevoir__s { font-size: 0.933em; margin-top: 4px; }
}

/* ─────────── Cadeau / Cagnotte ─────────── */
.cadeau-wrap { padding: 20px 22px 16px; position: relative; text-align: center; }
.cadeau-perso {
  display: block;
  width: 110px;
  margin: -20px auto -40px;
  animation: wiggle 4s ease-in-out infinite;
  position: relative; z-index: 2;
}
.cadeau__hat {
  font-size: 0.733em; font-weight: 700; color: var(--pal-deep);
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 8px;
}
.cadeau__title {
  font-family: var(--title-font);
  font-size: calc(var(--title-md) * var(--title-scale));
  color: var(--pal-deep);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}
.cadeau__body {
  font-size: 0.933em; color: var(--muted-2);
  line-height: 1.55; margin-top: 10px;
}
.cadeau__inspirations {
  margin-top: 14px;
  padding: 12px;
  background: rgba(255,255,255,0.6);
  border-radius: 14px;
  font-size: 0.8em;
  color: var(--muted-2);
  text-align: left;
}
.cadeau__inspirations b { color: var(--pal-deep); }
.cadeau__note {
  font-size: 0.733em; color: var(--muted); margin-top: 10px; font-weight: 600;
}
@media (min-width: 760px) {
  .cadeau-wrap { padding: 0; text-align: left; }
  .cadeau-wrap .float { padding: 32px; border-radius: 36px; text-align: center; }
  .cadeau-perso {
    position: absolute; right: 10px; bottom: -60px; top: auto;
    width: 130px; margin: 0;
  }
  /* .cadeau__title taille gérée par --title-md (var racine) */
  .cadeau__body { font-size: 1em; margin-top: 12px; }
}

/* ─────────── RSVP ─────────── */
.rsvp { padding: 24px 22px 20px; position: relative; }
.rsvp__form { margin-top: 24px; }
.rsvp__grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rsvp__cols { display: grid; gap: 14px; }
@media (min-width: 760px) {
  .rsvp { padding: 70px 60px; }
  .rsvp__cols {
    grid-template-columns: 2fr 1fr;
    gap: 36px;
    max-width: 940px;
    margin: 40px auto 0;
    align-items: flex-start;
  }
  .rsvp__grid-2 { gap: 12px; }
  .rsvp__form .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
}
.field { margin-bottom: 10px; }
.field__label {
  font-size: 0.733em; font-weight: 700; color: var(--muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.field input, .field textarea {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.933em;
  color: var(--ink-soft);
  background: rgba(255,255,255,0.8);
  box-shadow: inset 0 0 0 1px rgba(224,47,116,0.12);
  outline: none;
}
.field--small input { padding: 10px 14px; font-size: 0.867em; }
.field textarea { height: 64px; resize: vertical; border-radius: 16px; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 2px var(--pal-deep); }

.choices {
  display: flex; gap: 6px;
}
.choice {
  flex: 1;
  padding: 12px 4px;
  border-radius: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 0.867em;
  background: rgba(255,255,255,0.7);
  color: var(--muted-2);
  box-shadow: inset 0 0 0 1px rgba(224,47,116,0.15);
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.choice.is-active {
  background: linear-gradient(180deg, var(--pal-accent), var(--pal-deep));
  color: #fff;
  box-shadow: 0 8px 18px rgba(224,47,116,0.28);
}
.rsvp__aside {
  text-align: center;
  margin-top: 16px;
}
.rsvp__aside img {
  width: 160px;
  margin: 0 auto;
  animation: wiggle 4s ease-in-out infinite;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.10));
}
.rsvp__aside-note {
  margin-top: 8px;
  font-family: var(--title-font);
  font-size: 22px;
  color: var(--pal-deep);
  line-height: 1.3;
}
@media (min-width: 760px) {
  .rsvp__aside img { width: 220px; }
  .rsvp__aside-note { font-size: 24px; }
}

/* ─────────── Inscrits ─────────── */
.inscrits { padding: 30px 22px; position: relative; }
.inscrits__list {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  max-width: var(--content-max); margin-left: auto; margin-right: auto;
}
.inscrit { width: 62px; text-align: center; }
.inscrit__avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  margin: 0 auto;
  display: grid; place-items: center;
  font-size: 24px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.inscrit__name { font-size: 0.733em; margin-top: 5px; font-weight: 600; color: var(--ink-soft); }
@media (min-width: 760px) {
  .inscrits { padding: 40px 60px; }
  .inscrits__list { gap: 18px; margin-top: 30px; }
  .inscrit { width: 78px; }
  .inscrit__avatar { width: 64px; height: 64px; font-size: 30px; box-shadow: 0 10px 22px rgba(0,0,0,0.08); }
  .inscrit__name { font-size: 0.8em; margin-top: 6px; }
}

/* ─────────── Mur de messages ─────────── */
.murmessages { padding: 30px 22px; }
.murmessages__grid {
  margin-top: 20px;
  display: grid; gap: 12px;
}
.message {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 16px;
}
.message:nth-child(odd) { transform: rotate(1deg); }
.message:nth-child(even) { transform: rotate(-1deg); }
.message__body { font-family: var(--title-font); font-size: 20px; line-height: 1.3; color: var(--ink-soft); }
.message__who { font-size: 0.733em; color: #888; margin-top: 4px; }
.murmessages__cta { text-align: center; margin-top: 22px; }
@media (min-width: 760px) {
  .murmessages { padding: 40px 60px; }
  .murmessages__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; max-width: var(--content-max); margin-left: auto; margin-right: auto; }
  .message { padding: 18px; border-radius: 22px; }
  .message__body { font-size: 22px; }
  .message__who { font-size: 0.8em; margin-top: 6px; }
}

/* ─────────── Playlist + Galerie ─────────── */
.playgal { padding: 30px 22px; }
.playgal__group { margin-bottom: 26px; }
.playlist-card { margin-top: 18px; padding: 16px; border-radius: 24px; background: rgba(255,255,255,0.55); backdrop-filter: blur(18px); }
.playlist-card__row { display: flex; gap: 12px; align-items: center; }
.playlist-card__cover {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: #1db954;
  display: grid; place-items: center;
  font-size: 28px;
}
.playlist-card__meta { flex: 1; }
.playlist-card__title { font-family: var(--ui-font); font-weight: 700; font-size: 1em; }
.playlist-card__sub { font-size: 0.8em; color: var(--muted); }
.playlist-card__play {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--pal-deep); color: #fff;
  display: grid; place-items: center;
}
.playlist-propose {
  margin-top: 18px;
  padding: 14px;
  background: rgba(255,255,255,0.7);
  border-radius: 18px;
}
.playlist-propose__label { font-size: 0.933em; margin-bottom: 8px; font-weight: 600; }
.playlist-propose__row { display: flex; gap: 10px; }
.playlist-propose__row input { flex: 1; height: 44px; border: none; border-radius: 12px; padding: 0 14px; font-size: 0.867em; background: #fff; }
.playlist-propose__row input::placeholder { color: var(--placeholder); }
.playlist-propose__author {
  width: 100%;
  height: 38px;
  border: none;
  border-radius: 10px;
  padding: 0 12px;
  margin-top: 8px;
  font-size: 0.833em;
  background: rgba(255,255,255,0.85);
  font-family: var(--ui-font);
}
.playlist-propose__author::placeholder { color: var(--placeholder); }

.playlist-flash {
  margin: 14px 0;
  padding: 10px 14px;
  border-radius: 12px;
  font-family: var(--ui-font);
  font-weight: 500;
  font-size: 0.9em;
}
.playlist-flash--ok   { background: #e3f9eb; color: #1e7e34; }
.playlist-flash--warn { background: #fff4d6; color: #8a6d00; }
.playlist-flash--err  { background: #fde2e8; color: #b3174c; }
.galerie { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.galerie__cell {
  background: rgba(255,255,255,0.3);
  border-radius: 20px;
  height: 110px;
  display: grid; place-items: center;
  font-size: 32px;
  opacity: 0.6;
}
@media (min-width: 760px) {
  .playgal { padding: 40px 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; max-width: var(--content-max-wide); margin: 0 auto; }
  .playgal__group { margin-bottom: 0; }
  .playlist-card { padding: 22px; border-radius: 28px; }
  .playlist-card__cover { width: 76px; height: 76px; border-radius: 18px; font-size: 38px; }
  .playlist-card__title { font-size: 22px; }
  .playlist-card__sub { font-size: 0.933em; }
  .playlist-card__play { width: 50px; height: 50px; font-size: 20px; }
  .galerie__cell { height: 140px; }
}

/* Vraies photos dans la grille .galerie (côté playlist comme côté section) */
.galerie--photos { gap: 8px; }
.galerie__cell--photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  height: 110px;
  opacity: 1;
  background: rgba(255,255,255,0.5);
  transition: transform .2s ease, box-shadow .2s ease;
}
.galerie__cell--photo:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
.galerie__cell--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 760px) {
  .galerie__cell--photo { height: 140px; }
}

.galerie-cta { margin-top: 14px; text-align: left; }

/* Pagination de la galerie (à l'intérieur de la colonne playlist) */
.galerie__cell--photo.is-hidden { display: none; }
.galerie-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  font-family: var(--ui-font);
}
.galerie-nav__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.7);
  color: var(--pal-deep);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, background 0.15s ease;
}
.galerie-nav__btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #fff;
}
.galerie-nav__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.galerie-nav__count {
  font-size: 0.867em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  min-width: 48px;
  text-align: center;
}

/* ─────────── Lightbox galerie (vanilla, zéro dep) ─────────── */
.ida-lb {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.ida-lb[hidden] { display: none; }
.ida-lb__backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 4, 16, 0.94);
  cursor: zoom-out;
}
.ida-lb__figure {
  position: relative; z-index: 1;
  margin: 0; max-width: 90vw; max-height: 86vh;
  display: flex; flex-direction: column; align-items: center;
}
.ida-lb__img {
  max-width: 90vw; max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  background: rgba(255,255,255,0.04);
}
.ida-lb__cap {
  color: rgba(255,255,255,0.85);
  font-family: var(--ui-font);
  font-size: 14px;
  margin-top: 14px;
  text-align: center;
}
.ida-lb__cap[hidden] { display: none; }
.ida-lb__close,
.ida-lb__nav {
  position: absolute;
  z-index: 2;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .2s ease, transform .15s ease;
  font-family: var(--ui-font);
  line-height: 1;
}
.ida-lb__close:hover,
.ida-lb__nav:hover { background: rgba(255,255,255,0.24); }
.ida-lb__close:active,
.ida-lb__nav:active { transform: scale(.95); }
.ida-lb__close {
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  font-size: 28px;
}
.ida-lb__nav {
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  font-size: 32px;
}
.ida-lb__nav--prev { left: 18px; }
.ida-lb__nav--next { right: 18px; }
.ida-lb__count {
  position: absolute;
  bottom: 18px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.65);
  font-family: var(--ui-font);
  font-size: 13px;
  background: rgba(0,0,0,0.4);
  padding: 4px 12px;
  border-radius: 999px;
}
.ida-lb.is-loading::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ida-lb-spin .8s linear infinite;
  z-index: 3;
}
@keyframes ida-lb-spin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
  .ida-lb__close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 24px; }
  .ida-lb__nav   { width: 42px; height: 42px; font-size: 26px; }
  .ida-lb__nav--prev { left: 8px; }
  .ida-lb__nav--next { right: 8px; }
  .ida-lb__img   { max-height: 75vh; }
}

/* ─────────── Section pleine largeur : formulaire d'upload (jour J uniquement) ─────────── */
.galerie-section { padding: 40px 22px; }
.galerie-section__inner { max-width: 720px; margin: 0 auto; }
@media (min-width: 760px) {
  .galerie-section { padding: 60px 60px; }
}

/* Flash messages */
.galerie-flash {
  margin: 14px 0;
  padding: 12px 16px;
  border-radius: 14px;
  font-family: var(--ui-font);
  font-weight: 500;
  font-size: 0.95em;
}
.galerie-flash--ok   { background: #e3f9eb; color: #1e7e34; }
.galerie-flash--warn { background: #fff4d6; color: #8a6d00; }
.galerie-flash--err  { background: #fde2e8; color: #b3174c; }

/* Formulaire d'upload */
.galerie-form {
  margin-top: 24px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 22px;
  position: relative;
}
@media (min-width: 760px) { .galerie-form { padding: 30px; } }

.galerie-form__row { margin-bottom: 16px; }
.galerie-form__field { display: block; }
.galerie-form__label {
  display: block;
  font-family: var(--ui-font);
  font-weight: 600;
  font-size: 0.95em;
  color: var(--pal-deep);
  margin-bottom: 6px;
}
.galerie-form__hint { color: #999; font-weight: 400; font-size: 0.85em; }
.galerie-form input[type="text"] {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 1em;
  background: #fff;
  font-family: var(--ui-font);
}
.galerie-form input[type="text"]::placeholder { color: var(--placeholder); }

.galerie-form__dropzone {
  display: block;
  position: relative;
  border: 2px dashed rgba(224,47,116,0.35);
  border-radius: 18px;
  padding: 28px 18px;
  text-align: center;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.galerie-form__dropzone:hover,
.galerie-form__dropzone.is-drop {
  border-color: var(--pal-deep);
  background: rgba(255,255,255,0.85);
}
.galerie-form__dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.galerie-form__dropzone-icon { display: block; font-size: 38px; margin-bottom: 6px; }
.galerie-form__dropzone-label {
  display: block;
  font-family: var(--ui-font);
  font-weight: 600;
  font-size: 1.05em;
  color: var(--pal-deep);
}
.galerie-form__dropzone-hint {
  display: block;
  color: #777;
  font-size: 0.85em;
  margin-top: 4px;
}
.galerie-form__dropzone-files {
  display: block;
  margin-top: 10px;
  font-size: 0.85em;
  color: #444;
  word-break: break-all;
}

.galerie-form__captcha { margin-top: 18px; }

.galerie-form__submit {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin-top: 20px;
}
.galerie-form__submit small { color: #666; font-size: 0.82em; }
@media (min-width: 760px) {
  .galerie-form__submit { flex-direction: row; justify-content: space-between; }
}

/* ─────────── FAQ ─────────── */
.faq { padding: 30px 22px; }
.faq__list { display: grid; gap: 8px; max-width: 740px; margin: 20px auto 0; }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; font-size: 0.933em; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  color: var(--pal-deep); font-size: 20px; transition: transform .2s ease;
}
.faq__item[open] summary::after { content: '−'; }
.faq__body {
  font-size: 0.867em; color: var(--muted-2);
  margin-top: 8px; padding-top: 8px;
  border-top: 1px solid rgba(0,0,0,0.06);
  line-height: 1.5;
}
@media (min-width: 760px) {
  .faq { padding: 50px 60px; }
  .faq__list { gap: 10px; margin-top: 30px; }
  .faq__item summary { font-size: 1.133em; }
  .faq__item summary::after { font-size: 24px; }
  .faq__body { font-size: 1em; margin-top: 12px; padding-top: 12px; line-height: 1.55; }
}

/* ─────────── Footer ─────────── */
.footer { padding: 36px 22px 110px; text-align: center; position: relative; }
.footer__contacts {
  margin-top: 14px;
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  font-size: 0.867em;
}
.footer__phone {
  font-size: 0.867em; color: var(--pal-deep);
  white-space: nowrap;
}
.footer__col--ics {
  text-align: center;
  margin: 22px 0 8px;
  padding: 0 12px;
}
@media (min-width: 760px) {
  .footer { padding: 60px 60px 80px; }
  .footer__grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 24px; align-items: center;
    max-width: var(--content-max); margin: 0 auto;
    padding: 32px; border-radius: 32px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(20px);
  }
  .footer__col--left { text-align: left; }
  .footer__col--right { text-align: right; font-family: var(--title-font); font-size: 22px; color: var(--pal-deep); }
  .footer__col-title { font-family: var(--title-font); font-size: calc(var(--title-sm) * var(--title-scale)); color: var(--pal-deep); font-weight: 700; }
  .footer__col--left .footer__phone { margin-top: 10px; font-size: 0.933em; }
  .footer__col--right .footer__date { font-size: 0.933em; color: var(--muted); }
}

/* Hide elements only shown in one version */
[data-only-samedi]   { display: none; }
[data-only-mercredi] { display: none; }
.version-samedi   [data-only-samedi]   { display: block; }
.version-mercredi [data-only-mercredi] { display: block; }

/* ─────────── Cagnotte modal (QR Wero) ─────────── */
.cagnotte-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cagnotte-modal[hidden] { display: none; }
.cagnotte-modal__backdrop { position: absolute; inset: 0; background: rgba(40, 10, 40, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cagnotte-modal__panel { position: relative; max-width: 420px; width: 100%; background: #fff; border-radius: 28px; padding: 32px 28px 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); text-align: center; }
.cagnotte-modal__close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: none; background: transparent; font-size: 28px; line-height: 1; color: var(--pal-deep); cursor: pointer; }
.cagnotte-modal__title { font-family: var(--title-font, Fredoka, sans-serif); color: var(--pal-deep); font-size: 24px; margin: 0 0 8px; }
.cagnotte-modal__sub { margin: 0 0 18px; color: #555; font-size: 0.933em; }
.cagnotte-modal__qr { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto 14px; border-radius: 18px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); }
.cagnotte-modal__note { margin: 0; color: #777; font-size: 0.8em; }
.cagnotte-modal__note a { color: var(--pal-deep); font-weight: 600; text-decoration: none; }

/* ─────────── Défi choré ─────────── */
.chore { padding: 30px 22px; text-align: center; }
.chore__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.chore__pitch {
  margin: 10px auto 18px;
  max-width: 560px;
  font-size: 0.967em;
  line-height: 1.5;
  color: var(--ink-soft);
}
.chore__pitch em { font-style: italic; }
.chore__player {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.chore__player > audio {
  width: 100%;
  height: 44px;
  border-radius: 12px;
}

/* Lecteur custom */
.chore-pl {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  min-width: 0;
}
.chore-pl__play {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--pal-deep, #a83279);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px rgba(168, 50, 121, 0.35);
}
.chore-pl__play:hover { transform: scale(1.05); }
.chore-pl__play:active { transform: scale(0.96); }
.chore-pl__icon { display: block; }
.chore-pl__icon--pause { display: none; padding-bottom: 1px; }
.chore-pl.is-playing .chore-pl__icon--play  { display: none; }
.chore-pl.is-playing .chore-pl__icon--pause { display: block; }
.chore-pl__body { flex: 1; min-width: 0; }
.chore-pl__title {
  font-family: var(--ui-font);
  font-weight: 700;
  font-size: 0.933em;
  color: var(--ink-soft);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chore-pl__bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
  cursor: pointer;
  outline: none;
}
.chore-pl__bar:focus-visible {
  box-shadow: 0 0 0 3px rgba(168, 50, 121, 0.35);
}
.chore-pl__fill {
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pal-deep, #a83279), var(--pal-accent, #ff7ab6));
}
.chore-pl__knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.chore-pl__times {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.733em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.chore__download {
  text-decoration: none;
}
.chore__hint {
  margin-top: 14px;
  font-size: 0.8em;
  color: var(--muted);
}
@media (min-width: 760px) {
  .chore { padding: 50px 60px; }
  .chore__inner { padding: 36px 40px; border-radius: 28px; }
  .chore__pitch { font-size: 1.067em; }
  .chore__player {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 18px;
  }
  .chore__player > audio,
  .chore__player .chore-pl { flex: 1; max-width: 520px; }
  .chore__download { white-space: nowrap; }
}
