/* Promos (module promos) : badges, bloc de l'accueil, liste, formulaire, promo éclair de la praticienne,
   et marques « promo » de la réservation en ligne (soins et heures). Chargée sur toutes les pages. */

.po-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 58px; padding: 6px 10px; border-radius: 10px;
  font-weight: 750; font-size: .95rem; background: var(--accent); color: var(--sur-accent); white-space: nowrap; }
.po-accueil .liste > li { align-items: flex-start; }
.po-accueil-pied { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.po-bloc s { color: var(--muet); }

/* Liste et fiche */
.po-ligne { display: flex; align-items: center; gap: 14px; }
.po-ligne .grandit { min-width: 0; }
.po-jours { display: flex; flex-wrap: wrap; gap: 6px; }
.po-jours .case { margin: 0; }
.po-apercu { border: 1px dashed var(--accent-ligne); border-radius: var(--r); padding: 14px; background: var(--accent-doux); display: flex; gap: 12px; align-items: center; }

/* Promo éclair : gros boutons, pensés pour le pouce */
.po-eclair-fenetres { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.po-choix { position: relative; display: block; cursor: pointer; }
.po-choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.po-choix span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--ligne-forte); background: var(--surface); }
.po-choix span strong { font-size: 1.05rem; }
.po-choix input:checked + span { border-color: var(--accent); background: var(--accent-doux); box-shadow: 0 0 0 3px var(--accent-ligne); }
.po-choix input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.po-pct { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.po-pct .po-choix span { align-items: center; font-weight: 750; font-size: 1.15rem; }

.po-famille { border: 1px solid var(--ligne); border-radius: var(--r-s); padding: 10px 12px; margin: 8px 0; }
.po-famille summary { cursor: pointer; font-weight: 620; }
.po-famille .po-soins-liste { margin-top: 8px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.po-detail-soins { margin-top: 14px; }
.po-detail-soins summary { cursor: pointer; font-weight: 600; color: var(--accent-fonce); }
.po-soins-liste { display: grid; gap: 4px; }
.po-soins-liste .case { margin: 0; }

/* Réservation en ligne (page hébergée « reserver » et API) */
.sp-promo { display: flex; gap: 6px; align-items: baseline; margin-top: 8px; padding: 6px 10px; border-radius: 10px; font-size: .85rem;
  background: var(--accent-doux); color: var(--accent-fonce); }
.sp-promo b { font-weight: 750; white-space: nowrap; }
.sp-creneau.a-promo { position: relative; border-color: var(--accent); }
.sp-creneau-promo { display: block; font-size: .72rem; font-weight: 700; color: var(--accent); line-height: 1.1; }
.sp-creneau.est-choisi .sp-creneau-promo { color: var(--sur-accent); }

@media (max-width: 640px) {
  .po-eclair-fenetres { grid-template-columns: 1fr 1fr; }
  .po-ligne { align-items: flex-start; }
}
