/* Portolea — generated from tokens.json */
:root, [data-theme="light"] {
  --fond: #f5f8fa;
  --surface: #ffffff;
  --surface-creux: #e8eff3;
  --trait: #cfdae0;
  --trait-fort: #647c8a;
  --encre: #0d2331;
  --encre-douce: #486070;
  --large: #0a5b7c;
  --large-fonce: #07465f;
  --sur-large: #ffffff;
  --haut-fond: #d8eaf2;
  --sable: #f1e7c9;
  --lagon: #0a7872;
  --reglement: #9e2168;
  --reglement-fond: #f8e4ef;
  --succes: var(--lagon);
  --succes-fond: #dcf1ee;
  --alerte: #7d5200;
  --alerte-fond: #fbefcf;
  --danger: #b0261c;
  --danger-fond: #fbe3e0;
  --sur-danger: #ffffff;
  --note: #a86c00;
  --focus: var(--encre);
  --ombre-1: 0 1px 2px rgba(13, 35, 49, 0.10), 0 2px 8px rgba(13, 35, 49, 0.08);
  --ombre-2: 0 -2px 6px rgba(13, 35, 49, 0.06), 0 -8px 28px rgba(13, 35, 49, 0.14);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
  --fond: #0a161d;
  --surface: #11222c;
  --surface-creux: #18303d;
  --trait: #284252;
  --trait-fort: #7d99a8;
  --encre: #e9f1f5;
  --encre-douce: #a5bac6;
  --large: #62c3e3;
  --large-fonce: #8fd6ee;
  --sur-large: #06212d;
  --haut-fond: #153a4b;
  --sable: #3b3625;
  --lagon: #56d0c4;
  --reglement: #f193c4;
  --reglement-fond: #3d1a2e;
  --succes: var(--lagon);
  --succes-fond: #10332f;
  --alerte: #f0c35a;
  --alerte-fond: #3a2f10;
  --danger: #ff9d92;
  --danger-fond: #401a16;
  --sur-danger: #3a0f0b;
  --note: #f0c35a;
  --focus: var(--encre);
  --ombre-1: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4);
  --ombre-2: 0 -2px 6px rgba(0, 0, 0, 0.5), 0 -8px 28px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}
}
[data-theme="dark"] {
  --fond: #0a161d;
  --surface: #11222c;
  --surface-creux: #18303d;
  --trait: #284252;
  --trait-fort: #7d99a8;
  --encre: #e9f1f5;
  --encre-douce: #a5bac6;
  --large: #62c3e3;
  --large-fonce: #8fd6ee;
  --sur-large: #06212d;
  --haut-fond: #153a4b;
  --sable: #3b3625;
  --lagon: #56d0c4;
  --reglement: #f193c4;
  --reglement-fond: #3d1a2e;
  --succes: var(--lagon);
  --succes-fond: #10332f;
  --alerte: #f0c35a;
  --alerte-fond: #3a2f10;
  --danger: #ff9d92;
  --danger-fond: #401a16;
  --sur-danger: #3a0f0b;
  --note: #f0c35a;
  --focus: var(--encre);
  --ombre-1: 0 1px 2px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4);
  --ombre-2: 0 -2px 6px rgba(0, 0, 0, 0.5), 0 -8px 28px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}
:root {
  --espace-1: 4px;
  --espace-2: 8px;
  --espace-3: 12px;
  --espace-4: 16px;
  --espace-5: 24px;
  --espace-6: 32px;
  --espace-7: 48px;
  --espace-8: 64px;
  --rayon-s: 6px;
  --rayon-m: 10px;
  --rayon-l: 16px;
  --rayon-pilule: 999px;
  --cible-tactile: 48px;
  --mesure: 65ch;
  --largeur-page: 1120px;
  --font-display: "Commissioner", "Commissioner repli", system-ui, sans-serif;
  --font-texte: "Source Sans 3", "Source Sans 3 repli", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/polices/commissioner-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/polices/source-sans-3-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/polices/source-sans-3-italique-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Commissioner repli";
  font-style: normal;
  font-weight: 500 700;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 93.70%;
  ascent-override: 108.54%;
  descent-override: 21.98%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Source Sans 3 repli";
  font-style: normal;
  font-weight: 400 500;
  src: local("Arial"), local("ArialMT");
  size-adjust: 94.18%;
  ascent-override: 108.73%;
  descent-override: 42.47%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Source Sans 3 repli";
  font-style: normal;
  font-weight: 600 700;
  src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 89.60%;
  ascent-override: 114.28%;
  descent-override: 44.64%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Source Sans 3 repli";
  font-style: italic;
  font-weight: 400 600;
  src: local("Arial Italic"), local("Arial-ItalicMT");
  size-adjust: 91.81%;
  ascent-override: 111.54%;
  descent-override: 43.57%;
  line-gap-override: 0%;
}
.t-display { font-family: var(--font-display); font-size: 40px; line-height: 44px; font-weight: 650; letter-spacing: -0.01em }
.t-h1 { font-family: var(--font-display); font-size: 30px; line-height: 36px; font-weight: 650; letter-spacing: -0.01em }
.t-h2 { font-family: var(--font-display); font-size: 24px; line-height: 30px; font-weight: 600 }
.t-h3 { font-family: var(--font-display); font-size: 19px; line-height: 26px; font-weight: 600 }
.t-lead { font-family: var(--font-texte); font-size: 18px; line-height: 28px; font-weight: 400 }
.t-corps { font-family: var(--font-texte); font-size: 16px; line-height: 24px; font-weight: 400 }
.t-petit { font-family: var(--font-texte); font-size: 14px; line-height: 20px; font-weight: 400 }
.t-etiquette { font-family: var(--font-texte); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em }
.t-donnee { font-family: var(--font-texte); font-size: 16px; line-height: 22px; font-weight: 600 }
.t-hydro { font-family: var(--font-texte); font-size: 16px; line-height: 22px; font-weight: 400; font-style: italic }


/* Portolea — composants. Mobile d'abord ; toutes les valeurs viennent de tokens.css. */

.n-scope {
  font-family: var(--font-texte);
  font-size: 16px;
  line-height: 24px;
  color: var(--encre);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
}
.n-scope *, .n-scope *::before, .n-scope *::after { box-sizing: border-box; }
.n-scope h1, .n-scope h2, .n-scope h3, .n-scope p, .n-scope dl, .n-scope dd, .n-scope ul { margin: 0; padding: 0; }
.n-scope h1, .n-scope h2, .n-scope h3 { text-wrap: balance; }
.n-scope svg.lucide { width: 20px; height: 20px; flex: none; }
.n-scope :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.t-etiquette { text-transform: uppercase; }
.t-donnee { font-variant-numeric: tabular-nums; }
.n-doux { color: var(--encre-douce); }
.n-pile { display: flex; flex-direction: column; gap: var(--espace-3); }
.n-rang { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-2); }

/* Bouton */
.n-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--espace-2);
  min-height: var(--cible-tactile); padding: 0 20px;
  border: 1.5px solid transparent; border-radius: var(--rayon-m);
  font: 600 16px/24px var(--font-texte); text-decoration: none; cursor: pointer;
  background: transparent; color: var(--encre);
  transition: background-color 120ms ease, border-color 120ms ease;
}
.n-btn--primaire { background: var(--large); color: var(--sur-large); }
.n-btn--primaire:hover, .n-btn--primaire:active { background: var(--large-fonce); }
.n-btn--secondaire { background: var(--surface); border-color: var(--trait-fort); }
.n-btn--secondaire:hover, .n-btn--secondaire:active { background: var(--surface-creux); }
.n-btn--discret { color: var(--large); padding: 0 12px; }
.n-btn--discret:hover, .n-btn--discret:active { background: var(--haut-fond); }
.n-btn--danger { background: var(--danger); color: var(--sur-danger); }
.n-btn--large { width: 100%; }
.n-btn--icone { width: var(--cible-tactile); padding: 0; }
.n-btn--flottant { background: var(--surface); box-shadow: var(--ombre-1); border-radius: var(--rayon-pilule); }
.n-btn[disabled], .n-btn[aria-disabled="true"] { background: var(--surface-creux); color: var(--encre-douce); border-color: transparent; cursor: not-allowed; }

/* Champ */
.n-champ { display: flex; flex-direction: column; gap: 6px; }
.n-champ__label { font: 600 14px/20px var(--font-texte); }
.n-champ__saisie {
  width: 100%; min-height: var(--cible-tactile); padding: 0 14px;
  border: 1.5px solid var(--trait-fort); border-radius: var(--rayon-m);
  background: var(--surface); color: var(--encre);
  font: 400 16px/24px var(--font-texte);
}
.n-champ__saisie::placeholder { color: var(--encre-douce); opacity: 1; }
.n-champ__saisie:focus-visible { border-color: var(--large); }
.n-champ__aide { font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.n-champ--erreur .n-champ__saisie { border-color: var(--danger); border-width: 2px; }
.n-champ--erreur .n-champ__aide { display: flex; gap: 6px; align-items: flex-start; color: var(--danger); }
.n-champ--erreur .n-champ__aide svg.lucide { width: 16px; height: 16px; margin-top: 2px; }
.n-recherche { position: relative; }
.n-recherche svg.lucide { position: absolute; left: 14px; top: 14px; color: var(--encre-douce); }
.n-recherche .n-champ__saisie { padding-left: 44px; border-radius: var(--rayon-pilule); }
.n-recherche--carte .n-champ__saisie { border-color: transparent; box-shadow: var(--ombre-1); }

/* Filtre */
.n-filtre {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 14px;
  border: 1.5px solid var(--trait-fort); border-radius: var(--rayon-pilule);
  background: var(--surface); color: var(--encre);
  font: 400 15px/20px var(--font-texte); white-space: nowrap; cursor: pointer;
}
.n-filtre svg.lucide { width: 16px; height: 16px; }
.n-filtre[aria-pressed="true"] { background: var(--haut-fond); border-color: var(--large); font-weight: 600; }
.n-filtres { display: flex; gap: var(--espace-2); overflow-x: auto; scrollbar-width: none; padding-block: 4px; }

/* Badge */
.n-badge {
  display: inline-flex; align-items: center; gap: var(--espace-1);
  padding: 4px 10px; border-radius: var(--rayon-pilule);
  font: 600 12px/16px var(--font-texte); letter-spacing: 0.02em;
  background: var(--surface-creux); color: var(--encre); white-space: nowrap;
}
.n-badge svg.lucide { width: 14px; height: 14px; }
.n-badge--succes { background: var(--succes-fond); }
.n-badge--succes svg.lucide { color: var(--succes); }
.n-badge--alerte { background: var(--alerte-fond); }
.n-badge--alerte svg.lucide { color: var(--alerte); }
.n-badge--danger { background: var(--danger-fond); }
.n-badge--danger svg.lucide { color: var(--danger); }
.n-badge--reglement { background: var(--reglement-fond); }
.n-badge--reglement svg.lucide { color: var(--reglement); }
.n-badge--hors-ligne { background: var(--sable); }

/* Marqueur de carte : la forme dit le type, le contour dit la fiabilité de la position */
.n-marqueur {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border: 2px solid var(--surface); border-radius: var(--rayon-pilule);
  background: var(--large); color: var(--surface); box-shadow: var(--ombre-1);
}
.n-scope .n-marqueur svg.lucide { width: 22px; height: 22px; stroke-width: 2; }
.n-marqueur--port { border-radius: var(--rayon-s); background: var(--encre); }
.n-marqueur--plongee { border-radius: var(--rayon-s); background: var(--lagon); transform: rotate(45deg); }
.n-marqueur--plongee svg.lucide { transform: rotate(-45deg); }
.n-marqueur--service, .n-marqueur--decouverte, .n-marqueur--regle { width: 36px; height: 36px; background: var(--surface); color: var(--encre); border: 1.5px solid var(--trait-fort); }
.n-marqueur--decouverte { background: var(--sable); }
.n-marqueur--regle { color: var(--reglement); border: 2px solid var(--reglement); }
.n-scope .n-marqueur--service svg.lucide, .n-scope .n-marqueur--decouverte svg.lucide, .n-scope .n-marqueur--regle svg.lucide { width: 20px; height: 20px; }
.n-marqueur--repere { width: 14px; height: 14px; background: var(--encre-douce); }
.n-marqueur--approx { outline: 2px dashed var(--alerte); outline-offset: 2px; }
.n-marqueur--actif { width: 48px; height: 48px; box-shadow: 0 0 0 3px var(--large), var(--ombre-1); }
.n-marqueur--petit { width: 30px; height: 30px; box-shadow: none; }
.n-scope .n-marqueur--petit svg.lucide { width: 17px; height: 17px; }

/* Carte de lieu */
.n-lieu {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--espace-3); align-items: start;
  padding: var(--espace-4); border: 1px solid var(--trait); border-radius: var(--rayon-l);
  background: var(--surface); color: var(--encre); text-decoration: none;
}
.n-lieu__nom { font: 600 19px/26px var(--font-display); }
.n-lieu__zone { font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.n-lieu__faits { display: flex; flex-wrap: wrap; gap: 4px var(--espace-3); margin-top: var(--espace-2); font-size: 14px; line-height: 20px; }
.n-lieu__faits > span { display: inline-flex; align-items: center; gap: 4px; }
.n-lieu__faits svg.lucide { width: 16px; height: 16px; color: var(--encre-douce); }
.n-lieu__chevron { align-self: center; color: var(--encre-douce); }
.n-lieu--plat { border: 0; border-radius: 0; padding: var(--espace-3) 0; background: transparent; }

/* Note */
.n-note { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-variant-numeric: tabular-nums; }
.n-scope .n-note svg.lucide { width: 16px; height: 16px; color: var(--note); fill: var(--note); }
.n-note__nombre { font-weight: 400; color: var(--encre-douce); }

/* Attributs */
.n-attributs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-4) var(--espace-3); }
.n-attributs dt { font: 600 12px/16px var(--font-texte); letter-spacing: 0.06em; text-transform: uppercase; color: var(--encre-douce); }
.n-attributs dd { font: 600 16px/22px var(--font-texte); font-variant-numeric: tabular-nums; margin-top: 2px; }
.n-attributs__large { grid-column: 1 / -1; }
.n-attributs__nuance { display: block; font: 400 14px/20px var(--font-texte); color: var(--encre-douce); }

/* Rose d'abri */
.n-rose { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: var(--espace-4); align-items: center; }
.n-rose svg { width: 132px; height: 132px; display: block; }
.n-rose__secteur { fill: var(--surface-creux); stroke: var(--surface); stroke-width: 2; }
.n-rose__secteur--abrite { fill: var(--lagon); }
.n-rose__cardinal { font: 600 12px var(--font-texte); fill: var(--encre-douce); text-anchor: middle; dominant-baseline: central; }
.n-rose__moyeu { fill: var(--surface); }
.n-rose__legende { display: flex; flex-direction: column; gap: var(--espace-2); font-size: 14px; line-height: 20px; }
.n-rose__legende strong { display: block; font-size: 16px; line-height: 22px; }
.n-rose__cle { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; background: var(--surface-creux); border: 1px solid var(--trait-fort); vertical-align: -1px; }
.n-rose__cle--abrite { background: var(--lagon); border-color: var(--lagon); }

/* Alerte */
.n-alerte {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--espace-3);
  padding: var(--espace-3) var(--espace-4); border-radius: var(--rayon-m);
  background: var(--haut-fond); color: var(--encre); font-size: 15px; line-height: 22px;
}
.n-alerte svg.lucide { margin-top: 1px; color: var(--large); }
.n-alerte__titre { font-weight: 600; }
.n-alerte--reglement { background: var(--reglement-fond); }
.n-alerte--reglement svg.lucide { color: var(--reglement); }
.n-alerte--attention { background: var(--alerte-fond); }
.n-alerte--attention svg.lucide { color: var(--alerte); }
.n-alerte--danger { background: var(--danger-fond); }
.n-alerte--danger svg.lucide { color: var(--danger); }
.n-alerte--succes { background: var(--succes-fond); }
.n-alerte--succes svg.lucide { color: var(--succes); }

/* Hors ligne */
.n-bandeau {
  display: flex; align-items: center; gap: var(--espace-2);
  min-height: 36px; padding: 6px var(--espace-4);
  background: var(--sable); color: var(--encre); font-size: 14px; line-height: 20px;
}
.n-bandeau svg.lucide { width: 16px; height: 16px; }
.n-bandeau strong { font-weight: 600; }
.n-telecharger {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--espace-2) var(--espace-3); align-items: center;
  padding: var(--espace-4); border: 1px solid var(--trait); border-radius: var(--rayon-l); background: var(--surface);
}
.n-telecharger__titre { font: 600 16px/22px var(--font-texte); }
.n-telecharger__detail { font-size: 14px; line-height: 20px; color: var(--encre-douce); font-variant-numeric: tabular-nums; }
.n-jauge { grid-column: 1 / -1; height: 6px; border-radius: var(--rayon-pilule); background: var(--surface-creux); overflow: hidden; }
.n-jauge > span { display: block; height: 100%; border-radius: inherit; background: var(--large); }

/* Barres de navigation */
.n-entete {
  display: grid; grid-template-columns: var(--cible-tactile) minmax(0, 1fr) auto; align-items: center; gap: 4px;
  min-height: 56px; padding: 0 4px; background: var(--surface); border-bottom: 1px solid var(--trait);
}
.n-entete__titre { font: 600 17px/24px var(--font-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.n-barre { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--surface); border-top: 1px solid var(--trait); }
.n-barre__item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 60px; padding: 6px 2px; color: var(--encre-douce); text-decoration: none;
  font: 400 12px/16px var(--font-texte);
}
.n-barre__item svg.lucide { width: 22px; height: 22px; box-sizing: content-box; padding: 3px 16px; border-radius: var(--rayon-pilule); }
.n-barre__item[aria-current="page"] { color: var(--encre); font-weight: 600; }
.n-barre__item[aria-current="page"] svg.lucide { background: var(--haut-fond); color: var(--large); }

/* Avis */
.n-avis { display: flex; flex-direction: column; gap: var(--espace-2); padding-block: var(--espace-4); border-top: 1px solid var(--trait); }
.n-avis__tete { display: flex; align-items: center; justify-content: space-between; gap: var(--espace-2); }
.n-avis__auteur { font-weight: 600; }
.n-avis__contexte { display: flex; flex-wrap: wrap; gap: 4px var(--espace-3); font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.n-avis__contexte > span { display: inline-flex; align-items: center; gap: 4px; }
.n-avis__contexte svg.lucide { width: 14px; height: 14px; }
.n-avis__texte { max-width: var(--mesure); }

/* Feuille basse et illustration de carte (écrans) */
.n-feuille { background: var(--surface); border-radius: var(--rayon-l) var(--rayon-l) 0 0; box-shadow: var(--ombre-2); padding: var(--espace-2) var(--espace-4) var(--espace-4); }
.n-feuille__poignee { width: 36px; height: 4px; margin: 0 auto var(--espace-3); border-radius: var(--rayon-pilule); background: var(--trait-fort); }
.n-carte__eau { fill: var(--haut-fond); }
.n-carte__terre { fill: var(--sable); stroke: var(--trait-fort); stroke-width: 1; }
.n-carte__sonde { fill: none; stroke: var(--large); stroke-width: 1; opacity: 0.35; }
.n-carte__nom { font: italic 400 13px var(--font-texte); fill: var(--large); }
.n-carte__nom--terre { font-style: normal; font-weight: 600; fill: var(--encre); }

@media (prefers-reduced-motion: reduce) { .n-btn { transition: none; } }

/* Portolea — site public. Mobile d'abord ; couleurs, tailles et rayons viennent de tokens.css.
   Préfixes : n- composants du design system, s- ossature du site, h- page d'accueil. */

:root { padding-block: env(safe-area-inset-top, 0px) env(safe-area-inset-bottom, 0px); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--fond); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--surface); }

[hidden] { display: none !important; }
.s-contenu {
  width: 100%; max-width: calc(var(--largeur-page) + 32px); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.s-masque { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.s-evitement { position: absolute; left: 16px; top: -80px; z-index: 40; padding: 12px 16px; border-radius: var(--rayon-m); background: var(--surface); color: var(--encre); font-weight: 600; }
.s-evitement:focus { top: calc(8px + env(safe-area-inset-top, 0px)); }
.n-scope a:not([class]) { color: var(--large); text-underline-offset: 3px; }
.n-scope a, .n-scope button { touch-action: manipulation; }
.n-scope ul { list-style: none; }
.n-scope svg.lucide { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.s-symboles { position: absolute; width: 0; height: 0; }

/* En-tête */
.s-entete { background: var(--surface); border-bottom: 1px solid var(--trait); }
.s-entete__rang { display: flex; align-items: center; gap: var(--espace-2); min-height: 56px; }
.s-marque { padding-block: 12px; font: 650 22px/24px var(--font-display); letter-spacing: -0.01em; color: var(--encre); text-decoration: none; }
/* D050 : symbole vectoriel et baseline, sous le nom quand l'en-tête n'a pas de champ de recherche (accueil) */
.s-marque { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.s-marque__symbole { flex: none; width: 36px; height: 36px; }
.s-marque__nom { display: flex; flex-direction: column; }
.s-marque__baseline { display: none; font: 500 12px/16px var(--font-texte); letter-spacing: 0; color: var(--encre-douce); }
@media (min-width: 640px) {
  .s-entete__rang:not(:has(.s-entete__recherche)) .s-marque__baseline, .s-page:has(.h-hero):not(.s-entete--recherche) .s-marque__baseline { display: block; }
}
.s-entete__actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.s-entete__actions .n-btn--discret { padding: 0 10px; }
.s-entete__inscription { display: none; }
/* D043 : sélecteur de langue (details, sans JavaScript), toutes largeurs ; langue courante en gras. */
.s-langues { position: relative; }
.s-langues > summary { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; border-radius: var(--rayon-pilule); color: var(--encre); font-weight: 600; cursor: pointer; list-style: none; }
.s-langues > summary::-webkit-details-marker { display: none; }
.s-langues > summary:hover, .s-langues[open] > summary { background: var(--haut-fond); }
.n-scope .s-langues > summary svg.lucide { width: 20px; height: 20px; }
.s-langues__liste { position: absolute; z-index: 25; top: calc(100% + 6px); right: 0; min-width: 168px; margin: 0; padding: var(--espace-2); list-style: none; border: 1px solid var(--trait); border-radius: var(--rayon-m); background: var(--surface); box-shadow: var(--ombre-1); }
.s-langues__liste a, .s-langues__liste span { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--rayon-s, 8px); color: var(--encre); text-decoration: none; }
.s-langues__liste a:hover { background: var(--haut-fond); }
.s-langues__liste [aria-current] { color: var(--large); font-weight: 600; }
/* D031 : chercher un autre lieu depuis toute page hors accueil */
.s-entete .s-entete__recherche { flex: 1 1 auto; max-width: 440px; min-height: 40px; margin: 0 var(--espace-2); padding-left: 12px; border: 1px solid var(--trait); border-radius: var(--rayon-pilule); background: var(--surface-creux); color: var(--encre-douce); }
.s-entete__recherche > svg.lucide { flex: none; width: 18px; height: 18px; }
.n-scope .s-entete__recherche .h-recherche__saisie { min-height: 38px; padding-left: 8px; }
.s-entete__recherche .h-liste { inset: calc(100% + 8px) 0 auto 0; }
@media (max-width: 639px) {
  .s-entete__rang { flex-wrap: wrap; }
  .s-entete .s-entete__recherche { order: 3; flex-basis: 100%; max-width: none; margin: 0 0 var(--espace-2); }
  /* Logo, langue, connexion et menu sur une seule ligne dès 320 px (retour du fondateur, 03/12) */
  .s-marque { gap: 6px; font-size: 19px; }
  .s-marque__symbole { width: 28px; height: 28px; }
  .s-entete__actions { flex-wrap: nowrap; }
  .n-scope .s-entete__actions .n-btn--discret { padding: 0 6px; font-size: 14px; white-space: nowrap; }
  .s-langues > summary { padding: 0 6px; }
}
@media (max-width: 389px) { .n-scope .s-langues > summary svg.lucide { display: none; } }
/* D039, D060 : destinations, itinéraire, préparer, qui sommes-nous. Dès 900 px l'en-tête collant garde une seule ligne de
   64 px (lieu.js colle la colonne de droite dessous) : icônes seules jusqu'à 1 279 px ; sous 900 px, le menu .s-menu. */
.s-entete__nav { display: flex; gap: 2px; }
.s-entete__nav .n-btn--discret { padding: 0 10px; white-space: nowrap; }
.s-entete__nav svg.lucide { display: none; }
/* Rubrique de la page (build.rubrique_active) : couleur, graisse et trait bas, fond en mode icône seule. */
.n-scope .s-entete__nav [aria-current="page"], .n-scope .s-menu__liens [aria-current="page"] { color: var(--large); font-weight: 600; background: var(--haut-fond); }
.n-scope .s-entete__nav [aria-current="page"] { box-shadow: inset 0 -2px 0 var(--large); }
.n-scope .s-menu__liens [aria-current="page"] svg.lucide { color: var(--large); }
@media (min-width: 900px) and (max-width: 1279px) {
  .s-entete__nav svg.lucide { display: block; }
  .s-entete__nav span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* D060 : menu du téléphone (details, sans JavaScript) sous 900 px ; la nav en ligne au-delà. Sur l'accueil, le champ de
   recherche de l'en-tête n'apparaît qu'une fois le héros passé (accueil.js pose .s-entete--recherche). */
.s-menu { position: relative; }
.s-menu > summary { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--encre); cursor: pointer; list-style: none; }
.s-menu > summary::-webkit-details-marker { display: none; }
.s-menu > summary:hover, .s-menu[open] > summary { background: var(--haut-fond); }
.n-scope .s-menu > summary svg.lucide { width: 24px; height: 24px; }
.s-menu__liens { position: absolute; z-index: 25; top: calc(100% + 6px); right: 0; display: flex; flex-direction: column; min-width: 248px; padding: var(--espace-2); border: 1px solid var(--trait); border-radius: var(--rayon-m); background: var(--surface); box-shadow: var(--ombre-1); }
.n-scope .s-menu__liens .n-btn--discret { justify-content: flex-start; gap: 10px; min-height: 48px; padding: 0 12px; }
.n-scope .s-menu__liens svg.lucide { display: block; width: 20px; height: 20px; color: var(--encre-douce); }
.s-page:has(.h-hero):not(.s-entete--recherche) .s-entete__recherche { display: none; }
@media (max-width: 899px) { .s-entete__nav { display: none; } }
@media (min-width: 900px) { .s-menu { display: none; } .s-entete > .s-contenu { max-width: calc(1360px + 64px); } }

/* Message bref */
.n-scope .s-message {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; transform: translateX(-50%);
  width: max-content; max-width: min(92vw, 520px); margin: 0; padding: 12px 16px; border-radius: var(--rayon-m);
  background: var(--encre); color: var(--fond); font-size: 15px; line-height: 20px; overflow-wrap: anywhere; box-shadow: var(--ombre-1);
}

/* Sections */
.s-section { padding-block: var(--espace-7); }
.s-section--serree { padding-top: 0; }
.s-section__tete { display: flex; flex-direction: column; gap: var(--espace-2); max-width: var(--mesure); margin-bottom: var(--espace-5); }
.s-section__chapo { color: var(--encre-douce); }

/* Pied de page */
.s-pied { padding-block: var(--espace-6) var(--espace-5); background: var(--surface); border-top: 1px solid var(--trait); }
.s-pied__grille { display: grid; gap: var(--espace-5); }
.s-pied__marque { display: flex; flex-direction: column; align-items: flex-start; gap: var(--espace-1); color: var(--encre-douce); }
.n-scope .s-pied__titre { margin-bottom: var(--espace-1); color: var(--encre-douce); }
.n-scope .s-pied__liens a, .s-pied__liens span { display: inline-flex; align-items: center; min-height: 40px; color: var(--encre); text-decoration: none; }
.n-scope .s-pied__liens a:hover { text-decoration: underline; }
.s-pied__liens span { font-weight: 600; }
.n-scope .s-pied__reseaux { display: flex; gap: var(--espace-1); margin: var(--espace-1) 0 0 -12px; }
.n-scope .s-pied__reseaux a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--encre-douce); }
.n-scope .s-pied__reseaux a:hover, .n-scope .s-pied__reseaux a:focus-visible { color: var(--encre); background: var(--trait); }
.s-pied__bas { display: grid; gap: var(--espace-1); margin-top: var(--espace-5); padding-top: var(--espace-4); border-top: 1px solid var(--trait); font-size: 14px; line-height: 20px; color: var(--encre-douce); }

.h-recherche { display: flex; flex: 1; align-items: center; min-width: 0; }
.h-recherche .h-combo { flex: 1; }
.n-scope .h-recherche__saisie { width: 100%; min-height: 40px; padding: 0 8px 0 16px; border: 0; border-radius: var(--rayon-pilule); background: transparent; color: var(--encre); font: 400 16px/24px var(--font-texte); outline: none; }
.h-recherche__saisie::placeholder { color: var(--encre-douce); opacity: 1; }
.h-combo { position: relative; min-width: 0; }
.n-scope .h-liste {
  position: absolute; z-index: 15; inset: calc(100% + 6px) 0 auto; max-height: 344px; overflow-y: auto;
  padding: 6px; border: 1px solid var(--trait); border-radius: var(--rayon-m); background: var(--surface); box-shadow: var(--ombre-1);
}
.h-recherche .h-liste { inset: calc(100% + 12px) -48px auto -4px; }
.h-option { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 48px; padding: 6px 8px; border-radius: var(--rayon-s); cursor: pointer; }
.h-option[aria-selected="true"], .h-option:hover { background: var(--haut-fond); }
.h-option__signe { display: grid; place-items: center; color: var(--encre-douce); }
.h-option__nom { display: block; font-weight: 500; line-height: 20px; }
.h-option__nom mark, .r-ligne__nom mark { background: none; color: inherit; font-weight: 700; }  /* lettres trouvées */
.h-option__zone { display: block; font-size: 14px; line-height: 18px; color: var(--encre-douce); }
.h-option--vide { grid-template-columns: minmax(0, 1fr); color: var(--encre-douce); cursor: default; }
.h-option--vide:hover { background: transparent; }
.h-liste__titre { display: flex; justify-content: space-between; align-items: center; padding: 2px 8px; font-size: 14px; color: var(--encre-douce); }
.h-liste__effacer { min-height: 32px; padding: 0 4px; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
/* ---------- Accueil (D060) : héros photo et recherche ---------- */
.h-hero { padding-block: var(--espace-6) var(--espace-7); background: linear-gradient(180deg, var(--haut-fond), var(--fond) 72%); }
.h-hero__grille { display: grid; gap: var(--espace-5); }
.h-hero__texte { display: flex; flex-direction: column; gap: var(--espace-4); min-width: 0; }
.h-titre { font: 650 32px/36px var(--font-display); letter-spacing: -0.01em; }
.h-titre__accroche { color: var(--large); }
.h-hero__chapo { max-width: 34em; color: var(--encre-douce); }
.h-pilule { position: relative; display: flex; flex: none; align-items: center; gap: var(--espace-2); max-width: 600px; min-height: 56px; padding: 4px 4px 4px 16px; border-radius: var(--rayon-pilule); background: var(--surface); box-shadow: var(--ombre-1); }
.h-pilule:focus-within { box-shadow: var(--ombre-1), 0 0 0 2px var(--large); }
.n-scope .h-pilule > svg.lucide { flex: none; width: 22px; height: 22px; color: var(--encre-douce); }
.n-scope .h-pilule .h-recherche__saisie { min-height: 46px; padding-left: 8px; font-size: 17px; }
.h-pilule .h-liste { inset: calc(100% + 8px) 0 auto 0; }
.h-pilule__btn { flex: none; min-height: 48px; border-radius: var(--rayon-pilule); }  /* bouton en pilule lui aussi : ses coins ne mordent plus sur le contour arrondi */
.h-entrees { display: flex; flex-wrap: wrap; gap: var(--espace-2); }
.n-scope .h-faits { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; line-height: 20px; color: var(--encre-douce); font-variant-numeric: tabular-nums; }
.h-faits li + li::before { content: "·"; margin-inline: 8px; }
.h-mosaique { display: grid; grid-template-columns: 1fr 1fr; gap: var(--espace-2); }
.h-photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--rayon-l); background: var(--surface-creux); }
.h-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.h-photo > a { display: block; height: 100%; }
.h-mosaique__photo { display: none; aspect-ratio: 3 / 2; }
.h-mosaique__photo--grande { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 10; }
/* Héros plein cadre (une seule image, etl/illustrations.py) : la photo sous tout le héros, recadrée à sa hauteur ; sur ordinateur le texte
   et la recherche sur un voile translucide à gauche, sur téléphone la photo en bandeau qui se fond dans la page */
.h-mosaique__photo:only-child { border-radius: 0; background: none; }
.h-mosaique__photo:only-child img { object-position: 50% 42%; }

/* Sections de l'accueil : fonds alternés, titres plus grands, lien de suite */
.h-section { padding-block: var(--espace-7); }
.h-section--surface { background: var(--surface); }
.h-section--avis { padding-block: var(--espace-5) var(--espace-7); }
.h-section__tete { max-width: none; margin-bottom: var(--espace-5); }
.h-section__tete .s-section__chapo { max-width: var(--mesure); }
.h-h2 { font-size: 26px; line-height: 32px; }
.h-section__suite { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-3) var(--espace-5); margin-top: var(--espace-5); }

/* Cartes-photo (destinations, mieux notés) : rail à défilement sur téléphone, grille dès 900 px ; crédit hors du lien */
.n-scope .h-cartes { display: flex; gap: var(--espace-3); margin: 0 -16px; padding: 4px 16px var(--espace-3); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
.h-cartes::-webkit-scrollbar { display: none; }
.h-carte { position: relative; flex: 0 0 72vw; max-width: 320px; scroll-snap-align: start; overflow: hidden; border-radius: var(--rayon-l); background: var(--surface); box-shadow: var(--ombre-1); transition: transform 200ms ease, box-shadow 200ms ease; }
.h-carte__lien { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.h-carte__lien:focus-visible { outline: 2px solid var(--large); outline-offset: 2px; }
.h-carte__visuel { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-creux); }
.h-carte__visuel img, .h-carte__visuel .h-planche, .h-carte__vide { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.h-carte__vide { background: var(--haut-fond); }
.h-planche .n-carte__terre { stroke: none; }
.h-carte__corps { position: absolute; inset: auto 0 0; padding: var(--espace-5) var(--espace-3) var(--espace-3); background: linear-gradient(180deg, rgb(10 22 29 / 0), rgb(10 22 29 / 0.78)); color: #fff; }
.h-carte__nom { font: 600 21px/26px var(--font-display); }
.h-carte__faits { display: flex; flex-wrap: wrap; gap: 2px var(--espace-3); font-size: 14px; line-height: 20px; opacity: 0.92; }
.h-carte .l-photo__credit { top: 8px; right: 8px; bottom: auto; z-index: 1; }
.h-carte .l-photo__credit, .h-mosaique__photo:not(.h-mosaique__photo--grande) .l-photo__credit { padding: 1px 6px; font-size: 11px; line-height: 16px; }
.h-score .h-carte__visuel { aspect-ratio: 4 / 3; }
.h-score__rang { position: absolute; top: 8px; left: 8px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); color: var(--encre); font: 650 15px/1 var(--font-display); box-shadow: var(--ombre-1); }
.h-score__corps { position: relative; display: flex; flex: 1; flex-direction: column; gap: 2px; padding: var(--espace-3) var(--espace-3) var(--espace-4); }
.h-score__note { position: absolute; top: -28px; right: 12px; display: flex; align-items: baseline; justify-content: center; width: 56px; height: 56px; padding-top: 17px; border-radius: 50%; background: var(--surface); color: var(--encre); box-shadow: 0 0 0 3px var(--lagon); font: 650 19px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.h-score__note small { font-size: 11px; font-weight: 500; color: var(--encre-douce); }
.h-score .h-carte__nom { padding-right: 60px; font-size: 18px; line-height: 24px; }
.h-score__ou { padding-right: 60px; font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.h-score .n-badge { align-self: flex-start; margin-top: 6px; }

/* Avant de partir : quatre tuiles-questions vers le guide */
.n-scope .h-tuiles { display: grid; gap: var(--espace-3); }
.h-tuile { display: grid; grid-template-columns: 24px minmax(0, 1fr) 20px; align-items: center; gap: var(--espace-3); min-height: 72px; padding: var(--espace-4); border-radius: var(--rayon-l); background: var(--surface); box-shadow: var(--ombre-1); color: var(--encre); font: 600 17px/24px var(--font-texte); text-decoration: none; transition: background 150ms ease; }
.n-scope .h-tuile svg.lucide { width: 24px; height: 24px; color: var(--large); }
.n-scope .h-tuile svg.lucide:last-child { width: 20px; height: 20px; color: var(--encre-douce); }
.h-tuile:hover { background: var(--haut-fond); }

/* Index « Par région » : replié, tous les pays liés */
.h-index { flex-basis: 100%; }
.h-index > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--large); cursor: pointer; list-style: none; }
.h-index > summary::-webkit-details-marker { display: none; }
.h-index > summary::after { content: ""; width: 8px; height: 8px; margin-top: -4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 150ms ease; }
.h-index[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.h-index__corps { display: grid; gap: var(--espace-4); padding-top: var(--espace-2); }
.h-index__region { display: flex; flex-direction: column; gap: 2px; }
.h-index__titre { color: var(--encre-douce); }
.n-scope .h-index__liens { display: flex; flex-wrap: wrap; gap: 0 var(--espace-3); font-size: 15px; line-height: 22px; }
.h-index__liens a { display: inline-block; padding-block: 6px; }

/* Ce que vous dit chaque fiche : bande sombre, photo et carte d'exemple posée dessus */
.h-sombre { --marine: #0b3f61; padding-block: var(--espace-7); background: var(--marine); color: #fff; }
.h-sombre__grille { display: grid; gap: var(--espace-6); }
.h-sombre__texte { display: flex; flex-direction: column; gap: var(--espace-4); }
.h-sombre .h-h2 { color: #fff; }
.h-sombre__chapo { max-width: 34em; font-size: 18px; line-height: 28px; color: rgb(255 255 255 / 0.85); }
.h-sombre .h-points h3 { color: #fff; }
.h-sombre .h-points p { color: rgb(255 255 255 / 0.8); }
.n-scope .h-sombre .h-points svg.lucide { color: #8fd6ee; }
.n-scope .h-sombre__btn { background: #fff; color: var(--marine); }
.n-scope .h-sombre__btn:hover { background: #e9f1f5; }
.h-sombre__exemple { position: relative; }
.h-sombre__photo { aspect-ratio: 4 / 3; border-radius: 24px; }
.h-exemple { position: relative; display: flex; flex-direction: column; gap: var(--espace-1); margin: -40px var(--espace-3) 0; padding: var(--espace-4); border-radius: var(--rayon-l); background: var(--surface); color: var(--encre); box-shadow: var(--ombre-1); }
.h-exemple .n-badge { align-self: flex-start; margin-bottom: var(--espace-1); }
.h-exemple__nom { font: 650 22px/28px var(--font-display); }
.h-exemple__corps { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--espace-4); align-items: center; margin-top: var(--espace-3); }
.h-exemple__rose svg { display: block; width: 96px; height: 96px; }
.n-scope .h-exemple__attributs { gap: var(--espace-2) var(--espace-3); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .h-sombre { --marine: var(--surface-creux); } }
[data-theme="dark"] .h-sombre { --marine: var(--surface-creux); }

/* Écrit par ceux qui naviguent */
.h-equipage { display: grid; gap: var(--espace-4); }
.h-equipage__portrait img { display: block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: var(--ombre-1); }
.h-equipage__texte { display: flex; flex-direction: column; gap: var(--espace-4); min-width: 0; }
.h-equipage__texte .t-lead { max-width: var(--mesure); }
.h-equipage__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-3); }
.h-equipage__faq { font-weight: 600; }

@media (max-width: 899px) {
  /* Téléphone : le titre, la photo, puis la recherche, visibles sans défiler */
  .h-hero__grille { display: flex; flex-direction: column; gap: var(--espace-4); }
  .h-hero__texte, .h-mosaique { display: contents; }
  .h-titre { order: 1; } .h-mosaique__photo--grande { order: 2; } .h-hero__chapo { order: 3; } .h-pilule { order: 4; } .h-entrees { order: 5; } .h-faits { order: 6; }
  .h-hero:has(.h-mosaique__photo:only-child) { padding-top: 0; }
  .h-mosaique__photo:only-child { order: 0; width: 100vw; margin: 0 calc(50% - 50vw) calc(-1 * var(--espace-5));
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
}
@media (min-width: 600px) {
  .n-scope .h-cartes { margin-inline: -32px; padding-inline: 32px; scroll-padding-inline: 32px; }
  .n-scope .h-tuiles { grid-template-columns: 1fr 1fr; }
  .h-index__corps { grid-template-columns: 1fr 1fr; }
  .h-equipage { grid-template-columns: 120px minmax(0, 1fr); gap: var(--espace-5); align-items: start; }
  .h-equipage__portrait img { width: 120px; height: 120px; }
}
@media (min-width: 900px) {
  .h-hero { padding-block: var(--espace-8); }
  .h-hero__grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--espace-8); align-items: center; }
  .h-titre { font-size: 44px; line-height: 48px; }
  .h-mosaique__photo { display: block; }
  .h-mosaique__photo--grande { aspect-ratio: 4 / 3; }
  .h-hero:has(.h-mosaique__photo:only-child) { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--espace-6); }  /* même hauteur qu'avant : le voile reprend le retrait */
  .h-hero__grille:has(.h-mosaique__photo:only-child) { grid-template-columns: minmax(0, 576px); }
  .h-mosaique:has(> .h-mosaique__photo:only-child) { display: contents; }
  .h-mosaique__photo:only-child { position: absolute; inset: 0; z-index: -1; aspect-ratio: auto; }
  .h-mosaique__photo:only-child::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 22 29 / 0.32), rgb(10 22 29 / 0) 55%); }
  .h-hero__grille:has(.h-mosaique__photo:only-child) .h-hero__texte { padding: var(--espace-6); border: 1px solid rgb(255 255 255 / 0.4); border-radius: var(--rayon-l);
    background: color-mix(in srgb, var(--fond) 76%, transparent); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 18px 48px rgb(10 22 29 / 0.24); }
  .h-section { padding-block: var(--espace-8); }
  .h-h2 { font-size: 32px; line-height: 38px; }
  .n-scope .h-cartes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--espace-4); margin: 0; padding: 0; overflow: visible; }
  .n-scope .h-cartes--cinq { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .h-carte { flex: none; max-width: none; }
  .n-scope .h-tuiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .h-index__corps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .h-sombre { padding-block: var(--espace-8); }
  .h-sombre__grille { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--espace-8); align-items: center; }
  .h-exemple { margin: -56px var(--espace-5) 0; }
  .h-equipage { grid-template-columns: 200px minmax(0, 1fr); gap: var(--espace-7); }
  .h-equipage__portrait img { width: 160px; height: 160px; }
}
@media (hover: hover) {
  .h-carte:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgb(13 35 49 / 0.18); }
  .h-carte:hover .h-carte__visuel img { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .h-carte, .h-carte__visuel img, .h-tuile, .h-index > summary::after { transition: none; }
}

/* Pages guide, questions fréquentes, avertissement, crédits (D060) */
.g-page .h-q { scroll-margin-top: 88px; }
.g-page .h-q__titre { font-size: 24px; line-height: 30px; }
.g-sommaire { display: flex; flex-wrap: wrap; gap: var(--espace-2); margin-top: var(--espace-2); }
.n-scope .g-sommaire a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--trait); border-radius: var(--rayon-pilule); background: var(--surface); color: var(--encre); font-weight: 600; text-decoration: none; }
.g-sommaire a:hover { border-color: var(--large); background: var(--haut-fond); }
.g-suite { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-3); margin-block: var(--espace-7) var(--espace-5); }
.g-page .s-faq { max-width: 760px; }

/* Page de résultats (/fr/recherche/) */
.r-form { display: flex; flex-wrap: wrap; gap: var(--espace-2); margin-top: var(--espace-4); }
.r-form .n-recherche { flex: 1 1 260px; }
.r-autour { gap: 6px; }
.r-autour svg.lucide { width: 18px; height: 18px; }
.r-page .n-filtres { margin-top: var(--espace-3); }
.r-compte { margin: var(--espace-4) 0 var(--espace-2); color: var(--encre-douce); }
.r-liste { margin: 0; padding: 0; list-style: none; }
/* D077 : proposer un lieu, sous les résultats de recherche et sous les escales d'une destination */
.r-proposer, .z-proposer { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-2) var(--espace-3); margin: var(--espace-5) 0 0; color: var(--encre-douce); }
.r-ligne { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--trait); }
.r-ligne .h-option__signe { align-self: start; padding-top: 2px; }
.n-scope .r-ligne__nom { font-weight: 500; color: var(--encre); text-decoration: none; }
.r-ligne__nom:hover { text-decoration: underline; }
.r-ligne__zone { margin: 2px 0 0; font-size: 14px; line-height: 18px; color: var(--encre-douce); }
.r-ligne__note { font: 650 17px/22px var(--font-display); white-space: nowrap; }
.r-ligne__note small { font-size: 13px; font-weight: 500; color: var(--encre-douce); }

.n-scope .h-fiche__nom a { color: inherit; text-decoration: none; }
.n-scope .h-fiche__nom a:hover { text-decoration: underline; }
.n-scope .h-fiche__fermer svg.lucide { width: 18px; height: 18px; }
.n-scope .h-fiche__faits { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: var(--espace-2); }
.n-scope .h-fiche__faits svg.lucide { width: 16px; height: 16px; color: var(--encre-douce); }
.n-scope .h-fiche__actions .n-btn { min-height: 36px; padding: 0 12px; font-size: 14px; }
.n-scope .h-fiche__actions .n-btn svg.lucide { width: 16px; height: 16px; }

.n-scope .h-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.h-chiffres > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 2px; padding-inline: var(--espace-3); border-left: 1px solid var(--trait); }
.h-chiffres > div:first-child { padding-left: 0; border-left: 0; }
.h-chiffres dd { font: 650 28px/32px var(--font-display); font-variant-numeric: tabular-nums; }
.h-chiffres dt { font-size: 14px; line-height: 18px; color: var(--encre-douce); }

/* Dessin des cartes fixes des fiches */
.c-grille line { stroke: var(--large); stroke-width: 1; opacity: 0.16; }
.c-grille text, .c-echelle text { font: 500 9px var(--font-texte); font-variant-numeric: tabular-nums; fill: var(--encre-douce); }
.c-echelle path { fill: none; stroke: var(--encre-douce); stroke-width: 1; }
.c-nom-terre { font: 600 10.5px var(--font-texte); letter-spacing: 0.08em; fill: var(--encre); }
.c-nom-eau { font: italic 400 13px var(--font-texte); fill: var(--large); }
.c-point { stroke: var(--surface); stroke-width: 1; }
.c-point--mouillage { fill: var(--large); }
.c-point--port { fill: var(--encre); }
.c-zone { fill: var(--large); fill-opacity: 0.18; stroke: var(--large); stroke-width: 1.5; stroke-linejoin: round; }
.c-zone--approx { fill: none; stroke-dasharray: 4 3; }
.c-ponton { fill: var(--encre); stroke: var(--surface); stroke-width: 1.5; }
.c-picto { fill: none; stroke: var(--surface); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c-marque__fond { fill: var(--large); stroke: var(--surface); stroke-width: 2; }
.c-marque--port .c-marque__fond { fill: var(--encre); }
.c-marque--regle .c-marque__fond { fill: var(--surface); stroke: var(--reglement); }
.c-marque--regle .c-picto { stroke: var(--reglement); }

.h-regions { display: grid; gap: var(--espace-5); }
.h-region { display: flex; flex-direction: column; gap: var(--espace-3); min-width: 0; }
.h-region__texte { font-size: 15px; line-height: 22px; color: var(--encre-douce); }
.h-liens { display: flex; flex-wrap: wrap; gap: var(--espace-2); }
.h-lien {
  display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px; padding: 10px 14px;
  border: 1px solid var(--trait); border-radius: var(--rayon-pilule); background: var(--surface);
  color: var(--encre); font-size: 15px; line-height: 22px; text-decoration: none;
}
.h-lien:hover { border-color: var(--large); background: var(--haut-fond); }
.h-liens + .h-regions { margin-top: var(--espace-5); }
.h-lien--sans { border-style: dashed; color: var(--encre-douce); }
.h-lien--sans:hover { border-color: var(--trait); background: var(--surface); }
.h-lien__n { font-size: 13px; color: var(--encre-douce); font-variant-numeric: tabular-nums; }

.h-iles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-3); }
.h-ile { position: relative; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: var(--espace-4); border: 1px solid var(--trait); border-radius: var(--rayon-l); background: var(--surface); }
.h-ile:hover { border-color: var(--large); }
.h-ile__nom { font: 600 19px/26px var(--font-display); overflow-wrap: anywhere; }
.n-scope .h-ile__nom a { color: var(--encre); text-decoration: none; }
.h-ile__nom a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* toute la carte mène à l'île */
.h-ile__types a { position: relative; z-index: 1; }
.h-ile__zone { font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.h-ile__types { display: flex; flex-direction: column; margin-top: auto; padding-top: var(--espace-2); font-size: 15px; line-height: 20px; }
.h-ile__types li { display: flex; align-items: center; gap: var(--espace-2); min-height: 36px; }
.h-ile__types svg.lucide { width: 18px; height: 18px; color: var(--encre-douce); }

/* ---------- Accueil : préparer une croisière ---------- */
.h-guide { display: flex; flex-direction: column; gap: var(--espace-7); max-width: 760px; }
.h-q { display: flex; flex-direction: column; gap: var(--espace-3); }
.h-q__titre { display: flex; align-items: flex-start; gap: var(--espace-3); font: 600 21px/28px var(--font-display); }
.n-scope .h-q__titre svg.lucide { width: 24px; height: 24px; margin-top: 2px; color: var(--large); }
.h-q__reponse { display: flex; flex-direction: column; gap: var(--espace-3); }
.n-scope .h-pays { display: grid; border-bottom: 1px solid var(--trait); }
.h-pays > div { display: grid; align-content: start; gap: 2px; padding-block: var(--espace-3); border-top: 1px solid var(--trait); }
.h-q__reponse > p { max-width: var(--mesure); }
.h-pays dt { font-weight: 600; }
.n-scope .h-puces { display: flex; flex-direction: column; gap: var(--espace-2); padding-left: 1.25em; list-style: disc; }
.n-scope .h-puces li::marker { color: var(--encre-douce); }

.h-points { display: grid; gap: var(--espace-4); }
.h-points li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--espace-3); }
.n-scope .h-points svg.lucide { width: 24px; height: 24px; margin: 8px; color: var(--large); }
.h-points h3 { font: 600 16px/24px var(--font-texte); }
.h-points p { color: var(--encre-douce); }

.s-faq { max-width: 760px; }
.s-faq details { border-bottom: 1px solid var(--trait); }
.s-faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--espace-3); min-height: 56px; padding-block: 12px; font-weight: 600; cursor: pointer; list-style: none; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary svg.lucide { color: var(--encre-douce); transition: transform 150ms ease; }
.s-faq details[open] summary svg.lucide { transform: rotate(180deg); }
.s-faq details p { max-width: var(--mesure); padding-bottom: var(--espace-4); }

/* ---------- Carte : repère du lieu ---------- */
.c-anneau { fill: none; stroke: var(--large); stroke-width: 2.5; }

/* ---------- Fiche lieu ---------- */
.l-fil { padding-top: var(--espace-4); font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.n-scope .l-fil ol { display: flex; flex-wrap: wrap; gap: 2px 6px; margin: 0; padding: 0; list-style: none; }
.l-fil li + li::before { content: "›"; margin-right: 6px; }
.n-scope .l-fil a { color: var(--encre-douce); }
/* Carte « En bref » (D022) */
.l-bref__sur { color: var(--large); }
.l-bref__zone { margin-top: calc(-1 * var(--espace-2)); font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.l-bref__resume { max-width: var(--mesure); font-size: 15px; line-height: 22px; }
.l-bref .l-pictos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.l-bref .l-coord { padding-top: var(--espace-2); border-top: 1px solid var(--trait); }
.l-bref--mouillage .l-bref__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.l-bref--port .l-bref__actions > :last-child { grid-column: 1 / -1; }  /* itinéraire, sous enregistrer et partager */
.n-scope .l-bref--mouillage .l-bref__actions .n-btn { min-width: 0; padding: 0 4px; gap: 3px; justify-content: center; font-size: 13px; white-space: nowrap; }
.n-scope .l-bref--mouillage .l-bref__actions svg.lucide { flex: none; width: 16px; height: 16px; }
.l-carte { display: flex; flex-direction: column; gap: var(--espace-2); min-width: 0; margin: 0; }
.l-carte__vue { position: relative; aspect-ratio: 4 / 3; max-width: 100%; overflow: hidden; border: 1px solid var(--trait); border-radius: var(--rayon-l); background: var(--haut-fond); }
.l-carte__fixe { position: absolute; inset: 0; transition: opacity 0.3s; }
.l-carte__fixe > svg { display: block; width: 100%; height: 100%; }
.l-carte__vue > .l-carte__mobile { position: absolute; inset: 0; font: inherit; }
.l-carte--active .l-carte__fixe { opacity: 0; visibility: hidden; }
.l-carte__legende { font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.l-carte__ais { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.l-carte__ais svg { width: 16px; height: 16px; margin: 0 2px 0 1px; vertical-align: -3px; }
.l-carte__ais--vide::before { content: ""; display: inline-block; width: 10px; height: 10px; margin: 0 8px 1px 0; vertical-align: middle; border-radius: 50%; border: 2px dashed var(--encre-douce); }
.l-carte__ais strong { color: var(--encre); }
.l-carte__filtres { visibility: hidden; }
.js .l-carte__filtres { visibility: visible; }
.l-filtre__n { font-weight: 400; color: var(--encre-douce); font-variant-numeric: tabular-nums; }
.l-plan { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-2) var(--espace-4); margin-top: var(--espace-3); font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.l-carte:not(.l-carte--active) [data-plan] { display: none; }
.l-plan__legende { display: flex; flex-wrap: wrap; gap: var(--espace-1) var(--espace-4); }
.l-plan__legende li { display: flex; align-items: center; gap: var(--espace-2); }
.l-plan__cle { flex: none; width: 18px; height: 4px; border-radius: 2px; background: var(--encre); }
.l-plan__cle--digue { height: 6px; background: var(--encre-douce); }
.l-plan__cle--chenal { background: repeating-linear-gradient(90deg, #c2185b 0 5px, transparent 5px 8px); }
.l-plan__cle--point { width: 12px; height: 12px; border-radius: 50%; background: var(--c); border: 1.5px solid var(--encre); }
.l-plan__cle--aplat { height: 12px; background: color-mix(in srgb, var(--c) 25%, transparent); border: 1.5px dashed var(--c); }
.l-plan__note { flex-basis: 100%; }
.l-documents { margin-top: var(--espace-5); display: flex; flex-direction: column; gap: var(--espace-2); }
.l-essentiel { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: var(--espace-2); }
.l-essentiel__item { display: flex; flex-direction: column; align-items: center; gap: var(--espace-1); padding: var(--espace-3) var(--espace-2); border-radius: var(--rayon-m); background: var(--surface-creux); text-align: center; }
.n-scope .l-essentiel svg.lucide { width: 28px; height: 28px; color: var(--encre-douce); }
.l-essentiel__nom { font-weight: 600; }
.l-essentiel__etat { font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.l-essentiel__item--oui { background: var(--succes-fond); }
.n-scope .l-essentiel__item--oui svg.lucide, .l-essentiel__item--oui .l-essentiel__etat { color: var(--succes); }
.l-essentiel__item--non .l-essentiel__nom { text-decoration: line-through; color: var(--encre-douce); }
.l-pictos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--espace-2); margin: 0; padding: 0; list-style: none; }
.l-picto { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: var(--espace-2); padding: var(--espace-2) var(--espace-3); border-left: 3px solid var(--trait-fort); background: var(--surface-creux); }
.n-scope .l-picto svg.lucide { grid-row: span 2; width: 20px; height: 20px; color: var(--encre-douce); }
.l-picto__nom { font-size: 13px; line-height: 18px; color: var(--encre-douce); }
.l-picto__valeur { grid-column: 2; font-weight: 600; font-size: 15px; line-height: 20px; }
.l-picto--bon { border-left-color: var(--succes); }
.l-picto--moyen { border-left-color: var(--alerte); }
.l-picto--mauvais { border-left-color: var(--danger); }
/* Portolea score (D029) : groupes en barres, détail des critères en étoiles de mer */
.n-etoiles { --etoile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M9.8 3.1A1.5 1.5 0 0 1 12.8 3.6C12.7 7.6 13.3 8.2 17.3 8.3A1.5 1.5 0 0 1 17.7 11.2C13.9 12.4 13.5 13.1 14.7 17A1.5 1.5 0 0 1 12 18.3C9.7 15 8.9 14.8 5.6 17.2A1.5 1.5 0 0 1 3.5 15C6 11.8 5.8 11 2.6 8.6A1.5 1.5 0 0 1 4 5.9C7.8 7.3 8.6 6.9 9.8 3.1ZM9.2 10.8a0.8 0.8 0 1 0 1.6 0a0.8 0.8 0 1 0 -1.6 0ZM9.7 6.2a0.8 0.8 0 1 0 1.6 0a0.8 0.8 0 1 0 -1.6 0ZM13.7 9.8a0.8 0.8 0 1 0 1.6 0a0.8 0.8 0 1 0 -1.6 0ZM11.5 14.8a0.8 0.8 0 1 0 1.6 0a0.8 0.8 0 1 0 -1.6 0ZM6.1 14.2a0.8 0.8 0 1 0 1.6 0a0.8 0.8 0 1 0 -1.6 0ZM5 8.9a0.8 0.8 0 1 0 1.6 0a0.8 0.8 0 1 0 -1.6 0Z'/%3E%3C/svg%3E"); display: inline-block; flex: none; width: 90px; height: 18px; background: var(--trait); -webkit-mask: var(--etoile) 0 0 / 18px 18px repeat-x; mask: var(--etoile) 0 0 / 18px 18px repeat-x; }  /* étoile de mer : bras incurvés, points de la peau en creux */
.n-etoiles > span { display: block; height: 100%; width: var(--n); background: var(--lagon); }
.l-crits, .l-crits ul { margin: 0; padding: 0; list-style: none; }
.l-score__manque { margin: 0; font-size: 13px; line-height: 18px; color: var(--encre-douce); }
.l-crit__groupe { margin: var(--espace-2) 0 2px; font-size: 13px; font-weight: 600; color: var(--encre-douce); }
.l-crit { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--espace-2); align-items: center; padding: 2px 0; font-size: 14px; line-height: 18px; }
.l-crit__nom { grid-column: 1 / -1; font-size: 12px; color: var(--encre-douce); }
.l-crit__valeur { font-weight: 600; }
.l-crit__vide, .l-crit--inconnu .l-crit__valeur { color: var(--encre-douce); font-weight: 400; }
.l-autour { margin: 0 0 var(--espace-3); padding-left: 1.2em; }
.l-score { display: grid; gap: var(--espace-2); padding: var(--espace-3); border-radius: var(--rayon-m); background: var(--surface-creux); }
.l-score__titre { margin: 0; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--encre-douce); }
.l-score__tete { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--espace-2); }
.l-score__note { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 36px; }
.l-score__note small { font-size: 15px; font-weight: 400; color: var(--encre-douce); }
.l-score__tete--interdit .l-score__libelle { color: var(--danger); font-size: 22px; line-height: 28px; }
.l-score__libelle { font-weight: 600; font-size: 16px; line-height: 20px; }
.l-score__confiance { flex-basis: 100%; font-size: 13px; line-height: 18px; color: var(--encre-douce); }
.l-score__rang { flex-basis: 100%; font: 600 13px/18px var(--font-texte); }  /* D045 : rang dans la zone de référence */
.l-score__usages { margin: 0; font-size: 14px; line-height: 20px; }
.l-score__avis { justify-self: start; }
/* D056 : vigilance toujours visible, détail des critères replié (details) */
.l-score__vigilance { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; }
.l-score__vigilance li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 6px; }
.n-scope .l-score__vigilance svg.lucide { width: 16px; height: 16px; margin-top: 2px; color: var(--alerte); }
.l-score__detail > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: 14px; color: var(--lagon); cursor: pointer; list-style: none; }
.l-score__detail > summary::-webkit-details-marker { display: none; }
.n-scope .l-score__detail > summary svg.lucide { width: 18px; height: 18px; transition: transform 150ms ease; }
.l-score__detail[open] > summary svg.lucide { transform: rotate(180deg); }
.l-score__detail > :not(summary) { margin-bottom: var(--espace-2); }
.l-pictos__manque { font-size: 14px; line-height: 20px; color: var(--encre-douce); }
/* Gabarit unique des mouillages (D024) : rubrique vide, fait web à confirmer, secteur rouleur de la rose */
.l-vide, .l-source { font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.l-vide { padding: var(--espace-3) var(--espace-4); border: 1px dashed var(--trait-fort); border-radius: var(--rayon-m); }
.n-attributs__vide { color: var(--encre-douce); font-weight: 400; font-style: italic; }
.n-attributs__action { display: flex; width: fit-content; margin-top: 6px; }  /* « Réserver une place » sous le fait Réservation (D061) */
.n-attributs__avec-action { grid-column: 1 / -1; }  /* au téléphone, la case du bouton prend les deux colonnes */
@media (min-width: 640px) { .n-attributs__avec-action { grid-column: auto; } }
.n-rose__secteur--expose { fill: var(--alerte); }
.n-rose__cle--expose { background: var(--alerte); border-color: var(--alerte); }
.n-rose__secteur { stroke: var(--trait-fort); stroke-width: 1; stroke-linejoin: round; }  /* D037 : rose des vents marine, une branche par secteur */
.n-rose__ombre { fill: #000; fill-opacity: .16; }
.n-rose__moyeu { stroke: var(--trait-fort); }
.l-pictos__tout { display: none; align-self: flex-start; }
@media (max-width: 899px) { /* téléphone : quatre critères d'abord, les autres au bouton (lieu.js) ; .js posé en tête de fiche, avant le rendu */
  .js .l-pictos--long:not(.l-pictos--ouvert) > li:nth-child(n+5) { display: none; }
  .js .l-pictos--long:not(.l-pictos--ouvert) + .l-pictos__tout { display: inline-flex; }
}
.l-carte:fullscreen, .l-carte.maplibregl-pseudo-fullscreen { padding: var(--espace-3); background: var(--fond); }
.l-carte:fullscreen .l-carte__vue, .l-carte.maplibregl-pseudo-fullscreen .l-carte__vue { flex: 1; aspect-ratio: auto; }
.l-repere__bulle { display: flex; flex-direction: column; gap: 2px; font: 400 14px/20px var(--font-texte); color: var(--encre); }
.l-repere__type { font: 600 12px/16px var(--font-texte); letter-spacing: 0.06em; text-transform: uppercase; color: var(--encre-douce); }
.l-repere__nom { padding-right: 20px; font: 600 16px/22px var(--font-texte); }
.l-repere__note { color: var(--alerte); }
.l-repere__bulle a { margin-top: 4px; font-weight: 600; }
/* Éléments de MapLibre : leurs règles sont écrites ici plutôt que chargées, car l'aperçu refuse les feuilles de style extérieures ; sans elles, les repères quittent leur place au zoom (D010). */
.maplibregl-map { overflow: hidden; -webkit-tap-highlight-color: transparent; }
.maplibregl-canvas, .maplibregl-marker, .maplibregl-popup, .maplibregl-boxzoom { position: absolute; top: 0; left: 0; }
.maplibregl-marker, .maplibregl-popup { will-change: transform; }
.maplibregl-marker { transition: opacity 0.2s; }
.maplibregl-boxzoom { border: 2px dashed var(--large); background: rgb(255 255 255 / 0.4); }
.maplibregl-interactive { cursor: grab; user-select: none; }
.maplibregl-interactive:active { cursor: grabbing; }
.maplibregl-touch-zoom-rotate, .maplibregl-touch-zoom-rotate .maplibregl-canvas { touch-action: pan-x pan-y; }
.maplibregl-touch-drag-pan, .maplibregl-touch-drag-pan .maplibregl-canvas { touch-action: pinch-zoom; }
.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan, .maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas { touch-action: none; }
.maplibregl-touch-drag-pan.maplibregl-cooperative-gestures, .maplibregl-touch-drag-pan.maplibregl-cooperative-gestures .maplibregl-canvas { touch-action: pan-x pan-y; }
/* MapLibre place le repère par transform : le losange de la plongée passe sur un pseudo-élément */
.maplibregl-marker.n-marqueur--plongee { border: 0; background: none; }
.maplibregl-marker.n-marqueur--plongee::before { content: ""; position: absolute; inset: 0; z-index: -1; border: 2px solid var(--surface); border-radius: var(--rayon-s); background: var(--lagon); transform: rotate(45deg); }
.n-scope .maplibregl-marker.n-marqueur--plongee svg.lucide { transform: none; }
.maplibregl-ctrl-top-left, .maplibregl-ctrl-top-right, .maplibregl-ctrl-bottom-left, .maplibregl-ctrl-bottom-right { position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 10px; padding: 10px; pointer-events: none; }
.maplibregl-ctrl-top-left { top: 0; left: 0; }
.maplibregl-ctrl-top-right { top: 0; right: 0; align-items: flex-end; }
.maplibregl-ctrl-bottom-left { bottom: 0; left: 0; }
.maplibregl-ctrl-bottom-right { bottom: 0; right: 0; align-items: flex-end; }
.maplibregl-ctrl { pointer-events: auto; transform: translate(0); }
.n-scope .maplibregl-ctrl-group { display: flex; flex-direction: column; border-radius: var(--rayon-s); background: var(--surface); box-shadow: 0 0 0 1px var(--trait); }
.n-scope .maplibregl-ctrl-group button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; background: transparent; color: var(--encre); cursor: pointer; }
.n-scope .maplibregl-ctrl-group button + button { border-top: 1px solid var(--trait); }
.n-scope .maplibregl-ctrl-group button:first-child { border-top-left-radius: inherit; border-top-right-radius: inherit; }
.n-scope .maplibregl-ctrl-group button:last-child { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; }
.n-scope .maplibregl-ctrl-group button:disabled { color: var(--trait-fort); cursor: not-allowed; }
.maplibregl-ctrl-icon, .maplibregl-ctrl-attrib-button::before { background: currentColor; -webkit-mask: var(--icone) center / contain no-repeat; mask: var(--icone) center / contain no-repeat; }
.maplibregl-ctrl-icon { width: 20px; height: 20px; }
.maplibregl-ctrl-zoom-in { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E"); }
.maplibregl-ctrl-zoom-out { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.maplibregl-ctrl-fullscreen { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H5a2 2 0 0 0-2 2v3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M16 21h3a2 2 0 0 0 2-2v-3'/%3E%3C/svg%3E"); }
.maplibregl-ctrl-shrink { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3v3a2 2 0 0 1-2 2H3M21 8h-3a2 2 0 0 1-2-2V3M3 16h3a2 2 0 0 1 2 2v3M16 21v-3a2 2 0 0 1 2-2h3'/%3E%3C/svg%3E"); }
.n-scope .maplibregl-ctrl-attrib { position: relative; min-height: 24px; padding: 3px 28px 3px 10px; border-radius: 12px; background: var(--surface); color: var(--encre-douce); font: 400 12px/18px var(--font-texte); }
.n-scope .maplibregl-compact:not(.maplibregl-compact-show) { padding: 0 24px 0 0; }
.maplibregl-compact:not(.maplibregl-compact-show) .maplibregl-ctrl-attrib-inner { display: none; }
.n-scope .maplibregl-ctrl-attrib a { color: inherit; }
.maplibregl-ctrl-attrib-button { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E"); position: absolute; top: 0; right: 0; width: 24px; height: 24px; border-radius: 12px; list-style: none; cursor: pointer; }
.maplibregl-ctrl-attrib-button::-webkit-details-marker { display: none; }
.maplibregl-ctrl-attrib-button::before { content: ""; position: absolute; inset: 3px; }
@media (hover: hover) {
  .n-scope .maplibregl-ctrl-group button:not(:disabled):hover, .n-scope .maplibregl-popup-close-button:hover { background: var(--surface-creux); }
}
@media (forced-colors: active) {
  .maplibregl-ctrl-icon, .maplibregl-ctrl-attrib-button::before { forced-color-adjust: none; background: ButtonText; }
}
.n-scope .maplibregl-ctrl-scale { padding: 0 5px; border: 2px solid var(--encre-douce); border-top: 0; background: transparent; color: var(--encre); font: 600 11px/14px var(--font-texte); white-space: nowrap; }
.maplibregl-popup { display: flex; pointer-events: none; }
.maplibregl-popup-anchor-top, .maplibregl-popup-anchor-top-left, .maplibregl-popup-anchor-top-right { flex-direction: column; }
.maplibregl-popup-anchor-bottom, .maplibregl-popup-anchor-bottom-left, .maplibregl-popup-anchor-bottom-right { flex-direction: column-reverse; }
.maplibregl-popup-anchor-right { flex-direction: row-reverse; }
.maplibregl-popup-tip { z-index: 1; align-self: center; width: 0; height: 0; border: 10px solid transparent; }
.maplibregl-popup-anchor-top .maplibregl-popup-tip, .maplibregl-popup-anchor-top-left .maplibregl-popup-tip, .maplibregl-popup-anchor-top-right .maplibregl-popup-tip { border-top: 0; border-bottom-color: var(--surface); }
.maplibregl-popup-anchor-bottom .maplibregl-popup-tip, .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip, .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip { border-bottom: 0; border-top-color: var(--surface); }
.maplibregl-popup-anchor-left .maplibregl-popup-tip { border-left: 0; border-right-color: var(--surface); }
.maplibregl-popup-anchor-right .maplibregl-popup-tip { border-right: 0; border-left-color: var(--surface); }
.maplibregl-popup-anchor-top-left .maplibregl-popup-tip, .maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip { align-self: flex-start; border-left: 0; }
.maplibregl-popup-anchor-top-right .maplibregl-popup-tip, .maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip { align-self: flex-end; border-right: 0; }
.n-scope .maplibregl-popup-content { position: relative; padding: 12px 14px; border-radius: var(--rayon-m); background: var(--surface); box-shadow: var(--ombre-1); pointer-events: auto; }
.n-scope .maplibregl-popup-close-button { position: absolute; top: 0; right: 0; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 0 var(--rayon-m) 0 0; background: transparent; color: var(--encre-douce); font-size: 22px; cursor: pointer; }
.n-scope .maplibregl-cooperative-gesture-screen { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgb(10 22 29 / 0.55); color: #fff; font: 600 17px/24px var(--font-texte); text-align: center; opacity: 0; pointer-events: none; transition: opacity 1s 1s; }
.n-scope .maplibregl-cooperative-gesture-screen.maplibregl-show { opacity: 1; transition: opacity 0.05s; }
.maplibregl-mobile-message { display: none; }
@media (hover: none), (pointer: coarse) {
  .maplibregl-desktop-message { display: none; }
  .maplibregl-mobile-message { display: block; }
}
.maplibregl-pseudo-fullscreen { position: fixed; inset: 0; z-index: 50; }
.l-coord { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--espace-2); color: var(--encre); }
.l-coord__note { flex-basis: 100%; font-size: 14px; line-height: 20px; color: var(--encre-douce); }
@media (hover: hover) and (pointer: fine) { .l-coord__appli { display: none; } } /* lien geo: pour l'appli de carto du bord */

/* Photos : défilement natif, une photo à la fois ; crédit de la licence sur chaque photo. */
.l-galerie { position: relative; min-width: 0; margin: 0; }
.l-cote > .l-galerie, .l-media > .l-galerie { margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); }
.l-cote > .l-galerie .l-galerie__defile, .l-media > .l-galerie .l-galerie__defile { border-radius: 0; }
.l-galerie__defile { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--rayon-l); background: var(--surface-creux); }
.l-galerie__defile::-webkit-scrollbar { display: none; }
.l-photo { position: relative; flex: 0 0 100%; aspect-ratio: 4 / 3; scroll-snap-align: start; }
.l-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.l-photo__credit { position: absolute; right: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 1px 8px; border-radius: var(--rayon-s); background: rgb(10 22 29 / 0.66); color: #fff; font-size: 12px; line-height: 18px; }
.n-scope .l-photo__credit a { color: inherit; }
.l-galerie__nav { display: none; }
.js .l-galerie__nav { display: block; }
.l-galerie__compte { position: absolute; top: var(--espace-3); right: var(--espace-3); padding: 2px 10px; border-radius: 999px; background: rgb(10 22 29 / 0.66); color: #fff; font: 600 13px/20px var(--font-texte); font-variant-numeric: tabular-nums; }
.l-galerie__prec, .l-galerie__suiv { position: absolute; top: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: var(--surface); color: var(--encre); box-shadow: var(--ombre-1); cursor: pointer; transition: opacity 0.2s; }
.l-galerie__prec { left: var(--espace-3); }
.l-galerie__suiv { right: var(--espace-3); }
.n-scope .l-galerie__prec svg.lucide { transform: scaleX(-1); }
.l-galerie__prec:disabled, .l-galerie__suiv:disabled { opacity: 0; pointer-events: none; }

/* Vidéos : vignette et lien ; le lecteur YouTube remplace la vignette au clic. */
/* Mouillage (D037) : photos et vidéos sous le titre ; les vidéos défilent en bandeau, un bouton pour en ajouter */
.l-media { display: grid; gap: var(--espace-4); }
.l-media .l-photo { aspect-ratio: 16 / 9; }
.l-media #videos { display: grid; gap: var(--espace-2); }
.l-media #videos > * { margin: 0; }
.n-scope .l-media .t-h2 { font-size: 19px; line-height: 26px; }
.l-media .l-videos { display: flex; align-items: flex-start; max-width: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-bottom: var(--espace-2); }
.l-media .l-video { flex: 0 0 240px; scroll-snap-align: start; }
.l-media .l-video--court { flex-basis: 135px; }
.l-media__envoi { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-2) var(--espace-3); }
.l-media__vide { margin: 0; color: var(--encre-douce); }
.l-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-5) var(--espace-3); max-width: 480px; }
.l-video { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.l-video:not(.l-video--court) { grid-column: 1 / -1; }
.l-video__lien, .l-video__lecteur { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin-bottom: var(--espace-2); overflow: hidden; border: 0; border-radius: var(--rayon-m); background: #000; }
.l-video--court .l-video__lien, .l-video--court .l-video__lecteur { aspect-ratio: 9 / 16; }
.l-video__lien img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.l-video__lecture { position: absolute; inset: 0; display: grid; place-items: center; width: 56px; height: 56px; margin: auto; border-radius: 50%; background: rgb(10 22 29 / 0.66); color: #fff; transition: background 0.2s; }
.n-scope .l-video__lecture svg.lucide { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; }
.l-video__lien:hover .l-video__lecture, .l-video__lien:focus-visible .l-video__lecture { background: var(--large); }
.l-video__duree { position: absolute; right: 8px; bottom: 8px; padding: 1px 6px; border-radius: 4px; background: rgb(10 22 29 / 0.78); color: #fff; font: 600 12px/18px var(--font-texte); font-variant-numeric: tabular-nums; }
.l-video__titre { display: -webkit-box; overflow: hidden; font: 600 15px/21px var(--font-texte); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.l-video__source, .l-video__sujet, .l-videos__note { font-size: 14px; line-height: 20px; color: var(--encre-douce); }
/* Lecteur vidéo : plein écran sur téléphone (zones sûres de l'encoche), fenêtre centrée au-delà de 640 px */
.s-sans-defilement { overflow: hidden; }
.l-lecteur { --haut: calc(100dvh - 60px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); width: 100%; height: 100%; max-width: none; max-height: none; margin: 0;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); border: 0; background: #000; color: #fff; }
.l-lecteur[open] { display: flex; flex-direction: column; }
.l-lecteur::backdrop { background: rgb(10 22 29 / 0.85); }
.l-lecteur__tete { display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 8px 0 16px; font: 600 15px/21px var(--font-texte); }
.l-lecteur__titre { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.l-lecteur__fermer { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.16); color: #fff; }
.l-lecteur__cadre { flex: 1; display: grid; place-items: center; }
/* Invitation à créer un compte (D088, lieu.js) : fenêtre centrée, fermable */
.l-invite { position: relative; width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: var(--espace-6) var(--espace-5) var(--espace-5);
  border: 0; border-radius: var(--rayon-l); background: var(--surface); color: var(--encre); box-shadow: var(--ombre-1); }
.l-invite[open] { display: flex; flex-direction: column; align-items: flex-start; gap: var(--espace-3); }
.l-invite::backdrop { background: rgb(10 22 29 / 0.55); }
.l-invite .t-h2, .l-invite p { margin: 0; }
.l-invite .n-btn { align-self: stretch; justify-content: center; }
.l-invite__fermer { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--encre-douce); }
.l-invite__fermer:hover { background: var(--haut-fond); }
.l-invite__avantages { display: grid; gap: var(--espace-2); margin: 0; padding: 0; list-style: none; }
.l-invite__avantages li { display: flex; gap: 10px; align-items: flex-start; }
.l-invite__avantages svg.lucide { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--large); }
.l-invite__plus-tard { padding: 0; border: 0; background: none; color: var(--large); font: inherit; text-decoration: underline; cursor: pointer; }
.l-lecteur iframe { width: min(100%, var(--haut) * 16 / 9); aspect-ratio: 16 / 9; border: 0; }
.l-lecteur--court iframe { width: min(100%, var(--haut) * 9 / 16); aspect-ratio: 9 / 16; }
@media (min-width: 640px) and (min-height: 500px) {
  .l-lecteur { --haut: calc(100dvh - 156px); width: fit-content; height: fit-content; margin: auto; padding: 0; border-radius: var(--rayon-l); }
  .l-lecteur iframe { width: min(960px, 92vw, var(--haut) * 16 / 9); }
  .l-lecteur--court iframe { width: min(92vw, var(--haut) * 9 / 16); }
  .l-lecteur__tete { width: 0; min-width: 100%; }  /* la vidéo seule donne la largeur */
}
/* Téléphone (D022) : les deux colonnes se fondent dans la grille (display: contents) ; ordre : en bref, photos,
   onglets, météo, sections, vidéos, fin de fiche, publicité. */
.l-corps { display: grid; gap: var(--espace-7); padding-top: var(--espace-4); padding-bottom: var(--espace-7); }
.l-cote, .l-principal { display: contents; }
.l-corps > *, .l-cote > *, .l-principal > * { min-width: 0; }
.l-cote > .l-bref { order: 1; }
.l-cote > .l-galerie { order: 2; }
.l-principal > .l-sommaire { order: 3; }
.l-cote > .l-meteo { order: 4; }
.l-principal > * { order: 5; }
.l-principal > .l-titre { order: 0; }  /* D031 : le nom du mouillage en tête, sur téléphone aussi */
.l-principal > .l-media { order: 0; }  /* D037 : photos et vidéos sous le nom */
.l-titre .t-h1 { margin: 0; }
.l-titre__rang { margin: var(--espace-2) 0 0; }
.n-badge--top { background: var(--surface-creux); text-decoration: none; color: var(--encre); }
.n-badge--top svg.lucide { color: var(--note); fill: var(--note); }
.l-voisins__note { font-variant-numeric: tabular-nums; color: var(--encre); }
/* Liste classée (D045) : hubs, « Les mieux notés » des zones, top 10 de l'accueil */
.z-classement { list-style: none; margin: 0 0 var(--espace-4); padding: 0; }
.z-rang { display: flex; align-items: flex-start; gap: var(--espace-3); border-top: 1px solid var(--trait); }
.z-rang:first-child { border-top: 0; }
.z-rang__n { flex: 0 0 32px; margin-top: var(--espace-3); font: 600 19px/32px var(--font-display); text-align: center; color: var(--encre-douce); font-variant-numeric: tabular-nums; }
.z-rang > .n-lieu { flex: 1; min-width: 0; }
.z-rang__corps { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.z-rang__corps .n-badge { align-self: flex-start; margin-top: 4px; }
.z-rang__note { align-self: center; font: 600 22px/28px var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.z-rang__note small { font-size: 13px; color: var(--encre-douce); }
.h-ile__top { font-size: 14px; line-height: 20px; }
.z-partie .h-iles { margin: 0 0 var(--espace-5); padding: 0; list-style: none; }
.z-partie .h-iles + .t-h3 { margin-bottom: var(--espace-3); }
.h-ile__top a { position: relative; z-index: 1; }
.r-ligne__top { margin-top: 4px; }
.l-principal > .l-titre + .l-section { margin-top: calc(-1 * var(--espace-4)); }
.u-masque { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.l-cote > #videos { order: 6; }
.l-principal > .l-fin { order: 7; }
.l-cote > .s-pub { order: 8; }
.l-fin { display: flex; flex-direction: column; gap: var(--espace-7); min-width: 0; }
.l-section { display: flex; flex-direction: column; gap: var(--espace-4); min-width: 0; }
.l-section__chapo { color: var(--encre-douce); }
.n-scope .l-puces { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; padding-left: 1.1em; list-style: disc; }
.l-liste { display: flex; flex-direction: column; gap: var(--espace-2); }
.l-liste li, .l-contacts li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--espace-3); align-items: start; line-height: 22px; }
.n-scope .l-liste svg.lucide, .n-scope .l-contacts svg.lucide { margin-top: 1px; color: var(--encre-douce); }
.l-operateurs { display: grid; gap: var(--espace-4); }
.l-operateur { display: flex; flex-direction: column; gap: var(--espace-3); min-width: 0; padding: var(--espace-4); border: 1px solid var(--trait); border-radius: var(--rayon-l); background: var(--surface); }
.l-operateur__ou { margin-top: -8px; font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.l-contacts { display: flex; flex-wrap: wrap; gap: var(--espace-1) var(--espace-5); padding-top: var(--espace-3); border-top: 1px solid var(--trait); font-variant-numeric: tabular-nums; }
.l-contacts li { min-height: 32px; align-items: center; }
.l-contacts a { font-weight: 600; }
.l-voir { display: flex; flex-direction: column; gap: var(--espace-4); }
.l-meteo__jours { border-top: 1px solid var(--trait); }
.l-meteo__maintenant { display: grid; grid-template-columns: 1fr 1fr; gap: var(--espace-2); }
.l-meteo__maintenant dt { font: 600 12px/16px var(--font-texte); text-transform: uppercase; color: var(--encre-douce); }
.l-meteo__maintenant dd { font-weight: 600; }
.l-meteo__note { font-size: 14px; color: var(--encre-douce); }
.l-meteo__plus summary { font-weight: 600; color: var(--lagon); cursor: pointer; }
.l-meteo__jour { border-bottom: 1px solid var(--trait); }
.l-meteo__jour summary { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 12px 32px 12px 0; cursor: pointer; list-style: none; }
.l-meteo__jour summary::-webkit-details-marker { display: none; }
.l-meteo__jour summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border: solid var(--encre-douce); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.l-meteo__jour[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
.l-meteo__date { font-weight: 600; }
.l-meteo__bref { font-size: 14px; line-height: 20px; color: var(--encre-douce); font-variant-numeric: tabular-nums; }
.l-meteo__defile { overflow-x: auto; padding-bottom: var(--espace-3); }
.l-meteo__table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.l-meteo__table th, .l-meteo__table td { padding: 6px var(--espace-2) 6px 0; text-align: left; }
.l-meteo__table thead th { font: 600 12px/16px var(--font-texte); letter-spacing: 0.06em; text-transform: uppercase; color: var(--encre-douce); }
.l-meteo__table tbody th { font-weight: 600; }
.l-meteo__table tbody tr + tr { border-top: 1px solid var(--trait); }
.l-meteo__fleche { display: inline-block; width: 1em; margin-right: 4px; text-align: center; color: var(--large); }
.l-guide { display: flex; flex-direction: column; gap: var(--espace-2); }
.l-guide__ligne { color: var(--encre-douce); }
.l-voir > li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--espace-3); align-items: start; }
.l-voir__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--rayon-m); background: var(--haut-fond); }
.l-voir__media > img, .l-voir__media > svg:not(.lucide) { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.n-scope .l-voir__media > svg.lucide { position: absolute; inset: 0; width: 28px; height: 28px; margin: auto; color: var(--large); }
.l-voir__note { margin-top: 4px; font-size: 13px; line-height: 18px; }
.n-scope .l-voir__note a { color: var(--encre-douce); }
.l-voir__nom { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--espace-2); font: 600 17px/24px var(--font-texte); }
.l-voir__distance, .l-voisins__distance { font: 600 14px/20px var(--font-texte); color: var(--encre-douce); font-variant-numeric: tabular-nums; white-space: nowrap; }
.l-voir li p { color: var(--encre-douce); }
.l-voisins { display: flex; flex-direction: column; border-top: 1px solid var(--trait); }
.l-voisins > li { border-bottom: 1px solid var(--trait); }
.l-voisins .n-lieu { align-items: center; color: var(--encre); }
.l-voisins .n-lieu__nom, .l-voisins .n-lieu__zone { display: block; }
.l-voisins .n-lieu__nom { font-size: 17px; line-height: 24px; }
.l-renvois { font-size: 15px; line-height: 22px; }
.l-avis { display: flex; gap: var(--espace-3); max-width: var(--mesure); color: var(--encre-douce); }
.n-scope .l-avis > svg.lucide { flex: none; margin-top: 2px; }
/* Texte du secteur, replié : ce qui vaut pour toutes les escales alentour */
.l-secteur { border-radius: var(--rayon-m); background: var(--haut-fond); }
.l-secteur summary { display: flex; gap: var(--espace-3); align-items: flex-start; padding: var(--espace-3) var(--espace-4); cursor: pointer; list-style: none; }
.l-secteur summary::-webkit-details-marker { display: none; }
.n-scope .l-secteur summary > svg.lucide { flex: none; margin-top: 2px; color: var(--large); }
.n-scope .l-secteur summary > svg.lucide:last-child { margin-left: auto; color: var(--encre-douce); transition: transform 150ms ease; }
.l-secteur[open] summary > svg.lucide:last-child { transform: rotate(180deg); }
.l-secteur summary > span { flex: 1; min-width: 0; }
.l-secteur__titre { display: block; font-weight: 600; }
.l-secteur__sous { display: block; font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.l-secteur__texte { display: flex; flex-direction: column; gap: var(--espace-2); padding: 0 var(--espace-4) var(--espace-4) calc(var(--espace-4) + 20px + var(--espace-3)); }
.l-corriger, .l-maj { font-size: 15px; line-height: 22px; color: var(--encre-douce); }
.l-bref, .l-meteo { display: flex; flex-direction: column; gap: var(--espace-3); padding: var(--espace-4); border: 1px solid var(--trait); border-radius: var(--rayon-l); background: var(--surface); }
.l-bref h2, .l-meteo h2 { color: var(--encre-douce); }
.n-scope .l-bref dl { display: flex; flex-direction: column; }
.l-bref dl > div { display: grid; gap: 2px; padding-block: var(--espace-2); border-top: 1px solid var(--trait); }
.l-bref dt, .z-puces dt { font: 600 12px/16px var(--font-texte); letter-spacing: 0.06em; text-transform: uppercase; color: var(--encre-douce); }
.l-bref dd { font-weight: 600; line-height: 22px; }
.l-bref .l-essentiel { grid-template-columns: repeat(3, 1fr); font-size: 14px; }
.l-bref .l-essentiel__item { padding: var(--espace-2) 2px; }
.n-scope .l-bref .l-essentiel svg.lucide { width: 20px; height: 20px; }
.l-bref__nom { display: block; font-weight: 400; font-size: 14px; color: var(--encre-douce); }
.l-sommaire { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 15; background: var(--fond); border-bottom: 1px solid var(--trait); }
.l-sommaire .n-filtre { text-decoration: none; }
.l-sommaire .n-filtre[aria-current="true"] { background: var(--haut-fond); border-color: var(--large); font-weight: 600; }
.l-sommaire__rappel { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-2); padding-top: var(--espace-2); font-size: 15px; line-height: 20px; }
.l-section, .l-bref { scroll-margin-top: 64px; }

/* ---------- Pages de pays et d'îles (D019) ---------- */
.z-titre { display: flex; align-items: center; gap: var(--espace-4); }
.z-drapeau { flex: none; border: 1px solid var(--trait); border-radius: 2px; }
.z-infos > div { padding: var(--espace-2) var(--espace-3); border: 1px solid var(--trait); border-radius: var(--rayon-m); background: var(--surface); }
.z-puces dd { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.z-partie p { max-width: 68ch; }
.z-legende { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.n-marqueur.z-pastille { width: 22px; height: 22px; box-shadow: none; }
.n-scope .z-pastille svg.lucide { width: 14px; height: 14px; }
.z-liste > summary { list-style: none; margin-bottom: 16px; }
.z-infos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--espace-2); }
.z-infos > div { display: flex; flex-direction: column; gap: var(--espace-1); padding: var(--espace-4); }
.z-pavillon { display: flex; align-items: center; gap: var(--espace-2); }
.z-frise { display: flex; flex-direction: column; margin: 0; padding-left: var(--espace-4); list-style: none; border-left: 2px solid var(--trait-fort); }
.z-frise li { position: relative; padding-block: var(--espace-2); }
.z-frise li::before { content: ""; position: absolute; left: calc(-1 * var(--espace-4) - 6px); top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--large); }
.z-frise__date, .z-quand, .z-an th { font-weight: 600; }
.z-an { width: 100%; table-layout: fixed; border-spacing: 2px 4px; font-size: 13px; line-height: 18px; }
.z-an thead td { width: 36%; background: none; }
.z-an thead th, .z-quand { color: var(--encre-douce); }
.z-an tbody th { overflow: hidden; padding-right: var(--espace-2); text-align: left; white-space: nowrap; text-overflow: ellipsis; }
.z-an td { height: 18px; background: var(--surface-creux); }
.z-an td.z-on { background: var(--large); }
.z-an .z-risque td.z-on { background: var(--alerte); }
.z-detail { display: flex; flex-direction: column; gap: var(--espace-3); }
.z-detail li { display: grid; grid-template-columns: 6.5em 1fr; gap: var(--espace-3); }
/* Agenda d'une fiche (D039) : mêmes bandes et même liste que les pages d'île */
.l-agenda__an { margin-bottom: var(--espace-4); }
.l-agenda li p { margin-top: var(--espace-1); }
.l-agenda__genre { display: inline-grid; vertical-align: -3px; margin-right: 6px; color: var(--large); }
.n-scope .l-agenda__genre svg.lucide { width: 18px; height: 18px; }
.l-agenda__ou, .l-agenda__dates { font-size: 14px; color: var(--encre-douce); }
.l-agenda__conseil { display: grid; grid-template-columns: 16px 1fr; gap: var(--espace-2); margin-top: var(--espace-1); font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.n-scope .l-agenda__conseil svg.lucide { width: 16px; height: 16px; margin-top: 2px; }
/* Pages de zone (D046, D054) : la grille des fiches ; la carte d'identité (pavillon, monnaie, langues, faits) ferme la page sur téléphone */
.l-cote > #identite { order: 7; }
.z-top { margin: 0; padding: 0; list-style: none; }
.z-top li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: var(--espace-2); padding: 6px 0; border-top: 1px solid var(--trait); }
.z-top__n { font: 600 14px/20px var(--font-texte); text-align: center; color: var(--encre-douce); font-variant-numeric: tabular-nums; }
.z-top a { display: flex; align-items: center; gap: 6px; min-width: 0; font-weight: 600; }
.n-scope .z-top a svg.lucide { flex: none; width: 16px; height: 16px; color: var(--encre-douce); }
.z-top__nom { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.z-top__ile { font-weight: 400; color: var(--encre-douce); }
.z-top__ile::before { content: " – "; }
.z-top__note { font: 600 16px/20px var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.z-top__note small { font-size: 12px; font-weight: 400; color: var(--encre-douce); }
.z-top__est { display: block; font: 400 12px/16px var(--font-texte); color: var(--encre-douce); }

/* ---------- Publicité : place réservée, mention visible ---------- */
.s-pub { display: flex; flex-direction: column; align-items: center; gap: var(--espace-1); }
.n-scope .s-pub__mention { font: 600 11px/14px var(--font-texte); letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre-douce); }
.s-pub__cadre { display: grid; place-items: center; width: 100%; max-width: var(--pub-l); min-height: var(--pub-h); padding: var(--espace-4); border-radius: var(--rayon-m); background: var(--surface-creux); color: var(--encre-douce); font-size: 14px; line-height: 20px; text-align: center; }
.s-pub--apercu .s-pub__cadre { border: 1.5px dashed var(--trait-fort); }

/* ---------- Affiliation : liens signalés, après le contenu utile ---------- */
.s-affil { display: flex; flex-direction: column; gap: var(--espace-4); padding: var(--espace-5) var(--espace-4); border: 1px solid var(--trait); border-radius: var(--rayon-l); background: var(--surface); }
.s-affil__tete { display: flex; flex-direction: column; gap: var(--espace-1); }
.n-scope .s-affil__mention { font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.s-affil__offres { display: grid; gap: var(--espace-3); }
.s-offre { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--espace-3); padding: var(--espace-4); border-radius: var(--rayon-m); background: var(--haut-fond); }
.n-scope .s-offre > svg.lucide { width: 24px; height: 24px; color: var(--large); }
.s-offre__texte { display: flex; flex-direction: column; gap: var(--espace-1); min-width: 0; }
.s-offre__action { grid-column: 2; display: flex; flex-direction: column; align-items: flex-start; gap: var(--espace-1); }
.s-offre h3 { font: 600 16px/22px var(--font-texte); }
.s-offre p { font-size: 15px; line-height: 22px; }
.n-scope .s-offre__mention { font-size: 12px; line-height: 16px; color: var(--encre-douce); }

@media (min-width: 600px) {
  .s-contenu { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
  .l-cote > .l-galerie, .l-media > .l-galerie { margin-inline: 0; }
  .l-cote > .l-galerie .l-galerie__defile, .l-media > .l-galerie .l-galerie__defile { border-radius: var(--rayon-l); }
  .h-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-6); }
  .s-pied__grille { grid-template-columns: 1.5fr 1fr 1fr 0.8fr; }
  .h-pays > div { grid-template-columns: 220px minmax(0, 1fr); gap: var(--espace-4); }
  .h-points { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 700px) {
  .l-section .l-carte__vue, .z-carte .l-carte__vue { aspect-ratio: 16 / 10; }
  .s-offre { grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; }
  .s-offre__action { grid-column: 3; align-items: center; }
}
@media (min-width: 900px) {
  .s-entete { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
  .s-entete__rang { min-height: 64px; }
  .s-entete__inscription { display: inline-flex; margin-left: var(--espace-2); }
  .s-section { padding-block: var(--espace-8); }
  .s-section--serree { padding-top: 0; }
  .h-regions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .h-iles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--espace-4); }
  /* Bureau (D022) : colonne principale aux deux tiers, colonne latérale collante au tiers ; plus haute que l'écran,
     lieu.js la colle par son bas (--cote-haut). */
  .l-corps { grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: var(--espace-5) var(--espace-7); align-items: start; }
  .l-principal { display: flex; flex-direction: column; gap: var(--espace-7); grid-area: 1 / 1; }
  .l-cote { display: flex; flex-direction: column; gap: var(--espace-5); grid-area: 1 / 2; position: sticky; top: var(--cote-haut, calc(64px + var(--espace-4))); }
  .l-cote > #videos { order: 3; }  /* photos, vidéos, météo : l'ordre de la maquette */
  .l-cote > .l-galerie { flex: none; }
  .l-principal .l-sommaire .n-filtres { flex-wrap: wrap; }
  .n-scope .l-cote .t-h2 { font-size: 19px; line-height: 26px; }
  .l-sommaire { top: calc(64px + env(safe-area-inset-top, 0px)); }
  .l-section, .l-bref { scroll-margin-top: 128px; }
  .l-cote > #palmares, .l-cote > #identite { order: 1; }  /* page de zone (D046) : sous « En bref », avant les photos */
  .l-principal .h-regions { grid-template-columns: minmax(0, 1fr); }  /* les escales d'une zone, sur la largeur de la colonne */
  .l-principal .h-iles { grid-template-columns: repeat(2, minmax(0, 1fr)); }  /* cartes d'îles d'un groupement (D053), colonne aux deux tiers */
  .l-operateurs { grid-template-columns: 1fr 1fr; align-items: start; }
  .h-guide { display: grid; grid-template-columns: 1fr 1fr; gap: var(--espace-7) var(--espace-8); max-width: none; align-items: start; }
  .h-q--large { grid-column: 1 / -1; }
  .n-scope .h-q--large .h-pays { grid-template-columns: 1fr 1fr; column-gap: var(--espace-7); }
  .h-q--large .h-pays > div { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .s-faq summary svg.lucide { transition: none; }
}

/* Qui sommes-nous, contact (D039) */
.i-texte { display: flex; flex-direction: column; gap: var(--espace-3); max-width: var(--mesure); }
.i-texte .t-h2 { margin-top: var(--espace-4); }
.i-texte .t-h2:first-child { margin-top: 0; }
/* Qui sommes-nous : modules sur toute la largeur de page ; la prose garde sa mesure */
.i-page .s-section__tete { max-width: none; }
.i-page .s-section__tete > .t-h1, .i-page .s-section__tete > .s-section__chapo { max-width: var(--mesure); }
.n-scope .i-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--espace-3); margin: var(--espace-2) 0 0; }
.i-chiffres > div:nth-child(3) { padding-left: 0; border-left: 0; }
.i-modules { display: flex; flex-direction: column; gap: var(--espace-6); }
.i-module { display: flex; flex-direction: column; gap: var(--espace-3); }
.i-module > p { max-width: var(--mesure); }
.i-colonnes { display: grid; gap: var(--espace-3); }
.i-colonnes > p { max-width: var(--mesure); }
.i-fondateur { display: grid; gap: var(--espace-3); padding: var(--espace-4); border-radius: var(--rayon-l); background: var(--surface-creux); }
.i-fondateur__photo { display: block; width: 160px; height: 160px; object-fit: cover; border-radius: var(--rayon-m); }
.i-fondateur__texte { display: flex; flex-direction: column; gap: var(--espace-3); }
.i-fondateur__colonnes { display: flex; flex-direction: column; gap: var(--espace-3); }
.i-fondateur__signature { font: italic 500 18px/24px var(--font-display); color: var(--encre-douce); }
.i-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--espace-2); margin: 0; padding: 0; list-style: none; }
.i-cartes li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--espace-2); row-gap: 2px; padding: var(--espace-3); border-radius: var(--rayon-m); background: var(--surface-creux); }
.n-scope .i-cartes svg.lucide { grid-row: span 2; width: 22px; height: 22px; margin-top: 1px; color: var(--encre-douce); }
.i-cartes strong { font-weight: 600; }
.i-cartes span { grid-column: 2; font-size: 14px; line-height: 20px; color: var(--encre-douce); }
.i-duo { display: grid; gap: var(--espace-6); }
.i-part { display: flex; flex-wrap: wrap; align-items: center; gap: var(--espace-3); }
.n-scope .i-reseaux { margin: 0; }
@media (min-width: 640px) {
  .n-scope .i-chiffres { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .i-chiffres > div:nth-child(3) { padding-left: var(--espace-3); border-left: 1px solid var(--trait); }
  .i-fondateur { grid-template-columns: 160px minmax(0, 1fr); gap: var(--espace-4); }
}
@media (min-width: 900px) {
  .i-page .s-section__tete { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--espace-6); align-items: end; }
  .i-page .s-section__tete > * { grid-column: 1; }
  .n-scope .i-chiffres { grid-column: 2; grid-row: 1 / span 3; grid-template-columns: repeat(2, max-content); column-gap: var(--espace-5); margin: 0; }
  .i-chiffres > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .i-fondateur { grid-template-columns: 200px minmax(0, 1fr); gap: var(--espace-5); padding: var(--espace-5); }
  .i-fondateur__photo { width: 200px; height: 200px; }
  .i-fondateur__colonnes { display: block; columns: 2; column-gap: var(--espace-5); }
  .i-fondateur__colonnes > p { margin: 0 0 var(--espace-3); }
  .i-colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-5); }
  .i-cartes--trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .i-cartes--quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .i-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-6); }
}
.i-form { display: flex; flex-direction: column; gap: var(--espace-4); max-width: 560px; }
.n-scope .i-form__message { min-height: 160px; padding-block: 10px; resize: vertical; }
.i-facultatif { font-weight: 400; color: var(--encre-douce); }
.i-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.n-scope .i-retour { display: none; gap: 8px; align-items: flex-start; max-width: 560px; margin-bottom: var(--espace-4); padding: 12px 14px; border-radius: var(--rayon-m); background: var(--surface-creux); }
.i-retour:target { display: flex; }
.i-retour svg.lucide { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.i-retour--ok svg.lucide { color: var(--large); }
.i-retour--erreur { color: var(--danger); }

/* ---------- Carte des Antilles (/fr/carte/, D060 lot B) : barre fine, carte sur toute la hauteur, annuaire dessous ---------- */
.m-page { display: flex; flex-direction: column; }
.js .m-page { min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); }  /* sous l'en-tête ; sans JavaScript, la note seule */
.m-barre { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px var(--espace-3); padding-block: var(--espace-2); }
.n-scope .m-titre { font: 650 22px/32px var(--font-display); letter-spacing: -0.01em; }
.m-phrase { font-size: 15px; line-height: 22px; color: var(--encre-douce); }
.m-plan { position: relative; flex: 1; border-top: 1px solid var(--trait); background: var(--haut-fond); }
.js .m-plan { min-height: 320px; }
/* Mêmes hauteurs dès le premier affichage, sans attendre site.js : l'annuaire ne saute plus sous la carte (CLS 0,6, recette D087). */
@media (scripting: enabled) {
  .m-page { min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); }
  .m-plan { min-height: 320px; }
}
@media (scripting: none) { .m-plan { height: 96px; } }
.m-plan__vue { position: absolute; inset: 0; }
.m-plan__attente { position: absolute; top: 50%; left: 50%; max-width: calc(100% - 32px); padding: 8px 14px; border-radius: var(--rayon-pilule); background: var(--surface); box-shadow: var(--ombre-1); font-size: 14px; line-height: 20px; color: var(--encre-douce); text-align: center; transform: translate(-50%, -50%); }
.m-plan--prete > .m-plan__attente, .s-page:not(.js) .m-plan > .m-plan__attente { display: none; }
.m-annuaire .s-section__tete { max-width: none; }
.m-annuaire .s-section__chapo { max-width: var(--mesure); }
