/* ==========================================================================
   Petit Bonheur — composants : cartes, illustrations, boutons, badges, notices,
   photos, listes, formulaires, étapes, calendrier, pages légales, praticiens.
   L'extension apporte son CSS de composant ; le thème fixe les jetons communs.
   ========================================================================== */

/* ---------- Cartes : coins 24 px, liseré blanc, ombre chaude ---------- */
.pb-card {
  background: var(--pb-blanc); border: 1px solid var(--pb-border); border-radius: var(--pb-radius-card);
  padding: clamp(1.25rem, 3vw, 1.75rem); box-shadow: var(--pb-shadow-soft);
  transition: transform var(--pb-transition), box-shadow var(--pb-transition);
}
a.pb-card { color: inherit; text-decoration: none; display: block; }
.pb-card:hover, .pb-card:focus-within { box-shadow: var(--pb-shadow-card); }
.pb-card--sauge { background: var(--pb-sauge-pale); border-color: transparent; }
.pb-card--rose { background: var(--pb-rose-pale); border-color: transparent; }
.pb-card--jaune { background: var(--pb-jaune-pale); border-color: transparent; }
.pb-card--bleu { background: var(--pb-bleu-pale); border-color: transparent; }
.pb-card--lavande { background: var(--pb-rose-clair); border-color: transparent; }
.pb-card--creme { background: var(--pb-creme); border-color: transparent; }
.pb-card--corail { background: var(--pb-rose-clair); border-color: transparent; }
.pb-card--blanc { background: var(--pb-blanc); }
.pb-card--sauge, .pb-card--rose, .pb-card--jaune, .pb-card--bleu { --pb-brun-doux: var(--pb-brun); }
.pb-card__title { font-family: var(--pb-font-titre); font-size: 1.25rem; margin: 0 0 0.5rem; }
.pb-card__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; font-size: 0.9rem; color: var(--pb-brun-doux); margin: 0 0 0.75rem; }
.pb-card__meta .pb-icon { vertical-align: -0.2em; margin-right: 0.2rem; color: var(--pb-brun); }
.pb-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--pb-radius-card) - 8px); margin-bottom: 1rem; }
.pb-card__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 1rem; }
.pb-card__price { font-family: var(--pb-font-titre); font-size: 1.35rem; font-weight: 700; }
.pb-card__price small { font-family: var(--pb-font-texte); font-size: 0.8rem; font-weight: 600; color: var(--pb-brun-doux); }
/* Illustration isolée (tasse, cube, badge) en tête de carte */
.pb-card__illu { display: block; width: 64px; height: 64px; margin: 0 0 0.9rem; }
.pb-card__illu img { width: 100%; height: 100%; object-fit: contain; }

/* Pastille d'icône au trait brun ; la couleur de la carte teinte le fond de la pastille */
.pb-icon-bubble { display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--pb-creme); color: var(--pb-brun); border: 2px solid var(--pb-blanc); box-shadow: 0 4px 14px rgba(48, 48, 57, 0.08); }
.pb-icon-bubble--sauge { background: var(--pb-sauge); }
.pb-icon-bubble--rose { background: var(--pb-rose); }
.pb-icon-bubble--jaune { background: var(--pb-jaune); }
.pb-icon-bubble--bleu { background: var(--pb-bleu); }
.pb-icon-bubble--lavande, .pb-icon-bubble--corail { background: var(--pb-rose-clair); }
.pb-icon-bubble--creme, .pb-icon-bubble--blanc { background: var(--pb-creme); }

.pb-link-arrow { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; font-weight: 700; color: var(--pb-brun); }

/* ---------- Boutons : principal brun/crème → corail/brun, secondaire corail/brun → rose ---------- */
.pb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 44px; padding: 0.85rem 1.7rem; border: 0; border-radius: var(--pb-radius-pill);
  background: var(--pb-brun); color: var(--pb-creme); font: 700 1rem/1.2 var(--pb-font-texte); text-decoration: none; cursor: pointer;
  box-shadow: var(--pb-shadow-soft); transition: background var(--pb-transition), color var(--pb-transition), transform var(--pb-transition), box-shadow var(--pb-transition);
}
.pb-btn:hover, .pb-btn:focus-visible { background: var(--pb-corail); color: var(--pb-brun); transform: translateY(-2px); box-shadow: var(--pb-shadow-card); }
.pb-btn:active { transform: translateY(0); background: var(--pb-rose); }
.pb-btn:disabled, .pb-btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.pb-btn--secondary { background: var(--pb-corail); color: var(--pb-brun); }
.pb-btn--secondary:hover, .pb-btn--secondary:focus-visible { background: var(--pb-rose); color: var(--pb-brun); }
.pb-btn--ghost { background: transparent; color: var(--pb-brun); box-shadow: inset 0 0 0 2px var(--pb-gris-doux); }
.pb-btn--ghost:hover, .pb-btn--ghost:focus-visible { background: var(--pb-creme); color: var(--pb-brun); box-shadow: inset 0 0 0 2px var(--pb-brun); transform: none; }
.pb-btn--soft { background: var(--pb-rose-clair); color: var(--pb-brun); box-shadow: none; }
.pb-btn--soft:hover, .pb-btn--soft:focus-visible { background: var(--pb-corail); color: var(--pb-brun); }
.pb-btn--danger { background: var(--pb-danger); color: var(--pb-blanc); }
.pb-btn--danger:hover, .pb-btn--danger:focus-visible { background: #8f3a30; color: var(--pb-blanc); }
.pb-btn--small { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.pb-btn--large { padding: 1rem 2.1rem; font-size: 1.08rem; }
.pb-btn--block { width: 100%; }
.pb-btn--external::after { content: ""; width: 0.9em; height: 0.9em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 13v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 13v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Badges : fonds pâles, texte brun, liseré blanc ---------- */
.pb-badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.8rem; border-radius: var(--pb-radius-pill); background: var(--pb-creme); color: var(--pb-brun); border: 2px solid var(--pb-blanc); font-size: 0.82rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.pb-badge--sauge, .pb-badge--success, .pb-badge--available { background: var(--pb-sauge-pale); }
.pb-badge--rose, .pb-badge--error, .pb-badge--full { background: var(--pb-rose-pale); color: var(--pb-danger); }
.pb-badge--jaune, .pb-badge--warning, .pb-badge--low { background: var(--pb-jaune-pale); }
.pb-badge--bleu, .pb-badge--info { background: var(--pb-bleu-pale); }
.pb-badge--lavande, .pb-badge--corail { background: var(--pb-rose-clair); }
.pb-badge--muted, .pb-badge--closed { background: var(--pb-creme-clair); color: var(--pb-brun-doux); border-color: var(--pb-gris-doux); }
.pb-badge--demo { background: var(--pb-jaune-pale); border: 1px dashed var(--pb-jaune-vif); }

/* ---------- Notices et encadrés ---------- */
.pb-notice { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.85rem 1.1rem; border-radius: 18px; background: var(--pb-creme); color: var(--pb-brun); font-size: 0.95rem; }
.pb-notice .pb-icon { flex: 0 0 auto; margin-top: 0.15rem; color: var(--pb-brun); }
.pb-notice--muted { color: var(--pb-brun-doux); }
.pb-notice--info { background: var(--pb-bleu-pale); }
.pb-notice--success { background: var(--pb-sauge-pale); }
.pb-notice--warning { background: var(--pb-jaune-pale); }
.pb-notice--error { background: var(--pb-rose-pale); color: var(--pb-danger); border: 1.5px solid var(--pb-corail); }
.pb-notice--error .pb-icon { color: var(--pb-danger); }
.pb-callout { position: relative; padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem); border-radius: var(--pb-radius-card-lg); background: var(--pb-creme); border-left: 6px solid var(--pb-sauge); }
.pb-callout--rose { border-left-color: var(--pb-rose); }
.pb-callout--jaune { border-left-color: var(--pb-jaune-vif); }
.pb-callout--bleu { border-left-color: var(--pb-bleu); background: var(--pb-bleu-pale); }
.pb-callout--lavande { border-left-color: var(--pb-corail); background: var(--pb-rose-pale); }
.wp-block-post-content > .pb-callout { margin-top: clamp(2rem, 5vw, 3.5rem); margin-bottom: clamp(3rem, 7vw, 5rem); }
.pb-callout > :first-child { margin-top: 0; }
.pb-callout > :last-child { margin-bottom: 0; }
.pb-callout__title { font-family: var(--pb-font-titre); font-size: 1.2rem; margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
/* Encadré avec sceau (pb-34/35) posé dans le coin */
.pb-callout--seal { padding-right: clamp(1.25rem, 3vw, 2rem); }
.pb-callout__seal { display: block; width: clamp(88px, 12vw, 140px); margin: 0 0 1rem; }
@media (min-width: 782px) {
  .pb-callout--seal { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.25rem, 3vw, 2.25rem); align-items: center; }
  .pb-callout__seal { margin: 0; }
}
.pb-illustration-note { position: absolute; left: 0.75rem; bottom: 0.75rem; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.7rem; border-radius: var(--pb-radius-pill); background: rgba(255, 255, 255, 0.9); color: var(--pb-brun-doux); font-size: 0.75rem; font-weight: 600; }

/* ---------- Photos : lumineuses, coins arrondis, liseré blanc ---------- */
.pb-photo { position: relative; overflow: hidden; border-radius: var(--pb-radius-card-lg); }
.pb-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.pb-photo--3-2 img { aspect-ratio: 3 / 2; }
.pb-photo--4-3 img { aspect-ratio: 4 / 3; }
.pb-photo--square img { aspect-ratio: 1; }
.pb-photo--tall img { aspect-ratio: 4 / 5; }
.pb-photo--blob { border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%; border: 6px solid var(--pb-blanc); box-shadow: var(--pb-shadow-soft); }
.pb-photo--plan { background: var(--pb-creme); padding: clamp(0.75rem, 2vw, 1.5rem); }
.pb-photo--plan img { object-fit: contain; aspect-ratio: auto; border-radius: 12px; }
.pb-photo figcaption { position: static; padding: 0.6rem 0.25rem 0; font-size: 0.85rem; color: var(--pb-brun-doux); text-align: center; }

/* ---------- Listes ---------- */
.pb-list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.pb-list-check li { position: relative; padding-left: 2.1rem; }
.pb-list-check li::before { content: ""; position: absolute; left: 0; top: 0.1em; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--pb-sauge); border: 2px solid var(--pb-blanc); box-sizing: border-box; }
.pb-list-check li::after {
  content: ""; position: absolute; left: 0.32rem; top: calc(0.1em + 0.32rem); width: 0.76rem; height: 0.76rem; background: var(--pb-brun);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pb-list-check--rose li::before { background: var(--pb-rose); }
.pb-list-check--jaune li::before { background: var(--pb-jaune); }
.pb-list-check--bleu li::before { background: var(--pb-bleu); }
/* Liste à puces-cubes (image de cube isolée comme puce) */
.pb-list-cubes { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.pb-list-cubes li { display: flex; gap: 0.75rem; align-items: flex-start; }
.pb-list-cubes li img { flex: 0 0 auto; width: 1.6rem; height: 1.6rem; margin-top: 0.05em; object-fit: contain; }
.pb-drinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.pb-drinks li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px dashed var(--pb-gris-doux); }
.pb-drinks li span:last-child { font-weight: 700; white-space: nowrap; }
.pb-features { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin: 0; padding: 0; list-style: none; }
.pb-features li { display: flex; gap: 0.75rem; align-items: flex-start; }
.pb-features .pb-icon { flex: 0 0 auto; color: var(--pb-brun); margin-top: 0.15rem; }
.pb-features strong { display: block; font-family: var(--pb-font-titre); font-weight: 600; }
.pb-features span { color: var(--pb-brun-doux); font-size: 0.95rem; }

/* ---------- Formulaires (thème et extension) ---------- */
.pb-form { display: grid; gap: 1.1rem; }
.pb-form__row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.pb-form label, .pb-form legend { font-weight: 700; font-size: 0.95rem; display: block; margin-bottom: 0.35rem; }
.pb-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.pb-form input:not([type="checkbox"]):not([type="radio"]), .pb-form select, .pb-form textarea,
.pb-input, .pb-select, .pb-textarea {
  width: 100%; box-sizing: border-box; min-height: 48px; padding: 0.8rem 1rem; border: 1.5px solid var(--pb-gris-doux); border-radius: var(--pb-radius-input); background: var(--pb-blanc);
  color: var(--pb-brun); font: inherit; line-height: 1.4; transition: border-color var(--pb-transition), box-shadow var(--pb-transition);
}
.pb-form input:focus, .pb-form select:focus, .pb-form textarea:focus, .pb-input:focus, .pb-select:focus, .pb-textarea:focus { outline: none; border-color: var(--pb-corail); box-shadow: 0 0 0 4px rgba(243, 197, 185, 0.3); }
.pb-form input[aria-invalid="true"], .pb-form textarea[aria-invalid="true"], .pb-form select[aria-invalid="true"], .pb-input[aria-invalid="true"], .pb-select[aria-invalid="true"], .pb-textarea[aria-invalid="true"] { border-color: var(--pb-corail); background: var(--pb-rose-pale); }
.pb-form__help, .pb-field__help { display: block; margin-top: 0.3rem; font-size: 0.85rem; color: var(--pb-brun-doux); }
.pb-form__error, .pb-field__error { display: block; margin-top: 0.3rem; font-size: 0.88rem; font-weight: 600; color: var(--pb-danger); }
.pb-form__check, .pb-check { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 400; }
.pb-form__check input, .pb-check input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--pb-brun); flex: 0 0 auto; }
.pb-form__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.pb-honeypot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pb-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--pb-gris-doux); border-radius: var(--pb-radius-pill); overflow: hidden; background: var(--pb-blanc); }
.pb-stepper button { width: 2.75rem; height: 2.75rem; border: 0; background: var(--pb-creme); color: var(--pb-brun); font-size: 1.3rem; font-weight: 700; cursor: pointer; transition: background var(--pb-transition); }
.pb-stepper button:hover { background: var(--pb-corail); }
.pb-stepper output, .pb-stepper input { width: 3rem; text-align: center; font-weight: 700; border: 0; background: transparent; }

/* ---------- Étapes (parcours de réservation de l'extension) ---------- */
.pb-steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); list-style: none; margin: 0 0 1.5rem; padding: 0; counter-reset: pb-step; }
.pb-steps--progress .pb-step { display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.9rem; border-radius: var(--pb-radius-pill); background: var(--pb-creme); color: var(--pb-brun-doux); font-weight: 700; font-size: 0.9rem; }
.pb-steps--progress .pb-step::before { counter-increment: pb-step; content: counter(pb-step); display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--pb-blanc); color: var(--pb-brun-doux); font-size: 0.85rem; }
.pb-steps--progress .pb-step.is-active { background: var(--pb-rose-clair); color: var(--pb-brun); }
.pb-steps--progress .pb-step.is-active::before { background: var(--pb-brun); color: var(--pb-creme); }
.pb-steps--progress .pb-step.is-done::before { background: var(--pb-sauge); color: var(--pb-brun); }

/* ---------- Calendrier / créneaux (extension) ---------- */
.pb-calendar { background: var(--pb-blanc); border: 1px solid var(--pb-border); border-radius: var(--pb-radius-card-lg); padding: clamp(1rem, 3vw, 1.5rem); box-shadow: var(--pb-shadow-soft); }
.pb-calendar__header { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; }
.pb-calendar__title { font-family: var(--pb-font-titre); font-size: 1.2rem; font-weight: 600; margin: 0; text-transform: capitalize; }
.pb-calendar__nav { display: flex; gap: 0.4rem; }
.pb-calendar__nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--pb-gris-doux); background: var(--pb-blanc); color: var(--pb-brun); cursor: pointer; display: grid; place-items: center; transition: background var(--pb-transition), border-color var(--pb-transition), transform var(--pb-transition); }
.pb-calendar__nav button:hover:not(:disabled) { background: var(--pb-corail); border-color: transparent; transform: translateY(-2px); }
.pb-calendar__nav button:disabled { opacity: 0.4; cursor: not-allowed; }
.pb-calendar__grid { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.pb-calendar__day { display: flex; flex-direction: column; gap: 0.5rem; }
.pb-calendar__day-label { font-weight: 700; font-size: 0.9rem; color: var(--pb-brun-doux); text-transform: capitalize; }
.pb-slot {
  display: flex; flex-direction: column; gap: 0.25rem; width: 100%; min-height: 44px; padding: 0.7rem 0.85rem; border: 1.5px solid var(--pb-gris-doux); border-radius: 16px;
  background: var(--pb-blanc); color: var(--pb-brun); text-align: left; font: inherit; cursor: pointer; transition: border-color var(--pb-transition), background var(--pb-transition), transform var(--pb-transition);
}
.pb-slot:hover:not(:disabled), .pb-slot:focus-visible { border-color: var(--pb-corail); background: var(--pb-creme); transform: translateY(-2px); }
.pb-slot.is-selected, .pb-slot[aria-pressed="true"] { border-color: var(--pb-corail); background: var(--pb-rose-clair); transform: scale(1.03); }
.pb-slot.is-full, .pb-slot:disabled { opacity: 0.6; cursor: not-allowed; background: var(--pb-creme-clair); }
.pb-slot__time { font-weight: 700; }
.pb-slot__meta { font-size: 0.82rem; color: var(--pb-brun-doux); }
.pb-slot__price { font-weight: 700; color: var(--pb-brun); }
.pb-empty { text-align: center; padding: clamp(2rem, 5vw, 3rem) 1rem; border: 1.5px dashed var(--pb-gris-doux); border-radius: var(--pb-radius-card-lg); color: var(--pb-brun-doux); background: var(--pb-creme-clair); }
.pb-empty .pb-icon { color: var(--pb-brun); margin-bottom: 0.5rem; }
.pb-empty__illu { width: 112px; margin: 0 auto 0.75rem; }
.pb-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.pb-filters select, .pb-filters input:not([type="radio"]):not([type="checkbox"]) { width: auto; min-width: min(160px, 100%); min-height: 44px; padding: 0.6rem 0.9rem; border: 1.5px solid var(--pb-gris-doux); border-radius: var(--pb-radius-pill); font: inherit; background: var(--pb-blanc); color: var(--pb-brun); }
.pb-chip { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 44px; padding: 0.45rem 0.95rem; border-radius: var(--pb-radius-pill); border: 1.5px solid var(--pb-gris-doux); background: var(--pb-blanc); font: 600 0.9rem var(--pb-font-texte); color: var(--pb-brun); cursor: pointer; transition: background var(--pb-transition), border-color var(--pb-transition); }
.pb-chip:hover { background: var(--pb-creme); }
.pb-chip.is-active, .pb-chip[aria-pressed="true"] { background: var(--pb-rose-clair); border-color: transparent; color: var(--pb-brun); }

/* ---------- Pages légales ---------- */
.pb-legal { max-width: 720px; margin-inline: auto; }
.pb-legal h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.pb-legal h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.pb-legal .pb-legal__list { padding-left: 1.25rem; margin: 0 0 1rem; }
.pb-legal .pb-legal__list li + li { margin-top: 0.4rem; }
.pb-placeholder { display: inline-block; padding: 0 0.4em; border-radius: 6px; background: var(--pb-jaune); color: var(--pb-brun); font-weight: 700; }
.pb-legal-notice { margin-bottom: 2rem; }

/* ---------- Praticiens (extension) ---------- */
.pb-praticien { text-align: center; }
.pb-praticien__photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; background: var(--pb-bleu-pale); border: 4px solid var(--pb-blanc); box-shadow: var(--pb-shadow-soft); }
.pb-praticien__name { font-family: var(--pb-font-titre); font-size: 1.25rem; margin: 0 0 0.25rem; }
.pb-praticien__role { color: var(--pb-brun-doux); margin: 0 0 0.75rem; }

@media (prefers-reduced-motion: reduce) {
  .pb-card, .pb-btn, .pb-slot, .pb-chip, .pb-stepper button, .pb-calendar__nav button { transition: none; }
  .pb-btn:hover, .pb-slot:hover, .pb-slot.is-selected, .pb-calendar__nav button:hover:not(:disabled) { transform: none; }
}

/* ---------- Carte du café (patterns/section-carte.php) ---------- */
.pb-carte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.pb-carte__card { background: var(--pb-blanc); border-radius: var(--pb-radius-card); padding: 1.4rem 1.5rem; box-shadow: var(--pb-shadow-soft); border: 2px solid var(--pb-creme); }
.pb-carte__card--wide { grid-column: 1 / -1; background: var(--pb-creme); border-color: var(--pb-blanc); }
.pb-carte__head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.pb-carte__art { width: 44px; height: 44px; object-fit: contain; }
.pb-carte__title { margin: 0; font-size: 1.25rem; }
.pb-carte__list { list-style: none; margin: 0; padding: 0; }
.pb-carte__item { display: flex; align-items: baseline; gap: 0.5rem; padding: 0.5rem 0; }
.pb-carte__item + .pb-carte__item { border-top: 1px dashed var(--pb-gris-doux); }
.pb-carte__name { display: flex; flex-direction: column; min-width: 0; }
.pb-carte__note { font-size: 0.82rem; color: var(--pb-brun-doux); }
.pb-carte__dots { flex: 1 1 auto; min-width: 1.5rem; border-bottom: 2px dotted var(--pb-gris-doux); transform: translateY(-0.35em); }
.pb-carte__price { font-family: var(--pb-font-titre); font-weight: 700; white-space: nowrap; }
.pb-carte__card--wide .pb-carte__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 2rem; }
.pb-carte__card--wide .pb-carte__item + .pb-carte__item { border-top: 0; }
@media (max-width: 767px) { .pb-carte { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Formules anniversaire (patterns/page-anniversaires.php) ---------- */
.pb-formule { position: relative; height: 100%; padding: 1.6rem 1.5rem 1.4rem; }
.pb-formule__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.pb-formule__num { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--pb-rose); color: var(--pb-brun); font-family: var(--pb-font-titre); font-size: 1.2rem; font-weight: 700; border: 2px solid var(--pb-blanc); box-shadow: var(--pb-shadow-soft); }
.pb-formule--jaune .pb-formule__num { background: var(--pb-jaune); }
.pb-formule--sauge .pb-formule__num { background: var(--pb-sauge); }
.pb-formule__art { width: 56px; height: 56px; object-fit: contain; }
.pb-formule h3 { margin: 0 0 0.4rem; font-size: 1.3rem; }
.pb-formule__text { margin: 0 0 1rem; color: var(--pb-brun-doux); }
.pb-formule__prix { margin: 1rem 0 0; padding-top: 0.9rem; border-top: 1px dashed var(--pb-gris-doux); font-weight: 700; }
.pb-formule__plus { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 0 0.9rem; padding: 0.35rem 0.8rem; border-radius: var(--pb-radius-pill); background: var(--pb-jaune); color: var(--pb-brun); font-size: 0.85rem; font-weight: 700; }
.pb-formule .pb-list-check .pb-mark { padding: 0 0.25em; }
.pb-section__actions { margin-top: 1.5rem; }
.pb-consultations__hours { font-weight: 600; }
.pb-coordonnees__cabinet { margin-top: 0.5rem; }

/* Dernier élément « flottant » d'une page (encadré, texte) : jamais collé au pied de page. */
.pb-main > .wp-block-post-content > :last-child:not(.alignfull):not(section) { margin-bottom: clamp(3.5rem, 8vw, 6rem); }

.pb-legal__date { color: var(--pb-brun-doux); font-size: 0.95rem; }
