/* =========================================================
   Decroche — plateforme client (maquette HTML/CSS)
   Mobile d'abord. Points de rupture : 720 px (tablette), 1024 px (ordinateur).
   ========================================================= */

:root {
  /* Couleurs de marque */
  --c-primary: #0A8AA2;   /* teal principal : icônes, bordures actives, gros boutons (libellé ≥ 19 px gras) */
  --c-dark: #0B3C49;      /* titres, liens, boutons compacts, état actif */
  --c-accent: #1AB8CF;    /* accent, pastilles ; texte foncé dessus uniquement */
  --c-light: #E0FBFC;     /* fonds clairs, sélection */
  --c-text: #101820;      /* texte courant, texte des champs */
  --c-muted: #486D76;     /* texte secondaire (5,6:1 sur blanc) */
  --c-border: #CFE6EA;    /* bordures fines */
  --c-white: #FFFFFF;
  --c-success: #17734A;
  --c-success-bg: #E6F4EC;

  /* Couleurs des catégories (épingles de carte) */
  --cat-coiffeur: #0A8AA2;
  --cat-barbier: #0B3C49;
  --cat-institut: #1AB8CF;
  --cat-ongles: #101820;
  --cat-massage: #FFFFFF; /* blanc + bord teal */

  /* Typographie */
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-12: 0.75rem;   /* 12 px — mentions */
  --fs-14: 0.875rem;  /* 14 px — secondaire */
  --fs-16: 1rem;      /* 16 px — texte courant, champs */
  --fs-18: 1.125rem;  /* 18 px — texte d'accroche */
  --fs-19: 1.1875rem; /* 19 px — libellés des gros boutons teal */
  --fs-22: 1.375rem;  /* 22 px — titres de carte */
  --fs-28: 1.75rem;   /* 28 px — titres de section (mobile) */
  --fs-32: 2rem;      /* 32 px — titre principal (mobile) */
  --fs-36: 2.25rem;   /* 36 px — titres de section (ordinateur) */
  --fs-48: 3rem;      /* 48 px — titre principal (ordinateur) */

  /* Espacements (base 4 px) */
  --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px; --s-20: 20px;
  --s-24: 24px; --s-32: 32px; --s-48: 48px; --s-64: 64px; --s-96: 96px;

  /* Rayons */
  --r-8: 8px; --r-12: 12px; --r-16: 16px; --r-24: 24px; --r-pill: 999px;

  /* Divers */
  --tap: 48px;           /* hauteur des boutons et champs (≥ 44 px) */
  --maxw: 1200px;
  --shadow-focus: 0 0 0 3px var(--c-white), 0 0 0 5px var(--c-primary);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-16);
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-white);
}
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
a { color: var(--c-dark); }
a:hover { color: var(--c-text); }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--r-8); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-16); }
.section { padding: var(--s-48) 0; }
.section + .section { border-top: 1px solid var(--c-border); }
.section-title { font-size: var(--fs-28); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; color: var(--c-dark); margin-bottom: var(--s-24); }
.section-lead { font-size: var(--fs-16); color: var(--c-muted); margin: calc(-1 * var(--s-16)) 0 var(--s-24); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-8);
  min-height: var(--tap); padding: 0 var(--s-20);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border-radius: var(--r-12); border: 0;
}
.btn-primary { background: var(--c-primary); color: var(--c-white); font-size: var(--fs-19); }
.btn-primary:hover { background: var(--c-dark); color: var(--c-white); }
.btn-dark { background: var(--c-dark); color: var(--c-white); font-size: var(--fs-16); }
.btn-dark:hover { background: var(--c-text); color: var(--c-white); }
.btn-outline { background: var(--c-white); color: var(--c-dark); border: 1.5px solid var(--c-primary); font-size: var(--fs-16); }
.btn-outline:hover { background: var(--c-light); color: var(--c-dark); }
.btn-light { background: var(--c-light); color: var(--c-text); font-size: var(--fs-19); }
.btn-light:hover { background: var(--c-white); color: var(--c-text); }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.site-header { border-bottom: 1px solid var(--c-border); background: var(--c-white); position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: var(--s-16); }
.logo { display: inline-flex; align-items: center; gap: var(--s-8); text-decoration: none; color: var(--c-dark); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.025em; min-height: var(--tap); }
.logo svg { width: 32px; height: 32px; }
.header-link { white-space: nowrap; font-size: 0.9375rem; font-weight: 600; color: var(--c-dark); text-decoration: none; display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--s-12); border-radius: var(--r-pill); border: 1px solid var(--c-border); }
.header-link:hover { background: var(--c-light); }

/* ---------- Bandeau de recherche ---------- */
.hero { padding: var(--s-32) 0 var(--s-16); background: var(--c-white); }
.hero h1 { font-size: var(--fs-32); line-height: 1.08; font-weight: 800; letter-spacing: -0.025em; color: var(--c-dark); max-width: 14ch; }
.hero h1 span { color: var(--c-primary); }
.search {
  margin-top: var(--s-24); display: grid; gap: var(--s-12);
  padding: var(--s-16); border: 1px solid var(--c-border); border-radius: var(--r-24); background: var(--c-white);
}
.field { display: flex; flex-direction: column; gap: var(--s-4); }
.field label { font-size: var(--fs-14); font-weight: 700; color: var(--c-dark); }
.input-wrap { position: relative; }
.input-wrap svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; pointer-events: none; }
.input {
  width: 100%; min-height: var(--tap); padding: 0 var(--s-16);
  font: inherit; font-size: var(--fs-16); color: var(--c-text); background: var(--c-white);
  border: 1.5px solid var(--c-border); border-radius: var(--r-12);
}
.input-wrap .input { padding-left: 44px; }
.input::placeholder { color: var(--c-muted); opacity: 1; }
.input:hover { border-color: var(--c-primary); }
.input:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-light); }
.hero-extras { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-12) var(--s-16); margin-top: var(--s-16); }
.badge-free { display: inline-flex; align-items: center; gap: var(--s-8); font-size: var(--fs-14); font-weight: 600; color: var(--c-success); background: var(--c-success-bg); border-radius: var(--r-pill); padding: 6px 12px; }

/* ---------- Catégories ---------- */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-12); }
.cat {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-16);
  min-height: 120px; padding: var(--s-16); border-radius: var(--r-16);
  background: var(--c-light); border: 1px solid var(--c-border);
  text-decoration: none; color: var(--c-dark);
}
.cat:hover { border-color: var(--c-primary); }
.cat-icon { width: 44px; height: 44px; border-radius: var(--r-12); background: var(--c-white); display: flex; align-items: center; justify-content: center; }
.cat-name { font-size: var(--fs-18); font-weight: 800; line-height: 1.2; }
.cat-soon { background: var(--c-white); border-style: dashed; border-color: var(--c-primary); }
.cat-soon .cat-name { font-size: var(--fs-16); }
.cat-soon small { display: block; font-size: var(--fs-14); font-weight: 500; color: var(--c-muted); margin-top: 2px; }

/* ---------- Résultats ---------- */
.results-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-12); margin-bottom: var(--s-16); }
.results-head .section-title { margin: 0; }
.results-head p { font-size: var(--fs-14); color: var(--c-muted); }
.toggle { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--c-border); border-radius: var(--r-pill); }
.toggle button {
  min-height: 40px; min-width: 96px; padding: 0 var(--s-16); border: 0; border-radius: var(--r-pill);
  font: inherit; font-size: var(--fs-16); font-weight: 700; color: var(--c-dark); background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
}
.toggle button[aria-pressed="true"] { background: var(--c-dark); color: var(--c-white); }
.toggle-wrap { min-height: var(--tap); display: flex; align-items: center; }

.results { display: grid; gap: var(--s-16); }
.list { display: grid; gap: var(--s-12); }
.shop {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s-12);
  padding: var(--s-12); border: 1px solid var(--c-border); border-radius: var(--r-16); background: var(--c-white);
}
.shop:hover { border-color: var(--c-primary); }
.shop-photo {
  width: 96px; height: 96px; border-radius: var(--r-12); background: var(--c-light);
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.shop-photo span { position: absolute; bottom: 6px; left: 6px; font-size: 11px; font-weight: 600; color: var(--c-muted); }
.shop-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.shop-name { font-size: var(--fs-18); font-weight: 800; color: var(--c-dark); line-height: 1.25; }
.shop-meta { font-size: var(--fs-14); color: var(--c-muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-12); font-weight: 700; color: var(--c-dark); background: var(--c-light); border-radius: var(--r-pill); padding: 2px 8px; align-self: flex-start; justify-self: start; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.shop-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: var(--s-12); border-top: 1px solid var(--c-border); padding-top: var(--s-12); }
.price { font-size: var(--fs-16); font-weight: 800; color: var(--c-dark); }
.next-slot { font-size: var(--fs-14); color: var(--c-success); font-weight: 600; display: flex; align-items: center; gap: 6px; }

.map {
  position: relative; border-radius: var(--r-16); overflow: hidden; border: 1px solid var(--c-border);
  background: var(--c-light); min-height: 420px;
}
.map svg.streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin {
  position: absolute; width: 36px; height: 36px; border-radius: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-14); font-weight: 800; color: var(--c-white); border: 2.5px solid var(--c-white);
  box-shadow: 0 1px 2px rgba(16, 24, 32, 0.25); text-decoration: none;
}
.pin.is-active { width: 48px; height: 48px; font-size: var(--fs-18); border-color: var(--c-text); z-index: 2; }
.pin--coiffeur { background: var(--cat-coiffeur); }
.pin--barbier { background: var(--cat-barbier); }
.pin--institut { background: var(--cat-institut); color: var(--c-text); }
.pin--ongles { background: var(--cat-ongles); }
.pin--massage { background: var(--cat-massage); color: var(--c-dark); border-color: var(--c-primary); }
.map-legend {
  position: absolute; left: var(--s-12); bottom: var(--s-12); right: var(--s-12);
  display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 8px 12px; border-radius: var(--r-12);
  background: var(--c-white); border: 1px solid var(--c-border); font-size: var(--fs-12); font-weight: 600;
}
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-card {
  position: absolute; left: var(--s-12); right: var(--s-12); top: var(--s-12);
  display: flex; align-items: center; gap: var(--s-12); padding: var(--s-12);
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-12);
}
.map-card .shop-name { font-size: var(--fs-16); }
.map-card .btn { margin-left: auto; }

[hidden] { display: none !important; }

/* ---------- Étapes / avantages ---------- */
.steps { display: grid; gap: var(--s-16); counter-reset: step; }
.step { display: flex; gap: var(--s-16); align-items: flex-start; }
.step-num { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--c-primary); color: var(--c-white); font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: var(--fs-18); font-weight: 800; color: var(--c-dark); line-height: 1.3; }
.step p { font-size: var(--fs-16); color: var(--c-muted); }

.whys { display: grid; gap: var(--s-12); }
.why { display: flex; gap: var(--s-12); align-items: flex-start; padding: var(--s-16); border-radius: var(--r-16); border: 1px solid var(--c-border); }
.why-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--r-12); background: var(--c-light); display: flex; align-items: center; justify-content: center; }
.why h3 { font-size: var(--fs-18); font-weight: 800; color: var(--c-dark); line-height: 1.3; }
.why p { font-size: var(--fs-16); color: var(--c-text); }
.why--phone { background: var(--c-light); border-color: var(--c-primary); }
.why--phone .why-icon { background: var(--c-white); }

/* ---------- Villes ---------- */
.cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-12); }
.city {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-8);
  min-height: 64px; padding: 0 var(--s-16); border-radius: var(--r-16); border: 1px solid var(--c-border);
  font-size: var(--fs-18); font-weight: 800; color: var(--c-dark); text-decoration: none;
}
.city:hover { border-color: var(--c-primary); background: var(--c-light); }
.city small { font-size: var(--fs-14); font-weight: 500; color: var(--c-muted); }
.city--soon { border-style: dashed; font-size: var(--fs-16); font-weight: 700; color: var(--c-muted); }

/* ---------- Bloc commerçants ---------- */
.pro { background: var(--c-dark); color: var(--c-white); border-radius: var(--r-24); padding: var(--s-32) var(--s-24); display: grid; gap: var(--s-20); }
.pro h2 { font-size: 1.5rem; line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.pro h2 span { color: var(--c-accent); }
.pro p { font-size: var(--fs-18); line-height: 1.5; }
.pro ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-8); font-size: var(--fs-16); }
.pro li { display: flex; gap: var(--s-8); align-items: flex-start; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--c-border); padding: var(--s-48) 0 var(--s-32); margin-top: var(--s-48); }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-32) var(--s-16); }
.footer-grid h2 { font-size: var(--fs-16); font-weight: 800; color: var(--c-dark); margin-bottom: var(--s-8); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-grid a { display: inline-flex; align-items: center; min-height: 36px; font-size: var(--fs-14); color: var(--c-text); text-decoration: none; }
.footer-grid a:hover { color: var(--c-dark); text-decoration: underline; }
.footer-bottom { margin-top: var(--s-32); padding-top: var(--s-16); border-top: 1px solid var(--c-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-8); font-size: var(--fs-14); color: var(--c-muted); }

/* =========================================================
   Page de réservation
   ========================================================= */
.cover {
  height: 180px; background: var(--c-light); display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--c-border); position: relative;
}
.cover span { position: absolute; right: var(--s-16); bottom: var(--s-12); font-size: var(--fs-12); font-weight: 600; color: var(--c-muted); }
.shop-header { padding: var(--s-24) 0 var(--s-16); display: grid; gap: var(--s-8); }
.shop-header h1 { font-size: var(--fs-32); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--c-dark); }
.info-line { display: flex; align-items: flex-start; gap: var(--s-8); font-size: var(--fs-16); }
.info-line svg { flex-shrink: 0; margin-top: 2px; }
.open-now { color: var(--c-success); font-weight: 700; }
details.hours { border: 1px solid var(--c-border); border-radius: var(--r-12); }
details.hours summary { min-height: var(--tap); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--s-16); cursor: pointer; font-weight: 700; color: var(--c-dark); list-style: none; }
details.hours summary::-webkit-details-marker { display: none; }
details.hours[open] summary svg { transform: rotate(180deg); }
.hours-table { width: 100%; border-collapse: collapse; font-size: var(--fs-16); }
.hours-table th, .hours-table td { padding: 8px var(--s-16); border-top: 1px solid var(--c-border); text-align: left; }
.hours-table th { font-weight: 600; }
.hours-table td { text-align: right; }
.hours-table tr.is-today th, .hours-table tr.is-today td { background: var(--c-light); font-weight: 800; }

.book { display: grid; gap: var(--s-32); padding-bottom: var(--s-48); }
.step-block { display: grid; gap: var(--s-12); }
.step-label { display: flex; align-items: center; gap: var(--s-12); font-size: var(--fs-22); font-weight: 800; color: var(--c-dark); line-height: 1.2; }
.step-label .n { width: 32px; height: 32px; border-radius: 50%; background: var(--c-dark); color: var(--c-white); font-size: var(--fs-16); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }

/* options : radios stylées */
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt-box {
  display: flex; align-items: center; gap: var(--s-12); min-height: 56px; padding: var(--s-12) var(--s-16);
  border: 1.5px solid var(--c-border); border-radius: var(--r-12); background: var(--c-white);
}
.opt input:hover + .opt-box { border-color: var(--c-primary); }
.opt input:focus-visible + .opt-box { box-shadow: var(--shadow-focus); }
.opt input:checked + .opt-box { border: 2px solid var(--c-dark); background: var(--c-light); padding: calc(var(--s-12) - 0.5px) calc(var(--s-16) - 0.5px); }
.opt-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--c-primary); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.opt input:checked + .opt-box .opt-radio { border-color: var(--c-dark); background: var(--c-dark); box-shadow: inset 0 0 0 4px var(--c-white); }
.service-list { display: grid; gap: var(--s-8); }
.service-name { font-weight: 700; }
.service-meta { font-size: var(--fs-14); color: var(--c-muted); }
.service-price { margin-left: auto; font-size: var(--fs-18); font-weight: 800; color: var(--c-dark); white-space: nowrap; }

.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8); }
.people .opt-box { flex-direction: column; justify-content: center; gap: 6px; padding: var(--s-12) var(--s-8); text-align: center; min-height: 100px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--c-light); border: 1.5px solid var(--c-primary); display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--c-dark); }
.opt input:checked + .opt-box .avatar { background: var(--c-dark); color: var(--c-white); border-color: var(--c-dark); }
.people .name { font-weight: 700; font-size: var(--fs-16); line-height: 1.2; }

.days { display: flex; gap: var(--s-8); overflow-x: auto; padding: 2px 2px var(--s-8); scroll-snap-type: x proximity; }
.days .opt { flex: 0 0 64px; scroll-snap-align: start; }
.days .opt-box { flex-direction: column; gap: 0; padding: var(--s-8) 0; justify-content: center; text-align: center; min-height: 68px; }
.days .dname { font-size: var(--fs-14); color: var(--c-muted); }
.days .dnum { font-size: var(--fs-22); font-weight: 800; color: var(--c-dark); line-height: 1.1; }
.days .opt input:checked + .opt-box { background: var(--c-dark); }
.days .opt input:checked + .opt-box .dname, .days .opt input:checked + .opt-box .dnum { color: var(--c-white); }
.days .opt input:disabled + .opt-box { background: #F5F7F8; border-style: dashed; }
.days .opt input:disabled + .opt-box .dnum { color: var(--c-muted); }

.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8); }
.slots .opt-box { justify-content: center; min-height: var(--tap); padding: 0; font-weight: 700; font-size: var(--fs-16); }
.slots .opt input:checked + .opt-box { background: var(--c-dark); color: var(--c-white); padding: 0; }
.slot-group { font-size: var(--fs-14); font-weight: 700; color: var(--c-muted); margin-top: var(--s-4); }

.form-grid { display: grid; gap: var(--s-12); }
.hint { font-size: var(--fs-14); color: var(--c-muted); }
.summary { border-radius: var(--r-16); background: var(--c-light); padding: var(--s-16); display: grid; gap: 4px; font-size: var(--fs-16); }
.summary strong { color: var(--c-dark); }
.reassure { display: grid; gap: var(--s-8); font-size: var(--fs-14); color: var(--c-text); }
.reassure div { display: flex; gap: var(--s-8); align-items: flex-start; }
.call-box { display: flex; gap: var(--s-12); align-items: flex-start; padding: var(--s-16); border: 1px solid var(--c-border); border-radius: var(--r-16); font-size: var(--fs-16); }

/* =========================================================
   Tablette ≥ 720 px
   ========================================================= */
@media (min-width: 720px) {
  .container { padding: 0 var(--s-32); }
  .search { grid-template-columns: 1fr 1fr auto; align-items: end; padding: var(--s-16) var(--s-20); }
  .search .btn-primary { min-height: var(--tap); }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop { grid-template-columns: 140px minmax(0, 1fr); }
  .shop-photo { width: 140px; height: 120px; }
  .shop-foot { grid-column: 2; border-top: 0; padding-top: 0; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-24); }
  .step { flex-direction: column; }
  .whys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pro { grid-template-columns: 1.4fr 1fr; align-items: center; padding: var(--s-48); }
  .pro h2 { font-size: var(--fs-28); }
  .hero { padding-bottom: var(--s-32); }
  .cover { height: 260px; }
  .slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* =========================================================
   Ordinateur ≥ 1024 px
   ========================================================= */
@media (min-width: 1024px) {
  .section { padding: var(--s-64) 0; }
  .section-title { font-size: var(--fs-36); }
  .hero { padding: var(--s-64) 0; }
  .hero h1 { font-size: var(--fs-48); max-width: 18ch; }
  .search { margin-top: var(--s-32); }
  .cats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cat { min-height: 150px; }
  /* Liste et carte côte à côte : la bascule ne sert plus */
  .toggle-wrap { display: none; }
  .results { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
  .results .list[hidden], .results .map[hidden] { display: grid !important; }
  .results .map[hidden] { display: block !important; }
  .map { position: sticky; top: 88px; min-height: 620px; }
  .whys { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .why { flex-direction: column; }

  /* Réservation : infos à gauche, parcours à droite */
  .shop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: var(--s-48); align-items: start; }
  .book-panel { position: sticky; top: 88px; border: 1px solid var(--c-border); border-radius: var(--r-24); padding: var(--s-24); }
  .book { padding-bottom: 0; }
  .shop-header h1 { font-size: 2.5rem; }
}

/* =========================================================
   Intégration (données réelles, carte Leaflet + OpenFreeMap)
   ========================================================= */
.map { z-index: 0; }
.map .leaflet-container, .map.leaflet-container { font-family: var(--font); }
.mpin {
  width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font: 800 var(--fs-14) var(--font); color: var(--c-white); border: 2.5px solid var(--c-white);
  box-shadow: 0 2px 6px rgba(16, 24, 32, 0.3); cursor: pointer;
}
.mpin.is-active { width: 48px; height: 48px; font-size: var(--fs-18); border-color: var(--c-text); margin: -6px 0 0 -6px; }
.mpin.ex { opacity: .7; }
.mpin.coiffeur { background: var(--cat-coiffeur); }
.mpin.barbier { background: var(--cat-barbier); }
.mpin.institut { background: var(--cat-institut); color: var(--c-text); }
.mpin.ongles { background: var(--cat-ongles); }
.mpin.massage { background: var(--cat-massage); color: var(--c-dark); border-color: var(--c-primary); }
.mpin.here { width: 18px; height: 18px; background: var(--c-accent); border: 3px solid var(--c-white); box-shadow: 0 0 0 2px var(--c-dark); }
.map .map-card, .map .map-legend { z-index: 1000; }
.map-card .close { margin-left: 4px; min-width: 40px; min-height: 40px; border: 0; background: none; font-size: 1.4rem; color: var(--c-muted); cursor: pointer; }
.shop-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tag-ex { font-size: var(--fs-12); font-weight: 700; color: var(--c-muted); background: #F5F7F8; border-radius: var(--r-pill); padding: 2px 8px; }
.empty { color: var(--c-muted); padding: var(--s-24) 0; }
.cat.is-active { background: var(--c-dark); border-color: var(--c-dark); color: var(--c-white); }
.cat.is-active .cat-icon { background: var(--c-white); }
.pro-form { display: grid; gap: var(--s-8); }
.pro-form .input { border-color: transparent; }
.pro-form .done, .pro-form .err { font-size: var(--fs-16); text-align: center; }
.pro-form .err { color: #FFD7D2; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.footer-grid button.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--c-text); cursor: pointer; min-height: 36px; font-size: var(--fs-14); }

/* Page de réservation */
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover { overflow: hidden; }
.alert-x { background: #FFF4E0; color: #8A5300; border-radius: var(--r-12); padding: var(--s-12) var(--s-16); font-weight: 600; }
.closed-now { color: #8A5300; font-weight: 700; }
.about { white-space: pre-line; margin: var(--s-24) 0; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8); margin-bottom: var(--s-24); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-12); background: var(--c-light); }
.gallery figcaption { font-size: var(--fs-14); color: var(--c-muted); margin-top: 4px; }
.step-block.off { opacity: .45; pointer-events: none; }
.error { color: #B3261E; font-weight: 600; min-height: 1.2em; }
.done-box { text-align: center; display: grid; gap: var(--s-12); justify-items: center; padding: var(--s-24) 0; }
.done-box .big { width: 64px; height: 64px; border-radius: 50%; background: var(--c-success-bg); color: var(--c-success); display: flex; align-items: center; justify-content: center; }
.hours-table tr.is-special td { color: #8A5300; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Suggestions de recherche */
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; margin: 0; padding: 6px; list-style: none;
  background: var(--c-white); border: 1px solid var(--c-border); border-radius: var(--r-12); box-shadow: 0 10px 30px rgba(16, 24, 32, 0.12); }
.suggest li { display: flex; align-items: center; justify-content: space-between; gap: var(--s-12); min-height: 44px;
  padding: 0 var(--s-12); border-radius: var(--r-8); cursor: pointer; color: var(--c-text); }
.suggest li b { color: var(--c-dark); font-weight: 800; }
.suggest li small { font-size: var(--fs-12); color: var(--c-muted); white-space: nowrap; }
.suggest li:hover, .suggest li.is-active { background: var(--c-light); }
.header-actions { display: flex; align-items: center; gap: var(--s-8); }
@media (max-width: 560px) { .hide-sm { display: none !important; } }

/* Couverture dans la largeur de la page, coins arrondis ; espace sous les titres d'étape */
.cover { margin-top: var(--s-16); height: 200px; border-radius: var(--r-24); border: 0; background: var(--c-light); }
.cover img { object-position: center 40%; }
legend.step-label { margin-bottom: var(--s-16); }
@media (min-width: 720px) { .cover { height: 300px; margin-top: var(--s-24); } }
@media (min-width: 1024px) { .cover { height: 360px; } }
.cover + .shop-layout { margin-top: var(--s-24); }
.cover + .shop-layout .shop-header { padding-top: 0; }

/* Tuiles de catégorie : grande photo nette, léger dégradé sombre seulement en bas pour le texte */
.cat-photo { position: relative; padding: var(--s-16); justify-content: flex-end; min-height: 170px; overflow: hidden;
  border: 0; background: var(--c-text); color: var(--c-white); isolation: isolate; }
.cat-photo .cat-img { position: absolute; inset: 0; z-index: -2; }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cat-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; z-index: -1;
  background: linear-gradient(180deg, rgba(16, 24, 32, 0) 0%, rgba(16, 24, 32, 0.08) 25%, rgba(16, 24, 32, 0.32) 55%,
    rgba(16, 24, 32, 0.62) 85%, rgba(16, 24, 32, 0.72) 100%); }
.cat-photo:hover img { transform: scale(1.04); }
.cat-photo:hover { color: var(--c-white); }
.cat-photo .cat-text { display: grid; gap: 2px; }
.cat-photo .cat-name { color: var(--c-white); font-size: var(--fs-18); line-height: 1.2; text-shadow: 0 1px 8px rgba(16, 24, 32, 0.45); }
.cat-photo small { font-size: var(--fs-14); font-weight: 600; color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 6px rgba(16, 24, 32, 0.45); }
.cat-photo.is-active { box-shadow: 0 0 0 3px var(--c-white), 0 0 0 6px var(--c-primary); }
.cat-check { position: absolute; top: var(--s-12); right: var(--s-12); width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-primary); color: var(--c-white); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px var(--c-white); }
.cat-soon { justify-content: center; }
@media (min-width: 1024px) { .cat-photo { min-height: 210px; } }
