/* =====================================================================
   C'Biche Beauty Club — pages Prestations et FAQ (chargé après styles.css
   et home.css, dont elles reprennent le bandeau, le menu, les boutons, le
   dernier appel et le pied de page).
   ===================================================================== */

/* ------------------------------ menu ------------------------------ */
.home .nav__links a[aria-current="page"]:not(.btn) { color: var(--rose); font-weight: 600; }
.home .nav__links a[aria-current="page"]:not(.btn)::after { width: 100%; height: 2px; background: var(--rose); }

/* ------------------------------ en-tête --------------------------- */
.pg-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 28px 48px;
  padding-block: clamp(28px, 4vw, 56px) clamp(40px, 4.5vw, 64px);
}
.pg-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.pg-jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px;
  border: 1.5px solid rgba(52, 46, 47, .35); border-radius: 999px;
  font-weight: 500;
  transition: background .25s ease, border-color .25s ease;
}
.home .pg-jump a:hover { border-color: var(--rose); background: var(--blush); color: var(--ink); }

/* ------------------------------ grille commune --------------------- */
.pg-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

/* ------------------------------ prestations ------------------------ */
.pg-family { padding-block: clamp(56px, 6vw, 88px); border-top: 1px solid var(--hair); }
.pg-family--alt { background: #FBF8F3; }
.pg-side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pg-pola { width: 100%; max-width: 340px; margin-bottom: 14px; padding: 14px 14px 44px; transform: rotate(-2deg); }
.pg-family--alt .pg-pola { transform: rotate(1.5deg); }
.pg-pola img { aspect-ratio: 1; }

/* lignes sans écart : photo et description sont facultatives, leur ligne vide ne doit rien décaler */
.pg-svc {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "photo photo" "name price" "desc btn";
  column-gap: 32px; align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--hair);
}
.pg-svc:first-child { border-top: 0; padding-top: 0; }
.pg-svc__photo { grid-area: photo; width: 160px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.pg-svc__name { grid-area: name; font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.2; letter-spacing: -.005em; }
.pg-svc__tag {
  display: inline-block; vertical-align: middle; margin-left: 8px; padding: 2px 10px;
  border-radius: 999px; background: var(--blush);
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0;
}
.pg-svc__price { grid-area: price; justify-self: end; text-align: right; line-height: 1.2; white-space: nowrap; }
.pg-svc__price strong { font-family: var(--script); font-weight: 600; font-size: 26px; color: var(--rose); }
.pg-svc__price span { display: block; font-size: 13px; color: #6E5F57; }
.pg-svc__desc { grid-area: desc; margin-top: 6px; font-size: 16px; line-height: 1.55; color: #6E5F57; max-width: 620px; }
.home .pg-svc .btn {
  grid-area: btn; justify-self: end; margin-top: 6px;
  min-height: 44px; padding: 8px 20px; font-size: 15px;
}

.pg-box { margin-top: 40px; padding: 32px; border-radius: 24px; background: #F1E7DB; }
.pg-box h3 { margin-bottom: 20px; font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; }
.pg-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pg-three h4 { margin-bottom: 6px; font-weight: 600; font-size: 17px; }
.pg-three p { font-size: 15px; line-height: 1.55; color: #5F524B; }
.pg-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.pg-table th {
  padding: 0 16px 10px 0; border-bottom: 1px solid var(--ink);
  text-align: left; font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: #6E5F57;
}
.pg-table td { padding: 13px 16px 13px 0; border-bottom: 1px solid #DCCBBB; vertical-align: top; }
.pg-table td:last-child { padding-right: 0; font-weight: 500; }
.pg-table tr:last-child td { border-bottom: 0; }

/* ------------------------------ faq --------------------------------- */
.pg-group { border-top: 1px solid var(--hair); }
.pg-group--alt { background: #FBF8F3; }
.pg-group .h-faq { padding-block: clamp(48px, 5vw, 72px); }
.pg-group .h-title { font-size: clamp(36px, 3.6vw, 48px); }
.pg-group .faq__steps li { font-size: 16px; line-height: 1.6; }

/* ------------------------------ dernier appel ----------------------- */
.pg-cta { border-top: 1px solid var(--hair); padding-top: clamp(56px, 5vw, 72px); }

/* ------------------------------ responsive -------------------------- */
@media (max-width: 1000px) {
  .pg-grid { grid-template-columns: minmax(0, 1fr); }
  .pg-pola { max-width: 280px; }
  .pg-three { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .pg-svc { column-gap: 16px; grid-template-areas: "photo photo" "name price" "desc desc" "btn btn"; }
  .home .pg-svc .btn { justify-self: start; margin-top: 12px; }
  .pg-box { padding: 22px; }
}
