/**
 * Profil public — design v3 (2026-04-18)
 * Inspiré du handoff Claude Design « Fiche Professionnel »
 * Palette éditoriale navy + amber + cream.
 * Scoped sur .apb-profil pour ne pas interférer avec Bricks global.
 */

.apb-profil {
  /* Palette éditoriale */
  --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;
  --ok-bg:     #ECFDF5;
  --ok-fg:     #065F46;
  --ok-bd:     #A7F3D0;

  --radius:    14px;
  --radius-sm: 10px;
  --shadow-1:  0 1px 2px rgba(11,42,74,.04), 0 2px 8px rgba(11,42,74,.04);
  --shadow-2:  0 4px 14px rgba(11,42,74,.06), 0 12px 32px rgba(11,42,74,.06);

  --sans: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;

  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
}

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

.apb-profil a { color: inherit; text-decoration: none; }
.apb-profil button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.apb-profil input,
.apb-profil textarea { font-family: inherit; font-size: inherit; color: inherit; }

/* ═══════════════ BREADCRUMB ═══════════════ */
.apb-profil__breadcrumb {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 28px 0 !important;
  font-size: 13px;
  color: var(--ink-3);
}
.apb-profil__breadcrumb a { color: inherit; }
.apb-profil__breadcrumb a:hover { color: var(--ink); }

/* ═══════════════ PAGE LAYOUT ═══════════════ */
.apb-profil__body {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 28px 40px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.apb-profil__main { min-width: 0; }

/* ═══════════════ HERO ═══════════════ */
.apb-profil__hero {
  max-width: 1240px;
  margin: 8px auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.apb-profil__hero-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  padding: 28px 32px 24px;
  align-items: start;
}

/* Avatar ring */
.apb-profil__avatar-col { position: relative; width: 96px; height: 96px; flex-shrink: 0; }
.apb-profil__avatar-col .apb-avatar,
.apb-profil__avatar-col .apb-avatar--lg,
.apb-profil__avatar-col > img {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 21px;
  overflow: hidden;
  background: linear-gradient(135deg, #E7DFD3, #C8B89A);
  border: 3px solid #fff;
  position: relative;
  z-index: 1;
  object-fit: cover;
}
.apb-profil__avatar-col::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--brand) 100%);
  z-index: 0;
}
.apb-profil__avatar-col::after {
  content: "";
  position: absolute;
  right: -6px; bottom: -6px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l2.5 1.8 3 .2.7 3 2.3 2-1.3 2.8 1 2.9-2.7 1.5-.7 3L14 20l-2-2-2 2-2.8-.8-.7-3L3.2 14.7l1-3L3 9l2.3-2 .7-3 3-.2z'/><polyline points='9 12 11 14 15 10'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  z-index: 2;
}

/* Hero info column */
.apb-profil__hero-info { min-width: 0; }
.apb-profil__nom {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
}
.apb-profil__slogan {
  color: var(--ink-3);
  font-size: 15px;
  margin: 4px 0 0;
}

.apb-profil__rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.apb-profil__rating-row .apb-stars { display: inline-flex; gap: 1px; }
.apb-profil__note-val { font-weight: 700; color: var(--ink); }
.apb-profil__avis-link { color: var(--ink-3); font-size: 13px; }
.apb-profil__avis-link:hover { color: var(--ink); }

/* Meta line inline */
.apb-profil__hero-details { margin-top: 10px; }
.apb-profil__meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.apb-profil__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.apb-profil__meta-item svg { color: var(--ink-3); flex-shrink: 0; }

/* Hero trust chips */
.apb-profil__hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.apb-profil__trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}
.apb-profil__trust-chip svg { flex-shrink: 0; }
.apb-profil__trust-chip--vies,
.apb-profil__trust-chip--bce {
  background: var(--ok-bg);
  color: var(--ok-fg);
  border-color: var(--ok-bd);
  font-weight: 600;
}
.apb-profil__trust-chip--vies svg,
.apb-profil__trust-chip--bce svg { color: #10B981; }
.apb-profil__trust-chip--multi {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: #C7D2E5;
  font-weight: 600;
}
.apb-profil__trust-chip--nouveau {
  background: linear-gradient(135deg, #FDE68A 0%, var(--accent) 100%);
  color: #422C00;
  border-color: transparent;
  font-weight: 600;
}

/* Score nudge (owner only) */
.apb-profil__score-nudge {
  margin-top: 16px;
  padding: 14px 16px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: #7C2D12;
}
.apb-profil__score-nudge-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.apb-profil__score-nudge-icon { font-size: 18px; }
.apb-profil__score-nudge-msg { font-weight: 500; }
.apb-profil__score-nudge-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.apb-profil__score-bar { flex: 1; height: 6px; background: #FED7AA; border-radius: 999px; overflow: hidden; }
.apb-profil__score-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 999px; }
.apb-profil__score-pct { font-weight: 700; color: #7C2D12; font-size: 12px; min-width: 32px; text-align: right; }
.apb-profil__score-cta {
  display: inline-block;
  color: var(--accent-2);
  font-weight: 600;
  font-size: 13px;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Hero CTA */
.apb-profil__hero-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  min-width: 240px;
}
.apb-profil__tarif-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--bg-soft);
  gap: 2px;
}
.apb-profil__tarif-box--devis {
  flex-direction: row;
  align-items: center;
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
}
.apb-profil__tarif-label { font-size: 12px; color: var(--ink-3); }
.apb-profil__tarif-price { font-weight: 800; color: var(--brand); font-size: 18px; letter-spacing: -0.02em; }
.apb-profil__tarif-price small { font-size: 13px; font-weight: 700; color: var(--ink-3); margin-left: 2px; }
.apb-profil__tarif-max { font-size: 11px; color: var(--ink-3); }

.apb-profil .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 .15s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
}
.apb-profil .apb-btn--accent,
.apb-profil__btn-contact {
  background: var(--accent);
  color: #1A1204;
  min-width: 220px;
}
.apb-profil .apb-btn--accent:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245,158,11,.35);
  color: #1A1204;
}
.apb-profil .apb-btn--lg { padding: 13px 20px; font-size: 15px; }

/* Secondary CTA row (icon buttons) */
.apb-profil__cta-secondary {
  display: flex;
  gap: 6px;
  width: 100%;
  justify-content: flex-end;
}
.apb-profil__icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  transition: all .15s ease;
  text-decoration: none;
}
.apb-profil__icon-btn:hover { border-color: var(--ink-3); color: var(--ink); }
.apb-profil__icon-btn--wa:hover { border-color: var(--wa); color: var(--wa); }
.apb-profil__icon-btn--fav.is-active {
  background: #FEF2F2;
  border-color: #FCA5A5;
  color: #ef4444;
}
.apb-profil__icon-btn--fav .apb-fav-cta__heart { font-size: 16px; }

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

/* ═══════════════ SECTION NAV (sticky) ═══════════════ */
.apb-profil__anchors {
  max-width: 1240px;
  margin: 24px auto 0;
  padding: 0 28px;
  position: sticky;
  top: 60px;
  z-index: 10;
}
body.admin-bar .apb-profil__anchors { top: 92px; }
.apb-profil__anchors-inner {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow-x: auto;
  scrollbar-width: none;
}
.apb-profil__anchors-inner::-webkit-scrollbar { display: none; }
.apb-profil__anchor-link {
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  white-space: nowrap;
  transition: all .15s ease;
  cursor: pointer;
}
.apb-profil__anchor-link:hover { color: var(--ink); background: var(--bg-soft); }
.apb-profil__anchor-link.is-active { background: var(--ink); color: #fff; }

/* ═══════════════ SECTIONS (cards) ═══════════════ */
.apb-profil__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-1);
}
.apb-profil__section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
}
.apb-profil__card-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.apb-profil__card-title svg { color: var(--brand); flex-shrink: 0; }
.apb-profil__card-sub {
  color: var(--ink-3);
  font-size: 14px;
  margin: -12px 0 20px;
}

.apb-profil__description,
.apb-profil__description p {
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0 0 14px;
  text-wrap: pretty;
}
.apb-profil__description p:last-child { margin-bottom: 0; }
.apb-profil__description-empty {
  color: var(--ink-3);
  font-style: italic;
}

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

/* Service chips row (soft) */
.apb-profil__service-chips,
.apb-profil__chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.apb-profil .apb-chip,
.apb-profil .apb-chip--service,
.apb-profil .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);
}

/* Tarif section (legacy badges kept working) */
.apb-profil__tarif-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.apb-profil__tarif-badge {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  flex: 1;
  min-width: 260px;
  align-items: center;
}
.apb-profil__tarif-badge strong { font-size: 16px; color: var(--ink); }
.apb-profil__tarif-badge .apb-profil__tarif-icon { font-size: 24px; flex-shrink: 0; }

/* ═══════════════ GALLERY / WORKS ═══════════════ */
.apb-profil__section-galerie .apb-profil__card-title { margin-bottom: 16px; }
.apb-profil__masonry {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 440px;
}
.apb-profil__masonry-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}
.apb-profil__masonry-item:first-child,
.apb-profil__masonry-item--tall {
  grid-row: span 2;
}
.apb-profil__masonry-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.apb-profil__masonry-item:hover .apb-profil__masonry-img { transform: scale(1.03); }

/* Lightbox */
.apb-profil__lightbox {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: grid; place-items: center;
  padding: 40px;
}
.apb-profil__lightbox[hidden] { display: none; }
.apb-profil__lightbox-content {
  position: relative;
  max-width: 960px;
  width: 100%;
}
.apb-profil__lightbox-img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 14px;
  cursor: zoom-in;
  transition: transform .2s ease;
}
.apb-profil__lightbox-close,
.apb-profil__lightbox-prev,
.apb-profil__lightbox-next {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  display: grid; place-items: center;
  z-index: 2;
  border: none;
  cursor: pointer;
}
.apb-profil__lightbox-close:hover,
.apb-profil__lightbox-prev:hover,
.apb-profil__lightbox-next:hover { background: rgba(255,255,255,.25); }
.apb-profil__lightbox-close { top: 24px; right: 24px; }
.apb-profil__lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.apb-profil__lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.apb-profil__lightbox-toolbar {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 12px; align-items: center;
  padding: 8px 16px;
  background: rgba(15,23,42,.6);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  z-index: 2;
}
.apb-profil__lightbox-zoom {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
}
.apb-profil__lightbox-zoom:hover { background: rgba(255,255,255,.15); }
.apb-profil__lightbox-counter { color: #fff; font-size: 13px; font-weight: 500; }

/* ═══════════════ REVIEWS ═══════════════ */
.apb-profil__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-profil__rev-score { text-align: center; }
.apb-profil__rev-score-big {
  font-size: 56px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}
.apb-profil__rev-score .apb-stars {
  justify-content: center;
  display: flex;
  gap: 2px;
  margin: 6px 0 4px;
}
.apb-profil__rev-score-meta {
  font-size: 12px;
  color: var(--ink-3);
}
.apb-profil__rev-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.apb-profil__rev-bar {
  display: grid;
  grid-template-columns: 160px 1fr 36px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.apb-profil__rev-bar > span { color: var(--ink-2); }
.apb-profil__rev-bar-track {
  height: 6px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
}
.apb-profil__rev-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #FCD34D, var(--accent));
  border-radius: 999px;
}
.apb-profil__rev-bar b {
  text-align: right;
  font-size: 13px;
  color: var(--ink);
}

/* ═══════════════ ZONE & DISPO ═══════════════ */
.apb-profil__zone-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
}
.apb-profil__dispo-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  margin: 14px 0 8px;
}
.apb-profil__dispo-title:first-child { margin-top: 0; }
.apb-profil__dispo-title svg { color: var(--brand); }

.apb-profil .apb-dispos,
.apb-profil__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.apb-profil .apb-dispo-chip,
.apb-profil__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;
  font-weight: 500;
}
.apb-profil .apb-dispo-chip--on,
.apb-profil__day.is-on {
  background: var(--ok-bg);
  color: var(--ok-fg);
  border-color: var(--ok-bd);
  font-weight: 600;
}

.apb-profil__slot {
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}
.apb-profil__slot b { display: block; font-size: 14px; margin-bottom: 2px; }
.apb-profil__slot .muted { font-size: 12px; color: var(--ink-3); }

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

/* ═══════════════ SIDEBAR ═══════════════ */
.apb-profil__sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: flex-start;
}
body.admin-bar .apb-profil__sidebar { top: 112px; }
.apb-profil__sidebar .apb-profil__card {
  margin-bottom: 0;
  padding: 22px;
}
.apb-profil__card--sticky {
  background: linear-gradient(180deg, #FFFFFF 0%, #FDFCF9 100%);
}
.apb-profil__card-title-sm {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Contact card (with form) */
.apb-profil__contact-head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.apb-profil__contact-ava {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.apb-profil__contact-head b { display: block; font-size: 15px; margin-bottom: 1px; }
.apb-profil__contact-head .muted { font-size: 12px; color: var(--ink-3); }

/* Info mini-cards (verification badges) */
.apb-profil__mini {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.apb-profil__mini-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.apb-profil__mini-row svg { color: var(--brand); flex-shrink: 0; margin-top: 2px; }
.apb-profil__mini-row b { display: block; font-size: 13px; margin-bottom: 1px; }
.apb-profil__mini-row .muted { font-size: 12px; color: var(--ink-3); }

.apb-profil__mini.alt {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.apb-profil__mini.alt b { color: #fff; }
.apb-profil__mini-title {
  font-size: 13px;
  margin-bottom: 6px;
  display: block;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.apb-profil__share-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.apb-profil__share-row button,
.apb-profil__share-row a {
  padding: 8px 6px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.15);
  text-decoration: none;
  cursor: pointer;
}
.apb-profil__share-row button:hover,
.apb-profil__share-row a:hover { background: rgba(255,255,255,.15); }

/* Info list (legacy, in sidebar) */
.apb-profil__info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.apb-profil__info-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
}
.apb-profil__info-list li strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.apb-profil__info-list li > span:not(.apb-info-icon) { color: var(--ink); flex: 1; min-width: 0; word-break: break-word; }
.apb-info-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  font-size: 14px;
}
.apb-profil__info-link {
  color: var(--brand);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px dashed var(--brand);
}
.apb-profil__info-link:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* ═══════════════ FORM (contact form inside sidebar) ═══════════════ */
.apb-profil__card form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.apb-profil__card form label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  margin-top: 8px;
}
.apb-profil__card form input[type="text"],
.apb-profil__card form input[type="email"],
.apb-profil__card form input[type="tel"],
.apb-profil__card form input[type="url"],
.apb-profil__card form select,
.apb-profil__card form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: border-color .15s;
  margin-top: 4px;
}
.apb-profil__card form textarea { resize: vertical; min-height: 80px; }
.apb-profil__card form input:focus,
.apb-profil__card form textarea:focus,
.apb-profil__card form select:focus { border-color: var(--brand); }
.apb-profil__card form button[type="submit"] {
  margin-top: 12px;
  width: 100%;
  background: var(--brand);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all .15s;
}
.apb-profil__card form button[type="submit"]:hover { background: var(--brand-2); }

/* ═══════════════ MOBILE FAB ═══════════════ */
.apb-profil__sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: none;
  z-index: 90;
  padding: 10px 12px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  gap: 8px;
  box-shadow: 0 -4px 20px rgba(11,42,74,.08);
  transform: translateY(0);
  transition: transform .25s ease;
}
.apb-profil__sticky-bar.is-hidden { transform: translateY(100%); }
.apb-profil__sticky-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: #fff;
  text-decoration: none;
  transition: transform .15s;
  border: none;
  cursor: pointer;
}
.apb-profil__sticky-btn:active { transform: scale(.96); }
.apb-profil__sticky-btn--contact { background: var(--brand); }
.apb-profil__sticky-btn--tel     { background: var(--accent); color: #1A1204; }
.apb-profil__sticky-btn--whatsapp { background: var(--wa); flex: 0 0 48px; padding: 14px; }
.apb-profil__sticky-btn--back {
  flex: 0 0 48px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
}

/* ═══════════════ ADMIN CARD (score visible aux admins) ═══════════════ */
.apb-profil__card--admin {
  background: #FFFBEB;
  border-color: #FCD34D;
}
.apb-score-bar {
  height: 10px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}
.apb-score-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.apb-score-bar__label {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
}

/* ═══════════════ MAP EXPAND BUTTON ═══════════════ */
.apb-profil__map-expand {
  position: absolute;
  top: 12px; right: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  box-shadow: var(--shadow-1);
  z-index: 5;
  cursor: pointer;
}
.apb-profil__map-expand-icon-close,
.apb-profil__map-expand-label { display: none; }
.apb-profil__card--map-expanded {
  position: fixed;
  inset: 24px;
  z-index: 999;
  margin: 0;
}
.apb-profil__card--map-expanded .apb-profil__map-expand-icon-open { display: none; }
.apb-profil__card--map-expanded .apb-profil__map-expand-icon-close,
.apb-profil__card--map-expanded .apb-profil__map-expand-label { display: inline; }
.apb-profil__card--map-expanded .apb-profil__map-card .apb-map,
.apb-profil__card--map-expanded .apb-profil__map-card #apb-leaflet-map {
  height: calc(100vh - 140px);
}

/* ═══════════════ MOBILE DETAILS (shown below anchors on mobile) ═══════════════ */
.apb-profil__mobile-details { display: none; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1180px) {
  .apb-profil__body { grid-template-columns: 1fr; padding: 20px 20px 40px; }
  .apb-profil__sidebar { position: static; }
}
@media (max-width: 900px) {
  .apb-profil__hero { margin-left: 20px; margin-right: 20px; }
  .apb-profil__hero-inner { grid-template-columns: 1fr; gap: 20px; padding: 24px 24px 20px; }
  .apb-profil__hero-cta { align-items: stretch; width: 100%; min-width: 0; }
  .apb-profil__btn-contact { min-width: 0; width: 100%; }
  .apb-profil__cta-secondary { justify-content: flex-start; }
  .apb-profil__tarif-box { align-items: flex-start; }
  .apb-profil__masonry { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); }
  .apb-profil__masonry-item:first-child { grid-row: span 2; grid-column: span 2; }
}
@media (max-width: 720px) {
  .apb-profil__hero { border-radius: 16px; margin: 8px 12px 0; }
  .apb-profil__breadcrumb { padding: 16px 20px 0 !important; }
  .apb-profil__body { padding: 16px 12px 90px; }
  .apb-profil__anchors { padding: 0 12px; top: 56px; }
  .apb-profil__card { padding: 20px; border-radius: 14px; }
  .apb-profil__sticky-bar { display: flex; }
  .apb-profil__nom { font-size: 26px; }
  .apb-profil__stats-strip { grid-template-columns: repeat(2, 1fr); }
  .apb-profil__stat { border-right: none; border-bottom: 1px solid var(--line); }
  .apb-profil__stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .apb-profil__kv-grid { grid-template-columns: 1fr; }
  .apb-profil__masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(140px, 1fr); height: auto; }
  .apb-profil__masonry-item:first-child { grid-row: span 1; grid-column: span 2; aspect-ratio: 4/3; }
  .apb-profil__rev-summary { grid-template-columns: 1fr; }
  .apb-profil__zone-grid { grid-template-columns: 1fr; }
  .apb-profil__rev-bar { grid-template-columns: 120px 1fr 32px; }
  .apb-profil__mobile-details {
    display: block;
    max-width: 1240px;
    margin: 12px auto 0;
    padding: 0 12px;
  }
}
@media (max-width: 480px) {
  .apb-profil__hero-inner { padding: 20px; }
  .apb-profil__nom { font-size: 24px; }
  .apb-profil__rating-row { flex-wrap: wrap; }
}
