/* =====================================================================
   BARBERSHOP BOOM — STYLE
   Couleurs inspirées du salon : bois chaud, noir, or des capes,
   rouge / blanc / bleu de l'enseigne de barbier.
   ===================================================================== */

:root {
  --bg: #14100c;
  --bg-2: #1b150f;
  --panel: #231b13;
  --line: rgba(243, 233, 216, 0.13);
  --cream: #f3e9d8;
  --muted: #bcae98;
  --gold: #e0a93f;
  --gold-2: #f3c96e;
  --red: #c8372d;
  --blue: #2c5fae;
  --ink: #17110b;

  --display: "Alfa Slab One", "Rockwell", "Georgia", serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --gutter: 20px;
  --radius: 14px;
  --header-h: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 3px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Typographie ---------- */

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 5.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }

.btn-ghost { background: transparent; border-color: rgba(243, 233, 216, 0.35); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); }

.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #000; }

.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 0.95rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 16, 12, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}
.brand-pole {
  width: 10px;
  height: 30px;
  border-radius: 6px;
  flex: none;
  background: repeating-linear-gradient(
    -45deg,
    var(--red) 0 5px,
    var(--cream) 5px 10px,
    var(--blue) 10px 15px,
    var(--cream) 15px 20px
  );
  box-shadow: 0 0 0 1.5px rgba(243, 233, 216, 0.35);
}
.brand-text {
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-text b { font-weight: 400; color: var(--gold); }

.nav { display: none; gap: 28px; }
.nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--muted);
  padding: 8px 0;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--cream); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  min-width: 40px;
  min-height: 36px;
  border-radius: 999px;
  cursor: pointer;
}
.lang button[aria-pressed="true"] {
  background: var(--cream);
  color: var(--ink);
}

.header-call { display: none; }

/* ---------- Accueil ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(224, 169, 63, 0.2), transparent 70%),
    radial-gradient(45% 40% at 8% 90%, rgba(200, 55, 45, 0.1), transparent 70%),
    repeating-linear-gradient(90deg, rgba(243, 233, 216, 0.022) 0 1px, transparent 1px 92px),
    linear-gradient(180deg, #1a140e 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  gap: 40px;
  padding-block: 44px 56px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 22px;
}
.hero-title-top {
  font-size: clamp(1.5rem, 7.6vw, 3rem);
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 6px;
}
.hero-title-main {
  font-size: clamp(4.4rem, 25vw, 12.5rem);
  letter-spacing: 0.01em;
  color: var(--cream);
  text-shadow: 4px 4px 0 rgba(224, 169, 63, 0.9);
  margin-left: -0.03em;
}

.lead {
  font-size: clamp(1.08rem, 2.6vw, 1.3rem);
  color: var(--cream);
  max-width: 34ch;
  margin-bottom: 26px;
}

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-art {
  position: relative;
  width: 100%;
  max-width: 470px;
  justify-self: center;
  padding: 0 14px 30px 0;
}

.frame {
  position: relative;
  border-radius: var(--radius);
}
.frame::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
}
.frame img {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}

.plate {
  position: absolute;
  left: -6px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--cream);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  transform: rotate(-2deg);
}
.plate-line { font-size: 0.86rem; font-weight: 500; line-height: 1.25; }
.plate-strong {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Bande « enseigne de barbier » */
.pole-band {
  height: 12px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--red) 0 18px,
    var(--cream) 18px 36px,
    var(--blue) 36px 54px,
    var(--cream) 54px 72px
  );
  background-size: 101.823px 100%;
  animation: pole 5s linear infinite;
}
@keyframes pole {
  to { background-position-x: 101.823px; }
}

/* ---------- Sections ---------- */

.section {
  padding-block: 72px;
  scroll-margin-top: var(--header-h);
}
.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.section-head { margin-bottom: 34px; max-width: 640px; }
.section-sub { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

/* ---------- Services (carte façon ardoise) ---------- */

.menu {
  display: grid;
  gap: 0 56px;
  border-top: 1px solid var(--line);
}

.menu-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.menu-num {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--gold);
  width: 2.2ch;
}

.menu-body h3 {
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.25;
}
.menu-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  margin-top: 3px;
}

.menu-price {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--cream);
  white-space: nowrap;
  text-align: right;
}
.menu-price.is-placeholder { color: var(--gold); }

/* ---------- Le salon ---------- */

.salon-grid {
  display: grid;
  gap: 44px;
  align-items: center;
}

.salon-copy h2 { margin-bottom: 20px; }
.salon-copy > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 14px;
}

.facts {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.facts li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 10px;
  padding: 14px 18px;
}
.facts strong { display: block; font-size: 1.04rem; }
.facts span { color: var(--muted); font-size: 0.94rem; }

.salon-art {
  width: 100%;
  max-width: 380px;
  justify-self: center;
  padding: 0 14px 14px 0;
}
.frame-tall img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
}

/* ---------- Avis clients ---------- */

.stars {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0.15em;
  font-size: 20px;
  line-height: 0;
  vertical-align: middle;
}
.stars svg {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.stars svg.is-on { fill: var(--gold); }
.stars-lg { font-size: 34px; }

/* Étoiles à remplissage partiel : une rangée vide, une rangée pleine coupée à la bonne largeur */
.stars-meter {
  position: relative;
  display: inline-block;
  line-height: 0;
  font-size: 24px;
}
.stars-meter .stars { font-size: inherit; }
.stars-fill {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
}

/* Encart affiché tant qu'il n'y a pas encore d'avis */
.review-invite {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 720px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 24px;
}
.review-invite h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 4px;
}
.review-invite p { color: var(--muted); max-width: 52ch; }
.review-invite .btn { margin-top: 8px; }

/* Note moyenne */
.review-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.review-summary + .review-grid { margin-top: 20px; }
.review-score {
  font-family: var(--display);
  font-weight: 400;
  font-size: 4rem;
  line-height: 1;
  color: var(--cream);
}
.review-summary-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 1rem;
  margin-right: auto;
}
.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}
.review-actions .btn { flex: 1 1 200px; }

/* Cartes d'avis */
.review-grid {
  display: grid;
  gap: 16px;
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.review-card blockquote {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.55;
  color: var(--cream);
  overflow-wrap: anywhere;
}
.review-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.review-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.1rem;
}
.review-who strong { display: block; line-height: 1.3; }
.review-who div span { color: var(--muted); font-size: 0.88rem; }

/* ---------- Réservation ---------- */

.booking {
  display: grid;
  gap: 32px;
}
.booking-steps,
.booking-side {
  display: grid;
  gap: 30px;
  align-content: start;
  min-width: 0;
}

.bk-step { min-width: 0; }
.bk-step h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}
.bk-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--display);
  font-size: 0.95rem;
}

/* Boutons de choix (coiffeur, date, heure) : de vrais boutons radio */
.bk-choice {
  position: relative;
  display: block;
}
.bk-radio {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.bk-radio:disabled { cursor: not-allowed; }
.bk-choice-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 100%;
  min-height: 56px;
  padding: 10px 12px;
  background: var(--panel);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  text-align: center;
  line-height: 1.25;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.bk-choice-box small { color: var(--muted); font-size: 0.8rem; }
.bk-choice:hover .bk-radio:not(:disabled):not(:checked) + .bk-choice-box { border-color: var(--gold); }
.bk-radio:checked + .bk-choice-box {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.bk-radio:checked + .bk-choice-box small,
.bk-radio:checked + .bk-choice-box .bk-date-dow,
.bk-radio:checked + .bk-choice-box .bk-date-mon { color: var(--ink); }
.bk-radio:focus-visible + .bk-choice-box {
  outline: 3px solid var(--gold-2);
  outline-offset: 3px;
}
.bk-radio:disabled + .bk-choice-box { opacity: 0.4; }

.bk-hint {
  color: var(--muted);
  font-size: 0.92rem;
  margin: -6px 0 12px;
}

.bk-services,
.bk-barbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.bk-service .bk-choice-box { min-height: 62px; }
/* Coche visible sur un service sélectionné */
.bk-service .bk-radio:checked + .bk-choice-box strong::before {
  content: "✓ ";
}
.bk-barber .bk-choice-box { min-height: 68px; }

/* Dates : bande à faire défiler sur téléphone, grille sur grand écran */
.bk-dates {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 70px;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  margin-inline: -4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.bk-date { scroll-snap-align: start; }
.bk-date .bk-choice-box { min-height: 82px; padding: 8px 4px; }
.bk-date-dow,
.bk-date-mon {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.bk-date-num {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.1;
}

.bk-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
}
.bk-slot .bk-choice-box {
  min-height: 48px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bk-empty {
  color: var(--muted);
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}

/* Champs du formulaire */
.bk-fields { display: grid; gap: 14px; }
.bk-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.bk-field input,
.bk-field select {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--panel);
  color: var(--cream);
  color-scheme: dark;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
}
.bk-field input:focus,
.bk-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(224, 169, 63, 0.25);
}
.bk-field [aria-invalid="true"] { border-color: #e5675c; }
.bk-field-error {
  color: #f39a90;
  font-size: 0.86rem;
  margin-top: 6px;
}

/* Récapitulatif */
.bk-summary {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 18px 20px;
}
.bk-summary h3 {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.bk-summary-list { display: grid; gap: 8px; width: 100%; }
.bk-summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.bk-summary-list dt { color: var(--muted); flex: none; }
.bk-summary-list dd { font-weight: 700; text-align: right; }

.bk-error {
  color: #f6b0a8;
  background: rgba(200, 55, 45, 0.14);
  border: 1px solid rgba(200, 55, 45, 0.55);
  border-radius: 12px;
  padding: 12px 16px;
}
.bk-submit { width: 100%; }
.bk-demo {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

/* Écran de confirmation */
.bk-done {
  display: grid;
  gap: 16px;
  justify-items: start;
  max-width: 640px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 24px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.bk-done:focus { outline: none; }
.bk-done-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
}
.bk-done-icon svg { width: 28px; height: 28px; fill: var(--ink); }
.bk-done h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.bk-done p { color: var(--muted); }
.bk-msgs { display: grid; gap: 12px; width: 100%; }
.bk-msgs:empty { display: none; }
.bk-msg {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.bk-msg strong {
  display: block;
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}
.bk-done .bk-msg p { color: var(--cream); font-size: 0.95rem; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  gap: 28px;
}

.shopfront img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.shopfront figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 10px;
}

.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
  margin-block: 28px;
}
.details-wide { grid-column: 1 / -1; }
.details dt {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.details dd { font-size: 1.08rem; line-height: 1.45; }
.details a { text-decoration-color: rgba(243, 233, 216, 0.4); text-underline-offset: 4px; }
.details a:hover { text-decoration-color: var(--gold); }

.hours-table { width: 100%; max-width: 360px; border-collapse: collapse; }
.hours-table th,
.hours-table td {
  padding: 7px 0;
  font-size: 1rem;
  font-weight: 400;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr.is-today th,
.hours-table tr.is-today td { color: var(--gold-2); font-weight: 700; }
.hours-table .is-closed { color: var(--muted); }

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.social a:hover { border-color: var(--gold); color: var(--gold-2); }

.map {
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

/* ---------- Pied de page ---------- */

.site-footer { background: #0e0b08; }
.footer-row {
  display: grid;
  gap: 22px;
  padding-block: 36px 110px;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-brand {
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 8px;
}
.footer-brand b { font-weight: 400; color: var(--gold); }
.footer-legal p + p { margin-top: 6px; }
.site-footer a { text-underline-offset: 4px; }

/* ---------- Barre fixe mobile ---------- */

.mobile-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(14, 11, 8, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn { min-height: 50px; padding: 12px 14px; }

/* ---------- Apparition au défilement ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* =====================================================================
   TABLETTE ET ORDINATEUR
   ===================================================================== */

@media (min-width: 620px) {
  .header-call { display: inline-flex; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .review-invite { padding: 40px; }
  .bk-barbers { grid-template-columns: repeat(4, 1fr); }
  .bk-services { grid-template-columns: repeat(3, 1fr); }
  .bk-dates {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(7, 1fr);
    overflow: visible;
    padding-bottom: 4px;
  }
  .bk-done { padding: 40px; }
  .footer-row { grid-template-columns: 1fr auto; align-items: end; }
  .footer-legal { text-align: right; }
}

@media (min-width: 900px) {
  :root { --gutter: 32px; --header-h: 72px; }
  body { font-size: 18px; }

  .nav { display: flex; }
  .mobile-bar { display: none; }
  .footer-row { padding-bottom: 40px; }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 56px;
    padding-block: 72px 88px;
  }
  .hero-title-main { font-size: clamp(6.6rem, 12vw, 10.5rem); }
  .hero-art { justify-self: end; }

  .section { padding-block: 104px; }
  .section-head { margin-bottom: 48px; }

  .review-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .review-summary { padding: 32px 36px; }
  .review-actions { width: auto; }
  .review-actions .btn { flex: none; }

  .booking {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 56px;
    align-items: start;
  }
  .booking-side {
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }

  .menu { grid-template-columns: 1fr 1fr; }
  .menu-row { padding: 24px 0; }

  .salon-grid { grid-template-columns: 1.2fr 0.8fr; gap: 72px; }
  .facts { grid-template-columns: 1fr; }
  .salon-art { justify-self: end; }

  .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
  .map, .map iframe { min-height: 100%; }
  .map { min-height: 520px; }
}

@media (min-width: 1100px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts li { padding: 16px; }
}

/* =====================================================================
   ACCESSIBILITÉ : moins d'animations si l'utilisateur le demande
   ===================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pole-band { animation: none; }
  .btn { transition: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
