/* Shine Up - systeme de design */
:root {
  --brand: #B76E79;
  --brand-dk: #8E4F5C;
  --brand-soft: #FBEEF1;
  --rose: #D9A5B3;
  --gold: #C9A66B;
  --gold-soft: #F7EFE1;
  --beige: #F4EDE5;
  --taupe: #8B7A6F;
  --ink: #2B2523;
  --muted: #7A6F6A;
  --line: #EDE4DE;
  --bg: #FDFBF8;
  --card: #FFFFFF;
  --ok: #3E7C59;
  --ok-soft: #E7F2EA;
  --warn: #B57C1E;
  --warn-soft: #FBF0DC;
  --danger: #B4483F;
  --danger-soft: #FBEAE7;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 2px 10px rgba(43, 37, 35, .05);
  --shadow-lg: 0 10px 30px rgba(43, 37, 35, .1);
  --nav-h: 68px;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100%;
}

h1, h2, h3, h4 { margin: 0 0 8px; line-height: 1.22; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: 30px; font-family: var(--serif); font-weight: 600; }
h2 { font-size: 23px; font-family: var(--serif); font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 12px; }
a { color: var(--brand-dk); text-decoration: none; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
button { font-family: inherit; }
input, select, textarea, button { font-size: 16px; font-family: var(--sans); }
.eyebrow {
  display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
.page { padding-bottom: calc(var(--nav-h) + 28px + env(safe-area-inset-bottom, 0px)); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 10px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wrap-flex { flex-wrap: wrap; }
.grow { flex: 1 1 auto; min-width: 0; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.hide-mobile { display: none; }

/* ---------- Ecran d'ouverture (application installee) ---------- */
#app-splash {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--brand);
  color: #fff;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: .02em;
}
#app-splash.show { display: flex; animation: splashOut .4s ease 1.2s forwards; }
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }

/* ---------- En-tete ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(253, 251, 248, .92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 8px 0;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.brand-mark.is-admin { background: var(--ink); color: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text > span { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: .01em; }
.brand-text small { font-weight: 500; font-size: 10px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  cursor: pointer; transition: transform .12s ease, background .12s ease;
}
.icon-btn:active { transform: scale(.95); }
.icon-btn.has-dot { position: relative; }
.icon-btn.has-dot::after {
  content: ''; position: absolute; top: 8px; right: 9px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
}
.topnav { display: flex; align-items: center; gap: 26px; margin: 0 auto; }
.topnav a {
  color: var(--ink); font-size: 14px; font-weight: 400; letter-spacing: .01em;
  padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap;
}
.topnav a:hover, .topnav a.active { border-bottom-color: var(--brand); color: var(--brand-dk); }
.topnav-login { color: var(--ink); font-size: 14px; font-weight: 500; }
.mobile-menu {
  display: grid; gap: 2px; padding: 8px 0 16px; border-top: 1px solid var(--line);
}
.mobile-menu a { padding: 12px 2px; color: var(--ink); font-size: 15px; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a.active { color: var(--brand-dk); font-weight: 500; }

/* ---------- Barre de navigation basse ---------- */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  gap: 2px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.bottom-nav a {
  flex: 1 1 0;
  min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  padding: 7px 4px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 11px; font-weight: 500;
  transition: transform .12s ease, background .12s ease, color .12s ease;
}
.bottom-nav a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bottom-nav a:active { transform: scale(.96); }
.bottom-nav a.active { color: var(--brand); background: var(--brand-soft); }
.bottom-nav.is-admin a.active { color: var(--ink); background: var(--gold-soft); }

/* ---------- Cartes ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 18px;
  margin-bottom: 14px;
}
.card.tight { padding: 14px; }
.card-link { display: block; color: inherit; transition: transform .12s ease, box-shadow .12s ease; }
.card-link:active { transform: scale(.99); }
.card-link:hover { box-shadow: var(--shadow-lg); }

/* Reveal discret au scroll */
[data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Bandeau cookies */
.cookie-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom, 0px));
  z-index: 9995; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-lg); padding: 14px 16px;
}
.cookie-bar p { margin: 0 0 10px; font-size: 12.5px; color: var(--muted); }
.card-head { display: flex; align-items: flex-start; gap: 12px; }
.card-title { font-weight: 600; font-size: 16px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 30px 0 14px; }
.section-head h2 { margin: 0; font-size: 22px; }
.section-head a { font-size: 13px; font-weight: 500; letter-spacing: .01em; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.section-sub { color: var(--muted); font-size: 14px; margin: -8px 0 14px; max-width: 560px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 56px 0 46px;
  margin-bottom: 8px;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(165deg, rgba(43, 37, 35, .55) 0%, rgba(43, 37, 35, .78) 60%, rgba(43, 37, 35, .9) 100%);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; }
.hero h1 {
  color: #fff; font-size: 34px; font-weight: 600;
  letter-spacing: -.005em; max-width: 620px; margin-bottom: 12px;
}
.hero p { color: rgba(255, 255, 255, .86); max-width: 540px; font-size: 15.5px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px; padding: 6px 12px;
  font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .14);
  border-radius: 6px; padding: 6px 12px;
  font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px; margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 18px;
}
.hero-stat { padding: 0; }
.hero-stat b { display: block; font-size: 24px; font-family: var(--serif); font-weight: 600; }
.hero-stat span { font-size: 11.5px; color: rgba(255, 255, 255, .78); }

/* ---------- Recherche accueil ---------- */
.hero-search {
  display: grid; gap: 8px; margin-top: 22px;
  background: rgba(255, 255, 255, .97);
  border-radius: 12px; padding: 8px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .22);
  max-width: 720px;
}
.hero-search .hs-field {
  display: flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 11px 13px; color: var(--muted); min-width: 0;
}
.hero-search .hs-field input, .hero-search .hs-field select {
  border: 0; background: transparent; flex: 1 1 auto; min-width: 0; outline: none;
  color: var(--ink); font-size: 15px; padding: 0;
}
.hero-search .hs-field select { cursor: pointer; -webkit-appearance: none; appearance: none; }
.hero-search .btn { border-radius: 8px; padding: 12px 20px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 8px; padding: 9px 18px;
  background: var(--brand); color: #fff;
  font-weight: 500; font-size: 14px; letter-spacing: .01em;
  cursor: pointer; text-align: center;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.btn:active { transform: scale(.98); }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost { background: var(--brand-soft); color: var(--brand-dk); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-ok { background: var(--ok-soft); color: var(--ok); }
.btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 7px; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.btn:hover { box-shadow: 0 4px 12px rgba(183, 110, 121, .18); }

/* ---------- Formulaires ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .12s ease, box-shadow .12s ease;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(183, 110, 121, .14);
}
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.field-2 { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.alert { border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-bottom: 14px; }
.alert-ok { background: var(--ok-soft); color: #2b5c41; }
.alert-err { background: var(--danger-soft); color: #8c362f; }
.alert-info { background: var(--brand-soft); color: var(--brand-dk); }
.alert-warn { background: var(--warn-soft); color: #8a5c14; }

/* ---------- Recherche et filtres ---------- */
.searchbar { display: flex; gap: 8px; align-items: center; }
.searchbar .search-input {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 11px 14px; color: var(--muted);
}
.searchbar .search-input input { border: 0; flex: 1 1 auto; min-width: 0; background: transparent; padding: 0; outline: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 8px;
  background: #fff; border: 1px solid var(--line);
  color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: transform .12s ease, background .12s ease;
}
.chip:active { transform: scale(.96); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: 150px; display: flex; align-items: flex-end;
  color: #fff; box-shadow: var(--shadow); padding: 14px;
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,37,35,.05), rgba(43,37,35,.72)); }
.cat-card .cat-body { position: relative; z-index: 2; }
.cat-card b { display: block; font-size: 15.5px; font-weight: 600; font-family: var(--serif); }
.cat-card span { font-size: 11.5px; color: rgba(255,255,255,.85); }

/* ---------- Etapes et atouts ---------- */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.step-card .step-num {
  font-family: var(--serif); font-size: 30px; font-weight: 600;
  color: var(--brand); line-height: 1; margin-bottom: 8px;
}
.step-card b { display: block; font-size: 16px; margin-bottom: 4px; }
.step-card p { color: var(--muted); font-size: 13.5px; margin: 0; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.why-card { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.why-card .why-ico {
  width: 38px; height: 38px; border-radius: 9px; flex: none;
  background: var(--brand-soft); color: var(--brand-dk);
  display: flex; align-items: center; justify-content: center;
}
.why-card b { display: block; font-size: 15px; }
.why-card p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.cta-band {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 26px 20px; text-align: center; margin: 30px 0 10px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 520px; margin: 0 auto 16px; }

/* ---------- Filtres (page resultats) ---------- */
.filters { display: grid; gap: 10px; }
.filters .filter-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
.filters label { font-size: 12.5px; font-weight: 600; display: block; margin-bottom: 5px; }
.filters select, .filters input {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; color: var(--ink); outline: none;
}
.filters select:focus, .filters input:focus { border-color: var(--brand); }
.sort-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.result-count { font-size: 14px; color: var(--muted); }
.result-count b { color: var(--ink); font-weight: 600; }

/* ---------- Avis ---------- */
.stars { display: inline-flex; gap: 2px; align-items: center; }
.rating-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.rating-line b { color: var(--ink); }
.review { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.review:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--brand-soft); color: var(--brand-dk);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px;
}
.verified-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--brand-soft); color: var(--brand-dk);
  border-radius: 6px; padding: 3px 8px; font-size: 11px; font-weight: 600;
}
.stars-input { display: flex; gap: 6px; }
.stars-input button {
  background: none; border: 0; padding: 2px; cursor: pointer; color: var(--line);
  transition: transform .12s ease;
}
.stars-input button:active { transform: scale(.9); }
.stars-input button.on { color: var(--gold); }

/* ---------- Prestataire ---------- */
.provider-card { display: flex; gap: 14px; align-items: stretch; }
.provider-card .thumb-link { flex: none; display: block; }
.provider-card .thumb { width: 104px; height: 104px; border-radius: 10px; object-fit: cover; flex: none; }
.provider-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12.5px; color: var(--muted); margin-top: 7px; }
.provider-meta span { display: inline-flex; align-items: center; gap: 5px; }
.price-tag { font-weight: 600; color: var(--brand-dk); }
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--brand-soft); color: var(--brand-dk);
  border-radius: 6px; padding: 4px 9px; font-size: 11.5px; font-weight: 500;
}
.pill-gold { background: var(--gold-soft); color: #8a6a2e; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-danger { background: var(--danger-soft); color: var(--danger); }
.pill-muted { background: #F1ECE8; color: var(--muted); }

.cover { position: relative; height: 230px; overflow: hidden; margin-bottom: -40px; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(43,37,35,.15), rgba(43,37,35,.7)); }
.cover-back {
  position: absolute; z-index: 3; top: calc(12px + env(safe-area-inset-top, 0px)); left: 16px;
  background: rgba(255,255,255,.94); color: var(--ink);
  border-radius: 8px; padding: 9px 12px; font-weight: 500; font-size: 13px;
  display: inline-flex; align-items: center; gap: 6px;
}
.profile-card { position: relative; z-index: 4; }
.profile-photo { width: 100px; height: 100px; border-radius: 12px; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gallery-grid img { width: 100%; height: 92px; object-fit: cover; border-radius: 8px; }

/* ---------- Services ---------- */
.service-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.service-row:first-child { border-top: 0; padding-top: 0; }
.service-row .svc-name { font-weight: 600; }
.service-row .svc-info { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.service-row.selected { background: var(--brand-soft); border-radius: 10px; padding: 14px 12px; border-top-color: transparent; }

/* ---------- Creneaux ---------- */
.day-strip { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; }
.day-strip::-webkit-scrollbar { display: none; }
.day-btn {
  flex: none; width: 64px; padding: 10px 6px; border-radius: 9px;
  background: #fff; border: 1px solid var(--line); cursor: pointer;
  text-align: center; color: var(--ink); transition: transform .12s ease;
}
.day-btn:active { transform: scale(.96); }
.day-btn b { display: block; font-size: 16px; font-family: var(--serif); }
.day-btn span { font-size: 11px; color: var(--muted); text-transform: capitalize; }
.day-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.day-btn.active span { color: rgba(255,255,255,.8); }
.day-btn.closed { opacity: .4; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.slot {
  padding: 11px 6px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; font-weight: 500; font-size: 14px; cursor: pointer; color: var(--ink);
  transition: transform .12s ease;
}
.slot:active { transform: scale(.96); }
.slot.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.slot.taken { background: #F5F1EE; color: #BDB4AE; border-color: #F1ECE8; text-decoration: line-through; cursor: not-allowed; }

/* ---------- Tunnel de reservation ---------- */
.steps-bar { display: flex; gap: 6px; margin-bottom: 16px; }
.steps-bar .step-dot { flex: 1 1 0; height: 3px; border-radius: 2px; background: var(--line); }
.steps-bar .step-dot.done { background: var(--brand); }
.recap-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.recap-row:last-child { border-bottom: 0; }
.recap-row span { color: var(--muted); }
.recap-row b { font-weight: 600; text-align: right; }
.recap-total { font-size: 17px; padding-top: 12px; border-top: 1.5px solid var(--ink); margin-top: 6px; }
.recap-total b { font-family: var(--serif); font-size: 22px; }
.location-option {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px;
  border: 1.5px solid var(--line); border-radius: 10px; margin-bottom: 10px; cursor: pointer;
  background: #fff; transition: border-color .12s ease, background .12s ease;
}
.location-option.selected { border-color: var(--brand); background: var(--brand-soft); }
.location-option b { display: block; font-size: 14.5px; font-weight: 600; }
.location-option span { font-size: 12.5px; color: var(--muted); }
.loc-ico {
  width: 36px; height: 36px; border-radius: 9px; flex: none;
  background: var(--brand-soft); color: var(--brand-dk);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Statistiques / tableaux ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: 16px;
}
.stat b { display: block; font-size: 26px; font-weight: 600; font-family: var(--serif); }
.stat span { font-size: 12px; color: var(--muted); }
.stat .stat-ico {
  width: 34px; height: 34px; border-radius: 9px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand-dk);
}
.chart-box { position: relative; height: 260px; }

.data-list { display: flex; flex-direction: column; gap: 12px; }
.list-row {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: 14px 16px;
}
.list-row .list-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.list-row .list-sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
table.data { width: 100%; border-collapse: collapse; min-width: 620px; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
table.data th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #FDF7F4; font-weight: 600; }
table.data tr:last-child td { border-bottom: 0; }

.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; padding: 8px 14px; border-radius: 8px; background: #fff;
  border: 1px solid var(--line); cursor: pointer; font-size: 13px; font-weight: 500; color: var(--muted);
}
.tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.empty { text-align: center; padding: 34px 18px; color: var(--muted); }
.empty .empty-ico {
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand-dk);
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Toast ---------- */
#toast {
  position: fixed; left: 50%; transform: translateX(-50%) translateY(20px);
  bottom: calc(var(--nav-h) + 22px + env(safe-area-inset-bottom, 0px));
  z-index: 9998; max-width: 92vw;
  background: var(--ink); color: #fff; border-radius: 10px;
  padding: 12px 18px; font-size: 14px; font-weight: 500;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.is-err { background: var(--danger); }
#toast.is-ok { background: var(--ok); }

/* ---------- Footer ---------- */
.footer { margin-top: 40px; padding: 30px 0 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--brand-dk); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: 18px; }
.footer-cols h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); margin-bottom: 10px; font-weight: 600; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }

/* ---------- Modale installation ---------- */
.modal {
  position: fixed; inset: 0; z-index: 9990;
  background: rgba(43, 37, 35, .55);
  display: flex; align-items: flex-end; justify-content: center;
}
.modal-card {
  background: #fff; border-radius: 16px 16px 0 0; padding: 22px;
  width: 100%; max-width: 520px;
  padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  animation: slideUp .22s ease;
}
@keyframes slideUp { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.modal-card ol { padding-left: 20px; margin: 10px 0 16px; }
.modal-card li { margin-bottom: 8px; }
.modal-close { position: absolute; top: 14px; right: 14px; }

/* ---------- Desktop ---------- */
/* ---------- Desktop ---------- */
@media (min-width: 768px) {
  body { font-size: 15.5px; }
  .wrap { max-width: 1140px; padding: 0 28px; }
  .hide-mobile { display: inline-flex; }
  .hide-desktop { display: none !important; }
  .page { padding-bottom: 60px; }
  .hero { padding: 86px 0 76px; }
  .hero h1 { font-size: 52px; }
  .hero p { font-size: 17px; }
  .hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
  .hero-search { grid-template-columns: 1.2fr .9fr auto; align-items: stretch; padding: 9px; }
  .field-2 { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .filters .filter-row { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid img { height: 130px; }
  .cover { height: 320px; }
  .modal { align-items: center; }
  .modal-card { border-radius: 16px; max-width: 470px; padding-bottom: 22px; }
  .bottom-nav { max-width: 760px; margin: 0 auto; border-radius: 16px 16px 0 0; }
  .footer-cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
  .card { padding: 24px; }
  .review { padding-top: 18px; margin-top: 18px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
  .hide-mobile { display: none !important; }
}
