/* ============================================================
   Lucas Boucles — DA claire & éditoriale (réf. store locator Patagonia)
   ============================================================ */
:root {
  --bg:        #ffffff;
  --bg-soft:   #f7f7f5;
  --ink:       #0d0d0d;   /* noir profond : boutons, bloc recherche, pins */
  --ink-2:     #26262a;

  --text:      #141416;
  --text-2:    #55555c;
  --muted:     #8b8b92;

  --line:      #e7e7e2;
  --line-2:    #d3d3cd;

  --accent:    #0f8a5f;   /* vert "vérifié" (façon chip Open) */
  --accent-dim:rgba(15,138,95,0.09);
  --new:       #b07d10;   /* ambre "nouveau" */
  --new-bg:    #f7dfa4;
  --warn:      #d64545;

  --radius:    14px;
  --radius-sm: 10px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
/* nos règles .cta / .modal… posent un display qui écraserait [hidden] */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
::selection { background: rgba(13,13,13,0.9); color: #fff; }

/* scrollbars */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.16); border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.28); }

.inline-link { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.inline-link:hover { color: var(--ink); }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px; }
.form-privacy { margin-top: 10px; color: var(--muted); font-size: 11.5px; line-height: 1.5; }

/* ===================== BANDEAU NOIR ===================== */
.announce {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--ink); color: #fff;
  font-size: 12.5px; font-weight: 500;
  padding: 9px 28px;
}
.announce-side { color: rgba(255,255,255,0.75); white-space: nowrap; }
.announce-center { text-align: center; flex: 1; }
.announce-link { text-decoration: underline; text-underline-offset: 3px; }
.announce-link:hover { color: #fff; }

/* ===================== HEADER ===================== */
.topbar {
  display: flex; align-items: center; gap: 28px;
  padding: 16px 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px; flex: none; /* carré assumé, pas d'arrondi */
  display: block; object-fit: cover;
}
.brand-text { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-item {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--text-2);
  transition: color .15s, background .15s;
}
.nav-item:hover { color: var(--ink); background: var(--bg-soft); }
.nav-item .tiktok-ic { width: 13px; height: 13px; }
/* « Le concept » en bouton outline : plus visible qu'un simple lien */
.nav-btn { border: 1.5px solid var(--ink); color: var(--ink); padding: 8px 16px; }
.nav-btn:hover { background: var(--ink); color: #fff; }

.cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--ink); color: #fff;
  border: 1px solid var(--ink); border-radius: 999px;
  padding: 10px 18px; font-family: var(--sans); font-size: 13.5px; font-weight: 700;
  cursor: pointer; transition: background .15s, transform .15s;
}
.cta svg { width: 14px; height: 14px; }
.cta:hover { background: var(--ink-2); transform: translateY(-1px); }

/* ===================== PAGE ===================== */
.page { max-width: 1440px; margin: 0 auto; padding: 0 28px 40px; }

.page-head { padding: 48px 0 30px; max-width: 880px; }
.page-head h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
  color: var(--ink);
}
.page-head h1 em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 7px;
}
.page-head p { margin-top: 16px; font-size: 17px; color: var(--text-2); line-height: 1.5; max-width: 640px; }
.concept-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  border: 1.5px solid var(--ink); color: var(--ink); border-radius: 999px;
  padding: 10px 20px; font-size: 14px; font-weight: 700;
  transition: background .15s, color .15s;
}
.concept-btn svg { width: 15px; height: 15px; }
.concept-btn:hover { background: var(--ink); color: #fff; }

/* ===================== LOCATOR (liste + carte, bloc bordé) ===================== */
.locator {
  display: grid; grid-template-columns: 384px 1fr;
  height: min(720px, calc(100dvh - 150px)); min-height: 520px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

/* ===================== LIST PANEL ===================== */
.list-panel { display: flex; flex-direction: column; border-right: 1px solid var(--line); min-width: 0; min-height: 0; background: var(--bg); }

/* desktop : le bloc de recherche noir passe en premier (façon Patagonia) */
.list-panel > .search-block { order: 1; }
.list-panel > .lp-meta      { order: 2; }
.list-panel > .tabs         { order: 3; }
.list-panel > .track-list   { order: 4; }
.lp-head { display: none; } /* le titre vit dans le page-head sur desktop */

.search-block { background: var(--ink); padding: 18px 16px; }
.search { position: relative; }
.search-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; background: #fff; border: 1px solid #fff;
  border-radius: 999px; padding: 12px 16px 12px 38px; color: var(--text);
  font-family: var(--sans); font-size: 14px; outline: none; transition: box-shadow .2s;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,0.35); }

.lp-meta { padding: 13px 16px 10px; border-bottom: 1px solid var(--line); }
.lp-sub { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }

.tabs { display: flex; gap: 6px; padding: 12px 16px; flex-wrap: wrap; }
.tab {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text-2);
  border-radius: 999px; padding: 6px 13px; font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  cursor: pointer; transition: all .15s;
}
.tab svg { width: 13px; height: 13px; }
.tab:hover { border-color: var(--ink); color: var(--ink); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.geo-btn { margin-left: auto; }
.geo-btn:disabled { opacity: 0.6; cursor: wait; }

/* min-height: 0 : indispensable pour que le flex enfant scrolle au lieu de déborder */
.track-list { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 12px 14px; display: flex; flex-direction: column; gap: 9px; background: var(--bg-soft); }

/* track card */
.track-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 15px; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .1s;
  animation: cardIn .4s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: var(--d, 0ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.track-card:hover { border-color: var(--line-2); box-shadow: 0 6px 18px -8px rgba(0,0,0,0.14); }
.track-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.track-card.is-active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 8px 20px -10px rgba(0,0,0,0.18); }

.badge {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 11px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.01em;
  padding: 4px 11px 4px 8px; border-radius: 999px;
}
.badge svg { width: 13px; height: 13px; }
.badge-verif { color: var(--accent); background: var(--accent-dim); }

.tc-head { display: flex; align-items: center; gap: 11px; }
.tc-avatar {
  width: 38px; height: 38px; flex: none; border-radius: 11px;
  border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.04em;
}
.tc-main { flex: 1; min-width: 0; }
.tc-name { font-size: 14.5px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-area { font-size: 12.5px; color: var(--text-2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tc-note {
  font-size: 12.5px; color: var(--text-2); font-style: italic;
  margin-top: 10px; padding-left: 10px; border-left: 2px solid var(--accent);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.tc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 11px; }
.tc-tags { display: flex; gap: 4px; flex-wrap: wrap; min-width: 0; }
.tc-tag { font-size: 10.5px; font-weight: 600; color: var(--text-2); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.tc-dist { font-weight: 800; color: var(--ink); border-color: var(--line-2); background: #fff; }
.tc-book {
  flex: none; font-size: 12px; font-weight: 700; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 14px;
  transition: background .15s, color .15s;
}
.tc-book:hover { background: var(--ink); color: #fff; }

.list-empty { text-align: center; color: var(--muted); font-size: 13px; padding: 40px 20px; }

/* ===================== MAP PANEL ===================== */
.map-panel { position: relative; overflow: hidden; background: var(--bg-soft); }
#map { width: 100%; height: 100%; background: #eef0ee; }

.leaflet-control-zoom { border: none !important; margin: 14px 14px 34px !important; box-shadow: 0 4px 14px -4px rgba(0,0,0,0.18) !important; border-radius: 9px !important; overflow: hidden; }
.leaflet-control-zoom a {
  background: #fff !important; color: var(--ink) !important;
  border: 1px solid var(--line) !important;
}
.leaflet-control-zoom a:hover { background: var(--bg-soft) !important; }
.leaflet-control-attribution {
  background: rgba(255,255,255,0.8) !important; color: var(--muted) !important; font-size: 10px !important;
}
.leaflet-control-attribution a { color: var(--text-2) !important; }

.map-top { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 600; display: flex; justify-content: space-between; pointer-events: none; }
.map-clock {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--ink);
  background: rgba(255,255,255,0.92); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 14px; backdrop-filter: blur(8px); pointer-events: auto;
  box-shadow: 0 4px 14px -6px rgba(0,0,0,0.15);
}
.map-tools { display: flex; gap: 6px; pointer-events: auto; }
.map-tool {
  width: 36px; height: 36px; border-radius: 999px; background: rgba(255,255,255,0.92);
  border: 1px solid var(--line); color: var(--text-2); cursor: pointer;
  display: grid; place-items: center;
  backdrop-filter: blur(8px); transition: border-color .2s, color .2s;
  box-shadow: 0 4px 14px -6px rgba(0,0,0,0.15);
}
.map-tool svg { width: 15px; height: 15px; }
.map-tool:hover { border-color: var(--ink); color: var(--ink); }

.map-legend {
  position: absolute; bottom: 14px; left: 14px; z-index: 600;
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.92); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; backdrop-filter: blur(8px); font-size: 11.5px; font-weight: 600; color: var(--text-2);
  box-shadow: 0 4px 14px -6px rgba(0,0,0,0.15);
}
.map-legend .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: middle; }
.dot-verif { background: var(--ink); }
.dot-new { background: var(--new); }
.legend-hint { color: var(--muted); border-left: 1px solid var(--line); padding-left: 14px; font-weight: 500; }

/* poignée de la bottom sheet (mobile uniquement) */
.sheet-handle { display: none; }

/* leaflet markers : pins noirs (façon Patagonia), ambre pour les nouveautés */
.lb-pin {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink); border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  transition: transform .15s;
}
.lb-pin.is-new { background: var(--new); }
.lb-pin.is-active { transform: scale(1.45); background: var(--accent); }

/* cluster de marqueurs (plusieurs salons dans une même ville) */
.lb-cluster {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); border: 2.5px solid #fff;
  color: #fff; display: grid; place-items: center;
  font-size: 12.5px; font-weight: 800;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

/* position de l'utilisateur (« près de moi ») */
.lb-user {
  width: 15px; height: 15px; border-radius: 50%;
  background: #2f6bff; border: 2.5px solid #fff;
  box-shadow: 0 0 0 4px rgba(47,107,255,0.25);
  animation: userPulse 2s ease-out infinite;
}
@keyframes userPulse {
  0%   { box-shadow: 0 0 0 4px rgba(47,107,255,0.3); }
  70%  { box-shadow: 0 0 0 14px rgba(47,107,255,0); }
  100% { box-shadow: 0 0 0 4px rgba(47,107,255,0); }
}

/* leaflet popup clair */
.leaflet-popup-content-wrapper {
  background: #fff !important; color: var(--text) !important;
  border: 1px solid var(--line-2) !important; border-radius: 14px !important;
  box-shadow: 0 20px 44px -18px rgba(0,0,0,0.28) !important;
}
.leaflet-popup-tip { background: #fff !important; border: 1px solid var(--line-2) !important; }
.leaflet-popup-content { margin: 14px 16px !important; font-family: var(--sans) !important; }
.leaflet-popup-close-button { color: var(--muted) !important; }
.pop-id { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; color: var(--accent); }
.pop h4 { font-size: 15px; color: var(--ink); margin: 3px 0 2px; }
.pop-city { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.pop-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.pop-tag { font-size: 10.5px; font-weight: 600; color: var(--text-2); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; }
.pop-note { font-size: 12px; color: var(--text-2); font-style: italic; margin-bottom: 9px; }
.pop-links { display: flex; gap: 6px; flex-wrap: wrap; }
.leaflet-container a.pop-link {
  font-size: 11.5px; font-weight: 700; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 999px; padding: 5px 12px;
  transition: background .15s, color .15s;
}
.leaflet-container a.pop-link:hover { background: var(--ink); color: #fff; }

/* ===================== FOOTER ===================== */
.page-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px 0; font-size: 12.5px; color: var(--muted); flex-wrap: wrap;
}

/* ===================== MODALS ===================== */
.modal {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px;
  background: rgba(18,18,18,0.4); backdrop-filter: blur(6px);
  animation: fade .25s ease;
}
.modal[hidden] { display: none !important; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.sheet {
  width: 100%; max-width: 460px; background: #fff;
  border: 1px solid var(--line-2); border-radius: 18px; padding: 30px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.35);
  animation: pop .3s cubic-bezier(.2,.8,.2,1);
}
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.gate-badge {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.14em;
  color: var(--ink); border: 1.5px solid var(--ink);
  border-radius: 999px; padding: 5px 12px; margin-bottom: 16px;
}
.sheet h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); margin-bottom: 12px; }
.sheet h2 em {
  font-style: normal;
  text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px;
}
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-5px)} 75%{transform:translateX(5px)} }
.btn-accent {
  background: var(--ink); color: #fff;
  border: none; border-radius: 999px; padding: 13px 20px; font-family: var(--sans);
  font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background .15s, transform .15s;
}
.btn-accent:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-accent:disabled { cursor: wait; opacity: .62; transform: none; }
.form-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.form-status { min-height: 18px; margin-top: 7px; color: var(--warn); font-size: 12px; font-weight: 600; }

/* sheet (reco / concept) */
.sheet { max-width: 520px; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.sheet-head h2 { font-size: 23px; }
.sheet-close { background: #fff; border: 1px solid var(--line-2); color: var(--text-2); width: 32px; height: 32px; border-radius: 999px; cursor: pointer; display: grid; place-items: center; }
.sheet-close svg { width: 16px; height: 16px; }
.sheet-close:hover { border-color: var(--ink); color: var(--ink); }
.sheet-p { color: var(--text-2); font-size: 14px; line-height: 1.5; margin-bottom: 18px; }
.dark-form { display: flex; flex-direction: column; gap: 9px; }
.df-row { display: flex; gap: 9px; }
.dark-form input, .dark-form textarea {
  width: 100%; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 11px 14px; color: var(--text); font-family: var(--sans); font-size: 13.5px; outline: none; transition: border-color .2s;
}
.dark-form input::placeholder, .dark-form textarea::placeholder { color: var(--muted); }
.dark-form input:focus, .dark-form textarea:focus { border-color: var(--ink); }
.dark-form textarea { min-height: 86px; resize: vertical; }
.dark-form .btn-accent { align-self: flex-start; margin-top: 4px; }
.df-status { font-size: 12.5px; color: var(--accent); font-weight: 600; min-height: 1em; }
.concept-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 4px 0 22px; }
.concept-list li { font-size: 14px; color: var(--text-2); line-height: 1.5; }
.concept-list b { color: var(--ink); font-weight: 700; }

/* ============================================================
   PAGE D'ACCUEIL (index.html) : présentation + capture email
   La carte, elle, vit dans carte.html
   ============================================================ */
.landing { max-width: 1180px; margin: 0 auto; padding: 0 28px 60px; }

.hero { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; padding: 56px 0 64px; }
.hero-copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(34px, 4.4vw, 54px); font-weight: 800;
  letter-spacing: -0.035em; line-height: 1.03; color: var(--ink);
}
.hero h1 em {
  font-style: normal; text-decoration: underline;
  text-decoration-thickness: 4px; text-underline-offset: 7px;
}
.hero-p { margin-top: 18px; font-size: 16.5px; color: var(--text-2); line-height: 1.6; }

/* formulaire d'inscription */
.signup { margin-top: 28px; }
.signup-row { display: flex; gap: 9px; }
.signup-row input {
  flex: 1; min-width: 0; background: #fff; border: 1.5px solid var(--line-2);
  border-radius: 999px; padding: 14px 20px; color: var(--text);
  font-family: var(--sans); font-size: 15px; outline: none; transition: border-color .2s;
}
.signup-row input::placeholder { color: var(--muted); }
.signup-row input:focus { border-color: var(--ink); }
.signup.is-error input { border-color: var(--warn); animation: shake .3s; }
.signup-row .btn-accent { padding: 14px 24px; font-size: 14.5px; }
.signup-mini { margin-top: 11px; font-size: 12.5px; color: var(--muted); }
.signup .form-status:empty { display: none; }

/* pages légales */
.legal-page { width: min(780px, calc(100% - 36px)); margin: 0 auto; padding: 64px 0 80px; }
.legal-page h1 { color: var(--ink); font-size: clamp(34px, 6vw, 56px); letter-spacing: -.04em; line-height: 1; }
.legal-intro { margin: 18px 0 40px; color: var(--text-2); font-size: 16px; line-height: 1.65; }
.legal-section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-section h2 { margin-bottom: 12px; color: var(--ink); font-size: 20px; }
.legal-section p, .legal-section li { color: var(--text-2); font-size: 14.5px; line-height: 1.7; }
.legal-section ul { margin: 10px 0 0 20px; }
.legal-section a { text-decoration: underline; text-underline-offset: 3px; }
.legal-todo { display: inline-block; padding: 3px 8px; border-radius: 5px; background: #fff0d6; color: #855800; font-weight: 700; }
.legal-back { display: inline-flex; margin-top: 32px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* état « c'est envoyé » */
.signup-done {
  margin-top: 28px; padding: 22px 24px;
  background: var(--accent-dim); border: 1.5px solid rgba(15,138,95,0.25); border-radius: 16px;
  animation: pop .35s cubic-bezier(.2,.8,.2,1);
}
.signup-done[hidden] { display: none !important; }
.done-title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; color: var(--accent); }
.done-title svg { width: 20px; height: 20px; }
.done-p { margin: 10px 0 0; font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.done-p b { color: var(--ink); font-weight: 700; word-break: break-all; }
.done-hint {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(15,138,95,0.2);
  font-size: 12.5px; color: var(--muted); line-height: 1.5;
}

/* ce que tu reçois */
.perks { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.perks li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
.perks svg { width: 17px; height: 17px; flex: none; margin-top: 1px; color: var(--ink); }
.perks b { color: var(--ink); font-weight: 700; }

/* colonne de droite : stats + villes */
.hero-side { display: flex; flex-direction: column; gap: 16px; }

/* landing de conversion : promesse + formulaire visibles sans scroll */
.hero-conversion { min-height: calc(100svh - 150px); align-items: center; padding: 48px 0; }
.hero-conversion .hero-copy { max-width: 650px; }
.hero-conversion h1 { font-size: clamp(44px, 5.1vw, 70px); line-height: .99; }
.hero-conversion .hero-p { max-width: 590px; font-size: 17px; }
.conversion-proof { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.conversion-proof span, .conversion-proof a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 12.5px; font-weight: 650; }
.conversion-proof a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.conversion-proof svg { width: 15px; height: 15px; color: var(--ink); }
.map-teaser { overflow: hidden; min-height: 390px; border: 1px solid var(--line-2); border-radius: 20px; background: #fff; box-shadow: 0 30px 70px -45px rgba(0,0,0,.38); }
.teaser-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .08em; }
.teaser-top span { font-weight: 750; }
.teaser-top b { color: var(--accent); letter-spacing: 0; }
.teaser-map { position: relative; height: 338px; background: #ddecdf; background-image: linear-gradient(28deg, transparent 47%, rgba(255,255,255,.7) 48%, rgba(255,255,255,.7) 50%, transparent 51%), linear-gradient(112deg, transparent 45%, rgba(255,255,255,.6) 46%, rgba(255,255,255,.6) 48%, transparent 49%); background-size: 90px 80px, 130px 105px; }
.teaser-pin { position: absolute; width: 18px; height: 18px; border: 3px solid #fff; border-radius: 50% 50% 50% 0; background: var(--ink); box-shadow: 0 4px 10px rgba(0,0,0,.22); transform: rotate(-45deg); }
.teaser-pin.p1 { left: 27%; top: 22%; }.teaser-pin.p2 { left: 55%; top: 33%; }.teaser-pin.p3 { left: 69%; top: 17%; }.teaser-pin.p4 { left: 39%; top: 57%; }.teaser-pin.p5 { left: 72%; top: 63%; }
.teaser-card { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid rgba(0,0,0,.08); border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.teaser-card svg { width: 21px; color: var(--ink); }
.teaser-card span { display: flex; flex-direction: column; gap: 3px; }
.teaser-card b { font-size: 14px; }.teaser-card small { color: var(--text-2); font-size: 11.5px; }
.stats-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.stats-row { display: flex; gap: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.stats-row div { display: flex; flex-direction: column; }
.stats-row b { font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.stats-row span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stats-label { margin: 18px 0 11px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.city-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.city-chip {
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 12px;
}
.stats-hint { margin-top: 16px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

.proof {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12.5px; color: var(--text-2); line-height: 1.45; padding: 0 4px;
  transition: color .2s;
}
.proof:hover { color: var(--ink); }
.proof .tiktok-ic { width: 15px; height: 15px; flex: none; margin-top: 1px; }

/* section concept */
.concept-sec { padding: 56px 0; border-top: 1px solid var(--line); }
.concept-sec h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.concept-p { margin-top: 14px; max-width: 640px; font-size: 15.5px; color: var(--text-2); line-height: 1.6; }
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0 30px; }
.concept-item { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.concept-item svg { width: 22px; height: 22px; color: var(--ink); }
.concept-item b { display: block; margin: 12px 0 6px; font-size: 15.5px; font-weight: 800; color: var(--ink); }
.concept-item p { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 48px; }
  .concept-grid { grid-template-columns: 1fr; }
  .hero-conversion { display: flex; min-height: auto; max-width: 680px; padding: 52px 0 42px; }
  .hero-conversion .hero-side { display: none; }
}
@media (max-width: 560px) {
  .landing { padding: 0 18px 44px; }
  .signup-row { flex-direction: column; }
  .signup-row .btn-accent { width: 100%; }
  .stats-row { gap: 18px; }
  .landing-social { padding: 8px 12px; font-size: 11px; }
  .hero-conversion { min-height: calc(100svh - 60px); justify-content: center; padding: 28px 0 34px; }
  .hero-conversion h1 { font-size: clamp(39px, 12vw, 50px); line-height: .98; }
  .hero-conversion .hero-p { margin-top: 16px; font-size: 15.5px; line-height: 1.5; }
  .hero-conversion .signup { margin-top: 22px; }
  .hero-conversion .signup-mini { font-size: 11.5px; line-height: 1.45; }
  .conversion-proof { margin-top: 21px; padding-top: 18px; gap: 9px 14px; }
  .conversion-proof span, .conversion-proof a { font-size: 11.5px; }
}

/* ===================== POPUP TIKTOK (desktop) ===================== */
.tk-pop {
  position: fixed; bottom: 22px; right: 22px; z-index: 1500;
  display: flex; align-items: flex-start; gap: 13px;
  width: 320px; background: #fff; border: 1px solid var(--line-2);
  border-radius: 16px; padding: 18px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.3);
  animation: tkIn .45s cubic-bezier(.2,.8,.2,1);
}
.tk-pop[hidden] { display: none !important; }
@keyframes tkIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.tk-pop-close {
  position: absolute; top: 10px; right: 10px;
  width: 26px; height: 26px; border-radius: 999px;
  background: none; border: none; color: var(--muted); cursor: pointer;
  display: grid; place-items: center;
}
.tk-pop-close svg { width: 14px; height: 14px; }
.tk-pop-close:hover { color: var(--ink); background: var(--bg-soft); }
.tk-pop-ic {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  background: var(--ink); color: #fff; display: grid; place-items: center;
}
.tk-pop-ic .tiktok-ic { width: 19px; height: 19px; }
.tk-pop-body { min-width: 0; }
.tk-pop-body b { display: block; font-size: 14.5px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.tk-pop-body p { font-size: 12.5px; color: var(--text-2); line-height: 1.45; margin: 5px 0 12px; }
.tk-handle { font-weight: 700; color: var(--ink); }
.tk-pop-btn { display: inline-block; padding: 9px 18px; font-size: 13px; }
@media (max-width: 900px) { .tk-pop { display: none !important; } }

/* ===================== TOAST ===================== */
.toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 3000;
  background: var(--ink); color: #fff;
  padding: 12px 20px; border-radius: 999px; font-size: 13px; font-weight: 600;
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.4); opacity: 0; transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .locator { grid-template-columns: 340px 1fr; }
  .nav { display: none; }
}

/* Mobile : carte plein écran + liste en bottom sheet glissable (façon Google Maps)
   ⚠️ tout ce bloc ne concerne QUE la page carte (body.is-map) : la page d'accueil
   doit rester une page qui scrolle normalement. */
@media (max-width: 900px) {
  .announce { display: none; }
  .brand { flex: 1; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-text { font-size: 15px; }
  .cta { padding: 9px 14px; font-size: 12.5px; white-space: nowrap; }
  .cta-long { display: none; } /* sur mobile : juste « Recommander » */

  body.is-map { overflow: hidden; }
  .is-map .topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 800; height: 60px;
    padding: 10px 14px; gap: 10px;
  }

  .page { padding: 0; max-width: none; }
  .is-map .page-head, .is-map .page-foot { display: none; }

  .locator {
    display: block; height: auto; min-height: 0;
    border: none; border-radius: 0; overflow: visible;
  }

  .map-panel {
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
  }
  /* pinch-to-zoom suffit sur mobile ; les contrôles bas remontent au-dessus de la sheet repliée */
  .leaflet-control-zoom { display: none; }
  .leaflet-bottom { bottom: 174px; }
  .map-legend { bottom: 186px; }
  .legend-hint { display: none; }

  .list-panel {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    height: 78vh; height: 78dvh;
    border: none; border-radius: 20px 20px 0 0;
    background: #fff;
    box-shadow: 0 -18px 44px rgba(0,0,0,0.2);
    transform: translateY(calc(100% - 170px)); /* état replié : 170px visibles (sync avec PEEK en JS) */
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
  }
  .list-panel.is-open { transform: translateY(0); }
  .list-panel.is-dragging { transition: none; }

  /* sur mobile on garde l'ordre naturel : poignée, titre, recherche, filtres, liste */
  .list-panel > .search-block, .list-panel > .lp-meta, .list-panel > .tabs, .list-panel > .track-list { order: 0; }
  .lp-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; flex-wrap: wrap; padding: 4px 16px 10px;
  }
  .lp-title { font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
  /* accès Le concept + TikTok (le header mobile ne les affiche pas) */
  .lp-actions { display: flex; gap: 6px; }
  .lp-action {
    display: inline-flex; align-items: center; gap: 5px;
    border: 1.5px solid var(--line-2); border-radius: 999px;
    padding: 6px 12px; font-size: 12px; font-weight: 700; color: var(--ink);
  }
  .lp-action svg { width: 12px; height: 12px; }
  .lp-action .tiktok-ic { width: 12px; height: 12px; }
  .search-block { background: none; padding: 0 16px 12px; }
  .search input { border: 1.5px solid var(--line-2); }
  .search input:focus { border-color: var(--ink); box-shadow: none; }
  .lp-meta { border-bottom: none; padding-top: 0; }

  .sheet-handle {
    display: flex; justify-content: center; padding: 10px 0 4px;
    cursor: grab; touch-action: none;
  }
  .sheet-handle span { width: 42px; height: 5px; border-radius: 99px; background: rgba(0,0,0,0.18); }
  .track-list { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  .sheet { padding: 22px; }
  .df-row { flex-direction: column; }
}

/* respect de la préférence "réduire les animations" */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
