/* 28/08/2026 : polices auto-hébergées (sous-ensemble latin), remplace l'@import Google Fonts
   -> plus d'aller-retour DNS/TLS vers fonts.googleapis.com au lancement. Fichiers dans /assets/fonts/.
   Montserrat = fichier variable (axe wght 100-900), une seule ressource couvre 400 à 800. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/montserrat-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Indie Flower';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/indie-flower-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Ubuntu Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ubuntu-condensed-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bl-sand: #EBDCC0;
  --bl-sand-border: #C0A876;
  --bl-sand-dark: #8C7440;
  --bl-ink: #231F20;
  --bl-cyan: #00CCFF;
  --bl-cyan-nav: #39C2E6;
  --bl-pink: #EC1D78;
  --bl-yellow: #F5C842;
  --bl-card-border: rgba(143, 132, 119, 0.4);

  /* 31/08/2026 : échelle typo centralisée (lisibilité mobile). Un seul point de réglage
     — utile pour la phase multilingue (allemand long -> cran global vers le bas en 1 ligne).
     Corps passé de 12,5-14px à 15px. Header/navbar hors de cette échelle (Ubuntu Condensed,
     itérés séparément). */
  --fs-body: 17px;        /* texte courant : descriptions, infos pratiques, fiches sheet_info (test 17px 31/08) */
  --fs-body-sm: 14.5px;   /* secondaire : légendes, sous-titres, météo, toggles */
  --fs-title-item: 18px;  /* titres de carte/fiche : nom POI en liste, titre item sheet_info */
  --fs-meta: 11.5px;      /* labels majuscules, pré-titres, fil d'Ariane */
  --fs-display-md: 30px;  /* titres de section Home */
  --fs-display-sm: 24px;  /* sous-titres type "Sur la carte" */
  --lh-body: 1.55;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  background: #EAEAEA;
}

a { color: var(--bl-pink); text-decoration: none; }
a:hover { color: #c91767; }

.bl-app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  /* 28/08/2026 : ex-#fff. Fond = cyan navbar pour combler tout liseré résiduel sous la navbar
     (zone barre de geste iOS / safe-area) sans dépendre d'une hauteur exacte. Header + content
     couvrent tout le reste, ce fond n'est visible que sur ce sliver du bas. */
  background: var(--bl-cyan-nav);
  position: relative;
  overflow: hidden;
  /* 25/08/2026 : rendu "mockup mobile" propre sur tablette/desktop (navigateur classique, pas
     installé en PWA) plutôt que de s'étirer pleine largeur — pas de lock d'orientation possible
     en CSS seul, complété par "orientation":"portrait-primary" dans manifest.json (PWA installée). */
  max-width: 480px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
.bl-header {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  background-color: var(--bl-sand);
  background-image: linear-gradient(rgba(255,255,255,0.33), rgba(255,255,255,0.33)), url('/assets/project/istockphoto-2157802536-612x612-ms80h0du-grkh.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 2px solid var(--bl-sand-border);
  /* 25/08/2026 (polish chirurgical) : hauteur +20% (10px -> 16px) puis -20% (16px -> 12.8px) */
  padding: env(safe-area-inset-top, 12px) 5px 12.8px;
  padding-top: calc(env(safe-area-inset-top, 12px) + 12.8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
/* 25/08/2026 : align-items baseline pour caler le logo sur la ligne de base du titre (demande Julien) */
.bl-header__brand { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
/* 25/08/2026 : nouveau logo (logo2.png) +20% (29->35) -30% (35->24.5) -25% (24.5->18.4), décalé 4px puis +4px (8px) */
.bl-header__logo { height: 21.4px; width: 21.4px; object-fit: contain; flex-shrink: 0; margin-left: 8px; }
.bl-header__title {
  /* 20/08/2026 : test police tuiles (Ubuntu Condensed) + taille réduite, pour laisser la place
     à la 4e icône (Réglages, admin) sans surcharger le header.
     25/08/2026 (polish chirurgical) : +3px, collé au logo (gap réduit ci-dessus).
     25/08/2026 (révisé, x2) : couleur repassée sur --bl-sand-dark (couleur du contour des cercles
     Contact/Code promo), après les essais --bl-ink puis --bl-sand-border (liseret bas). */
  font-family: 'Ubuntu Condensed', sans-serif;
  font-weight: 400;
  /* 25/08/2026 : +15% (23px -> 26.5px) puis -15% (26.5px -> 22.5px) ; 28/08/2026 : re-test 26px */
  font-size: 26px;
  letter-spacing: 0.2px;
  color: var(--bl-sand-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bl-header__icons { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.bl-header__icon {
  /* 25/08/2026 (polish chirurgical) : -18% (36px → 29.5px) ; 28/08/2026 : +3px (→ 32.5px) */
  width: 32.5px; height: 32.5px;
  border-radius: 999px;
  background: rgba(0, 204, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  transition: transform .12s, background .15s;
  cursor: pointer;
}
.bl-header__icon:active { transform: scale(0.92); }
.bl-header__icon--accent { background: rgba(236, 29, 120, 0.10); }
/* 25/08/2026 (polish chirurgical, révisé) : Contact + Code promo — contour 2px marron
   (comme le badge FR) mais fond blanc (pas le beige du badge FR, demande Julien).
   25/08/2026 : cercle -1px (29.5px -> 28.5px) sur demande Julien. */
.bl-header__icon--brand { width: 28.5px; height: 28.5px; background: #fff; border: 2px solid var(--bl-sand-dark); }
/* 25/08/2026 : Réglages harmonisé sur le style du badge langue (même fond beige clair) */
.bl-header__icon--soft { background: rgba(35,31,32,0.06); }
/* 28/08/2026 : Contact — icône WhatsApp PNG pleine, sans cercle marron, taille des icônes header */
.bl-header__icon--wa { background: none; width: 32.5px; height: 32.5px; }
.bl-header__icon--wa img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* 28/08/2026 : Code promo — test badge texte "-10%" façon badge FR */
a.bl-header__lang-btn { text-decoration: none; line-height: 1; }
/* 28/08/2026 : Code promo "-10%" — version inversée, pastille pleine sand-dark + texte sable clair
   (le badge FR garde son fond clair, non touché). Sélecteur `a.` pour passer devant .bl-header__lang-btn. */
a.bl-header__icon--promo { background: var(--bl-sand-dark); color: var(--bl-sand); }
.bl-header__lang { position: relative; }
.bl-header__lang-btn {
  border: none; background: rgba(35,31,32,0.06);
  /* 25/08/2026 : texte "FR" repassé sur --bl-sand-dark (comme le titre), au lieu de --bl-ink */
  /* 31/08/2026 : "FR" et "-10%" +3px (9.5 -> 12.5) sur demande Julien */
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 12.5px; color: var(--bl-sand-dark);
}
.bl-header__lang-dropdown {
  position: absolute; top: 42px; right: 0; z-index: 10;
  background: #fff; border-radius: 12px; box-shadow: 0 8px 20px rgba(35,31,32,0.18);
  padding: 6px; display: flex; flex-direction: column; min-width: 64px;
}
.bl-header__lang-dropdown[hidden] { display: none; }
.bl-header__lang-option {
  border: none; background: none; text-align: left; padding: 8px 10px; border-radius: 8px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 13px; color: var(--bl-ink); cursor: pointer;
  display: flex; align-items: center; gap: 8px;
}
.bl-header__lang-option:hover { background: rgba(35,31,32,0.06); }

/* 08/09/2026 : bouton langue en drapeau circulaire (EN -> GB). Flag inline SVG, cf. bl_flag_svg(). */
.bl-flag { display: block; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.14); flex-shrink: 0; }
.bl-header__lang-btn--flag { padding: 0; background: transparent; border: none; }
/* 08/09/2026 : drapeau du bouton à la taille de l'icône WhatsApp (remplit le slot 32.5px) */
.bl-header__lang-btn--flag .bl-flag { width: 30px; height: 30px; }
/* 08/09/2026 : ⭐ vers l'enquête — emoji nu, pas de pastille, +25% pour égaler les autres icônes */
.bl-header__icon--star { background: none; font-size: 26px; line-height: 1; text-decoration: none; }
/* 09/09/2026 : icône ⏰ « heure de départ », même gabarit que ⭐ (emoji nu, pas de pastille). */
.bl-header__icon--clock { background: none; font-size: 23px; line-height: 1; text-decoration: none; }
/* 08/09/2026 : icône Réglages (admin) alignée sur la taille WhatsApp/langue */
.bl-header__icon--soft svg { width: 18px; height: 18px; }

/* ===== CONTENU SCROLLABLE + FOND PHOTO ===== */
/* 25/08/2026 : bug identifié — `background-attachment: local` sur un élément scrollable fait
   défiler le fond AVEC le contenu, donc il disparaît dès qu'on scrolle plus bas qu'un écran
   (page Home longue). D'où l'impression que l'opacité "ne change rien" en bas de page : il n'y a
   juste plus d'image du tout. Passé en `scroll` (défaut) : le fond reste fixe derrière tout le
   contenu qui défile, visible sur toute la hauteur de page. + background-color en filet de
   sécurité (fond blanc si l'image ne charge pas). */
.bl-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 1;
  background-color: #fff;
  background-image: linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)), url('/assets/bg-content-test1.jpg');
  background-size: cover, cover;
  background-position: top center, top center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll, scroll;
}

/* ===== NAVBAR ===== */
.bl-nav {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: stretch;
  /* 28/08/2026 : gauche 5px / droite 2px (Accueil dégagé un peu plus de l'arrondi d'écran) ;
     top 11px.
     31/08/2026 : bas — on veut le MÊME écart que le haut (11px) entre le bord de la navbar et
     les icônes. `max(11px, inset)` : barre Safari visible -> inset ~0 -> 11px (symétrique) ;
     barre Safari masquée -> inset ~34 -> 34px (dégage le home indicator). La PWA garde sa
     propre valeur via @media (display-mode: standalone) ci-dessous. */
  padding: 11px 2px max(0px, env(safe-area-inset-bottom, 0px)) 5px;
  background: var(--bl-cyan-nav);
  box-shadow: 0 -1px 0 rgba(35,31,32,0.08), 0 -8px 20px rgba(35,31,32,0.10);
  position: relative;
  z-index: 5;
}
/* 28/08/2026 : liseré résiduel sous la navbar (zone safe-area iOS). On ne touche PAS à la hauteur
   de .bl-app (100dvh, la seule qui garde la navbar à sa taille normale) ; on peint juste le fond
   html/body/.bl-app en cyan navbar sur mobile pour qu'un éventuel sliver du bas soit invisible.
   La maquette desktop garde son cadre gris. */
@media (max-width: 480px) {
  html, body { background: var(--bl-cyan-nav); }
}
/* 28/08/2026 : PWA installée iOS — 100dvh y rend souvent trop court (gros vide sous la navbar),
   100vh trop grand (libellés rognés). -webkit-fill-available = hauteur réellement disponible
   entre les safe-areas. Réservé au mode standalone : l'onglet Safari garde 100dvh (rendu OK). */
@media (display-mode: standalone) {
  .bl-app { height: 100dvh; height: -webkit-fill-available; }
  /* 28/08/2026 (mesures device Julien : viewport 762, écran 812, safe-area-bottom 34) : en
     standalone iOS il reste ~50px physiques SOUS le viewport que le web ne peut pas atteindre,
     et le home indicator y est déjà. Les 34px de env(safe-area-inset-bottom) en padding font
     donc double emploi -> on les retire ici. max() = filet pour les appareils où l'inset est
     plus grand ou le strip absent. */
  .bl-nav { padding-bottom: max(15px, calc(env(safe-area-inset-bottom, 15px) - 19px)); }
}
.bl-nav__item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  cursor: pointer; text-decoration: none;
  /* 28/08/2026 : feedback tap. transition au RELÂCHEMENT (retour easé) ; l'entrée en :active est
     instantanée (transition:none ci-dessous). -webkit-tap-highlight-color = flash natif iOS. */
  transition: transform .18s ease, opacity .18s ease;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
}
/* Feedback tap instantané (CR CM 28/08) : squish + creux d'opacité au toucher, indépendant du réseau. */
.bl-nav__item:active { transition: none; opacity: 0.4; }
.bl-nav__item:not(.bl-nav__item--extra):active { transform: scale(0.8); }
/* Persistance ~1s : JS ajoute .is-tapped au pointerdown et la retire après 1000ms (ou au
   déchargement de la page). Surlignage net de la case tapée, tenu pendant le lag de navigation.
   Appliqué sans transition = apparition immédiate, coupure franche à 1s. */
.bl-nav__item.is-tapped { border-radius: 12px; }
.bl-nav__item:not(.bl-nav__item--extra).is-tapped { background: rgba(255, 255, 255, 0.24); }
.bl-nav__item--extra.is-tapped { background: #F3579C; }
/* 28/08/2026 : icônes navbar agrandies 21 -> 28px pour la lisibilité. */
.bl-nav__item svg { width: 28px; height: 28px; }
.bl-nav__item span {
  font-size: 10.5px; font-weight: 700; color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  /* 28/08/2026 : filet anti-retour-à-la-ligne. Les libellés navbar doivent rester 1 mot court
     (~<=8 car.) dans chaque langue, cf. locales/*.json à venir. Si ça serre = raccourcir la trad. */
  white-space: nowrap;
}
.bl-nav__item--seasonal.is-off-season { opacity: 0.75; }
/* 6e icône conditionnelle Arrivée/Départ (18/08/2026) : fond rose, seule icône jamais grisée
   (n'apparaît que dans sa fenêtre, pas de raison de la montrer atténuée).
   28/08/2026 : pastille rose resserrée (marge gauche 3px, droite 5px = -5px/-7px vs l'état d'origine),
   l'espacement régulier des 6 cases n'est pas touché. */
.bl-nav__item--extra { background: var(--bl-pink); border-radius: 12px; margin: -6px 5px -6px 3px; padding: 6px 2px; }

/* ===== SECTIONS COMMUNES ===== */
.bl-section-title {
  font-family: 'Indie Flower', cursive;
  font-weight: 400;
  /* 31/08/2026 : Indie Flower est mono-graisse (400) — léger épaississement propre via
     text-stroke plutôt qu'un faux-gras synthétique qui bave sur une police manuscrite. */
  -webkit-text-stroke: 0.4px currentColor;
  color: var(--bl-ink);
  /* 31/08/2026 : rythme vertical unifié — chaque titre de section a le même espace au-dessus
     (celui d'"Organiser mon séjour"). Les marges/paddings bas ad hoc des blocs précédents
     sont remis à 0 pour ne pas s'additionner (cf. bl-weather-events / bl-a-la-une / bl-tuiles
     / bl-map-section ci-dessous). */
  margin-top: 22px;
}

.bl-card {
  background: rgba(255,255,255,0.96);
  border: 1.5px solid var(--bl-card-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(35,31,32,0.10);
  margin-bottom: 14px;
  transition: transform .12s;
  cursor: pointer;
  display: block;
}
.bl-card:active { transform: scale(0.98); }
.bl-card__photo { position: relative; height: 150px; }
.bl-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bl-card__badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255,255,255,0.94); border-radius: 999px; padding: 3px 9px 3px 7px;
  font-size: 10.5px; font-weight: 700; color: var(--bl-ink);
  display: flex; align-items: center; gap: 4px;
}
/* 18/09/2026 : badge "Fermé" hors saison — même emplacement/forme que le badge distance,
   jamais les deux en même temps (mutuellement exclusif, cf. bl_poi_hors_saison()). */
.bl-card__badge--ferme {
  background: rgba(178,34,34,0.92); color: #fff;
}
.bl-card__body { padding: 13px 15px 15px; }
.bl-card__pretitle {
  font-weight: 700; font-size: var(--fs-meta); letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--bl-pink); margin-bottom: 3px;
}
.bl-card__title { font-weight: 700; font-size: var(--fs-title-item); color: var(--bl-ink); margin-bottom: 4px; }
/* Troncature 3 lignes (18/08/2026) : jamais implémentée jusqu'ici (revendiquée dans la doc depuis le
   06/08 mais absente du CSS réel) — jamais visible tant que les descriptions POI restaient courtes,
   révélé par les descriptions longues/multi-lignes d'Arrivée (instructions détaillées avec <br>). */
/* 31/08/2026 : aligné sur le texte des fiches (--fs-body) — l'écart 14,5 vs 17 était trop
   visible quand on passe de la liste P2 à la fiche POI. Reste tronqué à 3 lignes. */
.bl-card__text { margin: 0; font-size: var(--fs-body); color: rgba(35,31,32,0.82); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.bl-breadcrumb {
  padding: 10px 18px 8px;
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; white-space: nowrap;
  background: rgba(255,255,255,0.55);
}
.bl-breadcrumb a { color: var(--bl-pink); font-weight: 700; }
.bl-breadcrumb__sep { color: rgba(35,31,32,0.4); }
.bl-breadcrumb__current { color: var(--bl-ink); font-weight: 600; }

.bl-section-title--lg { padding: 0 18px 3px; font-size: var(--fs-display-md); }
.bl-section-title--md { padding-bottom: 5px; font-size: var(--fs-display-md); }
/* 31/08/2026 : sous-titre de section dans la fiche POI ("Sur la carte"), ex-inline 22px.
   margin-top: 0 pour annuler le rythme Home (ce n'est pas un titre de section Home). */
.bl-section-title--sm { font-size: var(--fs-display-sm); margin-top: 0; margin-bottom: 10px; }
/* 28/08/2026 : "En ce moment" décollé du liseret marron du header. 12.8px = même valeur que la
   marge basse du bandeau météo/events (.bl-weather-events), donc espacement identique de part et
   d'autre du bloc (header -> titre, et bloc -> titre "À la Une"). */
.bl-section-title--first { margin-top: 0; padding-top: 22px; }
/* 25/08/2026 : test — police du titre "Blue Lagoon" appliquée uniquement à "En ce moment" */
.bl-section-title--test-font { font-family: 'Ubuntu Condensed', sans-serif; }

/* ===== BANDEAU EN CE MOMENT ===== */
/* Bandeau "En ce moment" — 2 rangées (météo pleine largeur, puis mini-carrousel events), refonte 24/08/2026
   (avant : 1 seule rangée météo|events côte à côte — remplacée pour suivre la spec CM du 24/08) */
.bl-weather-events {
  /* 31/08/2026 : marge basse à 0 — l'espace avant "À la Une" est porté par le margin-top
     unifié de .bl-section-title (rythme vertical harmonisé). */
  margin: 0 18px 0;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(35,31,32,0.10);
}
/* Météo à 3 créneaux (Matin/Après-midi/Soirée, heures pilotables en admin), révisé 24/08/2026 (brain CM) :
   colonnes centrées, libellés fixes par position (pas l'heure brute), condition texte sous la température */
.bl-weather { margin: 0 -8px; }
/* 25/08/2026 (polish chirurgical) : largeur égale forcée par colonne (flex:1) au lieu de largeur
   au contenu, texte qui wrap en dessous plutôt qu'un décalage entre les 3 colonnes. */
.bl-weather__creneaux { display: flex; justify-content: center; gap: 14px; }
.bl-weather__creneau { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.bl-weather__label {
  font-weight: 600; font-size: 14px; letter-spacing: 0.03em; text-transform: uppercase;
  color: rgba(35,31,32,0.5); margin-bottom: 2px; white-space: normal; text-align: center;
}
.bl-weather__icon-temp { display: flex; align-items: center; gap: 4px; }
.bl-weather__icon { width: 24px; height: 24px; display: block; }
.bl-weather__temp { font-weight: 700; font-size: 17px; color: var(--bl-ink); line-height: 1.2; }
.bl-weather__condition { font-size: 16px; color: rgba(35,31,32,0.55); line-height: 1.15; text-align: center; }
.bl-weather__desc { font-weight: 500; font-size: 16px; color: rgba(35,31,32,0.65); text-align: center; }

.bl-events {
  display: flex; gap: 10px;
  overflow-x: auto; scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.bl-events::-webkit-scrollbar { display: none; }
.bl-events__placeholder { margin: 0; font-size: 14px; color: rgba(35,31,32,0.55); }

.bl-event-card {
  /* 28/08/2026 : vignettes events +20% (108px → 129.6px), proportions gardées via aspect-ratio */
  position: relative; flex: 0 0 129.6px; aspect-ratio: 3 / 4;
  scroll-snap-align: start;
  border-radius: 14px; overflow: hidden; display: block;
  background: linear-gradient(160deg, #dff6fb 0%, #7fd8ef 55%, #00ccff 100%);
}
.bl-event-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bl-event-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(35,31,32,0.75) 0%, rgba(35,31,32,0) 55%);
}
.bl-event-card__badge {
  position: absolute; top: 8px; left: 8px; z-index: 1;
  /* 25/08/2026 (polish chirurgical) : cyan illisible signalé par Julien → rose foncé */
  background: var(--bl-pink); color: #fff; border-radius: 999px;
  padding: 3px 8px; font-size: 14px; font-weight: 700; white-space: nowrap;
}
.bl-event-card__title {
  position: absolute; bottom: 8px; left: 8px; right: 8px; z-index: 1;
  color: #fff; font-weight: 700; font-size: 14px; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.bl-events__dots { display: flex; justify-content: center; gap: 6px; }
.bl-events__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--bl-sand); flex-shrink: 0; }
.bl-events__dot.is-active { background: var(--bl-pink); }

/* ===== A LA UNE ===== */
.bl-a-la-une { margin-bottom: 0; }
.bl-a-la-une__scroll {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 136px;
  gap: 10px; padding: 0 18px;
}
.bl-a-la-une__card {
  position: relative; overflow: hidden; border-radius: 20px;
  background: linear-gradient(160deg, #dff6fb 0%, #7fd8ef 55%, #00ccff 100%);
  display: block;
}
.bl-a-la-une__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bl-a-la-une__card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(35,31,32,0.72) 0%, rgba(35,31,32,0) 55%);
}
.bl-a-la-une__title {
  position: absolute; bottom: 14px; left: 14px; right: 14px; z-index: 1;
  color: #fff; font-weight: 700; font-size: var(--fs-body-sm); line-height: 1.2;
}
.bl-a-la-une__more { padding: 10px 18px 0; text-align: right; }
.bl-a-la-une__more a { font-size: var(--fs-body-sm); font-weight: 700; }
/* 28/08/2026 : vignettes À la une +20% (proportions gardées) → carrousel 1 ligne, scroll horizontal.
   Flex (pas grid) pour un padding-left fiable au bord gauche. Pas de scroll-snap : il
   auto-scrollait de 18px au chargement et annulait la marge d'amorce de la 1re carte. */
.bl-a-la-une__scroll {
  display: flex;
  flex-flow: row nowrap;
  grid-template-columns: none;
  grid-auto-rows: auto;
  padding: 0 18px;
  overflow-x: auto;
  scroll-snap-type: none;
  scrollbar-width: none;
}
.bl-a-la-une__scroll::-webkit-scrollbar { display: none; }
.bl-a-la-une__card {
  /* largeur : base +20% (proportions) puis +20% en largeur seule (28/08) = *1.44 ; hauteur inchangée */
  flex: 0 0 calc((100% - 56px) / 3 * 1.44);
  height: 163.2px;
  scroll-snap-align: none;
}
.bl-a-la-une__card:last-child { margin-right: 18px; }

/* ===== TUILES ===== */
.bl-tuiles { padding: 0 18px 0; }
.bl-tuiles__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bl-tuile {
  background: rgba(255,255,255,0.94);
  /* 28/08/2026 : liseret uniformisé sur les 6 tuiles (ex-style "Explorer & S'amuser").
     31/08/2026 : passé du rose au sable (couleur bordure standard du design system). */
  border: 1.5px solid var(--bl-sand-border);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 20px rgba(35,31,32,0.12);
  transition: transform .12s; display: block;
}
.bl-tuile:active { transform: scale(0.97); }
.bl-tuile__photo {
  /* 25/08/2026 : +18% (64px -> 75.5px) ; 31/08/2026 : +20% (75.5 -> 90.6px) sur demande Julien */
  height: 90.6px; position: relative; display: block;
  background: linear-gradient(135deg, #dff6fb, #7fd8ef);
  background-size: cover; background-position: center;
}
/* 31/08/2026 : marges latérales resserrées (gauche 12->11, droite 12->10) pour laisser
   respirer titres + liens roses sur 1 ligne. */
.bl-tuile__body { padding: 10px 10px 13px 11px; }
.bl-tuile__title { display: block; font-family: 'Ubuntu Condensed', sans-serif; font-weight: 400; font-size: 19px; letter-spacing: 0; color: var(--bl-sand-dark); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 31/08/2026 : aligné sur .bl-tuile__sub-link (18px) — pilote la taille des virgules
   séparatrices (texte brut dans ce div) et le line-height quand la liste passe à la ligne. */
.bl-tuile__sub { font-size: 18px; color: rgba(35,31,32,0.6); line-height: 1.3; }
/* 25/08/2026 (polish chirurgical) : police condensée alignée sur le titre tuile + font-size +2px */
.bl-tuile__sub-link { font-family: 'Ubuntu Condensed', sans-serif; font-size: 18px; color: var(--bl-pink); font-weight: 400; }

/* ===== AUX ALENTOURS ===== */
.bl-map-section { scroll-margin-top: 16px; padding: 0 18px 0; }
/* dernière section de la page : on rétablit une respiration en bas (safe-area incluse) */
.bl-map-section:last-of-type { padding-bottom: calc(24px + env(safe-area-inset-bottom, 12px)); }
.bl-map-section__sub { font-size: var(--fs-body-sm); color: rgba(35,31,32,0.6); margin-bottom: 12px; }
/* ===== BANDEAU IMMERSIF (page rubrique, P1) ===== */
.bl-hero-bandeau { position: relative; height: 210px; overflow: hidden; background: var(--bl-sand); }
.bl-hero-bandeau img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bl-hero-bandeau__gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(35,31,32,0.10) 0%, rgba(35,31,32,0) 35%, rgba(35,31,32,0.78) 100%);
}
.bl-hero-bandeau__back {
  position: absolute; top: 14px; left: 16px; z-index: 2;
  width: 36px; height: 36px; border-radius: 999px;
  background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(35,31,32,0.2);
}
.bl-hero-bandeau__back:active { opacity: 0.7; }
.bl-hero-bandeau__title {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; margin: 0;
  font-family: 'Indie Flower', cursive; font-weight: 400; font-size: 34px; line-height: 1.05;
  color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

/* ===== GRILLE SOUS-RUBRIQUES (P1) ===== */
.bl-sr-grid {
  padding: 18px 18px calc(24px + env(safe-area-inset-bottom, 12px));
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.bl-sr-tile {
  position: relative; display: block; height: 132px; border-radius: 16px; overflow: hidden;
}
.bl-sr-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bl-sr-tile__gradient {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(35,31,32,0.72) 0%, rgba(35,31,32,0) 60%);
}
.bl-sr-tile__title {
  position: absolute; left: 0; right: 0; bottom: 10px; z-index: 1; text-align: center;
  color: #fff; font-weight: 700; font-size: var(--fs-body); padding: 0 8px;
}

/* ===== BANDEAU REDUIT (page liste POI, P2) ===== */
.bl-bandeau-reduit { position: relative; height: 148px; overflow: hidden; background: var(--bl-sand); }
.bl-bandeau-reduit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bl-bandeau-reduit__gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(35,31,32,0.08) 0%, rgba(35,31,32,0) 40%, rgba(35,31,32,0.72) 100%);
}

/* ===== EN-TETE P2 (bandeau + fil d'Ariane + description, module unifié rev. CM 05/08) ===== */
/* 31/08/2026 : jusque-là non stylé — le texte d'intro tombait au ras des bords et à la
   taille héritée du body. Aligné sur le traitement du texte courant (--fs-body, opacité,
   interligne). Classe partagée = s'applique à toutes les P2 d'un coup. */
.bl-sr-header { padding: 4px 18px 0; }
.bl-breadcrumb--sr { padding: 0 0 6px; background: none; font-size: 15px; }
/* 31/08/2026 : chapô de section — volontairement distinct du texte courant (taille propre,
   pas un token) : un cran au-dessus du corps + demi-gras + gris foncé, pour poser le ton
   de la sous-rubrique avant la liste. */
.bl-sr-desc {
  margin: 2px 0 0; font-size: 16px; font-weight: 600;
  color: rgba(35,31,32,0.92); line-height: 1.2;
}

/* ===== LISTE POI (P2) ===== */
.bl-poi-list { padding: 18px 18px calc(24px + env(safe-area-inset-bottom, 12px)); }

.bl-map-placeholder {
  position: relative; height: 172px; border-radius: 20px; overflow: hidden;
  background: #eaf9ff; box-shadow: 0 8px 20px rgba(35,31,32,0.10);
  display: flex; align-items: center; justify-content: center;
  color: rgba(35,31,32,0.45); font-size: 12px;
}

/* Aux alentours (19/08/2026, v1 test) : légende pins numérotés sous la carte statique */
.bl-map-legend { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.bl-map-legend li { font-size: 16.5px; color: var(--bl-ink); display: flex; align-items: center; gap: 8px; }
.bl-map-legend a { color: var(--bl-ink); font-weight: 600; }
.bl-map-legend__pin {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: #00CCFF;
  color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* Plan du domaine (19/08/2026) : image cliquable, zoom via lightbox partagé */
.bl-plan-domaine__trigger {
  display: block; width: 100%; padding: 0; border: none; background: none; cursor: pointer;
  border-radius: 20px; overflow: hidden; box-shadow: 0 8px 20px rgba(35,31,32,0.10);
}
.bl-plan-domaine__trigger img { display: block; width: 100%; height: auto; }

/* ===== BOTTOM SHEET — FICHE POI (P3) ===== */
.bl-sheet-overlay {
  position: absolute; inset: 0; z-index: 40; background: rgba(20,17,15,0.46);
}
.bl-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; top: 64px;
  background: #fff; border-radius: 26px 26px 0 0; box-shadow: 0 -10px 34px rgba(0,0,0,0.30);
  display: flex; flex-direction: column; overflow: hidden;
}
.bl-sheet__handle-bar { flex-shrink: 0; position: relative; height: 40px; background: #fff; }
.bl-sheet__handle {
  position: absolute; left: 50%; top: 12px; transform: translateX(-50%);
  width: 38px; height: 4px; border-radius: 999px; background: rgba(35,31,32,0.22);
}
.bl-sheet__close {
  position: absolute; right: 10px; top: 3px; width: 34px; height: 34px; border-radius: 999px;
  background: var(--bl-pink); display: flex; align-items: center; justify-content: center;
}
.bl-sheet__close:active { transform: scale(0.9); }
.bl-sheet__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }

.bl-sheet__carousel { position: relative; border-radius: 18px 18px 0 0; overflow: hidden; }
.bl-sheet__carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.bl-sheet__carousel-track img { flex: 0 0 100%; width: 100%; height: 220px; object-fit: cover; scroll-snap-align: start; }
.bl-sheet__badge { position: absolute; top: 10px; left: 10px; }

/* 21/09/2026 : badge/flèche déplacés hors de la piste scrollable (.bl-sheet__carousel-track) pour rester
   fixes à l'écran pendant le défilement — avant, étant positionnés dans le conteneur qui scrolle
   lui-même, ils partaient hors champ avec les photos (bug latent sur le badge, jamais remarqué faute
   de scroll testé). Auto-play + flèche manuelle sur le carrousel multi-photos (app.js data-carousel-autoplay). */
.bl-sheet__carousel-arrow {
  position: absolute; top: 50%; right: 12px; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(120, 120, 120, 0.4);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2;
}
.bl-sheet__carousel-arrow svg { display: block; }
.bl-sheet__carousel-arrow:active { background: rgba(120, 120, 120, 0.6); }

/* 31/08/2026 : fil d'Ariane des fiches POI aligné sur celui des P2 (.bl-breadcrumb--sr) —
   même taille de texte (15px), pas de fond translucide. */
.bl-breadcrumb--sheet { padding: 17px 18px 0; background: none; flex-wrap: wrap; font-size: 15px; }

.bl-sheet__title {
  margin: 14px 0 0; padding: 0 18px;
  font-family: 'Indie Flower', cursive; font-weight: 400; font-size: 32px; line-height: 1.1;
  color: var(--bl-sand-dark); text-align: center;
}

.bl-sheet__desc-wrap { padding: 4px 18px 0; }
.bl-sheet__desc {
  margin: 0 0 6px; font-size: var(--fs-body); color: rgba(35,31,32,0.82); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bl-sheet__desc.is-expanded { -webkit-line-clamp: unset; overflow: visible; }
.bl-sheet__desc-toggle { display: block; text-align: right; font-size: var(--fs-body-sm); font-weight: 700; color: var(--bl-pink); cursor: pointer; }

.bl-sheet__divider { margin: 16px 18px 0; height: 1px; background: rgba(35,31,32,0.08); }

.bl-sheet__infos { padding: 14px 18px 0; }
.bl-sheet__infos-label {
  font-size: var(--fs-meta); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: rgba(35,31,32,0.55); margin-bottom: 10px;
}
.bl-sheet__info-row { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; font-size: 14.5px; color: var(--bl-ink); text-decoration: none; }
.bl-sheet__tel { font-weight: 700; }

.bl-sheet__map { padding: 20px 18px 0; }

.bl-sheet__cta { padding: 20px 18px calc(24px + env(safe-area-inset-bottom, 12px)); }
.bl-btn-y-aller {
  width: 100%; height: 52px; box-sizing: border-box; border-radius: 14px;
  background: var(--bl-cyan-nav); display: flex; align-items: center; justify-content: center; gap: 9px;
  box-shadow: 0 8px 20px rgba(57,194,230,0.38);
}
.bl-btn-y-aller span { color: #fff; font-weight: 800; font-size: 15px; }
.bl-btn-y-aller:active { transform: scale(0.98); }

.bl-card--scroll-target {
  box-shadow: 0 0 0 3px var(--bl-pink);
  transition: box-shadow 0.4s ease;
}

.bl-sheet-info-list { display: flex; flex-direction: column; gap: 16px; margin-top: 4px; }
/* Liseret rose plein (18/08/2026, remplace le gris --bl-card-border générique) : rose du site
   (--bl-pink) tel quel, pas une teinte diluée — Julien a précisé "non light" après un 1er essai
   trop pâle. Fond blanc uniforme conservé (pas de zébrage), cf. doctrine couleur du site. */
.bl-sheet-info-item { border-bottom: 1px solid var(--bl-pink); padding-bottom: 14px; }
.bl-sheet-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.bl-sheet-info-item__title { font-weight: 700; font-size: var(--fs-title-item); color: var(--bl-ink); }
.bl-sheet-info-item__desc { margin: 4px 0 0; font-size: var(--fs-body); color: rgba(35,31,32,0.82); line-height: 1.5; }
.bl-sheet-info-item__photos { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.bl-sheet-info-item__photo-btn { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; padding: 0; border: 1.5px solid var(--bl-card-border); cursor: pointer; background: none; }
.bl-sheet-info-item__photo-btn img { width: 100%; height: 100%; object-fit: cover; }

.bl-sheet-vierge__texte { font-size: var(--fs-body); color: rgba(35,31,32,0.85); line-height: 1.6; margin-top: 8px; padding: 0 18px; }

.bl-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 999; align-items: center; justify-content: center; padding: 24px; display: none; } .bl-lightbox:not([hidden]) { display: flex; }
.bl-lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }

/* ===== INCITATION INSTALLATION PWA (phase 9, 02/09/2026) ===== */
.bl-install-overlay {
  position: absolute; inset: 0; z-index: 60;
  background: rgba(20,17,15,0.46);
  opacity: 0; transition: opacity .32s ease;
  display: flex; align-items: flex-end;
}
.bl-install-overlay.is-open { opacity: 1; }
.bl-install-sheet {
  position: relative; width: 100%; max-height: 92%;
  background: #fff; border-radius: 26px 26px 0 0;
  box-shadow: 0 -10px 34px rgba(0,0,0,0.30);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(100%);
  transition: transform .46s cubic-bezier(.16, 1, .3, 1) .04s;
}
@media (prefers-reduced-motion: reduce) {
  .bl-install-overlay, .bl-install-sheet { transition-duration: .01ms; }
}
.bl-install-overlay.is-open .bl-install-sheet { transform: translateY(0); }
.bl-install__handle-bar { flex-shrink: 0; position: relative; height: 40px; }
.bl-install__handle { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); width: 38px; height: 4px; border-radius: 999px; background: rgba(35,31,32,0.22); }
.bl-install__close { position: absolute; right: 10px; top: 3px; width: 34px; height: 34px; border-radius: 999px; background: var(--bl-pink); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bl-install__close:active { transform: scale(0.9); }
.bl-install__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 18px 26px; }

.bl-install__chip { display: block; width: fit-content; margin: 14px auto 0; padding: 4px 12px; border: 1.5px solid var(--bl-pink); border-radius: 999px; font-size: var(--fs-meta); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--bl-pink); }
.bl-install__montage { display: block; width: 100%; height: auto; border-radius: 14px; margin: 12px 0 0; }
.bl-install__title { margin: 10px 0 0; font-family: 'Indie Flower', cursive; font-weight: 400; font-size: 30px; line-height: 1.15; color: var(--bl-ink); text-align: left; }
.bl-install__lead { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: rgba(35,31,32,0.82); text-align: left; }

.bl-install__steps { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.bl-install__step { display: flex; flex-direction: column; gap: 10px; }
.bl-install__step-head { display: flex; align-items: flex-start; gap: 12px; }
.bl-install__step-num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 999px; background: var(--bl-pink); color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.bl-install__step-label { font-size: 16px; font-weight: 600; color: var(--bl-ink); line-height: 1.45; }
.bl-install__step-sub { font-size: 14px; color: rgba(35,31,32,0.62); margin-top: 4px; line-height: 1.45; }
.bl-install__thumb { border-radius: 12px; border: 1px solid var(--bl-card-border); background: #F4F1EA; padding: 12px; display: flex; justify-content: center; }
.bl-install__thumb-pair { display: flex; gap: 10px; }
.bl-install__thumb-pair > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.bl-install__thumb-pair > div > svg { border: 1px solid var(--bl-card-border); background: #F4F1EA; border-radius: 10px; padding: 8px; box-sizing: border-box; }
.bl-install__thumb-pair > div > span { font-size: 12.5px; color: rgba(35,31,32,0.62); line-height: 1.4; }

.bl-install__cta { width: 100%; height: 52px; margin-top: 22px; border: none; border-radius: 14px; background: var(--bl-cyan-nav); color: #fff; font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer; font-family: inherit; }
.bl-install__cta:active { transform: scale(0.99); }
.bl-install__android-fallback { margin: 12px 0 0; font-size: 14px; color: rgba(35,31,32,0.7); text-align: center; }

.bl-install__footer { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bl-install__later { width: 100%; height: 50px; border-radius: 14px; border: 1.5px solid var(--bl-card-border); background: #fff; font-size: 16px; font-weight: 700; color: var(--bl-ink); cursor: pointer; font-family: inherit; }
.bl-install__stop { border: none; background: none; font-size: 14px; font-weight: 600; color: var(--bl-pink); cursor: pointer; font-family: inherit; padding: 2px 8px; }

/* Picto installation dans le header — style pastille pleine (comme "-10%"), glyphe clair.
   Masqué quand l'app est déjà installée. */
.bl-header__icon--install { background: var(--bl-sand-dark); }
.bl-standalone .bl-header__icon--install { display: none; }

/* ===== ENQUÊTE DE SATISFACTION (satisfaction.php, phase 9, 08/09/2026) ===== */
/* Icône header « Avis » : reprend la pastille pleine --promo (sand-dark), glyphe sable clair. */
.bl-header__icon--survey { background: var(--bl-sand-dark); }
.bl-header__icon--survey svg { display: block; }

.bl-satisfaction { padding: 4px 18px 28px; }
.bl-satisfaction__intro {
  font-size: var(--fs-body-sm); color: var(--bl-ink); margin: 0 0 18px;
}
.bl-satisfaction__scale-hint { color: var(--bl-sand-dark); font-size: var(--fs-body-sm); }

.bl-satisfaction__error {
  background: #FDECF2; border: 1.5px solid var(--bl-pink); color: var(--bl-pink);
  border-radius: 12px; padding: 10px 12px; font-size: var(--fs-body-sm);
  font-weight: 600; margin-bottom: 16px;
}

.bl-satisfaction__form { display: flex; flex-direction: column; gap: 14px; }

.bl-satisfaction__q {
  border: 1.5px solid var(--bl-pink); border-radius: 16px;
  padding: 14px 14px 16px; margin: 0; background: rgba(255, 255, 255, 0.72);
}
.bl-satisfaction__q-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.bl-satisfaction__q-num {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--bl-pink); color: #fff; font-weight: 700; font-size: var(--fs-body-sm);
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.bl-satisfaction__q legend {
  font-weight: 700; font-size: var(--fs-body-sm); color: var(--bl-pink);
  padding: 0; margin: 0; line-height: 1.4;
}

/* Rangée de notes 1-5 : radios masqués, labels en pastilles rondes. Sélection discrète
   (seul le chiffre choisi se remplit, pas de logique cumulative type étoiles). */
.bl-rating { display: flex; gap: 8px; }
.bl-rating input { position: absolute; opacity: 0; pointer-events: none; }
.bl-rating label {
  flex: 1; max-width: 52px; aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 1.5px solid var(--bl-pink);
  background: #fff; color: var(--bl-pink);
  font-weight: 700; font-size: 16px; cursor: pointer;
  transition: background .12s, color .12s, border-color .12s, transform .1s;
}
.bl-rating label:active { transform: scale(0.94); }
.bl-rating input:checked + label {
  background: var(--bl-pink); border-color: var(--bl-pink); color: #fff;
}
.bl-rating input:focus-visible + label { outline: 2px solid var(--bl-cyan-nav); outline-offset: 2px; }

.bl-satisfaction__q textarea {
  width: 100%; border: 1.5px solid var(--bl-sand-border); border-radius: 12px;
  padding: 10px 12px; font-family: 'Montserrat', system-ui, sans-serif;
  font-size: var(--fs-body-sm); line-height: 1.5; color: var(--bl-ink);
  background: #fff; resize: vertical;
}
.bl-satisfaction__q textarea:focus-visible { outline: 2px solid var(--bl-cyan-nav); outline-offset: 1px; }

.bl-satisfaction__submit {
  margin-top: 4px; padding: 14px 18px; border: none; border-radius: 999px;
  background: var(--bl-pink); color: #fff; font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 800; font-size: 15px; cursor: pointer; display: block; width: 100%;
  box-shadow: 0 6px 16px rgba(236, 29, 120, 0.28);
}
.bl-satisfaction__submit:active { transform: scale(0.98); }
.bl-satisfaction__submit--ghost {
  margin-top: 10px; background: #fff; color: var(--bl-pink);
  border: 1.5px solid var(--bl-pink); box-shadow: none;
}

/* Écran de remerciement — 08/09 : polices calées sur le corps de texte des fiches POI (--fs-body) */
.bl-satisfaction__thanks p { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--bl-ink); margin: 0 0 16px; }
.bl-satisfaction__promo {
  border: 1.5px solid var(--bl-sand-border); border-radius: 16px;
  background: var(--bl-sand); padding: 16px; margin: 4px 0 16px; text-align: center;
}
.bl-satisfaction__promo-title { font-weight: 800; font-size: 19px; color: var(--bl-ink); margin-bottom: 6px; }
.bl-satisfaction__promo-body { font-size: var(--fs-body); color: var(--bl-sand-dark); }
.bl-satisfaction__nudge { font-size: var(--fs-body) !important; line-height: var(--lh-body); color: var(--bl-sand-dark) !important; }

/* ===== BANDEAUX HOME (phase 9, 08/09/2026 — test ; wiring crons/DB/handoff avec le lot déclencheurs push) ===== */
.bl-home-banners { padding: 12px 18px 0; display: flex; flex-direction: column; gap: 10px; }
.bl-banner { border: 1.5px solid var(--bl-pink); background: #FDECF2; border-radius: 16px; padding: 12px 14px; }
.bl-banner p { margin: 0 0 10px; font-size: var(--fs-body-sm); line-height: 1.5; color: var(--bl-ink); }
.bl-banner__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bl-banner__btn {
  border: none; border-radius: 999px; background: var(--bl-pink); color: #fff;
  font-family: 'Montserrat', system-ui, sans-serif; font-weight: 800; font-size: 13px;
  padding: 9px 16px; cursor: pointer; text-decoration: none; display: inline-block;
}
.bl-banner__btn:active { transform: scale(0.97); }
.bl-banner__dismiss { border: none; background: none; color: var(--bl-sand-dark); font-size: 12.5px; cursor: pointer; text-decoration: underline; padding: 4px; }
.bl-banner__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-banner__chip {
  border: 1.5px solid var(--bl-pink); border-radius: 999px; background: #fff; color: var(--bl-pink);
  font-family: 'Montserrat', system-ui, sans-serif; font-weight: 700; font-size: 13px; padding: 7px 14px; cursor: pointer;
}
.bl-banner__chip:active { transform: scale(0.95); }
.bl-banner__chip--muted { border-color: var(--bl-sand-border); color: var(--bl-sand-dark); }
/* 09/09/2026 : créneau retenu (confirmé) — rose plein. « Je verrai » (provisoire) ne pose jamais cet état. */
.bl-banner__chip.is-selected { background: var(--bl-pink); color: #fff; border-color: var(--bl-pink); }
.bl-banner__hint { display: inline-block; font-weight: 600; color: var(--bl-sand-dark); font-size: 12px; }

/* Picker de lien interne Ctrl+K (B3 préprod, 15/09/2026) — admin uniquement (IP-gated côté PHP,
   le JS qui l'ouvre n'est câblé que sur les champs data-link-picker="true"). */
.bl-linkpicker-overlay {
  display: none; position: fixed; inset: 0; background: rgba(35, 31, 32, 0.45);
  z-index: 500; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px;
}
.bl-linkpicker-overlay.is-open { display: flex; }
.bl-linkpicker {
  background: #fff; border-radius: 16px; width: 100%; max-width: 420px; max-height: 70vh;
  padding: 16px; position: relative; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.bl-linkpicker__close {
  position: absolute; top: 10px; right: 10px; border: none; background: none;
  font-size: 16px; color: var(--bl-sand-dark); cursor: pointer; padding: 4px;
}
.bl-linkpicker__search, .bl-linkpicker__url {
  width: 100%; box-sizing: border-box; border: 1.5px solid var(--bl-sand-border); border-radius: 10px;
  padding: 10px 12px; font-size: var(--fs-body-sm); font-family: inherit;
}
.bl-linkpicker__results { overflow-y: auto; flex: 1 1 auto; min-height: 80px; }
.bl-linkpicker__group {
  font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--bl-sand-dark); margin: 10px 0 4px; padding: 0 2px;
}
.bl-linkpicker__group:first-child { margin-top: 0; }
.bl-linkpicker__item {
  display: block; width: 100%; text-align: left; border: none; background: none;
  padding: 8px; border-radius: 8px; font-size: var(--fs-body-sm); color: var(--bl-ink); cursor: pointer;
}
.bl-linkpicker__item:hover, .bl-linkpicker__item:active { background: rgba(233, 30, 99, 0.08); }
.bl-linkpicker__loading { color: var(--bl-sand-dark); font-size: var(--fs-body-sm); padding: 8px; }
.bl-linkpicker__external { display: flex; gap: 8px; border-top: 1px solid var(--bl-sand-border); padding-top: 10px; }
.bl-linkpicker__external .bl-linkpicker__url { flex: 1 1 auto; }
.bl-linkpicker__go {
  flex: 0 0 auto; border: none; border-radius: 10px; background: var(--bl-pink); color: #fff;
  font-weight: 700; font-size: var(--fs-body-sm); padding: 0 14px; cursor: pointer;
}

/* Bouton "🔗 Lien" injecté en JS après chaque champ richtext data-link-picker="true"
   (B3 préprod, 15/09/2026 — remplace Ctrl+K, réservé navigateur, cf. app.js). */
.bl-linkbtn {
  display: inline-flex; align-items: center; gap: 4px; margin: 6px 0 0;
  border: 1.5px solid var(--bl-pink); border-radius: 999px; background: #fff; color: var(--bl-pink);
  font-family: 'Montserrat', system-ui, sans-serif; font-weight: 700; font-size: 12px;
  padding: 5px 12px; cursor: pointer;
}
.bl-linkbtn:active { transform: scale(0.96); }
.bl-banner__note { margin: 8px 0 0 !important; font-size: 12.5px !important; color: var(--bl-sand-dark); }
