/* =====================================================================
   C'Biche Beauty Club — page d'accueil (chargé après styles.css). Les pages
   Prestations et FAQ le chargent aussi et ajoutent pages.css.
   ===================================================================== */

body.home {
  --ink: #342E2F;
  --ink-2: #3B302E;
  --rose: #A8566A;
  --rose-deep: #8F4457;
  --note: #C2767B;
  --blush: #EBD8D2;
  --hair: #E4D6C9;
  --line: rgba(52, 46, 47, .16);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --script: "Caveat", "Snell Roundhand", cursive;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --h-maxw: 1312px;
  --h-gutter: clamp(16px, 4.5vw, 64px);
  --h-section: clamp(64px, 8vw, 112px);
  --nav-h: 84px;
  overflow-x: clip;
}

/* ------------------------------ shared ---------------------------- */
.home a:not(.btn):not(.h-btn-social):hover { color: var(--rose); }

.h-wrap {
  max-width: var(--h-maxw);
  margin-inline: auto;
  padding-inline: var(--h-gutter);
}
.h-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.h-stack--tight { gap: 12px; }
.h-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.h-split--end { align-items: end; }
.h-split--start { align-items: start; }

.h-note {
  font-family: var(--script);
  font-weight: 600;
  font-size: clamp(26px, 2.4vw, 30px);
  line-height: 1.15;
  color: var(--note);
}
.h-note--accent { color: var(--rose); }
.h-note--light { color: #E6AEB2; }
.h-note--tilt { transform: rotate(-2deg); transform-origin: left center; }

.h-title {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144;
  font-weight: 500;
  font-size: clamp(40px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.h-title em { font-weight: 400; color: var(--rose); }
.h-title--xl { font-size: clamp(48px, 5.2vw, 72px); line-height: .98; letter-spacing: -.025em; }

.h-text { font-size: 18px; color: #6E5F57; max-width: 520px; }
.h-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 20px 40px;
}
.h-ico { width: 18px; height: 18px; flex: none; stroke-width: 2; }

.h-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600;
  border-bottom: 2px solid currentColor;
}

/* buttons */
.home .btn {
  font-size: 17px; font-weight: 600; letter-spacing: 0; text-transform: none;
  min-height: 52px; padding: 14px 26px; gap: 10px;
}
.home .btn--rose { --bg: var(--rose); box-shadow: none; }
.home .btn--rose:hover { --bg: var(--rose-deep); box-shadow: none; }
.home .btn--outline { --fg: var(--ink); --bd: var(--ink); }
.home .btn--outline:hover { --bg: var(--ink); --fg: #F7F2EB; --bd: var(--ink); }
.home .h-btn-ink { --bg: var(--ink); --fg: #F7F2EB; }
.home .h-btn-ink:hover { --bg: #221C1D; }
.home .h-btn-line { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.home .h-btn-line:hover { --bg: var(--ink); --fg: #F7F2EB; }
.h-pill {
  background: #F7F2EB; color: #221C1D;
  font-size: 13px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}

/* polaroid */
.h-pola {
  margin: 0;
  background: #fff;
  padding: clamp(8px, 1.1vw, 16px);
  box-shadow: 0 30px 60px -30px rgba(34, 28, 29, .5);
}
.h-pola img { width: 100%; object-fit: cover; }
.h-pola figcaption {
  font-family: var(--script);
  font-weight: 500;
  font-size: clamp(17px, 1.9vw, 28px);
  line-height: 1.1;
  text-align: center;
  color: var(--ink);
  padding-top: clamp(6px, .8vw, 12px);
}

/* collages */
.h-collage { position: relative; width: 100%; max-width: 568px; margin-inline: auto; aspect-ratio: 568 / 660; }
.h-collage .h-pola { position: absolute; }

.h-collage__big { right: 3%; top: 6%; width: 67%; transform: rotate(3deg); }
.h-collage__big img { aspect-ratio: 1; }
.h-collage__small { left: 0; bottom: 0; width: 40%; transform: rotate(-7deg); }
.h-collage__small img { aspect-ratio: 3 / 4; }
.h-collage__note {
  position: absolute; left: 5%; top: 9%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  color: var(--rose);
}
.h-collage__note span {
  font-family: var(--script); font-weight: 600; font-size: clamp(22px, 2vw, 28px);
  transform: rotate(-6deg);
}
.h-collage__note svg { width: clamp(44px, 5vw, 72px); height: auto; }


.h-collage--nailart .h-pola { box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .55); }
.h-collage__a { left: 0; top: 10.6%; width: 44.6%; transform: rotate(-6deg); }
.h-collage__a img { aspect-ratio: 3 / 4; }
.h-collage__b { right: 0; top: 0; width: 51.8%; transform: rotate(4deg); }
.h-collage__b img { aspect-ratio: 1; }
.h-collage__c { right: 19.6%; bottom: 0; width: 53.6%; transform: rotate(-3deg); }
.h-collage__c img { aspect-ratio: 4 / 3; }

/* arched photo with a soft shape behind */
.h-arch { position: relative; }
.h-arch::before { content: ""; position: absolute; }
.h-arch img { position: relative; width: 100%; object-fit: cover; }
.h-arch--left { padding: 24px 0 0 24px; }
.h-arch--left::before {
  left: 0; top: 0; width: 70%; height: 70%;
  background: var(--blush); border-radius: 999px 999px 28px 28px;
}
.h-arch--left img {
  aspect-ratio: 4 / 5; border-radius: 28px;
  box-shadow: 0 30px 60px -36px rgba(34, 28, 29, .5);
}
.h-arch--right { padding: 0 24px 24px 0; }
.h-arch--right::before {
  right: 0; bottom: 0; width: 60%; height: 60%;
  background: var(--note); border-radius: 28px; transform: rotate(3deg);
}
.h-arch--right img { aspect-ratio: 1; border-radius: 999px 999px 28px 28px; }

/* ------------------------------ ribbon + nav ---------------------- */
.h-ribbon {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px;
  padding: 10px 16px;
  background: var(--ink); color: #F7F2EB;
  font-size: 14px; letter-spacing: .02em;
}
.h-ribbon strong { color: #E6AEB2; font-weight: 600; }

.home .nav { position: sticky; top: 0; background: #F7F2EB; }
.home .nav::before { background: #F7F2EB; }
.home .nav__inner { max-width: var(--h-maxw); padding-inline: var(--h-gutter); height: var(--nav-h); }
.home .nav__links { gap: 32px; }
.home .nav__links a:not(.btn) { font-size: 16px; letter-spacing: 0; color: var(--ink); }
.home .nav__cta { font-size: 16px; min-height: 48px; padding: 12px 24px; }
.home .nav__thread { display: none; }
.home .nav:not(.is-open) .nav__links { box-shadow: none; }
.home .nav.is-scrolled::before { background: rgba(247, 242, 235, .94); box-shadow: 0 1px 0 var(--line); }

/* ------------------------------ hero ------------------------------ */
.h-hero {
  max-width: var(--h-maxw);
  margin-inline: auto;
  padding: 24px var(--h-gutter) clamp(64px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}
.h-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 580px; }
.h-hero__logo { width: clamp(150px, 14vw, 190px); height: auto; }
.h-hero__title {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144;
  font-weight: 500;
  font-size: clamp(52px, 5.6vw, 80px);
  line-height: .98;
  letter-spacing: -.025em;
}
.h-hero__title em { font-weight: 400; color: var(--rose); }
.h-hero__lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: #6E5F57; }
.h-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.h-hero__perks {
  display: flex; flex-wrap: wrap; gap: 6px 16px;
  font-size: 15px; color: #6E5F57;
}

/* ------------------------------ marquee --------------------------- */
.h-marquee { overflow: hidden; background: var(--rose); color: #fff; padding: 14px 0; }
.h-marquee__track {
  display: flex; width: max-content; gap: 48px; white-space: nowrap;
  font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 24px);
  animation: h-marquee 40s linear infinite;
}
@keyframes h-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .h-marquee__track { animation: none; }
}

/* ------------------------------ intro ----------------------------- */
.h-intro { padding-block: var(--h-section); }
.h-intro__lead {
  font-family: var(--serif);
  font-variation-settings: "opsz" 96;
  font-size: clamp(32px, 3.3vw, 46px);
  line-height: 1.12;
  letter-spacing: -.015em;
}
.h-intro__lead em { color: var(--rose); }
.h-intro__sign { color: var(--ink); font-weight: 500; }

/* ------------------------------ booking --------------------------- */
.h-book { background: var(--ink); color: #F7F2EB; padding-block: clamp(64px, 7.5vw, 104px); }
.h-book__inner { display: flex; flex-direction: column; gap: 48px; }
.h-book__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.h-book__sub { font-size: 17px; color: #D9CEC5; max-width: 360px; }

.home .bw {
  width: 100%; max-width: none; margin: 0;
  display: flex; gap: 40px; align-items: stretch;
  background: #FBF8F3; color: var(--ink);
  border: 0; border-radius: 32px;
  box-shadow: none;
  padding: 40px;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}
.home .bw__main { flex: 1 1 auto; min-width: 0; }

.home .bw__steps {
  list-style: none;
  flex: 0 0 min(30%, 340px);
  flex-direction: column; gap: 8px; margin: 0;
  padding: 0 32px 0 0; border-right: 1px solid var(--hair);
}
.home .bw__step {
  flex: 0 0 auto; gap: 16px; padding: 14px 16px; border-radius: 18px;
  font-size: 16px; white-space: normal; color: #6E5F57;
}
.bw__step-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.bw__step-txt strong { font-weight: 600; }
.bw__step-txt small { font-size: 13px; }
.home .bw__num {
  width: 36px; height: 36px;
  background: transparent; border: 1.5px solid #CFC2B8; color: inherit;
  font-family: var(--serif); font-weight: 600; font-size: 18px;
}
.home .bw__step.is-active { background: var(--ink); color: #F7F2EB; }
.home .bw__step.is-active .bw__num { background: var(--rose); border-color: var(--rose); color: #fff; }
.home .bw__step.is-done .bw__num { background: var(--blush); border-color: var(--blush); color: var(--ink); }
.bw__help {
  margin-top: auto; padding: 20px 16px 4px;
  font-family: var(--script); font-size: 24px; line-height: 1.1; color: var(--rose);
}

.bw__title {
  font-family: var(--serif); font-weight: 500; font-size: 30px;
  line-height: 1.15; letter-spacing: -.01em; margin-bottom: 6px;
}
.bw__intro { color: #6E5F57; font-size: 15px; margin-bottom: 20px; }
.home .bw__panel[data-panel="2"] > .bw__title { grid-column: 1 / -1; margin-bottom: 0; }
.home .bw__panel[data-panel="3"] > .bw__title { margin-bottom: 18px; }
.home .bw__label { font-size: 15px; letter-spacing: 0; }
.home .bw__hint, .home .bw__consent, .home .bw__recap { color: #6E5F57; }
.home .bw__opt { color: #6E5F57; }

/* chips: pale selected state, readable on every background */
.home .bw__chip span {
  border: 1.5px solid var(--hair); min-height: 44px; align-items: center;
  transition: background .2s, border-color .2s;
}
.home .bw__chip input:checked + span {
  background: var(--blush); border-color: var(--rose); color: var(--ink); font-weight: 500;
}
.home .bw__chip input:checked + span::before {
  content: ""; width: 14px; height: 8px; margin: -3px 8px 0 0; flex: none;
  border-left: 2px solid var(--rose); border-bottom: 2px solid var(--rose);
  transform: rotate(-45deg) scale(.8);
}

/* category cards (first choice of the form) */
.home .bw__services {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.home .bw__chip--card span {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  width: 100%; height: 100%; padding: 18px 16px; border-radius: 20px; border-width: 2px;
}
.home .bw__chip--card input:checked + span { font-weight: 400; }
.home .bw__chip--card input:checked + span::before { display: none; }
.bw__chip--card svg { width: 28px; height: 28px; stroke-width: 1.7; }
.home .bw__chip--card input:checked + span svg { color: var(--rose); }
.bw__chip--card b { font-weight: 600; font-size: 17px; }
.bw__chip--card small { font-size: 13px; color: #6E5F57; }

.home .bw__notice { background: #F1E7DB; border-color: transparent; border-radius: 20px; }
.home .bw__notice--conditions .bw__notice-body { color: #5F524B; }
.home .bw__notice-msg--warn { background: rgba(168, 86, 106, .08); }
.home .bw__textarea, .home .bw__field input { border-color: var(--hair); }
.home .bw__field { color: #6E5F57; }
.home .bw__foot { border-top-color: var(--hair); flex-wrap: wrap; }
.home .bw__day:disabled { color: rgba(52, 46, 47, .28); }
.home .bw__done h3 { font-size: 34px; }

/* ------------------------------ services -------------------------- */
.h-presta { padding-block: var(--h-section) clamp(64px, 7vw, 96px); display: flex; flex-direction: column; gap: 56px; }
.h-cards {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px; align-items: start; padding-inline: 8px;
}
.h-card { display: flex; flex-direction: column; gap: 24px; color: inherit; }
.h-card:nth-child(even) { margin-top: 48px; }

/* only the photo tilts: the text underneath stays straight */
.h-card__photo {
  display: block; background: #fff;
  padding: 14px 14px 40px;
  box-shadow: 0 24px 44px -28px rgba(34, 28, 29, .5);
  transition: transform .35s ease;
}
.h-card__photo img { width: 100%; object-fit: cover; aspect-ratio: 1; }
.h-card:nth-child(1) .h-card__photo { transform: rotate(-2deg); }
.h-card:nth-child(2) .h-card__photo { transform: rotate(1.5deg); }
.h-card:nth-child(3) .h-card__photo { transform: rotate(-1deg); }
.h-card:nth-child(4n) .h-card__photo { transform: rotate(2deg); }
.h-card:nth-child(even) .h-card__photo img { aspect-ratio: 4 / 5; }
.h-card:hover .h-card__photo { transform: rotate(0) translateY(-6px); }
@media (prefers-reduced-motion: reduce) {
  .h-card__photo { transition: none; }
}

.h-card__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 0 6px 10px; border-bottom: 1px solid var(--hair);
}
.h-card__head h3 {
  font-family: var(--serif); font-weight: 500; font-size: 30px;
  letter-spacing: -.01em; line-height: 1.1;
}
.h-card__price {
  font-family: var(--script); font-weight: 600; font-size: 24px;
  line-height: 1.1; color: var(--rose); text-align: right;
}
.h-card__list {
  display: flex; flex-direction: column; gap: 9px;
  margin-top: -10px; padding-inline: 6px;
  font-size: 15px; line-height: 1.4; color: var(--ink-2);
}
.h-card__list li { display: flex; gap: 10px; align-items: flex-start; }
.h-card__list svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--rose); stroke-width: 2.4; }

/* ------------------------------ nail-art -------------------------- */
.h-nailart { background: var(--blush); overflow: hidden; }
.h-nailart__inner { padding-block: clamp(64px, 7vw, 96px); }
.h-nailart__lead { font-size: 19px; line-height: 1.55; max-width: 480px; color: var(--ink-2); }
.h-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.h-tags li {
  padding: 7px 14px; font-size: 14px;
  border: 1.5px solid rgba(52, 46, 47, .35); border-radius: 999px;
}

/* ------------------------------ salon ----------------------------- */
.h-salon { padding-block: var(--h-section); }
.h-salon__text { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.h-salon__address { font-family: var(--serif); font-style: normal; font-size: 22px; line-height: 1.3; }
.h-salon__infos { display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.h-salon__infos li { display: flex; align-items: flex-start; gap: 12px; }
.h-salon__infos strong { font-weight: 600; }
.h-metro {
  display: inline-grid; place-items: center; flex: none;
  width: 30px; height: 30px; margin-top: -3px; border-radius: 8px;
  background: var(--ink); color: #F7F2EB; font-weight: 700; font-size: 14px;
}
.h-salon__clock { width: 30px; height: 30px; flex: none; margin-top: -3px; stroke-width: 1.8; }
.h-salon__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------ products -------------------------- */
.h-products { background: #FBF8F3; border-block: 1px solid var(--hair); }
.h-products__inner { padding-block: clamp(64px, 7vw, 96px); display: flex; flex-direction: column; gap: 48px; }
.h-prods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.h-prod { display: flex; flex-direction: column; gap: 14px; }
.h-prod__box { position: relative; background: #F1E7DB; border-radius: 24px; aspect-ratio: 1; }
.h-prod__box img { position: absolute; inset: 28px; width: calc(100% - 56px); height: calc(100% - 56px); object-fit: contain; }
.h-prod__cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; }
.h-prod__cap strong { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; }
.h-prod__cap span { font-family: var(--script); font-size: 22px; color: #6E5F57; }

/* ------------------------------ social ---------------------------- */
.h-social { padding-block: var(--h-section); display: flex; flex-direction: column; gap: 32px; }
.h-social__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.h-btn-social {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 20px; border-radius: 999px;
  border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
  font-weight: 600;
  transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.h-btn-social .h-ico { width: 20px; height: 20px; stroke-width: 1.9; }
.h-btn-ig:hover { border-color: #E1306C; color: #C1215A; background: #FDEEF3; }
.h-btn-tt:hover { border-color: #EE1D52; color: #D3123F; background: #F0FAFB; box-shadow: inset 0 0 0 2px #69C9D0; }

.h-slider { display: flex; align-items: center; gap: 16px; }
.h-slider__arrow {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink); background: #FBF8F3; color: var(--ink);
  transition: background .2s, color .2s, opacity .2s;
}
.h-slider__arrow svg { width: 20px; height: 20px; stroke-width: 2.2; }
.h-slider__arrow:hover:not(:disabled) { background: var(--ink); color: #F7F2EB; }
.h-slider__arrow:disabled { opacity: .35; cursor: default; }
.h-slider__track {
  flex: 1; min-width: 0;
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.h-slider__track::-webkit-scrollbar { display: none; }
.h-slide { flex: 0 0 calc((100% - 48px) / 4); scroll-snap-align: start; }
.h-slide__btn {
  position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0;
  border-radius: 14px; overflow: hidden; background: var(--blush);
}
.h-slide__btn:focus-visible { outline-offset: -3px; border-radius: 14px; }
.h-slide__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.h-slide__btn:hover img { transform: scale(1.03); }
.h-slide__play {
  position: absolute; left: 50%; top: 50%;
  width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(251, 248, 243, .92); color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(34, 28, 29, .6);
}
.h-slide__play svg { width: 22px; height: 22px; }
.h-slider__dots { display: flex; justify-content: center; gap: 2px; margin-top: -12px; }
.h-slider__dots button { width: 24px; height: 24px; display: grid; place-items: center; }
.h-slider__dots button::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: #D5C6B8; transition: background .2s;
}
.h-slider__dots button.is-active::before { background: var(--rose); }

.h-picker {
  width: min(360px, calc(100vw - 32px)); margin: auto; padding: 32px; border: 0;
  border-radius: 24px; background: #FBF8F3; color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(34, 28, 29, .6);
}
.h-picker[open] { display: flex; flex-direction: column; gap: 18px; }
.h-picker::backdrop { background: rgba(52, 46, 47, .55); }
.h-picker__close {
  position: absolute; right: 8px; top: 8px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(251, 248, 243, .92); color: var(--ink);
}
.h-picker__close svg { width: 18px; height: 18px; stroke-width: 2.2; }
.h-picker__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.h-picker__title { font-family: var(--serif); font-size: 24px; line-height: 1.15; }
.h-picker__links { display: flex; flex-direction: column; gap: 10px; }

/* ------------------------------ trust ----------------------------- */
.h-trust { background: var(--ink); color: #F7F2EB; }
.h-trust__inner { padding-block: clamp(56px, 6vw, 88px) 48px; display: flex; flex-direction: column; gap: 36px; }
.h-trust__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.h-trust__grid li { display: flex; gap: 20px; align-items: flex-start; }
.h-trust__grid svg { width: 40px; height: 40px; flex: none; color: #E6AEB2; stroke-width: 1.5; }
.h-trust__grid h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; margin-bottom: 8px; }
.h-trust__grid p { font-size: 15px; line-height: 1.6; color: #D9CEC5; }
.h-trust__cgv { font-size: 14px; color: #D9CEC5; }
.h-trust__cgv a { color: #E6AEB2; text-decoration: underline; text-underline-offset: 3px; }
.home .h-trust__cgv a:hover { color: #fff; }

/* ------------------------------ faq ------------------------------- */
.h-faq { padding-block: var(--h-section); }
.home .h-faq__list { display: flex; flex-direction: column; gap: 0; margin: 0; max-width: none; }
.home .h-faq .faq__item {
  border: 0; border-top: 1px solid var(--ink); border-radius: 0;
  background: none; box-shadow: none; padding: 18px 0;
}
.home .h-faq .faq__item:last-child { border-bottom: 1px solid var(--ink); }
.home .h-faq .faq__q {
  display: flex; gap: 20px; align-items: baseline; justify-content: flex-start; text-align: left;
  padding: 4px 0; min-height: 44px;
  font-family: var(--serif); font-weight: 400; font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.25; letter-spacing: 0; text-transform: none;
  cursor: pointer; list-style: none;
}
.home .h-faq .faq__q::-webkit-details-marker { display: none; }
.home .h-faq .faq__q::after { margin-left: auto; flex: none; }
.h-faq__n {
  flex: none; width: 36px;
  font-family: var(--script); font-size: 26px; color: var(--rose);
}
.home .h-faq .faq__a {
  margin: 8px 0 4px 56px; padding: 0;
  color: #6E5F57; font-size: 16px; line-height: 1.6;
}

/* ------------------------------ final call ------------------------ */
.h-cta-wrap { padding-bottom: var(--h-section); }
.h-cta {
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 48px) clamp(40px, 5vw, 64px);
  border-radius: 32px; background: var(--rose); color: #fff; text-align: center;
}
.h-cta__logo { width: 88px; height: auto; filter: brightness(0) invert(1); opacity: .92; }
.h-cta .h-title { max-width: 720px; }
.h-cta .h-title em { color: inherit; }
.h-cta p { font-size: 18px; max-width: 520px; }
.h-cta p a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.home .h-cta p a:hover { color: #fff; }

/* ------------------------------ footer ---------------------------- */
.home .footer { color: #D9CEC5; }
.home .footer__inner { max-width: var(--h-maxw); padding-inline: var(--h-gutter); }
.home .footer__bottom { max-width: var(--h-maxw); margin-inline: auto; padding-inline: var(--h-gutter); color: #CFC2B8; }
.home .footer__tag { color: #CFC2B8; letter-spacing: .04em; text-transform: none; font-size: 14px; }
.home .footer__col h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; letter-spacing: 0; text-transform: none; color: #F7F2EB; }
.home .footer a:hover { color: #fff; }

/* ------------------------------ responsive ------------------------ */
@media (max-width: 1180px) {
  .home .nav__links { gap: 20px; }
  .h-nav-tel { display: none; }
  .h-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 36px; }
  .h-card:nth-child(even) { margin-top: 0; }
  .h-slide { flex-basis: calc((100% - 32px) / 3); }
  .home .bw__services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .h-ribbon__extra { display: none; }
  .h-split { grid-template-columns: minmax(0, 1fr); }
  .h-nav-tel { display: block; }

  /* hero mobile : un seul logo, tout centré, bouton de réservation visible sans défiler,
     photos en dessous. L'emblème du header n'apparaît qu'une fois le grand logo passé (script.js). */
  .h-hero {
    display: flex; flex-direction: column; align-items: center; gap: 18px;
    padding-top: 0; text-align: center;
  }
  .h-hero__text { display: contents; }
  .h-hero__logo { order: 1; width: clamp(140px, 40vw, 180px); }
  .h-hero__eyebrow { order: 2; transform-origin: center; font-size: 24px; }
  .h-hero__title { order: 3; font-size: clamp(40px, 11.5vw, 60px); }
  .h-hero__lead { order: 4; max-width: 30ch; font-size: 16px; }
  .h-hero__actions { order: 5; align-self: stretch; flex-direction: column; align-items: stretch; gap: 12px; }
  .h-hero__actions .h-link { align-self: center; }
  .h-hero__perks { order: 6; flex-direction: column; align-items: center; gap: 2px; font-size: 14px; }
  .h-hero__perks [aria-hidden] { display: none; }
  .h-collage--hero { order: 7; margin-top: 12px; }
  .home .nav__brand { transition: opacity .25s ease, visibility .25s; }
  .home .nav.is-hero-logo:not(.is-open) .nav__brand { opacity: 0; visibility: hidden; }

  /* booking: steps above the form */
  .home .bw { flex-direction: column; gap: 24px; padding: 20px; border-radius: 24px; }
  .home .bw__steps {
    flex: none; flex-direction: row; gap: 6px;
    padding: 0; border: 0;
  }
  .home .bw__step {
    flex: 1 1 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0; border-radius: 0; background: none !important;
  }
  .home .bw__num {
    width: 100%; height: 6px; border: 0; border-radius: 999px;
    background: var(--hair); font-size: 0;
  }
  .home .bw__step.is-active .bw__num, .home .bw__step.is-done .bw__num { background: var(--rose); }
  .bw__step-txt, .bw__help { display: none; }
  .bw__title { font-size: 24px; }
  .home .bw__panel[data-panel="2"].is-active { grid-template-columns: minmax(0, 1fr); }
  .home .bw__foot { flex-direction: column; align-items: stretch; }
  .home .bw__foot .btn { width: 100%; }

  /* salon: photo right after the title */
  .h-salon { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  .h-salon__text { display: contents; }
  .h-salon__eyebrow { order: 1; }
  .h-salon__title { order: 2; }
  .h-salon__photo { order: 3; margin-block: 8px; }
  .h-salon__address { order: 4; }
  .h-salon__infos { order: 5; }
  .h-salon__actions { order: 6; flex-direction: column; }

  .h-prods { grid-template-columns: minmax(0, 1fr); }
  .h-trust__grid { grid-template-columns: minmax(0, 1fr); }
  .h-slide { flex-basis: calc((100% - 16px) / 2); }
  .h-cta { border-radius: 24px; }
}

@media (max-width: 640px) {
  /* services: photo and list side by side, alternating */
  .h-cards { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-inline: 4px; }
  .h-card {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "photo head" "photo list";
    grid-template-rows: auto 1fr;
    gap: 10px 18px; align-items: start;
  }
  .h-card:nth-child(even) { grid-template-areas: "head photo" "list photo"; }
  .h-card__photo { grid-area: photo; padding: 8px 8px 24px; }
  .h-card__head {
    grid-area: head; flex-direction: column; gap: 0;
    padding: 0; border: 0;
  }
  .h-card__head h3 { font-size: 24px; }
  .h-card__price { font-size: 20px; text-align: left; }
  .h-card__list { grid-area: list; margin-top: 0; padding: 0; font-size: 14px; gap: 6px; }
  .h-card__list li { gap: 8px; }
  .h-card__list svg { width: 14px; height: 14px; }

  .h-collage__note span { max-width: 80px; line-height: 1; }
  .h-collage__note { left: 2%; top: 7%; }
  .h-slider { gap: 0; position: relative; }
  .h-slider__arrow { display: none; }
  .h-slide { flex-basis: 72%; }
  .h-btn-social { flex: 1 1 auto; }
  .h-social__ctas { width: 100%; }
  .home .h-faq .faq__a { margin-left: 0; }
  .home .bw__fields { grid-template-columns: minmax(0, 1fr); }
}
