/* Spa Home — lisibilité renforcée et composants communs (soins phares, rappel, barre mobile).
   Chargé après style.css sur toutes les pages. */
:root { --sh-text: #3A2A22; --sh-muted: #5A463B; --sh-green: #9C4A2F; --sh-line: #E2CFBF; --sh-sand: #F3E4D7; }

body { font-size: 18px; line-height: 1.6; color: var(--sh-text); }
p, li, label, input, select, textarea { font-size: 18px; }
.text-muted, .section-header p, .service-detail p { color: var(--sh-muted) !important; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; font-size: 17px !important; }

/* Navigation des pages intérieures */
.nav-links a { font-size: 17px; color: var(--sh-text); }
.nav-tel { font-weight: 600; color: var(--sh-green) !important; white-space: nowrap; }

/* ---------- Soins phares ---------- */
.ph-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ph-card { position: relative; background: #fff; border: 1px solid var(--sh-line); border-radius: 18px; display: flex; flex-direction: column; }
.ph-head { all: unset; flex: 1 1 auto; cursor: pointer; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 12px; border-radius: 18px 18px 0 0; }
.ph-head:focus-visible { outline: 3px solid var(--sh-green); outline-offset: 2px; }
.ph-nom { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 27px; line-height: 1.1; font-weight: 600; color: var(--sh-text); }
.ph-simple { font-size: 16px; line-height: 1.4; color: var(--sh-muted); min-height: 3em; }
.ph-prix { margin-top: auto; font-size: 18px; color: var(--sh-text); }
.ph-plus { font-size: 15px; color: var(--sh-green); text-decoration: underline; }
.ph-btn { margin: 8px 20px 20px; background: var(--sh-green); color: #fff !important; text-decoration: none; text-align: center; border-radius: 999px; padding: 14px 10px; font-weight: 600; font-size: 16px; }
.ph-btn:hover { background: #7E3A24; }
.ph-pop { display: none; position: absolute; z-index: 30; top: calc(100% - 6px); left: -20px; width: 420px; max-height: 70vh; overflow: auto; max-width: 90vw; background: #fff; border: 1px solid var(--sh-line); border-radius: 18px; box-shadow: 0 18px 50px rgba(46, 39, 35, .18); padding: 22px 22px 18px; }
.ph-card:nth-child(3n) .ph-pop { left: auto; right: -20px; }
.ph-card.open .ph-pop { display: block; }
.ph-card.open { border-color: var(--sh-green); }
.ph-close { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--sh-muted); cursor: pointer; padding: 6px 10px; }
.ph-pop-nom { margin: 0 0 8px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; font-weight: 600; }
.ph-pop-desc { margin: 0 0 10px; font-size: 17px; color: var(--sh-text); }
.ph-pop-note { margin: 0 0 14px; font-size: 15px; color: var(--sh-muted); }
.ph-tarifs { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ph-tarifs li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; background: var(--sh-sand); border-radius: 12px; padding: 10px 14px; font-size: 17px; }
.ph-tarifs a { font-weight: 600; color: var(--sh-green); }
.ph-pop-tel { margin: 0; font-size: 16px; color: var(--sh-muted); }
.ph-pop-tel a { font-weight: 600; color: var(--sh-green); }
.ph-backdrop { display: none; position: fixed; inset: 0; background: rgba(30, 25, 22, .45); z-index: 60; }
.ph-backdrop.show { display: block; }

@media (max-width: 1000px) { .ph-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ph-card:nth-child(3n) .ph-pop { left: -20px; right: auto; } .ph-card:nth-child(2n) .ph-pop { left: auto; right: -20px; } }
@media (max-width: 820px) {
  .ph-grid { grid-template-columns: 1fr; }
  .ph-simple { min-height: 0; }
  .ph-pop, .ph-card:nth-child(3n) .ph-pop { position: fixed; z-index: 70; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-width: none; border-radius: 22px 22px 0 0; max-height: 85vh; overflow: auto; padding-bottom: 28px; }
}

/* ---------- Être rappelé ---------- */
.rappel { background: var(--sh-sand); border-radius: 24px; padding: 36px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.rappel h2 { margin: 0 0 8px; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 38px; line-height: 1.1; }
.rappel p { margin: 0; color: var(--sh-muted); }
.rappel form { flex: 1 1 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rappel label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 17px; }
.rappel input, .rappel select { font: inherit; font-weight: 400; padding: 14px 16px; border-radius: 12px; border: 1px solid #CBB2A0; background: #fff; min-height: 52px; }
.rappel .full { grid-column: 1 / -1; }
.rappel button { grid-column: 1 / -1; justify-self: start; border: 0; background: var(--sh-green); color: #fff; font: inherit; font-weight: 600; padding: 15px 30px; border-radius: 999px; cursor: pointer; min-height: 52px; }
@media (max-width: 820px) { .rappel { padding: 24px; } .rappel form { grid-template-columns: 1fr; } .rappel button { justify-self: stretch; } }

/* ---------- Barre fixe mobile : Appeler / Réserver ---------- */
.barre-mobile { display: none; }
@media (max-width: 820px) {
  .barre-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 246, 241, .97); border-top: 1px solid var(--sh-line); }
  .barre-mobile a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: 999px; font-weight: 600; font-size: 17px; text-decoration: none; }
  .barre-mobile .appel { background: #fff; border: 2px solid var(--sh-green); color: var(--sh-green); }
  .barre-mobile .resa { background: var(--sh-green); color: #fff; }
  body { padding-bottom: 80px; }
}

/* ---------- Avis ---------- */
.avis-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.avis { margin: 0; background: #fff; border: 1px solid var(--sh-line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.avis .meta { font-size: 15px; color: var(--sh-muted); }
.avis .etoiles { color: #B8893F; letter-spacing: 2px; }
.avis blockquote { margin: 0; font-size: 18px; line-height: 1.55; color: var(--sh-text); }
.avis figcaption { font-size: 15px; color: var(--sh-muted); font-weight: 600; }
@media (max-width: 820px) { .avis-grid { grid-template-columns: 1fr; } }

/* ---------- Choix par objectif ---------- */
.ph-pression { font-size: 16px; color: var(--sh-muted); }
.ph-badge { display: none; position: absolute; top: -13px; left: 18px; background: var(--sh-green); color: #fff; font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.ph-filtre .ph-card { opacity: .45; }
.ph-filtre .ph-card.reco { opacity: 1; border: 2px solid var(--sh-green); }
.ph-filtre .ph-card.reco .ph-badge { display: block; }
.ph-obj { margin: 0 0 26px; }
.ph-obj-q { margin: 0 0 12px; font-weight: 600; font-size: 20px; }
.ph-obj-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ph-chip { font: inherit; font-size: 17px; min-height: 50px; padding: 0 20px; border-radius: 999px; border: 1px solid #CBB2A0; background: #fff; color: var(--sh-text); cursor: pointer; }
.ph-chip[aria-pressed="true"] { background: var(--sh-green); border-color: var(--sh-green); color: #fff; }
.ph-obj-msg { margin: 16px 0 0; background: var(--sh-sand); border-radius: 14px; padding: 14px 18px; font-size: 18px; }
.ph-obj-msg a { font-weight: 600; }
.ph-grid { padding-top: 14px; }
@media (max-width: 820px) {
  .ph-obj-chips { display: grid; grid-template-columns: 1fr 1fr; }
  .ph-chip { padding: 8px 12px; line-height: 1.25; }
  .ph-filtre .ph-card:not(.reco) { display: none; }
}

/* ---------- Confort tactile ---------- */
* { -webkit-tap-highlight-color: transparent; }
.fade-in { opacity: 1 !important; transform: none !important; }
.slot { min-height: 52px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.calendar-day { font-size: 18px; }
@media (max-width: 820px) {
  .booking-panel.active .booking-nav { position: sticky; bottom: 0; z-index: 20; background: #fff; margin: 0 -1rem; padding: 12px 1rem calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 20px rgba(46, 39, 35, .08); }
  .booking-nav .btn { flex: 1; }
  .booking-nav .btn-outline { flex: 0 0 auto; padding: 0 1.2rem; }
}

/* ---------- Tarif Club ---------- */
.ph-club { font-size: 15px; font-weight: 600; color: var(--sh-green); margin-top: -4px; }
.ph-t { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.ph-t small { font-size: 13px; font-weight: 600; color: var(--sh-green); }
.club-box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.club-card { background: #fff; border: 1px solid var(--sh-line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.club-card.vert { border: 2px solid var(--sh-green); }
.club-card h3 { margin: 0; }
.club-card .gros { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 40px; line-height: 1; }
.club-card ul { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: 4px; }
.pack-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.pack-table td, .pack-table th { padding: 10px 6px; border-bottom: 1px solid var(--sh-line); text-align: left; }
.pack-table td:nth-child(n+2), .pack-table th:nth-child(n+2) { text-align: right; white-space: nowrap; }
@media (max-width: 820px) { .club-box { grid-template-columns: 1fr; } }

/* ---------- Comment ça se passe ---------- */
.sd-titre { margin: 4px 0 6px; font-weight: 700; font-size: 17px; }
.sd-etapes { margin: 0 0 12px; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 5px; font-size: 16px; line-height: 1.45; color: var(--sh-text); }
.sd-prec { margin: 0 0 12px; font-size: 15px; background: #FFF6E5; border-radius: 10px; padding: 8px 12px; }

/* ---------- Tuiles de réservation ---------- */
.bk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bk-tile { position: relative; background: #F3E4D7; border: 2px solid transparent; border-radius: 14px; padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.bk-tile:hover { border-color: #CBB2A0; }
.bk-tile.selected { border-color: var(--sh-green); background: #fff; }
.bk-nom { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; font-weight: 600; line-height: 1.15; }
.bk-simple { font-size: 15px; color: var(--sh-muted); line-height: 1.35; }
.bk-durees { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.bk-duree { font: inherit; font-size: 15px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid #CBB2A0; background: #fff; color: var(--sh-text); cursor: pointer; }
.bk-duree[aria-pressed="true"] { background: var(--sh-green); border-color: var(--sh-green); color: #fff; }
.bk-prix { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.bk-prix strong { font-size: 19px; color: var(--sh-text); }
.bk-prix small { font-size: 14px; font-weight: 600; color: var(--sh-green); }
.bk-info { align-self: flex-start; border: 0; background: none; padding: 0; font: inherit; font-size: 15px; color: var(--sh-green); text-decoration: underline; cursor: pointer; }
.bk-pop { display: none; position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: 400px; max-width: 86vw; background: #fff; border: 1px solid var(--sh-line); border-radius: 16px; box-shadow: 0 18px 50px rgba(46, 39, 35, .18); padding: 18px; cursor: default; }
.bk-tile:nth-child(3n) .bk-pop { left: auto; right: 0; }
@media (hover: hover) and (min-width: 821px) { .bk-tile:hover .bk-pop { display: block; } }
.bk-pop p { margin: 0 0 8px; font-size: 16px; }
.bk-detail { margin-top: 14px; background: #fff; border: 2px solid var(--sh-green); border-radius: 14px; padding: 16px 18px; }
.bk-detail h4 { margin: 0 0 6px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; }
.bk-detail > p { margin: 0 0 10px; font-size: 16px; }
@media (max-width: 1000px) { .bk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bk-tile:nth-child(3n) .bk-pop { left: 0; right: auto; } }
@media (max-width: 600px) { .bk-grid { grid-template-columns: 1fr; } }
.calendar-day.complet { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.cal-info { margin: .8rem 0 0; font-size: 16px; color: var(--sh-muted); background: #F3E4D7; border-radius: 12px; padding: 10px 14px; }
.slot { flex-direction: column; line-height: 1.15; }
.slot small { font-size: 12px; font-weight: 600; color: #9A6B1F; }
.slot.selected small { color: #fff; }

/* Titre d'étape avec « Continuer » en haut à droite */
.bk-titre { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 1rem; }
.bk-titre h3 { margin: 0; }
.bk-haut { min-height: 46px; padding: 0 1.4rem; }
.bk-haut:disabled { opacity: .45; cursor: not-allowed; }

/* Badge « Powered by Netlify » injecté par l’hébergeur : masqué (il recouvrait les boutons sur téléphone) */
#nl-badge-frame, iframe[id^="nl-badge"] { display: none !important; }
