/* Pléiades de l'Estérel — compagnon de séjour
   Jetons repris du site : --color-primary #1e3a5f, --color-secondary #b34e34, --color-accent #f4a261
   Polices du site : Montserrat (texte) + Playfair Display (titres) */

:root {
  --navy: #1e3a5f;
  --navy-deep: #142840;
  --terra: #b34e34;
  --terra-dark: #8f3b24;
  --sand: #f4a261;
  --sand-soft: #fbe3c8;
  --paper: #fbf7f0;
  --paper-2: #f3ece0;
  --white: #ffffff;
  --ink: #1b2a3d;
  --muted: #566475;
  --line: #e4dccd;
  --ok: #2f6b4f;

  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --shadow: 0 6px 18px rgba(20, 40, 64, .10), 0 1px 3px rgba(20, 40, 64, .08);
  --shadow-up: 0 -4px 20px rgba(20, 40, 64, .10);

  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;

  --tab-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--paper);
  font: 400 1rem/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--sand); color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; border-radius: 6px; }
::-webkit-scrollbar { height: 0; width: 0; }

.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.s { width: 18px; height: 18px; }

/* ---------- Coque : colonne mobile centrée ---------- */
.shell {
  position: relative;
  max-width: 520px;
  min-height: 100svh;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  color: var(--ink);
}
#app { padding-bottom: calc(var(--tab-h) + var(--safe-b) + 28px); outline: none; }
.view { animation: viewIn .5s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Barre d'onglets ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 520px; z-index: 20;
  height: calc(var(--tab-h) + var(--safe-b));
  padding-bottom: var(--safe-b);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--white);
  box-shadow: var(--shadow-up);
  border-top: 1px solid var(--line);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; color: var(--muted);
  font-size: .7rem; font-weight: 600; letter-spacing: 0; white-space: nowrap;
  position: relative;
}
.tabbar a[aria-current="page"] { color: var(--terra); }
.tabbar a[aria-current="page"]::before {
  content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px;
  background: var(--terra); border-radius: 0 0 3px 3px;
}

/* ---------- Typo ---------- */
.h-display { font-family: var(--font-head); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
.h-sec { font-family: var(--font-head); font-weight: 600; font-size: 1.45rem; line-height: 1.2; color: var(--navy); }
.sub { color: var(--muted); font-size: .92rem; }
.pad { padding-inline: 20px; }
.sec { padding-top: 34px; }
.sec-head { padding-inline: 20px; margin-bottom: 14px; display: flex; flex-direction: column; gap: 2px; }

/* ---------- Placeholders à compléter ---------- */
.todo {
  display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  background: var(--sand-soft); color: #6e3410;
  border: 1px dashed #d98a45; border-radius: 8px;
  padding: 1px 8px; font-size: .82em; font-weight: 600; line-height: 1.5;
}
.todo i { font-style: normal; font-weight: 500; opacity: .85; }

/* ---------- Accueil : héros ---------- */
.hero { position: relative; color: var(--white); min-height: 44svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--navy); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,40,64,.45) 0%, rgba(20,40,64,0) 32%, rgba(20,40,64,.78) 100%); }
.hero-top { position: absolute; z-index: 2; top: calc(14px + var(--safe-t)); left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: center; }
.brand { font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: .01em; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.lang { display: inline-flex; background: rgba(20,40,64,.72); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: transparent; color: rgba(255,255,255,.85); font-weight: 700; font-size: .74rem; padding: 6px 12px; border-radius: 999px; min-height: 32px; }
.lang button[aria-pressed="true"] { background: var(--white); color: var(--navy); }
.hero-copy { position: relative; z-index: 2; padding: calc(84px + var(--safe-t)) 20px 50px; }
.hero-copy h1 { font-size: clamp(2.3rem, 11vw, 3.1rem); }
.hero-copy p { margin-top: 8px; color: rgba(255,255,255,.92); max-width: 30ch; text-shadow: 0 1px 10px rgba(0,0,0,.4); }

/* ---------- Recherche ---------- */
.search-wrap { position: relative; z-index: 3; margin: -28px 20px 0; }
.search {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border-radius: 18px; padding: 0 16px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  min-height: 56px; color: var(--muted);
}
.search:focus-within { border-color: var(--terra); box-shadow: var(--shadow), 0 0 0 3px rgba(179,78,52,.18); }
.search input { flex: 1; border: 0; background: transparent; font: 500 1rem var(--font-body); color: var(--ink); min-height: 54px; outline: none; min-width: 0; }
.search input::placeholder { color: #7c8896; }
.search input::-webkit-search-cancel-button { appearance: none; }
.results { margin: 12px 20px 0; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-m); border: 1px solid var(--line); overflow: hidden; }
.results[hidden] { display: none; }
.results .row { border-bottom: 1px solid var(--line); }
.results .row:last-child { border-bottom: 0; }
.results .empty { padding: 18px; color: var(--muted); }

/* ---------- Pastille logement ---------- */
.apt-chip {
  margin: 16px 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; background: var(--paper-2); border-radius: var(--r-m); text-decoration: none; border: 0; width: calc(100% - 40px); text-align: left;
}
.apt-chip b { display: block; font-size: .95rem; }
.apt-chip span.s { font-size: .8rem; color: var(--muted); }
.link-btn { color: var(--terra); font-weight: 700; font-size: .85rem; }

/* ---------- Panneau Wi-Fi ---------- */
.wifi {
  margin: 18px 20px 0; background: var(--navy); color: var(--white); border-radius: var(--r-l);
  padding: 20px; display: grid; gap: 16px; box-shadow: var(--shadow);
}
.wifi .top { display: flex; align-items: center; gap: 12px; }
.wifi .top .ic { width: 28px; height: 28px; color: var(--sand); }
.wifi .top h3 { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; }
.wifi dl { margin: 0; display: grid; gap: 12px; }
.wifi dt { font-size: .74rem; font-weight: 600; opacity: .8; }
.wifi dd { margin: 2px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 1.15rem; font-weight: 700; word-break: break-all; }
.wifi .todo { font-size: .78rem; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.14); color: var(--white); border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .8rem; min-height: 40px; flex: none; }
.copy-btn:active { background: rgba(255,255,255,.28); }

/* ---------- Listes de lignes ---------- */
.rows { display: flex; flex-direction: column; margin: 0 20px; background: var(--white); border-radius: var(--r-m); border: 1px solid var(--line); overflow: hidden; }
.row {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 64px;
  text-decoration: none; color: inherit; border: 0; background: transparent; width: 100%; text-align: left;
  border-bottom: 1px solid var(--line);
}
.rows > .row:last-child { border-bottom: 0; }
.row:active { background: var(--paper-2); }
.row .badge { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--sand-soft); color: var(--terra-dark); flex: none; }
.row .txt { flex: 1; min-width: 0; }
.row .txt b { display: block; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.row .txt span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.35; margin-top: 1px; }
.row > .ic:last-child { color: #9aa5b3; width: 20px; height: 20px; }

/* ---------- Bandeau photo défilant ---------- */
.hscroll { display: flex; gap: 12px; overflow-x: auto; padding: 4px 20px 8px; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; }
.tile {
  position: relative; flex: none; width: 66%; max-width: 270px; aspect-ratio: 4 / 5; border-radius: var(--r-l); overflow: hidden;
  scroll-snap-align: start; text-decoration: none; color: var(--white); background: var(--navy);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; box-shadow: var(--shadow);
}
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,40,64,0) 35%, rgba(20,40,64,.85) 100%); }
.tile > :not(img):not(.big) { position: relative; z-index: 2; }
.tile::after { z-index: 1; }
.tile.noimg { background: var(--terra); }
.tile.noimg:nth-child(3n+2) { background: var(--navy); }
.tile.noimg:nth-child(3n+3) { background: #3d6b73; }
.tile.noimg::after { background: none; }
.tile .big { position: absolute; z-index: 0; top: 18px; right: 18px; width: 56px; height: 56px; opacity: .28; }
.tile h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; line-height: 1.15; }
.tile p { font-size: .82rem; margin-top: 4px; opacity: .92; }

/* ---------- Bande coups de cœur ---------- */
.band { margin-top: 36px; padding: 30px 20px; background: var(--terra); color: var(--white); }
.band h2 { font-family: var(--font-head); font-weight: 600; font-size: 1.6rem; }
.band p { margin-top: 6px; opacity: .95; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; text-decoration: none; font-weight: 700; font-size: .92rem; padding: 0 20px; min-height: 48px; border-radius: 999px; transition: transform .2s var(--ease); }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--terra); color: var(--white); }
.btn.navy { background: var(--navy); color: var(--white); }
.btn.sand { background: var(--sand); color: var(--navy-deep); }
.btn.ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.band .btn { margin-top: 16px; }

/* ---------- Pages ---------- */
.top-bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 8px; padding: calc(8px + var(--safe-t)) 12px 8px; background: rgba(251,247,240,.96); border-bottom: 1px solid var(--line); }
.back { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; color: var(--navy); font-weight: 700; font-size: .9rem; min-height: 44px; padding: 0 10px 0 4px; text-decoration: none; }
.page-head { padding: 22px 20px 6px; }
.page-head h1 { font-size: 2.1rem; color: var(--navy); }
.page-head p { margin-top: 6px; }

.apt-hero { position: relative; color: var(--white); min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: var(--navy); overflow: hidden; }
.apt-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.apt-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,40,64,.35) 0%, rgba(20,40,64,0) 35%, rgba(20,40,64,.8) 100%); }
.apt-hero > :not(img) { position: relative; z-index: 2; }
.apt-hero::after { z-index: 1; }
.apt-hero h1 { font-size: 2.4rem; }
.apt-hero p { opacity: .95; margin-top: 4px; }
.apt-hero .change { position: absolute; z-index: 2; top: calc(14px + var(--safe-t)); right: 16px; background: rgba(20,40,64,.72); color: var(--white); border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .78rem; min-height: 36px; }

.chooser { display: flex; flex-direction: column; gap: 14px; padding: 8px 20px 0; }
.choice { position: relative; display: flex; align-items: flex-end; min-height: 150px; border-radius: var(--r-l); overflow: hidden; color: var(--white); text-decoration: none; padding: 16px; background: var(--navy); border: 0; width: 100%; text-align: left; box-shadow: var(--shadow); }
.choice > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.choice::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,40,64,0) 25%, rgba(20,40,64,.85) 100%); }
.choice > div { position: relative; z-index: 1; }
.choice b { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; display: block; line-height: 1.1; }
.choice span { font-size: .85rem; opacity: .95; }

dl.facts { margin: 0 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
dl.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
dl.facts div:last-child { border-bottom: 0; }
dl.facts dt { font-weight: 600; color: var(--muted); font-size: .86rem; padding-top: 2px; }
dl.facts dd { margin: 0; }

.eq { margin: 0 20px; display: grid; gap: 18px; }
.eq h3 { font-size: .9rem; font-weight: 700; color: var(--terra-dark); margin-bottom: 8px; }
.eq ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.eq li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .88rem; }

.gallery .tile { width: 78%; aspect-ratio: 4/3; }

.panel { margin: 14px 20px 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px; }
.panel h3 { font-size: .8rem; font-weight: 700; color: var(--terra-dark); margin-bottom: 6px; }
.panel .big { font-size: 1.1rem; font-weight: 600; }
.panel .btn { margin-top: 14px; }

ol.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 12px; }
ol.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
ol.steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }
ol.steps li > span { padding-top: 5px; }

/* ---------- Découvrir ---------- */
.chips { position: sticky; top: 0; z-index: 9; display: flex; gap: 8px; overflow-x: auto; padding: calc(10px + var(--safe-t)) 20px 10px; background: rgba(251,247,240,.97); border-bottom: 1px solid var(--line); }
.chip { text-decoration: none; flex: none; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 0 14px; min-height: 40px; font-weight: 600; font-size: .85rem; color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip .ic { width: 18px; height: 18px; }

.places { display: grid; gap: 16px; padding: 18px 20px 0; }
.place { background: var(--white); border-radius: var(--r-l); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 80px; }
.place.hl { outline: 3px solid var(--sand); }
.place .ph { position: relative; aspect-ratio: 16/9; background: var(--navy); }
.place .ph img { width: 100%; height: 100%; object-fit: cover; }
.credit { position: absolute; right: 8px; bottom: 6px; z-index: 2; padding: 1px 6px; border-radius: 6px; background: rgba(20,40,64,.55); color: #fff; font-size: .62rem; line-height: 1.5; letter-spacing: .01em; }
.tile > small.credit { position: absolute; top: 6px; bottom: auto; }
.place .ph.noimg { display: grid; place-items: center; aspect-ratio: auto; height: 76px; background: var(--paper-2); color: var(--terra); }
.place .ph.noimg .ic { width: 32px; height: 32px; }
.place .body { padding: 16px; display: grid; gap: 10px; }
.place h3 { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--navy); line-height: 1.2; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--paper-2); border-radius: 999px; padding: 4px 12px; font-size: .8rem; font-weight: 600; color: var(--navy); }
.pill .ic { width: 15px; height: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.actions .btn { min-height: 46px; padding: 0 18px; font-size: .86rem; }

/* ---------- Coups de cœur ---------- */
.pick { margin: 0 20px 18px; background: var(--white); border-radius: var(--r-l); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.pick .kind { display: flex; align-items: center; gap: 8px; background: var(--terra); color: var(--white); padding: 10px 16px; font-weight: 700; font-size: .8rem; }
.pick .in { padding: 16px; display: grid; gap: 12px; }
.pick h3 { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--navy); line-height: 1.2; }
.pick dt { font-size: .76rem; font-weight: 700; color: var(--terra-dark); }
.pick dd { margin: 2px 0 0; }
.pick dl { margin: 0; display: grid; gap: 10px; }

/* ---------- Contact ---------- */
.contact-hero { background: var(--navy); color: var(--white); padding: calc(36px + var(--safe-t)) 20px 28px; }
.contact-hero h1 { font-size: 2.2rem; }
.contact-hero p { margin-top: 6px; opacity: .92; }
.call { display: grid; gap: 10px; margin: -18px 20px 0; position: relative; }
.call .btn { min-height: 56px; font-size: 1rem; box-shadow: var(--shadow); }
.call .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.emerg { margin: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.emerg a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); padding: 12px 14px; }
.emerg b { font-size: 1.5rem; font-weight: 700; color: var(--terra); font-variant-numeric: tabular-nums; line-height: 1.1; }
.emerg span { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.lang-big { display: flex; gap: 10px; margin: 0 20px; }
.lang-big button { flex: 1; min-height: 48px; border-radius: 999px; border: 2px solid var(--navy); background: transparent; color: var(--navy); font-weight: 700; }
.lang-big button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.owner-link { display: block; text-align: center; margin: 30px 20px 0; font-size: .78rem; color: var(--muted); }

/* ---------- À compléter ---------- */
.todo-list { margin: 0 20px; display: grid; gap: 10px; }
.todo-group h3 { font-size: .95rem; margin: 18px 0 6px; color: var(--navy); }
.todo-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-s); padding: 10px 12px; font-size: .88rem; }
.todo-item small { color: var(--muted); display: block; font-size: .74rem; }

/* ---------- Toast + hors-ligne ---------- */
.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + var(--safe-b) + 16px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--navy-deep); color: var(--white); padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .85rem; transition: .35s var(--ease); z-index: 30; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.offline-note { background: var(--sand-soft); color: #6e3410; font-size: .8rem; font-weight: 600; padding: 8px 20px; text-align: center; }

.skeleton { padding: 40px 20px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (min-width: 560px) {
  .shell { margin-block: 0; }
}

/* ---------- Ajouts v1.1 : livrets ---------- */
.panel .note { display: block; margin-top: 8px; font-size: .88rem; font-weight: 500; color: var(--muted); line-height: 1.5; }
.warn { display: flex; gap: 10px; align-items: flex-start; margin: 14px 20px 0; padding: 12px 14px; border-radius: var(--r-m); background: var(--sand-soft); color: #6e3410; font-size: .86rem; font-weight: 500; line-height: 1.45; }
.warn .ic { margin-top: 1px; }
.counter { margin: 14px 20px 0; background: var(--navy); color: var(--white); border-radius: var(--r-m); overflow: hidden; }
.counter .stats { display: grid; grid-template-columns: 1fr 1fr; }
.counter .stats > div { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 8px; }
.counter .stats > div + div { border-left: 1px solid rgba(255,255,255,.15); }
.counter .range { display: block; padding: 4px 16px 12px; }
.counter input[type=range] { width: 100%; min-height: 32px; accent-color: var(--sand); cursor: pointer; }
.counter .ends { display: flex; justify-content: space-between; font-size: .72rem; opacity: .7; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.place[hidden] { display: none; }
.counter b { font-family: var(--font-head); font-weight: 600; font-size: 1.7rem; line-height: 1.1; color: var(--sand); }
.counter .stats > div > span { font-size: .8rem; line-height: 1.3; opacity: .85; }
dl.hike { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; }
dl.hike div { background: var(--paper); padding: 8px 10px; }
dl.hike dt { font-size: .7rem; font-weight: 600; color: var(--muted); }
dl.hike dd { margin: 2px 0 0; font-weight: 700; font-size: .95rem; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lvl { display: inline-block; }
.lvl.easy { color: var(--ok); }
.lvl.mid { color: var(--terra-dark); }
.lvl.hard { color: #8a1f1f; }
.start { font-size: .86rem; color: var(--muted); line-height: 1.45; }
.start b { color: var(--navy); font-weight: 700; }
.picks { padding-top: 14px; }
.pick { scroll-margin-top: 80px; }
.pick.hl { outline: 3px solid var(--sand); }
.pick .ph { aspect-ratio: 16 / 9; background: var(--navy); }
.pick .ph img { width: 100%; height: 100%; object-fit: cover; }
.pick .kind .d { margin-left: auto; font-weight: 600; opacity: .92; font-variant-numeric: tabular-nums; }
.row .num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--terra-dark); }
.row > .ic:last-child { flex: none; }

/* ---------- Finition v1.1 ---------- */
.wifi dd { flex-wrap: wrap; row-gap: 8px; }
.wifi dd .code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .98rem; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
.call .call-main { justify-content: flex-start; gap: 14px; padding: 10px 22px; min-height: 64px; border-radius: 22px; text-align: left; }
.call .call-main span { display: flex; flex-direction: column; line-height: 1.25; }
.call .call-main b { font-size: 1rem; }
.call .call-main small { font-size: .88rem; font-weight: 600; opacity: .9; font-variant-numeric: tabular-nums; }
.boot-hero { height: 44svh; background: var(--navy); }
.boot-bar { height: 56px; margin: -28px 20px 0; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.boot-bar.short { height: 64px; margin-top: 16px; background: var(--paper-2); box-shadow: none; }
@media (hover: hover) {
  .row, .chip, .btn, .tile, .choice, .emerg a, .lang button, .lang-big button, .copy-btn { transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
  .row:hover { background: var(--paper); }
  .chip:hover { border-color: var(--navy); }
  .btn.primary:hover { background: var(--terra-dark); }
  .btn.navy:hover { background: var(--navy-deep); }
  .btn.ghost:hover { background: var(--navy); color: var(--white); }
  .btn.sand:hover { background: #f7b47c; }
  .tile:hover, .choice:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20, 40, 64, .18); }
  .emerg a:hover { border-color: var(--terra); }
  .copy-btn:hover { background: rgba(255, 255, 255, .24); }
  .tabbar a:hover { color: var(--navy); }
}
.guide-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 20px 0; }
.guide-photo { margin: 0; aspect-ratio: 4/3; border-radius: var(--r-m); overflow: hidden; background: var(--paper-2); }
.guide-photo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.todo-photo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px; text-align: center; color: var(--terra); border: 1px dashed var(--line); }
.todo-photo .ic { width: 28px; height: 28px; }

/* ---------- guidage de randonnée (#/trail/…) ---------- */
.trail-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 10px 20px 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-s); overflow: hidden; }
.trail-stats > div { background: var(--white); padding: 8px 10px; }
.trail-stats dt { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.trail-stats dd { margin: 0; font-weight: 700; color: var(--navy); }
.trail-map { height: 52vh; min-height: 300px; margin: 14px 20px 0; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); z-index: 0; }
.trail-panel { position: sticky; bottom: calc(var(--tab-h) + var(--safe-b)); z-index: 5; margin: 12px 20px 0; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); }
.trail-panel p { margin: 0 0 6px; font-size: .9rem; }
.trail-panel .muted { color: var(--muted); }
.trail-panel .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.trail-panel .next { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.trail-panel .next span { width: 100%; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.trail-panel .next b { font-size: 1.05rem; color: var(--navy); }
.trail-panel .next em { font-style: normal; font-weight: 700; color: var(--terra); }
.trail-panel .progress { height: 6px; border-radius: 3px; background: var(--paper-2); overflow: hidden; margin: 6px 0; }
.trail-panel .progress i { display: block; height: 100%; background: var(--terra); transition: width .4s var(--ease); }
.warn-line { padding: 8px 10px; border-radius: var(--r-s); background: var(--sand-soft); color: #6e3410; font-weight: 600; }
.trail-steps { list-style: none; margin: 0 20px; padding: 0; display: grid; gap: 8px; }
.trail-steps li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-s); }
.trail-steps li.done { opacity: .5; }
.trail-steps .n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--white); font-size: .8rem; font-weight: 700; }
.trail-steps .tx { display: flex; flex-direction: column; }
.trail-steps small { color: var(--muted); }
.trail-foot { margin: 14px 20px 0; display: flex; flex-direction: column; gap: 4px; font-size: .82rem; color: var(--muted); }
.trail-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 600; }
.trail-pin { display: grid !important; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font: 700 12px var(--font-body); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.trail-pin.start { background: var(--terra); }
.trail-me { border-radius: 50%; background: #2a7de1; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(42,125,225,.25); }
