/* ==========================================================================
   Richi Coiffure — thème « tout noir », version épurée
   Chargé APRÈS style.css (et booking.css). Fond noir intégral, titres condensés
   lumineux, verre dépoli, coins arrondis, peu d'éléments par écran.
   ========================================================================== */

:root {
  --ink: #07080a;
  --ink-2: #0c0d10;
  --ink-3: #131418;
  --ink-4: #1b1c21;
  --paper: #f2f2f4;           /* ici : texte clair sur fond noir */
  --on-dark: #f2f2f4;
  --on-dark-muted: #8b8b98;
  --metal: #e8e8ee;
  --metal-dark: #b3b3bf;
  --line-dark: rgba(255, 255, 255, .08);

  --surface: #0f1014;
  --surface-2: #15161b;
  --glass: rgba(255, 255, 255, .08);
  --glass-strong: rgba(255, 255, 255, .14);
  --glass-line: rgba(255, 255, 255, .14);
  --glow: 0 0 22px rgba(255, 255, 255, .35);

  --f-display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 12px;
  --header-h: 84px;
  --section-y: clamp(4.5rem, 11vw, 8rem);
}

/* Sections anciennement claires : jetons inversés pour rester lisibles sur noir */
.section--light,
.section--paper,
.bk-wrap {
  --ink: #f2f2f4;
  --paper: #111216;
  --paper-2: #0d0e12;
  --paper-3: #1a1b20;
  --white: #121318;
  --on-light: #f2f2f4;
  --on-light-muted: #8b8b98;
  --line-light: rgba(255, 255, 255, .08);
  --metal-dark: #b3b3bf;
  color: var(--on-light);
}
body,
.bk-page,
.section--dark,
.section--light,
.section--paper { background: #07080a; }

::selection { background: #f2f2f4; color: #07080a; }
:focus-visible,
.section--light :focus-visible,
.section--paper :focus-visible { outline-color: #f2f2f4; }

/* ---------- Typographie ---------- */
.section-title {
  font-weight: 400;
  font-size: clamp(3rem, 12vw, 6rem);
  line-height: .92;
  letter-spacing: .01em;
  text-shadow: var(--glow);
}
.section-title em,
.section--dark .section-title em {
  font-style: normal;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  text-shadow: none;
}
.section-head { margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head--center { text-align: center; }
.eyebrow { letter-spacing: .22em; color: var(--on-dark-muted); }
.section-lead { color: var(--on-dark-muted); }

/* ---------- En-tête : pilule flottante en verre ---------- */
.header {
  inset: 12px 12px auto;
  max-width: 1080px;
  margin-inline: auto;
  height: auto;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background: rgba(12, 13, 16, .55);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.header.is-scrolled,
body.menu-open .header {
  background: rgba(12, 13, 16, .82);
  border-color: rgba(255, 255, 255, .12);
}
.header__inner { height: 60px; max-width: none; padding: 0 8px 0 18px; }
.brand__name {
  font-family: var(--f-display);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: .05em;
  text-shadow: 0 0 14px rgba(255, 255, 255, .35);
}
.brand__sub { color: var(--on-dark-muted); letter-spacing: .28em; }
.burger { margin-right: 0; border-radius: 12px; }
.burger:hover { background: var(--glass); }
@media (min-width: 1180px) {
  .nav__list a { text-transform: none; letter-spacing: 0; font-size: .9rem; color: #a3a3ae; }
  .nav__list a::after { background: #f2f2f4; }
}

/* ---------- Boutons : verre translucide ---------- */
.btn {
  border-radius: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-size: .95rem;
  font-weight: 600;
  min-height: 50px;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.btn::before { content: none; }
.btn--sm { min-height: 42px; font-size: .875rem; border-radius: 10px; }
.btn--lg { min-height: 58px; font-size: 1rem; padding: 0 2.25rem; }
.btn--light,
.btn--dark,
.btn--ghost-light,
.btn--ghost-dark {
  background: var(--glass);
  color: #f2f2f4;
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--ghost-light,
.btn--ghost-dark { background: transparent; }
.btn--light { background: var(--glass-strong); border-color: rgba(255, 255, 255, .28); }
.btn--light:hover,
.btn--dark:hover,
.btn--ghost-light:hover,
.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  box-shadow: 0 0 26px rgba(255, 255, 255, .16);
}
.btn--glow {
  border-color: rgba(255, 255, 255, .6);
  box-shadow: 0 0 24px rgba(255, 255, 255, .18), inset 0 0 14px rgba(255, 255, 255, .06);
}
.link-arrow { text-transform: none; letter-spacing: 0; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { text-align: center; }
.hero__media { background: #07080a; border-radius: 0; }
.hero__media img { filter: grayscale(1) brightness(.6) contrast(1.12); }
.hero__shade {
  background:
    radial-gradient(70% 55% at 50% 30%, rgba(7, 8, 10, 0) 0%, rgba(7, 8, 10, .55) 100%),
    linear-gradient(0deg, #07080a 0%, rgba(7, 8, 10, .6) 40%, rgba(7, 8, 10, .3) 100%);
}
.hero::after {                     /* deux faisceaux de lumière */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 38%, rgba(255, 255, 255, .07) 44%, transparent 50%),
    linear-gradient(242deg, transparent 38%, rgba(255, 255, 255, .07) 44%, transparent 50%);
}
.hero__content { display: flex; flex-direction: column; align-items: center; padding-bottom: 3.5rem; }
.hero__eyebrow { justify-content: center; color: var(--on-dark-muted); letter-spacing: .24em; }
.hero__eyebrow::after { content: ""; flex: none; width: 2.5rem; height: 1px; background: currentColor; }
.hero__name {
  font-family: var(--f-display);
  font-style: normal;
  font-size: clamp(4.75rem, 25vw, 13rem);
  line-height: .86;
  letter-spacing: .015em;
  text-shadow: 0 0 34px rgba(255, 255, 255, .55);
}
.hero__tagline {
  margin-top: 1.25rem;
  font-family: var(--f-display);
  font-style: normal;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 6.5vw, 2.6rem);
  letter-spacing: .02em;
  text-shadow: var(--glow);
}
.hero__actions { justify-content: center; width: 100%; max-width: 26rem; margin-top: 2rem; }
.hero__actions .btn { width: 100%; }
.hero__scroll::after { background: linear-gradient(#f2f2f4, transparent); }

/* ---------- Liste de prix ---------- */
.prices {
  max-width: 760px;
  margin-inline: auto;
  border-top: 1px solid var(--line-dark);
}
.prices__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: .25rem 1.25rem;
  padding: 1.15rem .25rem;
  border-bottom: 1px solid var(--line-dark);
}
.prices__name { font-weight: 600; font-size: 1.05rem; }
.prices__name small { display: block; font-weight: 400; font-size: .8125rem; color: var(--on-dark-muted); }
.prices__price {
  font-family: var(--f-display);
  font-size: 1.9rem;
  line-height: 1;
  text-align: right;
}
.prices__price [data-price-value] { display: block; }
.prices__row .btn { min-width: 6.5rem; }
.prices__row .prices__off { min-width: 6.5rem; font-size: .8125rem; text-align: center; color: var(--on-dark-muted); }
.prices__cat {
  padding: 1.75rem .25rem .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

/* ---------- Le salon ---------- */
.salon { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.salon .media { border-radius: 18px; aspect-ratio: 3 / 4; }
.salon .media:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.salon .media img { filter: grayscale(.5) brightness(.85) contrast(1.08); }
.salon__text {
  max-width: 34rem;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 1.0625rem;
  color: var(--on-dark-muted);
}
@media (min-width: 760px) {
  .salon { grid-template-columns: 1.6fr 1fr 1fr; }
  .salon .media:first-child { grid-column: auto; aspect-ratio: auto; height: 100%; }
  .salon .media { border-radius: 20px; }
}

/* ---------- Réalisations ---------- */
.media { border-radius: 16px; }
.gallery { gap: .6rem; }
.gallery .media img { filter: saturate(.85) contrast(1.05); }
.gallery__item .media { aspect-ratio: 3 / 4; }
@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
}

/* ---------- Avis ---------- */
.score { display: grid; justify-items: center; gap: .5rem; text-align: center; }
.score__value {
  font-family: var(--f-display);
  font-size: clamp(6rem, 28vw, 10rem);
  line-height: .85;
  text-shadow: 0 0 34px rgba(255, 255, 255, .5);
}
.score__value span { font-size: .35em; color: var(--on-dark-muted); text-shadow: none; }
.score__stars { display: flex; gap: .35rem; }
.score__stars span {
  width: 18px;
  height: 18px;
  background: #f2f2f4;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.score__meta { color: var(--on-dark-muted); margin-bottom: 1rem; }

/* ---------- Accès ---------- */
.access {
  display: grid;
  gap: 1rem;
  max-width: 960px;
  margin-inline: auto;
}
.access__card {
  padding: 1.75rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .07);
}
.access__label {
  margin-bottom: .6rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.access__big { font-family: var(--f-display); font-size: 2rem; line-height: 1.05; letter-spacing: .02em; }
.access__card .btn { margin-top: 1.25rem; width: 100%; }
.access__hours { width: 100%; }
.access__hours th { text-align: left; font-weight: 500; padding: .2rem 1rem .2rem 0; }
.access__hours td { text-align: right; color: var(--on-dark-muted); padding: .2rem 0; }
@media (min-width: 760px) {
  .access { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Dernier appel ---------- */
.final { text-align: center; }
.final .section-title { margin-bottom: 2rem; }

/* ---------- Barre mobile, toast, visionneuse, menu ---------- */
.mobile-cta {
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  padding: .5rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: rgba(12, 13, 16, .8);
  transform: translateY(160%);
}
.mobile-cta__call { border-radius: 12px; border-color: rgba(255, 255, 255, .18); }
.toast { background: #15161b; color: #f2f2f4; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; }
.lightbox__btn { border-radius: 12px; font-family: var(--f-sans); }
.mobile-menu { background: #07080a; }
.mobile-menu__nav a {
  font-size: clamp(2.6rem, 12vw, 3.6rem);
  letter-spacing: .02em;
  text-shadow: 0 0 18px rgba(255, 255, 255, .3);
}

/* ---------- Pied de page ---------- */
.footer { background: #07080a; border-top: 1px solid var(--line-dark); padding-top: 3.5rem; }
.footer__mini {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  text-align: center;
}
.footer__logo { font-size: 2.8rem; letter-spacing: .03em; text-shadow: var(--glow); }
.footer__logo em { font-style: normal; text-transform: uppercase; color: var(--on-dark-muted); text-shadow: none; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; color: var(--on-dark-muted); }
.footer__links a:hover { color: #fff; }
.footer__wordmark { -webkit-text-stroke: 1px rgba(255, 255, 255, .12); letter-spacing: .02em; }
.footer__legal { background: #07080a; }

/* ---------- Pages Réservation et légales ---------- */
.legal-header { background: #07080a; border-bottom: 1px solid var(--line-dark); }
.bk-module {
  /* Le module Planity lit lui aussi des variables nommées --white, --ink… :
     on lui rend ses valeurs claires d'origine pour qu'il reste lisible. */
  --white: #fff;
  --ink: #0b0b0b;
  --paper: #f5f2ed;
  --paper-2: #ece8e1;
  --paper-3: #ddd8cf;
  --on-light: #121212;
  --on-light-muted: #57544e;
  --line-light: rgba(18, 18, 18, .13);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  color: #121212;
  border: 0;
}
.bk-module .bk-fallback__title,
.bk-module .bk-fallback__text,
.bk-module__loading { color: #121212; }
.bk-fallback__title { font-family: var(--f-display); letter-spacing: .02em; }
.bk-card { border-radius: 20px; background: var(--surface); border: 1px solid rgba(255, 255, 255, .08); color: #f2f2f4; }
.bk-card__rating strong,
.bk-card__tel a { color: #f2f2f4; }
.bk-card__name em { font-style: normal; text-transform: uppercase; color: var(--on-dark-muted); }
.bk-card__label { color: var(--on-dark-muted); }
.legal h2 { font-family: var(--f-display); font-weight: 400; font-size: 1.8rem; letter-spacing: .02em; }

@media (min-width: 640px) {
  .hero__actions .btn { width: auto; }
}

/* ==========================================================================
   Boutique (boutique.html) : réservation de produits, retrait au salon
   ========================================================================== */
.shop-perks {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.shop-perks li {
  padding: .45rem .85rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: .8125rem;
  color: #c9c9d2;
}
.shop-perks li::before { content: "✓  "; color: #f2f2f4; }

.shop { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.shop[hidden] { display: none; }
.shop__filters { margin: 0 0 1rem; padding: 0; justify-content: flex-start; max-width: none; }
.filter {
  min-height: 40px;
  border-color: rgba(255, 255, 255, .14);
  border-radius: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: .875rem;
  color: var(--on-dark-muted);
}
.filter:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.filter[aria-pressed="true"] { background: #f2f2f4; border-color: #f2f2f4; color: #07080a; }
.shop__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.shop-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: border-color .3s var(--ease);
}
.shop-card[hidden] { display: none; }
.shop-card:hover { border-color: rgba(255, 255, 255, .16); }
.shop-card .media { border-radius: 0; }
.shop-card.is-off .media { opacity: .45; }
.shop-card__body { display: flex; flex-direction: column; gap: .3rem; flex: 1; padding: .9rem; }
.shop-card__cat {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.shop-card__name { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.shop-card__desc { font-size: .8125rem; color: var(--on-dark-muted); }
.shop-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: auto;
  padding-top: .75rem;
}
.shop-card__price { font-family: var(--f-display); font-size: 1.7rem; line-height: 1; }
.shop-card__off { font-size: .8125rem; color: var(--on-dark-muted); }
.shop-card__add { min-width: 6rem; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--glass-line);
  border-radius: 10px;
  background: var(--glass);
}
.qty__btn {
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  color: #f2f2f4;
  border-radius: 10px;
}
.qty__btn:hover:not(:disabled) { background: rgba(255, 255, 255, .12); }
.qty__btn:disabled { opacity: .3; cursor: default; }
.qty__value { min-width: 1.75rem; text-align: center; font-weight: 700; }

.shop-cart {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .08);
}
.shop-cart__title { font-family: var(--f-display); font-weight: 400; font-size: 2rem; letter-spacing: .02em; }
.shop-cart__empty { color: var(--on-dark-muted); font-size: .9375rem; }
.shop-cart__list { display: grid; gap: .5rem; font-size: .9375rem; }
.shop-cart__list li,
.shop-cart__total { display: flex; justify-content: space-between; gap: 1rem; }
.shop-cart__total {
  padding-top: .75rem;
  margin-top: .25rem;
  border-top: 1px solid var(--line-dark);
  font-weight: 700;
}
.shop-cart__note { font-size: .8125rem; color: var(--on-dark-muted); }
.shop-cart [hidden] { display: none; }

.shop-checkout { margin-top: clamp(3rem, 8vw, 5rem); max-width: 760px; }
.shop-checkout[hidden] { display: none; }
.shop-checkout__title { margin-bottom: 1.5rem; font-size: clamp(2.4rem, 9vw, 4rem); }
.shop-checkout__note { font-size: .8125rem; text-align: center; color: var(--on-dark-muted); }
.field__hint { font-size: .8125rem; color: var(--on-dark-muted); }
.field input[type="date"] { color-scheme: dark; }

.shop-done {
  max-width: 36rem;
  margin: 1rem auto 0;
  padding: clamp(2rem, 6vw, 3.25rem) clamp(1.25rem, 5vw, 2.75rem);
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
  color: #f2f2f4;
}
.shop-done[hidden] { display: none; }
.shop-done .bk-done__icon {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: #f2f2f4;
  box-shadow: 0 0 28px rgba(255, 255, 255, .35);
}
.shop-done .bk-done__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 12px;
  border-left: 2px solid #07080a;
  border-bottom: 2px solid #07080a;
  transform: translate(-50%, -70%) rotate(-45deg);
}
.shop-done .bk-done__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 9vw, 3.4rem);
  line-height: 1;
  letter-spacing: .02em;
  text-shadow: var(--glow);
}
.shop-done .bk-done__title:focus { outline: none; }
.shop-done .bk-done__text { margin: 1rem 0 1.5rem; color: #b9b9c4; }
.shop-done__recap { text-align: left; padding: 1rem 1.2rem; border: 1px solid var(--line-dark); border-radius: 14px; }
.shop-done .bk-done__demo { margin-top: 1rem; font-size: .8125rem; color: var(--on-dark-muted); }
.shop-done .bk-done__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }

/* Barre « Ma réservation » (téléphone) */
.shop-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem .5rem .5rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(12, 13, 16, .85);
  color: #f2f2f4;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.shop-bar[hidden] { display: none; }
.shop-bar__info { font-size: .9375rem; }
.shop-bar__info span { color: var(--on-dark-muted); }
.shop-page { padding-bottom: 90px; }

@media (min-width: 760px) {
  .shop__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .shop-card__body { padding: 1.1rem; }
}
@media (min-width: 1024px) {
  .shop { grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; }
  .shop__cart { position: sticky; top: 1.5rem; }
  .shop-bar { display: none; }
  .shop-page { padding-bottom: 0; }
}
