/**
 * Fixalis Design System v2.1 — copiato/adattato dal mockup Claude Design.
 * Applica a fiche profil publique + archive + dashboard pro.
 */
:root {
  --bg: #FAFAF7;
  --bg-soft: #F4F2EC;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --ink-2: #334155;
  --ink-3: #64748B;
  --line: #E7E3D9;
  --line-2: #EDEAE1;
  --brand: #0B2A4A;
  --brand-2: #143D69;
  --brand-soft: #EEF2F8;
  --accent: #F59E0B;
  --accent-2: #E88B05;
  --wa: #25D366;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-1: 0 1px 2px rgba(11, 42, 74, 0.04), 0 2px 8px rgba(11, 42, 74, 0.04);
  --shadow-2: 0 4px 14px rgba(11, 42, 74, 0.06), 0 12px 32px rgba(11, 42, 74, 0.06);
  --gap: 20px;
  --density: 1;
  --text: 16px;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.apb-page, .apb-admin-body {
  font-family: var(--sans);
  color: var(--ink);
  font-size: var(--text);
  line-height: 1.55;
}
.apb-page * { box-sizing: border-box; }
.apb-page a { color: inherit; text-decoration: none; }
.apb-page button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.apb-page input, .apb-page textarea { font-family: inherit; font-size: inherit; color: inherit; }

/* ============ PAGE LAYOUT ============ */
.apb-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px;
  background: var(--bg);
}
.apb-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

/* ============ HERO (Fiche Professionnel) ============ */
.apb-hero-fp {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-1);
  overflow: hidden;
  margin-bottom: 28px;
  padding: 10px 32px 0;
}
.apb-hero-fp .apb-crumb { padding-top: 18px; margin-bottom: 4px; }
.apb-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  padding: 12px 0 28px;
  align-items: start;
}
.apb-hero-avatar { position: relative; flex-shrink: 0; }
.apb-avatar-ring {
  position: relative;
  width: 104px; height: 104px; border-radius: 22px;
  padding: 4px;
  background: #E7E3D9;
}
.apb-avatar {
  width: 100%; height: 100%; border-radius: 18px;
  overflow: hidden; background: #EDE7D7;
  display: grid; place-items: center;
  color: #B6A98A;
}
.apb-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.apb-avatar-silhouette { width: 58%; height: 58%; color: #B6A98A; }
.apb-av-badge {
  position: absolute; right: -4px; bottom: -4px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: white;
  display: grid; place-items: center;
  border: 3px solid var(--surface);
  box-shadow: 0 2px 6px rgba(11, 42, 74, 0.25);
}
.apb-av-badge svg { color: white; }

.apb-crumb {
  font-size: 13px; color: var(--ink-3); margin-bottom: 10px;
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.apb-crumb a { cursor: pointer; }
.apb-crumb a:hover { color: var(--ink); }
.apb-crumb-sep { color: #CBD5E1; }
.apb-crumb-cur { color: var(--ink); font-weight: 500; }

.apb-hero-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.apb-hero-title {
  font-size: 34px; font-weight: 800; letter-spacing: -0.025em;
  margin: 0; color: var(--ink);
}
.apb-hero-verified {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--brand-soft); color: var(--brand);
  padding: 4px 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.apb-hero-trade { color: var(--ink-3); font-size: 15px; margin-top: 2px; }

.apb-hero-rating {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px; font-size: 14px; color: var(--ink-2);
  flex-wrap: wrap;
}
.apb-stars { display: inline-flex; gap: 1px; color: var(--accent); }
.apb-stars svg { fill: currentColor; }
.apb-muted { color: var(--ink-3); }
.apb-dot-sep { width: 3px; height: 3px; border-radius: 50%; background: #CBD5E1; display: inline-block; margin: 0 4px; }

.apb-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.apb-hero-badges--meta { margin-top: 8px; }
.apb-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px;
  background: white; border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  line-height: 1;
}
.apb-chip svg { opacity: 0.7; }
.apb-chip-solid {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px;
  background: var(--accent); color: #1A1204;
  border: 1px solid transparent;
  font-size: 13px; font-weight: 700;
  line-height: 1;
}
.apb-chip-solid svg { opacity: 0.85; }
.apb-chip-verified {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px;
  background: #ECFDF5; color: #065F46;
  border: 1px solid #A7F3D0;
  font-size: 13px; font-weight: 600;
  line-height: 1;
}
.apb-chip-verified svg { color: #10B981; opacity: 1; }

.apb-hero-cta { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; min-width: 220px; }
.apb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
  transition: all 0.15s ease;
  white-space: nowrap; text-decoration: none;
  border: none; cursor: pointer;
  font-family: inherit;
}
.apb-btn-primary { background: var(--accent); color: #1A1204; }
.apb-btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35); color: #1A1204; }
.apb-btn-ghost { background: white; border: 1px solid var(--line); color: var(--ink-2); }
.apb-btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
/* Ghost popup-trigger : hover navy remplit avec texte blanc */
.apb-btn-ghost.apb-popup-open:hover,
.apb-locked-actions .apb-btn-ghost:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.apb-btn-ghost.is-active { border-color: #FCA5A5; background: #FEF2F2; color: #ef4444; }
.apb-btn-wa { color: var(--wa); }
.apb-btn-wa:hover { border-color: var(--line); color: var(--wa); background: #F0FDF4; }
.apb-btn-ico { width: 48px; height: 48px; padding: 0; border-radius: 12px; }
.apb-btn-ico svg { width: 20px; height: 20px; }

/* Bouton favori inline (dans .apb-hero-cta-row) — même taille que les autres icônes */
.apb-fav-inline {
  background: white;
  border: 1px solid var(--line);
  color: var(--ink-2);
  box-shadow: none;
  backdrop-filter: none;
  width: 48px; height: 48px; border-radius: 12px;
  padding: 0;
}
.apb-fav-inline:hover { border-color: #FCA5A5; color: #DC2626; transform: none; }
.apb-fav-inline.is-active {
  background: #FEE2E2;
  border-color: #FCA5A5;
  color: #DC2626;
}
.apb-fav-inline.is-active svg { fill: #DC2626; stroke: #DC2626; }
.apb-fav-inline svg { width: 20px; height: 20px; }
.apb-btn-row { display: flex; gap: 6px; flex-wrap: wrap; }
.apb-btn-outline { background: white; border: 1px solid var(--line); color: var(--ink); }
.apb-btn-outline:hover { border-color: var(--ink); }
.apb-btn-wide { width: 100%; padding: 12px; }
.apb-btn-soft { background: var(--brand-soft); color: var(--brand); }
.apb-btn-soft:hover { background: #DDE5F0; }

.apb-hero-price {
  display: flex; align-items: baseline; gap: 8px;
  padding: 8px 12px; border-radius: 10px;
  background: var(--bg-soft);
  margin-top: 2px;
}
.apb-price-label { font-size: 12px; color: var(--ink-3); }
.apb-price-value { font-weight: 700; color: var(--brand); }

/* Stats strip */
.apb-stat-strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #FDFCF9 0%, var(--bg-soft) 100%);
}
.apb-stat {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 2px;
}
.apb-stat:last-child { border-right: none; }
.apb-stat b { font-size: 20px; font-weight: 800; color: var(--brand); letter-spacing: -0.02em; }
.apb-stat span { font-size: 12px; color: var(--ink-3); }

/* ============ SECTION NAV ============ */
.apb-snav {
  position: sticky; top: 60px; z-index: 10;
  display: flex; gap: 4px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-1);
  overflow-x: auto;
}
.apb-snav-btn {
  padding: 9px 16px; border-radius: 9px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-3);
  white-space: nowrap;
  transition: all 0.15s ease;
}
.apb-snav-btn:hover { color: var(--ink); background: var(--bg-soft); }
.apb-snav-btn.is-on { background: var(--brand); color: white; }
.apb-snav-btn.is-on:hover { background: var(--brand); color: white; }

/* ============ SECTIONS ============ */
.apb-sec {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-1);
  scroll-margin-top: 140px;
}
.apb-sec-head { margin-bottom: 18px; }
.apb-sec-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
}
.apb-sec-title {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  margin: 0; color: var(--ink);
}
.apb-sec-sub { color: var(--ink-3); font-size: 14px; margin-top: 6px; margin-bottom: 0; }
.apb-row-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }

.apb-prose { color: var(--ink-2); line-height: 1.7; margin: 0 0 14px; }
.apb-prose:last-of-type { margin-bottom: 20px; }

.apb-kv-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-top: 20px;
}
.apb-kv {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px; border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
}
.apb-kv svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; width: 18px; height: 18px; }
.apb-kv b { display: block; font-size: 13px; color: var(--ink); margin-bottom: 2px; }
.apb-kv span { font-size: 13px; color: var(--ink-3); }

.apb-chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.apb-chip-soft {
  display: inline-block;
  padding: 5px 11px; border-radius: 999px;
  background: var(--bg-soft);
  font-size: 12px; color: var(--ink-2);
  border: 1px solid var(--line-2);
}

/* ============ SERVICES ============ */
.apb-svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.apb-svc {
  display: flex; gap: 14px;
  padding: 16px; border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  transition: all 0.15s ease;
}
.apb-svc:hover { border-color: var(--brand); box-shadow: var(--shadow-1); }
.apb-svc-ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; flex-shrink: 0;
}
.apb-svc-body { flex: 1; min-width: 0; }
.apb-svc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.apb-svc-top h4 { margin: 0; font-size: 15px; font-weight: 600; }
.apb-svc-price { font-size: 12px; font-weight: 700; color: var(--accent-2); white-space: nowrap; }
.apb-svc p { margin: 0; font-size: 13px; color: var(--ink-3); line-height: 1.5; }

.apb-svc-note {
  margin-top: 14px; padding: 12px 14px;
  background: #FFF7ED; border: 1px solid #FED7AA;
  border-radius: 10px;
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: #7C2D12;
}
.apb-svc-note svg { color: var(--accent-2); flex-shrink: 0; }

/* ============ GALLERY ============ */
.apb-seg {
  display: inline-flex; background: var(--bg-soft); border-radius: 10px; padding: 3px;
}
.apb-seg button {
  padding: 7px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-3);
  display: inline-flex; gap: 5px; align-items: center;
}
.apb-seg button.is-on { background: white; color: var(--ink); box-shadow: var(--shadow-1); }

.apb-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
  height: 440px;
}
.apb-g-main { position: relative; border-radius: 14px; overflow: hidden; cursor: pointer; }
.apb-g-main img { transition: transform 0.4s ease; width: 100%; height: 100%; object-fit: cover; }
.apb-g-main:hover img { transform: scale(1.02); }
.apb-g-badge {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(15, 23, 42, 0.78); color: white;
  padding: 6px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  display: flex; gap: 5px; align-items: center;
  backdrop-filter: blur(6px);
}
.apb-g-side { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.apb-g-cell { position: relative; border-radius: 14px; overflow: hidden; cursor: pointer; }
.apb-g-cell img { transition: transform 0.4s ease; width: 100%; height: 100%; object-fit: cover; }
.apb-g-cell:hover img { transform: scale(1.03); }
.apb-g-more {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.55); color: white;
  display: grid; place-items: center;
  font-size: 24px; font-weight: 700;
  backdrop-filter: blur(2px);
}

/* Before/After projets */
.apb-ba-grid { display: grid; gap: 16px; }
.apb-ba-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: white; }
.apb-ba {
  position: relative; cursor: col-resize; overflow: hidden;
  user-select: none;
  min-height: 300px;
}
.apb-ba-img { position: absolute; inset: 0; }
.apb-ba-img img { width: 100%; height: 100%; object-fit: cover; }
.apb-ba-tag {
  position: absolute; top: 12px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(15, 23, 42, 0.78); color: white;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  backdrop-filter: blur(6px);
  z-index: 3;
}
.apb-ba-tag-l { left: 12px; }
.apb-ba-tag-r { right: 12px; }
.apb-ba-line {
  position: absolute; top: 0; bottom: 0;
  width: 2px; background: white;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1), 0 2px 12px rgba(0,0,0,0.25);
  z-index: 2;
}
.apb-ba-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%;
  background: white; color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 3;
}
.apb-ba-meta {
  padding: 14px 18px;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
}
.apb-ba-meta b { font-size: 14px; }
.apb-ba-meta span { font-size: 13px; color: var(--ink-3); }

/* Lightbox */
.apb-lb {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: grid; place-items: center;
  padding: 40px;
}
.apb-lb-inner { position: relative; max-width: 960px; width: 100%; }
.apb-lb-img { aspect-ratio: 3/2; border-radius: 14px; overflow: hidden; }
.apb-lb-img img { width: 100%; height: 100%; object-fit: contain; background: #000; }
.apb-lb-close {
  position: absolute; top: -40px; right: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: white;
  display: grid; place-items: center;
}
.apb-lb-close:hover { background: rgba(255,255,255,0.25); }
.apb-lb-cap { color: white; margin-top: 12px; font-size: 14px; }

/* ============ REVIEWS ============ */
.apb-rev-summary {
  display: grid; grid-template-columns: 180px 1fr; gap: 28px;
  padding: 22px; border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(135deg, #FFFBEB 0%, #FFFFFF 60%);
  margin-bottom: 20px;
}
.apb-rev-score { text-align: center; }
.apb-rev-score .apb-big {
  font-size: 56px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.04em; line-height: 1;
}
.apb-rev-score .apb-stars { justify-content: center; display: flex; gap: 2px; margin: 6px 0 4px; color: var(--accent); }
.apb-rev-score .apb-muted { font-size: 12px; color: var(--ink-3); }
.apb-rev-bars { display: flex; flex-direction: column; gap: 10px; }
.apb-bar { display: grid; grid-template-columns: 160px 1fr 36px; align-items: center; gap: 12px; font-size: 13px; }
.apb-bar > span { color: var(--ink-2); }
.apb-bar-track { height: 6px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; }
.apb-bar-fill { height: 100%; background: linear-gradient(90deg, #FCD34D, var(--accent)); border-radius: 999px; }
.apb-bar b { text-align: right; font-size: 13px; color: var(--ink); }

.apb-rev-list { display: flex; flex-direction: column; gap: 12px; }
.apb-rev {
  padding: 18px; border: 1px solid var(--line); border-radius: 14px;
  background: white;
}
.apb-rev-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.apb-rev-ava {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: white; display: grid; place-items: center;
  font-weight: 700; font-size: 14px;
}
.apb-rev-head > div:nth-child(2) { flex: 1; }
.apb-rev-head b { font-size: 14px; }
.apb-rev-meta { font-size: 12px; color: var(--ink-3); display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.apb-rev-score-sm {
  display: inline-flex; gap: 4px; align-items: center;
  padding: 4px 9px; border-radius: 999px;
  background: #FEF3C7; color: #78350F;
  font-size: 13px;
}
.apb-rev-text { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.apb-rev-reply {
  margin-top: 12px;
  padding: 12px 14px; border-left: 3px solid var(--brand);
  background: var(--brand-soft); border-radius: 0 8px 8px 0;
}
.apb-rev-reply b { font-size: 12px; display: inline-flex; align-items: center; gap: 4px; color: var(--brand); margin-bottom: 4px; }
.apb-rev-reply p { margin: 0; font-size: 13px; color: var(--ink-2); }

.apb-leave {
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.apb-leave-head { display: flex; gap: 8px; align-items: center; flex: 1; }
.apb-leave-head svg { color: var(--brand); }
.apb-leave-head b { font-size: 14px; }
.apb-leave-head .apb-muted { font-size: 13px; color: var(--ink-3); }

/* ============ ZONE ============ */
.apb-zone-grid { display: grid; grid-template-columns: 260px 1fr; gap: 20px; }
.apb-dispo-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 8px; margin-top: 14px;
}
.apb-dispo-title:first-child { margin-top: 0; }
.apb-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.apb-day {
  padding: 10px 0; text-align: center;
  border-radius: 8px; background: var(--bg-soft);
  font-size: 12px; color: var(--ink-3);
  border: 1px solid transparent;
}
.apb-day.is-on,
.apb-day.on {
  background: #ECFDF5; color: #065F46;
  border-color: #A7F3D0;
  font-weight: 600;
}
.apb-slot {
  padding: 12px; border-radius: 10px;
  border: 1px solid var(--line); background: white;
}
.apb-slot b { display: block; font-size: 14px; margin-bottom: 2px; }
.apb-slot .apb-muted { font-size: 12px; color: var(--ink-3); }

/* Prochain créneau — card verte claire (mockup) */
.apb-next-slot {
  margin-top: 14px; padding: 12px 14px;
  background: #ECFDF5; border: 1px solid #A7F3D0;
  border-radius: 12px;
}
.apb-next-slot-head {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: #047857; text-transform: uppercase;
  letter-spacing: 0.04em; margin-bottom: 6px;
}
.apb-next-slot-head svg { color: #10B981; }
.apb-next-slot-head b { font-weight: 700; }
.apb-next-slot-body b { display: block; font-size: 14px; color: #064E3B; margin-bottom: 2px; }
.apb-next-slot-body span { font-size: 12px; color: #065F46; }

/* Zone — chips des communes desservies */
.apb-zone-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.apb-chip-accent {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: #C7D2E8;
  font-weight: 600;
}

.apb-map-card {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: white;
}
.apb-map-wrap {
  position: relative; height: 220px;
}
.apb-map-wrap .apb-map { width: 100%; height: 100%; border-radius: 0; }
.apb-zone-tags { padding: 14px; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--line); }

/* ============ SIDEBAR ============ */
.apb-side { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; }
.apb-side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-1);
}
.apb-contact-card { background: linear-gradient(180deg, #FFFFFF 0%, #FDFCF9 100%); }
.apb-contact-head { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.apb-contact-ava {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: white; display: grid; place-items: center;
  font-weight: 700; font-size: 15px;
}
.apb-contact-head b { display: block; font-size: 15px; margin-bottom: 1px; }
.apb-contact-head .apb-muted { font-size: 12px; color: var(--ink-3); }

.apb-form { display: flex; flex-direction: column; gap: 6px; }
.apb-form label { font-size: 12px; font-weight: 600; color: var(--ink-2); margin-top: 8px; }
.apb-form input, .apb-form textarea {
  border: 1px solid var(--line);
  background: white;
  padding: 10px 12px; border-radius: 10px;
  font-size: 14px;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s;
}
.apb-form input:focus, .apb-form textarea:focus { border-color: var(--brand); }
.apb-form .apb-btn { margin-top: 12px; }

.apb-form-locked {
  text-align: center; padding: 18px 8px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.apb-locked-ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center;
}
.apb-locked-text { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.5; }
.apb-locked-actions { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.apb-locked-actions .apb-btn { width: 100%; justify-content: center; }

.apb-or {
  text-align: center; font-size: 11px; color: var(--ink-3);
  margin: 18px 0 14px; position: relative;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.apb-or::before, .apb-or::after {
  content: ''; position: absolute; top: 50%;
  width: calc(50% - 60px); height: 1px; background: var(--line);
}
.apb-or::before { left: 0; } .apb-or::after { right: 0; }
.apb-or span { background: transparent; padding: 0 10px; }

.apb-contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.apb-contact-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px; border-radius: 10px;
  background: white; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  transition: all 0.15s;
  text-decoration: none;
}
.apb-contact-btn:hover { border-color: var(--ink); color: var(--ink); }
.apb-contact-btn.is-on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.apb-contact-btn .apb-phone-num { font-size: 14px; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.apb-contact-btn.apb-wa { color: var(--wa); }
.apb-contact-btn.apb-wa:hover { background: #F0FDF4; border-color: var(--wa); }

.apb-mini { padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.apb-mini-row { display: flex; gap: 12px; align-items: flex-start; }
.apb-mini-row svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; width: 16px; height: 16px; }
.apb-mini-row b { display: block; font-size: 13px; margin-bottom: 1px; }
.apb-mini-row .apb-muted,
.apb-mini-sub { font-size: 12px; color: var(--ink-3); line-height: 1.45; }
.apb-mini-card { display: flex; flex-direction: column; gap: 16px; padding: 20px 22px; }
.apb-mini-row b { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.apb-mini-row svg { color: var(--brand); width: 18px; height: 18px; margin-top: 1px; }
.apb-mini.apb-alt { background: var(--brand); color: white; border-color: var(--brand); }
.apb-mini.apb-alt svg { color: white; }
.apb-mini-title { font-size: 14px; margin-bottom: 12px; display: block; color: white; font-weight: 700; }
.apb-share-card {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.apb-share-card .apb-mini-title { color: white; }
.apb-share-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.apb-share-row button, .apb-share-row a {
  padding: 10px 8px; border-radius: 10px;
  background: rgba(255,255,255,0.08); color: white;
  font-size: 12px; font-weight: 600;
  display: flex; gap: 6px; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.14);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.apb-share-row button:hover, .apb-share-row a:hover { background: rgba(255,255,255,0.18); }
.apb-share-row svg { color: white; opacity: 0.9; }

/* Sidebar contact avatar override: navy solide (pas gradient) */
.apb-contact-ava { background: var(--brand); border-radius: 10px; width: 44px; height: 44px; font-size: 14px; }
.apb-contact-head b { font-size: 16px; font-weight: 700; }
.apb-contact-head-sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* ============ MOBILE FAB ============ */
.apb-mfab {
  position: fixed; bottom: 0; left: 0; right: 0;
  display: none;
  z-index: 90;
  padding: 10px 12px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  gap: 8px;
  box-shadow: 0 -4px 20px rgba(11, 42, 74, 0.08);
}
.apb-mfab-btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px;
  padding: 14px 10px; border-radius: 12px;
  font-weight: 600; font-size: 14px;
  color: white;
  border: none;
  text-decoration: none;
}
.apb-mfab-btn.apb-mail { background: var(--brand); }
.apb-mfab-btn.apb-call { background: var(--accent); color: #1A1204; }
.apb-mfab-btn.apb-wa { background: var(--wa); }
.apb-mfab-back {
  width: 48px; height: 48px; border-radius: 12px;
  background: white; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-2);
  flex-shrink: 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1180px) {
  .apb-layout { grid-template-columns: 1fr; }
  .apb-side { position: static; }
}
@media (max-width: 900px) {
  .apb-hero-inner { grid-template-columns: 1fr; }
  .apb-hero-cta { align-items: stretch; width: 100%; min-width: 0; flex-direction: row; flex-wrap: wrap; }
  .apb-hero-cta .apb-btn-primary { flex: 1; min-width: 200px; }
}
@media (max-width: 720px) {
  .apb-page { padding: 16px; padding-bottom: 90px; }
  .apb-mfab { display: flex; }
  .apb-hero-inner { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .apb-hero-cta { align-items: flex-start; width: 100%; }
  .apb-hero-title { font-size: 26px; }
  .apb-stat-strip { grid-template-columns: repeat(2, 1fr); }
  .apb-stat { border-right: none; border-bottom: 1px solid var(--line); }
  .apb-kv-grid, .apb-svc-grid { grid-template-columns: 1fr; }
  .apb-gallery { grid-template-columns: 1fr; height: auto; }
  .apb-g-main, .apb-g-cell { aspect-ratio: 4/3; }
  .apb-g-side { grid-template-columns: 1fr 1fr; }
  .apb-rev-summary { grid-template-columns: 1fr; }
  .apb-zone-grid { grid-template-columns: 1fr; }
}

/* ============ ARCHIVE CARDS (nouveau design) ============ */
.apb-archive-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px;
  background: var(--bg);
}
.apb-filtres {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-1);
  position: sticky; top: 20px;
  align-self: start;
}
.apb-filtres h3 { margin: 0 0 16px; font-size: 16px; font-weight: 700; color: var(--brand); }
.apb-filtres .apb-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.apb-filtres label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.apb-filtres input, .apb-filtres select {
  padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: white;
  font-family: inherit; font-size: 14px; outline: none;
  transition: border-color 0.12s;
}
.apb-filtres input:focus, .apb-filtres select:focus { border-color: var(--brand); }

.apb-pro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.apb-pro-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.15s ease;
  position: relative;
  box-shadow: var(--shadow-1);
}
.apb-pro-card:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.apb-pro-card__cover {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #F1ECE0 0%, #E7DFD3 100%);
}
.apb-pro-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.apb-pro-card__img--placeholder { display: block; width: 100%; height: 100%; }
.apb-pro-card__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.apb-pro-card__title { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.apb-pro-card__title a { color: var(--ink); }
.apb-pro-card__title a:hover { color: var(--brand); }
.apb-pro-card__cats { display: flex; flex-wrap: wrap; gap: 4px; }
.apb-pro-card__meta { display: flex; flex-direction: column; gap: 2px; color: var(--ink-3); font-size: 13px; }
.apb-pro-card__rating { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-top: 4px; }
.apb-rating-value { font-weight: 700; color: var(--ink); }
.apb-rating-count { color: var(--ink-3); }
.apb-pro-card__cta { margin-top: 8px; }
.apb-pro-card__cta .apb-btn { width: 100%; }

.apb-favori-btn {
  background: rgba(255,255,255,0.92);
  border: none; cursor: pointer;
  color: var(--ink-3); font-size: 20px;
  padding: 8px; border-radius: 50%;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  transition: all 0.15s;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.apb-favori-btn.is-active { color: #DC2626; }
.apb-favori-btn:hover { transform: scale(1.08); }
.apb-favori-btn--floating { position: absolute; top: 12px; right: 12px; z-index: 2; }

.apb-archive__count { color: var(--ink-3); font-size: 14px; margin: 0 0 16px; }
.apb-archive__empty {
  padding: 40px; text-align: center;
  background: white; border: 1px dashed var(--line);
  border-radius: 16px; color: var(--ink-3);
}
.apb-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.apb-pagination__link {
  padding: 8px 14px; border-radius: 10px;
  background: white; color: var(--ink-2); text-decoration: none;
  border: 1px solid var(--line); font-size: 14px;
}
.apb-pagination__link:hover { border-color: var(--brand); color: var(--brand); }
.apb-pagination__link.is-active { background: var(--brand); color: white; border-color: var(--brand); }

@media (max-width: 900px) {
  .apb-archive-wrap { grid-template-columns: 1fr; padding: 16px; }
  .apb-filtres { position: static; }
}

/* ============================================================
   PROFIL BODY — ADDITIONS v2.1 (Claude Design pixel-perfect)
   ============================================================ */

/* ── Hero CTA row: 4 icônes + price alignés correctement ── */
.apb-hero-cta-row {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
/* Sur mobile/tablet la cta s'étend en row */
@media (max-width: 900px) {
  .apb-hero-cta-row { justify-content: flex-start; }
  .apb-hero-cta { align-items: flex-start; }
}

/* ── Stat strip : intégré dans .apb-hero-fp (pas de wrapper externe) ── */
.apb-hero-fp .apb-stat-strip {
  border-top: 1px solid var(--line);
  margin: 0 -32px; /* négatif pour ignorer le padding du hero */
  padding: 0 32px;
  width: calc(100% + 64px);
}
@media (max-width: 720px) {
  .apb-hero-fp .apb-stat-strip {
    margin: 0 -20px;
    padding: 0;
    width: calc(100% + 40px);
  }
}

/* ── Section Nav: sticky avec le bon offset quand admin-bar présente ── */
.admin-bar .apb-snav { top: 92px; }
@media (max-width: 782px) {
  .admin-bar .apb-snav { top: 106px; }
}

/* ── KV grid: 4 items — garde 2 colonnes même avec peu de contenu ── */
.apb-kv-grid:empty { display: none; }
.apb-kv svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--brand); margin-top: 2px; }
.apb-kv > div { min-width: 0; }
.apb-kv > div b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.apb-kv > div span { font-size: 13px; color: var(--ink-3); word-break: break-word; }

/* ── Chip-soft zone-chips : "accent" variant ── */
.apb-zone-chips .apb-chip-accent {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: #C7D2E8;
  font-weight: 600;
}
/* Assure que chip-soft dans zone-chips reste cohérent */
.apb-zone-chips .apb-chip-soft {
  background: var(--bg-soft);
  border-color: var(--line-2);
}

/* ── Reviews: summary 4-bars avec labels distincts ── */
.apb-rev-summary {
  align-items: start;
}
.apb-rev-score .apb-rev-score-big {
  font-size: 56px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.04em; line-height: 1;
}
.apb-rev-score .apb-rev-score-sub {
  font-size: 12px; color: var(--ink-3); margin-top: 4px;
}
/* Labels barres plus étroits sur mobile */
@media (max-width: 600px) {
  .apb-bar { grid-template-columns: 120px 1fr 32px; gap: 8px; }
  .apb-rev-summary { grid-template-columns: 140px 1fr; gap: 16px; }
}
@media (max-width: 480px) {
  .apb-rev-summary { grid-template-columns: 1fr; }
  .apb-rev-score { display: flex; align-items: center; gap: 12px; text-align: left; }
  .apb-rev-score .apb-rev-score-big { font-size: 40px; }
}

/* ── Leave-a-review box (mockup exact) ── */
.apb-leave {
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.apb-leave-head {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}
.apb-leave-head svg { color: var(--brand); flex-shrink: 0; }
.apb-leave-head b { font-size: 14px; white-space: nowrap; }
.apb-leave-head .apb-muted { font-size: 13px; color: var(--ink-3); }
.apb-write-review-btn { flex-shrink: 0; }

/* ── Gallery grid : images réelles (remplace SVG placeholders) ── */
.apb-gallery {
  height: auto;
  min-height: 300px;
}
.apb-g-main {
  min-height: 280px;
  display: block;
}
.apb-g-main img,
.apb-g-cell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Galerie hauteur sur desktop */
@media (min-width: 721px) {
  .apb-gallery { height: 440px; }
}
/* La miniature de droite doit être en grille 2x2 */
.apb-g-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  min-height: 280px;
}

/* ── Zone grid: map-card doit prendre le bon espace ── */
.apb-map-card .leaflet-container,
.apb-map-card .apb-map {
  border-radius: 0;
  height: 220px;
  width: 100%;
}
.apb-map-card .apb-zone-tags {
  padding: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid var(--line);
}

/* ── Next slot card : uniformise le style ── */
.apb-next-slot {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 12px;
  padding: 14px 16px;
}
.apb-next-slot-body b {
  display: block;
  font-size: 14px;
  color: #064E3B;
  font-weight: 700;
  margin-bottom: 2px;
}
.apb-next-slot-body span {
  font-size: 12px;
  color: #065F46;
}

/* ── Sidebar: contact-ava avec vraie image pro ── */
.apb-contact-ava {
  overflow: hidden;
  flex-shrink: 0;
}
.apb-contact-ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* ── "OU CONTACT DIRECT" divider ── */
.apb-or {
  font-weight: 600;
  letter-spacing: 0.06em;
}
.apb-or::before, .apb-or::after {
  width: calc(50% - 70px); /* ajusté pour le texte plus long */
}

/* ── SVC note : couleur ambre exacte mockup ── */
.apb-svc-note {
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  color: #7C2D12;
}
.apb-svc-note > svg { color: #D97706; }

/* ── Hero CTA : icônes 40×40 sur desktop (mockup: btn-ico 40px) ── */
.apb-hero-cta .apb-btn-ico { width: 40px; height: 40px; border-radius: 10px; }

/* ── Hero verified pill ── */
.apb-chip-verified.apb-hero-verified-pill {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: var(--brand-soft);
}

/* ── Chip warn (vacances) ── */
.apb-chip-warn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px;
  background: #FEF9C3; color: #854D0E;
  border: 1px solid #FDE68A;
  font-size: 13px; font-weight: 600;
  line-height: 1;
}

/* ── Snav : data-target → data-section sur JS côté (CSS reste stable) ── */
.apb-snav { scroll-behavior: smooth; }
/* Scoping anti-collision Bricks theme */
.apb-page .apb-snav-btn { font-family: var(--sans); }

/* ── Report section ── */
.apb-sec--report { border-style: dashed; border-color: #E2E8F0; }

/* ── Mobile FAB: couleur appel jaune (cohérence mockup) ── */
.apb-mfab-call { background: var(--accent); color: #1A1204; }
.apb-mfab-mail { background: var(--brand); }
.apb-mfab-wa   { background: var(--wa); }

/* ── Responsive zone-grid: dispo toujours visible ── */
@media (max-width: 720px) {
  .apb-zone-grid { grid-template-columns: 1fr; }
  .apb-zone-days { order: 1; }
  .apb-map-card  { order: 2; }
}

/* ── stat strip responsive 720px override (stat sans border-right) ── */
@media (max-width: 720px) {
  .apb-stat { border-right: none; border-bottom: 1px solid var(--line); }
  .apb-stat:last-child { border-bottom: none; }
  .apb-stat-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .apb-stat-strip { grid-template-columns: 1fr 1fr; }
}

/* ── Hero: avatar placeholder silhouette background beige (mockup) ── */
.apb-avatar {
  background: linear-gradient(135deg, #E7DFD3 0%, #C8B89A 100%);
}
.apb-avatar svg.apb-avatar-silhouette { color: rgba(107, 91, 71, 0.55); }

/* ── Avatar ring gradient (mockup: amber → navy) ── */
.apb-avatar-ring {
  background: linear-gradient(135deg, var(--accent) 0%, var(--brand) 100%);
}

/* ── Layout: main column max-width ── */
.apb-main { min-width: 0; }

/* ── Prose text-wrap pretty (modern browsers) ── */
.apb-prose p { text-wrap: pretty; }

/* ── Rev list from shortcode: ensure styles apply to the shortcode output ── */
.apb-sec#reviews .apb-reviews { margin: 0; }
.apb-sec#reviews .apb-reviews .apb-reviews__title { display: none; } /* titre caché car sec-head l'affiche */

/* ── "Voir tous les avis" button (mockup) ── */
.apb-sec#reviews .apb-reviews .apb-btn-outline-reviews {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.apb-sec#reviews .apb-reviews .apb-btn-outline-reviews:hover { border-color: var(--ink); }
