/* Nono : agenda — panneau « Programmes à télécharger » ([nono_agenda_programmes])
   Il recouvre toute la carte (ordinateur et mobile). */
:is(#top, body) .nono-agd-panneau{
  position:absolute !important; inset:0 !important; z-index:6 !important;
  display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:center !important;
  margin:0 !important; padding:30px 24px !important; box-sizing:border-box !important; text-align:center !important;
  background:var(--vnb-encart-nuit, #0b1a33) !important; border-radius:inherit;
  opacity:0; transform:scale(.98); transition:opacity .25s ease, transform .25s ease;
}
:is(#top, body) .nono-agd-panneau[hidden]{ display:none !important; }
:is(#top, body) .nono-agd-panneau.nono-agd-panneau-ouvert{ opacity:1; transform:none; }
/* la carte ne bouge plus au survol tant que le panneau est ouvert */
@media (hover:hover){
  :is(#top, body) .nono-agd-carte-panneau:hover{ transform:none !important; }
}

:is(#top, body) .nono-agd-panneau-titre{
  margin:0 0 6px !important; padding:0 !important;
  font-family:'Berkshire Swash',cursive !important; font-weight:400 !important; font-size:23px !important; line-height:1.2 !important;
  letter-spacing:0 !important; text-transform:none !important; color:#f3e3b0 !important;
}
:is(#top, body) .nono-agd-panneau-texte{ margin:0 0 20px !important; font-size:14px !important; line-height:1.6 !important; color:#d9dfeb !important; }
:is(#top, body) .nono-agd-panneau-liste{ width:min(340px, 100%) !important; }

:is(#top, body) .nono-agd-pilule{
  display:flex !important; align-items:center !important; justify-content:space-between !important; gap:12px !important;
  box-sizing:border-box !important; width:100% !important; margin:0 0 10px !important; padding:12px 20px !important;
  border:1px solid rgba(255,255,255,.3) !important; border-radius:999px !important; background:rgba(255,255,255,.08) !important;
  font-size:12px !important; font-weight:700 !important; line-height:1.25 !important; letter-spacing:1.2px !important; text-transform:uppercase !important;
  color:rgba(255,255,255,.92) !important; text-decoration:none !important; text-align:left !important;
  transition:background-color .15s ease, border-color .15s ease !important;
}
:is(#top, body) .nono-agd-pilule:last-child{ margin-bottom:0 !important; }
:is(#top, body) .nono-agd-pilule:hover,
:is(#top, body) .nono-agd-pilule:focus-visible{ background:rgba(255,255,255,.18) !important; border-color:rgba(243,213,138,.6) !important; color:#fff !important; }
:is(#top, body) .nono-agd-pilule-pdf{
  flex:none !important; padding:2px 5px !important; border:1px solid rgba(243,213,138,.55) !important; border-radius:4px !important;
  font-size:10px !important; letter-spacing:.5px !important; color:#f3e2ad !important;
}

/* Croix (icône Tabler « x ») */
:is(#top, body) .nono-agd-panneau-fermer{
  position:absolute !important; top:16px !important; left:16px !important; z-index:1 !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
  width:36px !important; height:36px !important; min-height:0 !important; margin:0 !important; padding:0 !important;
  border:1px solid rgba(255,255,255,.3) !important; border-radius:50% !important; background:transparent !important;
  color:#fff !important; cursor:pointer; transition:background-color .15s ease !important;
}
:is(#top, body) .nono-agd-panneau-fermer::before{
  content:"\eb55"; font-family:"tabler-icons" !important; font-style:normal; font-weight:normal; font-size:18px; line-height:1;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
}
:is(#top, body) .nono-agd-panneau-fermer:hover{ background:rgba(255,255,255,.12) !important; }

/* « Retour » */
:is(#top, body) .nono-agd-panneau-retour{
  margin:16px 0 0 !important; padding:4px 6px !important; min-height:0 !important; border:0 !important; background:transparent !important; cursor:pointer;
  font-family:inherit !important; font-size:12px !important; font-weight:600 !important; letter-spacing:1px !important; text-transform:uppercase !important;
  color:rgba(255,255,255,.7) !important; text-decoration:underline !important; text-underline-offset:4px;
}
:is(#top, body) .nono-agd-panneau-retour:hover{ color:#fff !important; }

@media (max-width:767px){
  :is(#top, body) .nono-agd-panneau{ padding:24px 18px !important; }
  :is(#top, body) .nono-agd-panneau-titre{ font-size:21px !important; }
  :is(#top, body) .nono-agd-pilule{ padding:11px 18px !important; font-size:11.5px !important; letter-spacing:1px !important; }
}
@media (prefers-reduced-motion:reduce){ :is(#top, body) .nono-agd-panneau{ transition:none !important; } }
