/* Le secteur (16/10/2026) — maquettes « Secteur — v12 » (ordinateur) et « Secteur — téléphone — v12 ». Chargée après
   accueil.css (socle dbh-…) sur la page /secteur/ (section dbh-page-secteur). Tout est préfixé dbh-sc. Mode clair. */

.dbh-sc { --sc-pale: #FBFBFA; --sc-filet: #ECEDEE; --sc-filet2: #D5D8DB; }

/* ── 1. Scène : carte (avec le titre posé dessus) à gauche, fiche à droite ───────────────────────────────────── */
.dbh-s.dbh-sc-carte { border-bottom: 1px solid var(--sc-filet); }
.dbh-s.dbh-sc-carte .uk-container { max-width: none; padding: 0; }
.dbh-s.dbh-sc-carte .uk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; margin: 0; }
.dbh-s.dbh-sc-carte .uk-grid > * { width: auto; max-width: none; min-width: 0; padding: 0; margin: 0 !important; }
.dbh-s.dbh-sc-carte .uk-grid > .dbh-sc-col-titre { grid-area: 1 / 1; position: relative; z-index: 4; align-self: start; max-width: 640px; padding: 20px 48px 0; pointer-events: none; }
.dbh-s.dbh-sc-carte .uk-grid > .dbh-sc-col-carte { grid-area: 1 / 1; }
.dbh-s.dbh-sc-carte .uk-grid > .dbh-sc-col-fiche { grid-area: 1 / 2; border-left: 1px solid var(--sc-filet); background: #fff; }
.dbh-sc-col-titre a { pointer-events: auto; }
.dbh-s.dbh-sc-carte .dbh-k, .dbh-s.dbh-sc-carte .dbh-k p { margin-bottom: 10px; }
.dbh-s.dbh-sc-carte .dbh-t, .dbh-s.dbh-sc-carte h1.dbh-t, .dbh-s.dbh-sc-carte .dbh-t :where(h1) { font-size: 50px; max-width: 600px; margin-bottom: 14px; }
.dbh-s.dbh-sc-carte .dbh-sc-chapo, .dbh-s.dbh-sc-carte .dbh-sc-chapo p { margin-top: 0 !important; max-width: 470px; font-size: 17px; line-height: 1.55; }
.dbh-s.dbh-sc-carte .dbh-html { margin: 0 !important; }

/* Carte dessinée */
.dbh-sc-plan { position: relative; aspect-ratio: 1000 / 820; overflow: hidden; background: var(--sc-pale); }
.dbh-sc-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.dbh-sc-svg-m { display: none; }
.dbh-sc-trace path { stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: dbh-sc-trace 3.2s .3s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes dbh-sc-trace { to { stroke-dashoffset: 0; } }
.dbh-sc-legende { position: absolute; left: 48px; bottom: 18px; z-index: 2; margin: 0; font-size: 12px; color: #8A9096; }

.dbh-sc-pin { position: absolute; left: var(--x); top: var(--y); z-index: 2; display: flex; align-items: center; gap: 8px; margin: -13px 0 0 -13px; padding: 6px; background: none; border: 0; cursor: pointer; font-family: inherit; color: #33383C; -webkit-tap-highlight-color: transparent; }
.dbh-sc-pin .pt { position: relative; flex: none; width: 14px; height: 14px; display: flex; align-items: center; justify-content: center; }
.dbh-sc-pin .pt::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8A9096; box-shadow: 0 0 0 2px #fff; transition: background .3s, transform .35s var(--dbh-doux); }
.dbh-sc-pin .lb { position: absolute; white-space: nowrap; font-size: 13px; font-weight: 600; letter-spacing: -.005em; text-shadow: 0 0 4px #FBFBFA, 0 0 4px #FBFBFA, 0 0 2px #FBFBFA; transition: color .3s, font-size .3s; pointer-events: none; }
.dbh-sc-pin.c-d .lb { left: 30px; top: 50%; transform: translateY(-50%); }
.dbh-sc-pin.c-g .lb { right: 30px; top: 50%; transform: translateY(-50%); }
.dbh-sc-pin.c-b .lb { left: 50%; top: 28px; transform: translateX(-50%); }
.dbh-sc-pin.c-h .lb { left: 50%; bottom: 28px; transform: translateX(-50%); }
.dbh-sc-pin:hover .pt::before { background: var(--dbh-action); transform: scale(1.25); }
.dbh-sc-pin:hover .lb { color: var(--dbh-encre); }
.dbh-sc-pin:focus-visible, .dbh-sc :focus-visible { outline: 2px solid var(--dbh-action); outline-offset: 3px; }
.dbh-sc-pin.centre .pt::before { background: var(--dbh-encre); }
.dbh-sc-pin.is-on { z-index: 3; }
.dbh-sc-pin.is-on .pt::before { width: 12px; height: 12px; background: var(--dbh-action); box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(159,68,39,.35); }
.dbh-sc-pin.is-on .pt::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 1px solid var(--dbh-action); animation: dbh-sc-onde 2.4s var(--dbh-doux) infinite; }
.dbh-sc-pin.is-on .lb { font-family: var(--dbh-titre); font-weight: 400; font-size: 21px; letter-spacing: -.02em; color: var(--dbh-encre); }
@keyframes dbh-sc-onde { from { transform: scale(1); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }

/* Bande de communes : vignettes (ordinateur), noms (téléphone) */
.dbh-sc-bande-zone { padding: 26px 40px 30px 48px; border-top: 1px solid var(--sc-filet); background: #fff; }
.dbh-sc-bande-tete { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.dbh-sc-bande-tete .tt { margin: 0; font-size: 15px; font-weight: 700; color: var(--dbh-encre); }
.dbh-sc-bande-tete .st { margin: 0; font-size: 13px; color: var(--dbh-gris); }
.dbh-sc-bande-tete .st .m { display: none; }
.dbh-sc-navs { display: flex; gap: 8px; flex: none; }
.dbh-sc-nav { flex: none; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0; background: #fff; border: 1px solid var(--sc-filet2); border-radius: 4px; color: var(--dbh-action); cursor: pointer; font-family: inherit; font-size: 16px; transition: background .3s, color .3s, border-color .3s; }
.dbh-sc-nav:hover { background: var(--dbh-action); border-color: var(--dbh-action); color: #fff; }
.dbh-sc-nav[aria-disabled="true"] { opacity: .35; cursor: default; }
.dbh-sc-nav[aria-disabled="true"]:hover { background: #fff; border-color: var(--sc-filet2); color: var(--dbh-action); }
.dbh-sc-bande, .dbh-sc-puces { position: relative; display: flex; gap: 20px; margin: 0; padding: 4px 4px 18px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--sc-filet2) transparent; }
.dbh-sc-bande > li, .dbh-sc-puces > li { flex: none; scroll-snap-align: start; margin: 0; }
.dbh-sc-puces { display: none; }
.dbh-sc-vg { display: block; width: 204px; padding: 0; background: none; border: 0; cursor: pointer; font-family: inherit; text-align: left; color: #33383C; }
.dbh-sc-vg .ph { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 4px; background: var(--sc-filet); }
.dbh-sc-vg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--dbh-doux), filter .4s; }
.dbh-sc-vg:not(.is-on) img { filter: saturate(.75); }
.dbh-sc-vg:hover img { transform: scale(1.06); }
.dbh-sc-vg .ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--dbh-action); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--dbh-doux); }
.dbh-sc-vg.is-on .ph { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--dbh-action); }
.dbh-sc-vg.is-on .ph::after { transform: scaleX(1); }
.dbh-sc-vg .nm { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; color: var(--dbh-encre); }
.dbh-sc-vg .dp { display: block; font-size: 13px; color: var(--dbh-gris); }
.dbh-sc-vg.is-on .nm, .dbh-sc-vg:hover .nm { color: var(--dbh-action); }
.dbh-sc-puce { min-height: 44px; padding: 0 14px; background: #fff; border: 1px solid var(--sc-filet2); border-radius: 4px; font-family: inherit; font-size: 14px; font-weight: 600; color: #33383C; white-space: nowrap; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.dbh-sc-puce:hover { border-color: var(--dbh-action); color: var(--dbh-action); }
.dbh-sc-puce.is-on { background: var(--dbh-action); border-color: var(--dbh-action); color: #fff; }

/* Fiche de la commune */
.dbh-sc-fiche { padding: 28px 32px 32px; font-size: 16px; line-height: 1.6; }
.dbh-sc-panneau:not(.is-on) { display: none; }
.dbh-sc-panneau.is-on .dbh-sc-corps { animation: dbh-sc-glisse .6s var(--dbh-doux) both; }
.dbh-sc-panneau.is-on .dbh-sc-photo img { animation: dbh-sc-fondu .7s ease both; }
@keyframes dbh-sc-glisse { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes dbh-sc-fondu { from { opacity: 0; } to { opacity: 1; } }
.dbh-sc-etiq { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 5px 12px; background: #fff; border: 1px solid #E1E5EA; border-radius: 4px; font-size: 13px; font-weight: 500; color: #33383C; }
.dbh-sc-etiq i { width: 7px; height: 7px; border-radius: 50%; background: var(--dbh-action); }
.dbh-sc-photo, .dbh-sc-cadre { position: relative; overflow: hidden; border-radius: 4px; background: var(--sc-filet); }
.dbh-sc-photo { aspect-ratio: 2 / 1; margin-bottom: 6px; }
.dbh-sc-photo img, .dbh-sc-cadre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dbh-sc-photo::after, .dbh-sc-cadre::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.85); border-radius: 2px; pointer-events: none; }
.dbh-sc-credit { margin: 0 0 20px; font-size: 12px; color: #8A9096; }
.dbh-sc-nom { margin: 0 0 6px; font-family: var(--dbh-titre); font-weight: 360; font-size: 38px; line-height: 1.06; letter-spacing: -.02em; color: var(--dbh-encre); text-transform: none; }
.dbh-sc-dist { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 14px; color: var(--dbh-gris); }
.dbh-sc-dist svg { flex: none; }
.dbh-sc-texte { margin: 0 0 6px; font-size: 16px; line-height: 1.6; color: #33383C; }
.dbh-sc-bloc { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--dbh-encre); }
.dbh-sc-bloc-tete { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.dbh-sc-bloc-tete .tt, .dbh-sc-seo-prix .tt { margin: 0; font-size: 13px; font-weight: 700; color: var(--dbh-encre); }
.dbh-sc-bloc-tete .st { margin: 0; font-size: 12px; color: var(--dbh-gris); }
.dbh-sc-med { margin: 0 0 2px; font-family: var(--dbh-titre); font-weight: 300; font-size: 40px; line-height: 1.06; letter-spacing: -.02em; color: var(--dbh-encre); }
.dbh-sc-med-lib { margin: 2px 0 4px; font-size: 12.5px; line-height: 1.45; color: var(--dbh-gris); }
.dbh-sc-med-per { margin: 0 0 14px; font-size: 12.5px; font-weight: 600; color: var(--dbh-encre); }
.dbh-sc-jauge { position: relative; height: 22px; margin-bottom: 4px; }
.dbh-sc-jauge i { position: absolute; display: block; }
.dbh-sc-jauge .fond { left: 0; right: 0; top: 10px; height: 2px; background: var(--sc-filet); }
.dbh-sc-jauge .plage { top: 6px; height: 10px; background: rgba(159,68,39,.22); border-radius: 4px; }
.dbh-sc-jauge .mediane { top: 0; height: 22px; width: 2px; background: var(--dbh-action); }
.dbh-sc-fourchette { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 16px; font-size: 13px; color: #33383C; }
.dbh-sc-fourchette b { font-weight: 600; color: var(--dbh-encre); text-align: right; }
.dbh-sc-petits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--sc-filet); }
.dbh-sc-petits div { padding: 12px 8px 0 0; }
.dbh-sc-petits b { display: block; font-size: 18px; font-weight: 600; line-height: 1.2; color: var(--dbh-encre); }
.dbh-sc-petits span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.35; color: var(--dbh-gris); }
/* Repères chiffrés : icône aquarelle au-dessus de chaque valeur (17/10/2026) */
.dbh-sc-petits .dbh-ico { display: block; width: 40px; height: 40px; margin: 0 0 4px -4px; }
.dbh-sc-source { margin: 12px 0 0; font-size: 12px; line-height: 1.45; color: #8A9096; }
.dbh-sc-sans { margin: 0; font-size: 15px; line-height: 1.55; color: var(--dbh-gris); }
.dbh-sc-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 0; padding: 0; list-style: none; }
.dbh-sc-types .ty { margin: 0; padding: 12px 0 10px; border-bottom: 1px solid var(--sc-filet); }
.dbh-sc-types svg { display: block; width: 52px; height: 38px; margin-bottom: 6px; flex: none; }
.dbh-sc-types p { margin: 0; min-width: 0; }
.dbh-sc-types b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--dbh-encre); }
.dbh-sc-types span { display: block; font-size: 13px; line-height: 1.45; color: var(--dbh-gris); }
.dbh-sc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }
.dbh-sc-actions .dbh-lien { font-size: 15px; }

/* ── 2. L'immobilier à X ──────────────────────────────────────────────────────────────────────────────────────── */
.dbh-s.dbh-sc-commune { border-bottom: 1px solid var(--sc-filet); }
.dbh-sc-seo:not(.is-on) { display: none; }
.dbh-sc-seo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: start; animation: dbh-sc-glisse .6s var(--dbh-doux) both; }
.dbh-sc-seo-titre { margin: 0 0 26px; font-family: var(--dbh-titre); font-weight: 360; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.06; letter-spacing: -.02em; color: var(--dbh-encre); text-transform: none; }
.dbh-sc-seo-texte p:not(.dbh-k) { margin: 0 0 16px; max-width: 720px; font-size: 17px; line-height: 1.65; color: #33383C; }
.dbh-sc-suite { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0; background: none; border: 0; font-family: inherit; font-size: 16px; font-weight: 600; color: var(--dbh-action); cursor: pointer; }
.dbh-sc-seo-prix { border-left: 1px solid var(--sc-filet2); padding-left: 36px; }
.dbh-sc-seo-prix .tt { margin-bottom: 10px; }
.dbh-sc-seo-prix ul { margin: 0 0 18px; padding: 0; list-style: none; }
.dbh-sc-seo-prix li { position: relative; margin: 0 0 8px; padding-left: 17px; font-size: 16px; line-height: 1.55; color: #33383C; }
.dbh-sc-seo-prix li::before { content: ""; position: absolute; left: 0; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--dbh-action); }
.dbh-sc-seo-prix .dbh-lien { font-size: 15px; }

/* ── 3. Les communes, cercle par cercle ───────────────────────────────────────────────────────────────────────── */
.dbh-sc-cercles-s .dbh-sc-tete { align-items: start; margin-bottom: 28px; }
.dbh-sc-legende-pages { font-size: 15px !important; color: var(--dbh-gris) !important; }
.dbh-sc-legende-pages span { color: var(--dbh-action); white-space: nowrap; }
.dbh-sc-cercles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.dbh-sc-cercle summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: default; color: var(--dbh-encre); }
.dbh-sc-cercle summary::-webkit-details-marker, .dbh-sc-lect summary::-webkit-details-marker { display: none; }
.dbh-sc-cercle .nm { display: block; margin-bottom: 4px; font-family: var(--dbh-titre); font-weight: 360; font-size: 26px; line-height: 1.2; letter-spacing: -.02em; }
.dbh-sc-cercle .ss { display: block; margin-bottom: 14px; font-size: 14px; color: var(--dbh-gris); }
.dbh-sc-cercle .ch, .dbh-sc-lect .ch { display: none; flex: none; width: 30px; height: 30px; align-items: center; justify-content: center; border: 1px solid var(--sc-filet2); border-radius: 4px; color: var(--dbh-action); transition: transform .35s, background .3s; }
.dbh-sc-liste { border-top: 1px solid var(--dbh-encre); }
.dbh-sc-cm { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--sc-filet); font-size: 16px; color: #33383C; text-decoration: none !important; transition: color .3s, padding .35s; }
.dbh-sc-cm:hover { color: var(--dbh-action); padding-left: 6px; }
.dbh-sc-cm .pg { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--dbh-gris); }
.dbh-sc-cm .pg i { width: 7px; height: 7px; border-radius: 50%; background: var(--dbh-action); box-sizing: border-box; }
.dbh-sc-cm .pg i.nv { background: none; border: 1.5px solid var(--dbh-action); }
.dbh-sc-cm .fl { color: var(--dbh-action); opacity: 0; transition: opacity .3s; }
.dbh-sc-cm:hover .fl, .dbh-sc-cm.on .fl { opacity: 1; }
.dbh-sc-cm.on { color: var(--dbh-action); font-weight: 600; }
.dbh-sc-ailleurs { margin-top: 34px; font-size: 25px; transform: rotate(-2deg); }
.dbh-sc-ailleurs-m, .dbh-sc-tel { display: none; }

/* ── 4. Ce qui fait le prix : croquis et repères ──────────────────────────────────────────────────────────────── */
.dbh-sc-croquis-zone { max-width: 1100px; margin: 0 auto; }
.dbh-sc-croquis { display: block; width: 100%; }
.dbh-sc-croquis .rep { cursor: pointer; }
.dbh-sc-croquis .rep .clic { fill: transparent; stroke: none; }
.dbh-sc-croquis .rep .num { transform-box: fill-box; transform-origin: center; }
.dbh-sc-croquis .rep .num circle { fill: #fff; stroke: var(--dbh-action); transition: fill .3s; }
.dbh-sc-croquis .rep text { fill: var(--dbh-action); pointer-events: none; transition: fill .3s; }
.dbh-sc-croquis .rep .fil { fill: none; stroke: var(--dbh-action); stroke-width: 1; stroke-dasharray: 2 3; opacity: .55; transition: opacity .3s; }
.dbh-sc-croquis .rep .cible { fill: var(--dbh-action); stroke: none; }
.dbh-sc-croquis .rep.on .num circle { fill: var(--dbh-action); }
.dbh-sc-croquis .rep.on text { fill: #fff; }
.dbh-sc-croquis .rep.on .fil { opacity: 1; stroke-dasharray: none; }
.dbh-sc-fx-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 48px; margin: 36px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--dbh-encre); }
.dbh-sc-fx-rail > li { margin: 0; }
.dbh-sc-fx { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; width: 100%; height: 100%; padding: 22px 0; background: none; border: 0; border-bottom: 1px solid var(--sc-filet2); font-family: inherit; font-size: 16px; line-height: 1.55; color: #33383C; text-align: left; cursor: pointer; }
.dbh-sc-fx .nb { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--dbh-action); border-radius: 50%; background: #fff; font-size: 12px; font-weight: 700; color: var(--dbh-action); transition: background .3s, color .3s; }
.dbh-sc-fx:hover .nb, .dbh-sc-fx.on .nb { background: var(--dbh-action); color: #fff; }
.dbh-sc-fx .tx b { display: block; margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--dbh-encre); transition: color .3s; }
.dbh-sc-fx .tx span { display: block; }
.dbh-sc-fx.on .tx b { color: var(--dbh-action); }
.dbh-sc-fx-nav { display: none; }
.dbh-sc-note-source { margin: 22px 0 0; max-width: 820px; font-size: 13px; line-height: 1.5; color: var(--dbh-gris); }

/* ── 5. D'où viennent les chiffres, et contact ────────────────────────────────────────────────────────────────── */
.dbh-s.dbh-sc-contact .uk-grid { align-items: start; }
@media (min-width: 960px) {
  .dbh-s.dbh-sc-contact .uk-grid > .dbh-sc-col-chiffres { width: 54%; padding-right: 48px; }
  .dbh-s.dbh-sc-contact .uk-grid > .dbh-sc-col-contact { width: 46%; }
}
.dbh-sc-contact .dbh-t { font-size: clamp(30px, 2.8vw, 40px); }
.dbh-s .dbh-sc-petit, .dbh-s .dbh-sc-petit :where(h2), .dbh-s h2.dbh-sc-petit { font-size: 34px; }
.dbh-sc-lectures { margin-top: 30px; border-top: 1px solid var(--dbh-encre); }
.dbh-sc-lect { display: flow-root; padding: 20px 0; border-bottom: 1px solid var(--sc-filet2); }
.dbh-sc-lect summary { float: left; width: 200px; list-style: none; cursor: default; font-size: 16px; font-weight: 700; color: var(--dbh-encre); }
.dbh-sc-lect p { margin: 0 0 0 224px; font-size: 16px; color: #33383C; }
.dbh-sc-photo-contact { position: relative; margin-bottom: 34px; }
.dbh-sc-cadre { aspect-ratio: 5 / 4; box-shadow: 0 30px 60px rgba(23,25,27,.14); }
.dbh-sc-photo-contact .dbh-note { position: absolute; right: 24px; top: 24px; z-index: 1; font-size: 28px; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.5); text-align: right; }
.dbh-s.dbh-sc-contact .uk-button-text { min-height: 54px; padding: 0; background: none; border: 0; color: var(--dbh-action); }
.dbh-s.dbh-sc-contact .uk-button-text::before { display: none; }
.dbh-s.dbh-sc-contact .uk-button-text::after { content: "→"; transition: transform .35s var(--dbh-doux); }
.dbh-s.dbh-sc-contact .uk-button-text:hover { color: var(--dbh-action-survol); }
.dbh-s.dbh-sc-contact .uk-button-text:hover::after { transform: translateX(5px); }

/* ── Téléphone et tablette : maquette « Secteur — téléphone — v12 » ───────────────────────────────────────────── */
@media (max-width: 959px) {
  .dbh-s.dbh-sc .uk-container { padding-left: 20px; padding-right: 20px; }
  .dbh-s.dbh-sc:not(.dbh-sc-carte) .uk-container { padding-top: 36px; padding-bottom: 32px; }
  .dbh-s.dbh-sc-carte .uk-container { padding: 0; }
  .dbh-s.dbh-sc-carte .uk-grid { display: block; }
  .dbh-s.dbh-sc-carte .uk-grid > .dbh-sc-col-titre { max-width: none; padding: 16px 20px 20px; pointer-events: auto; }
  .dbh-s.dbh-sc-carte .dbh-t, .dbh-s.dbh-sc-carte h1.dbh-t, .dbh-s.dbh-sc-carte .dbh-t :where(h1) { font-size: 38px; line-height: 1.08; margin-bottom: 12px; }
  .dbh-s.dbh-sc-carte .dbh-sc-chapo, .dbh-s.dbh-sc-carte .dbh-sc-chapo p { font-size: 16px; }
  .dbh-s.dbh-sc-carte .uk-grid > .dbh-sc-col-fiche { border-left: 0; background: none; }
  .dbh-sc-plan { aspect-ratio: 840 / 740; border-top: 1px solid var(--sc-filet); }
  .dbh-sc-svg-o, .dbh-sc-legende { display: none; }
  .dbh-sc-svg-m { display: block; }
  .dbh-sc-pin { left: var(--mx); top: var(--my); width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; justify-content: center; }
  .dbh-sc-pin .pt::before { width: 10px; height: 10px; }
  .dbh-sc-pin .lb { display: none; font-weight: 700; color: var(--dbh-encre); text-shadow: 0 0 4px #FBFBFA, 0 0 4px #FBFBFA, 0 0 3px #FBFBFA, 0 0 2px #FBFBFA; }
  .dbh-sc-pin.vis .lb, .dbh-sc-pin.is-on .lb { display: block; }
  .dbh-sc-pin.c-d .lb { left: 36px; }
  .dbh-sc-pin.c-g .lb { right: 36px; }
  .dbh-sc-pin.c-b .lb { top: 34px; }
  .dbh-sc-pin.c-h .lb { bottom: 34px; }
  .dbh-sc-pin.is-on .pt::before { width: 14px; height: 14px; }
  .dbh-sc-pin.is-on .lb { font-size: 17px; }
  .dbh-sc-pin.centre.is-on .pt::before { background: var(--dbh-action); }
  .dbh-sc-bande-zone { padding: 14px 0 46px; background: var(--sc-pale); }
  .dbh-sc-bande-tete { padding: 0 20px; margin-bottom: 10px; }
  .dbh-sc-bande-tete .st .o { display: none; }
  .dbh-sc-bande-tete .st .m { display: inline; }
  .dbh-sc-nav { border-radius: 4px; font-size: 17px; }
  .dbh-sc-bande { display: none; }
  .dbh-sc-puces { display: flex; gap: 8px; padding: 2px 20px 4px; scroll-padding: 0 20px; scrollbar-width: none; }
  .dbh-sc-puces::-webkit-scrollbar { display: none; }
  .dbh-sc-fiche { position: relative; z-index: 4; margin: -28px 12px 0; padding: 8px 8px 24px; background: #fff; border: 1px solid #E4E6E7; border-radius: 4px; box-shadow: 0 18px 40px rgba(23,25,27,.10); scroll-margin-top: 72px; }
  .dbh-sc-panneau.is-on { display: flex; flex-direction: column; }
  .dbh-sc-photo { order: 1; aspect-ratio: 16 / 10; border-radius: 4px; }
  .dbh-sc-photo::after { inset: 10px; }
  .dbh-sc-credit { order: 2; margin: 6px 12px 16px; line-height: 1.4; }
  .dbh-sc-etiq { order: 3; align-self: flex-start; margin: 0 12px 12px; padding: 4px 10px; }
  .dbh-sc-corps { order: 4; padding: 0 12px; }
  .dbh-sc-nom { font-size: 34px; line-height: 1.08; }
  .dbh-sc-dist { margin-bottom: 12px; }
  .dbh-sc-texte { margin-bottom: 4px; }
  .dbh-sc-bloc { margin-top: 20px; padding-top: 16px; }
  .dbh-sc-med { font-size: 42px; margin-bottom: 0; }
  .dbh-sc-med-lib { margin-bottom: 12px; }
  .dbh-sc-petits b { font-size: 17px; }
  .dbh-sc-types { display: flex; gap: 12px; margin: 0 -20px; padding: 2px 20px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; }
  .dbh-sc-types::-webkit-scrollbar { display: none; }
  .dbh-sc-types .ty { flex: none; width: 85%; box-sizing: border-box; display: flex; gap: 12px; align-items: center; padding: 12px 14px; scroll-snap-align: start; border: 1px solid #E4E6E7; border-radius: 4px; background: #fff; }
  .dbh-sc-types svg { margin: 0; }
  .dbh-sc-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 22px; }
  .dbh-sc-actions .dbh-bouton { justify-content: center; font-size: 16px; }
  .dbh-sc-actions .dbh-sc-second { justify-content: center; min-height: 54px; padding: 0 24px; background: #fff; border: 1px solid var(--dbh-encre); border-radius: 4px; color: var(--dbh-encre); font-size: 16px; transition: background .3s, color .3s; }
  .dbh-sc-actions .dbh-sc-second:hover { background: var(--dbh-encre); color: #fff; }

  .dbh-sc-seo { display: block; }
  .dbh-sc-seo-titre { font-size: 32px; margin-bottom: 18px; }
  .dbh-sc-seo-texte p:not(.dbh-k) { margin-bottom: 12px; font-size: 16px; line-height: 1.6; }
  .dbh-sc-seo:not(.ouvert) .suite { display: none; }
  .dbh-sc-suite { display: inline-flex; }
  .dbh-sc-seo-prix { margin-top: 22px; padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--dbh-encre); }
  .dbh-sc-seo-prix li { line-height: 1.5; }

  .dbh-sc-cercles-s .dbh-sc-tete { margin-bottom: 18px; }
  .dbh-sc-cercles { display: block; border-top: 1px solid var(--dbh-encre); }
  .dbh-sc-cercle summary { min-height: 64px; padding: 12px 0; border-bottom: 1px solid var(--sc-filet2); cursor: pointer; }
  .dbh-sc-cercle .nm { margin: 0; font-size: 22px; }
  .dbh-sc-cercle .ss { margin: 0; font-size: 13px; }
  .dbh-sc-cercle .ch, .dbh-sc-lect .ch { display: flex; }
  .dbh-sc-cercle[open] .ch, .dbh-sc-lect[open] .ch { transform: rotate(180deg); background: var(--dbh-mineral); }
  .dbh-sc-liste { border-top: 0; }
  .dbh-sc-cm { align-items: center; min-height: 50px; padding: 0; }
  .dbh-sc-cm:hover { padding-left: 0; }
  .dbh-sc-cm .pg { gap: 7px; font-size: 13px; }
  .dbh-sc-cm .fl { opacity: 1; }
  .dbh-sc-cm.on .pg { color: var(--dbh-action); }
  .dbh-sc-ailleurs { display: none; }
  .dbh-sc-ailleurs-m { display: block; margin: 28px 0 4px; font-size: 25px; transform: rotate(-2deg); transform-origin: left center; }
  .dbh-sc-tel { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--dbh-action) !important; font-weight: 700; font-size: 16px; text-decoration: none !important; white-space: nowrap; }

  .dbh-sc-croquis-zone { margin: 0 -20px; }
  .dbh-sc-croquis .cartouche { display: none; }
  .dbh-sc-croquis .trait { stroke-width: 1.6; }
  .dbh-sc-croquis .rep .num { transform: scale(1.75); }
  .dbh-sc-croquis .rep .fil { stroke-width: 1.4; }
  .dbh-sc-fx-rail { display: flex; gap: 12px; margin: 16px -20px 0; padding: 4px 20px 8px; border-top: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; }
  .dbh-sc-fx-rail::-webkit-scrollbar { display: none; }
  .dbh-sc-fx-rail::after { content: ""; flex: none; width: 8px; }
  .dbh-sc-fx-rail > li { flex: none; width: 85%; scroll-snap-align: start; }
  .dbh-sc-fx { grid-template-columns: 32px minmax(0, 1fr); box-sizing: border-box; padding: 18px 18px 20px; background: #fff; border: 1px solid var(--sc-filet2); border-radius: 4px; transition: border-color .3s, box-shadow .3s; }
  .dbh-sc-fx .nb { width: 30px; height: 30px; font-size: 13px; }
  .dbh-sc-fx .tx b { margin: 3px 0 4px; font-size: 17px; }
  .dbh-sc-fx.on { border-color: var(--dbh-action); box-shadow: 0 0 0 1px var(--dbh-action); }
  .dbh-sc-fx-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
  .dbh-sc-pts { display: flex; gap: 6px; }
  .dbh-sc-pts i { width: 6px; height: 6px; border-radius: 50%; background: #C4C8CC; transition: background .3s, width .3s; }
  .dbh-sc-pts i.on { width: 18px; border-radius: 4px; background: var(--dbh-action); }
  .dbh-sc-note-source { margin-top: 18px; }

  .dbh-sc-contact .dbh-t { font-size: 30px; }
  .dbh-sc-lectures { margin-top: 18px; }
  .dbh-sc-lect { padding: 0; }
  .dbh-sc-lect summary { float: none; width: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; cursor: pointer; font-size: 17px; }
  .dbh-sc-lect[open] summary { border-bottom: 0; }
  .dbh-sc-lect p { margin: 0; padding: 0 0 16px; }
  .dbh-s.dbh-sc-contact .uk-grid > .dbh-sc-col-contact { margin-top: 32px !important; }
  .dbh-sc-cadre { aspect-ratio: 4 / 3; box-shadow: 0 20px 44px rgba(23,25,27,.14); }
  .dbh-sc-photo-contact { margin-bottom: 26px; }
  .dbh-sc-photo-contact .dbh-note { right: 22px; top: 20px; font-size: 26px; }
  .dbh-s .dbh-sc-petit, .dbh-s .dbh-sc-petit :where(h2), .dbh-s h2.dbh-sc-petit { font-size: 32px; }
  .dbh-s.dbh-sc-contact .uk-flex { flex-direction: column; align-items: stretch; gap: 10px; }
  .dbh-s.dbh-sc-contact .uk-flex > * { margin-left: 0 !important; width: 100%; }
  .dbh-s.dbh-sc-contact .uk-button { width: 100%; justify-content: center; font-size: 16px; }
  .dbh-s.dbh-sc-contact .uk-button-text { padding: 0 24px; background: #fff; border: 1px solid var(--dbh-encre); color: var(--dbh-encre); }
  .dbh-s.dbh-sc-contact .uk-button-text:hover { background: var(--dbh-encre); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  .dbh-sc-trace path { animation: none !important; stroke-dashoffset: 0; }
  .dbh-sc-pin.is-on .pt::after { animation: none !important; opacity: 0; }
  .dbh-sc-bande, .dbh-sc-puces, .dbh-sc-fx-rail { scroll-behavior: auto; }
}

/* Photo annotée (29/10/2026) : les repères restent lisibles sur l'image (rond blanc, fil blanc ombré, arrondi 4 px) */
.dbh-sc-photo-reperes { border-radius: 4px; overflow: hidden; }
.dbh-sc-photo-reperes .rep .num circle { fill: #fff; stroke: var(--dbh-action); stroke-width: 2.5; filter: drop-shadow(0 2px 6px rgba(23, 25, 27, .35)); }
.dbh-sc-photo-reperes .rep .fil { stroke: #fff; stroke-width: 2.2; stroke-dasharray: 5 6; opacity: .9; filter: drop-shadow(0 1px 2px rgba(23, 25, 27, .5)); }
.dbh-sc-photo-reperes .rep .cible { fill: #fff; stroke: var(--dbh-action); stroke-width: 2.5; }
.dbh-sc-photo-reperes .rep.on .fil { opacity: 1; stroke-dasharray: none; }
@media (max-width: 639px) {
  .dbh-sc-croquis.dbh-sc-photo-reperes .rep .num { transform: scale(1.9); }
  .dbh-sc-croquis.dbh-sc-photo-reperes .rep .fil { stroke-width: 3; }
}

/* Carte ancienne (Cassini ou état-major, 29/10/2026) : noms des communes sur une étiquette claire, lisibles sur le fond */
.dbh-sc-ancienne .dbh-sc-pin .lb { padding: 1px 6px; background: rgba(251, 251, 250, .9); border-radius: 4px; text-shadow: none; box-shadow: 0 1px 3px rgba(23, 25, 27, .12); }
.dbh-sc-ancienne .dbh-sc-pin .pt::before { background: #33383C; }
.dbh-sc-ancienne .dbh-sc-pin.is-on .pt::before { background: var(--dbh-action); }
.dbh-sc-ancienne .dbh-sc-legende { padding: 2px 8px; background: rgba(251, 251, 250, .9); border-radius: 4px; color: #5B6470; }
/* Téléphone : la source de la carte ancienne reste mentionnée, en petit */
@media (max-width: 959px) { .dbh-sc-plan.dbh-sc-ancienne .dbh-sc-legende { display: block; left: 8px; bottom: 8px; font-size: 10px; } }
/* Carte ancienne adoucie (29/10/2026) : couleurs atténuées sous le voile clair, pour que les communes ressortent */
.dbh-sc-ancienne .dbh-sc-fond { filter: saturate(.45) contrast(.85) sepia(.15); }

/* Photo et repères côte à côte sur ordinateur (29/10/2026) : la liste à droite tient dans la hauteur de la photo ;
   seul le repère choisi déplie son texte. Téléphone : inchangé (photo, puis cartes à faire défiler). */
@media (min-width: 960px) {
  .dbh-sc-prix-duo { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 8px; }
  .dbh-sc-prix-duo .dbh-sc-croquis-zone { max-width: none; margin: 0; }
  .dbh-sc-prix-duo .dbh-sc-fx-rail { display: block; margin: 0; border-top: 1px solid var(--dbh-encre); }
  .dbh-sc-prix-duo .dbh-sc-fx { height: auto; padding: 11px 0; align-items: start; }
  .dbh-sc-prix-duo .dbh-sc-fx .tx b { margin: 2px 0 0; }
  .dbh-sc-prix-duo .dbh-sc-fx .tx span { max-height: 0; overflow: hidden; opacity: 0; font-size: 15px; line-height: 1.5; transition: max-height .4s var(--dbh-doux, ease), opacity .3s, margin .3s; }
  .dbh-sc-prix-duo .dbh-sc-fx.on .tx span { max-height: 140px; opacity: 1; margin-top: 4px; }
}
@media (min-width: 960px) and (prefers-reduced-motion: reduce) { .dbh-sc-prix-duo .dbh-sc-fx .tx span { transition: none; } }

/* ── Une section = un écran sur ordinateur (règle de Vincent, 29/10/2026) ─────────────────────────────────────────
   1. Scène : la hauteur suit l'écran (moins l'en-tête). ≥ 1200 px : titre à gauche (plus posé sur la carte), carte au
   milieu dont la largeur découle de la hauteur disponible (les repères restent en place : même rapport 1000 × 820),
   fiche à droite qui défile seule si elle est plus haute. 960–1199 px : titre au-dessus de la carte, plus de chevauchement. */
@media (min-width: 960px) {
  .dbh-s.dbh-sc-carte { --sc-h: clamp(560px, calc(100svh - var(--dbh-haut, 140px)), 980px); --sc-bande: 244px; --sc-fiche: 400px; }
  .dbh-s.dbh-sc-carte .uk-grid { grid-template-columns: minmax(0, 1fr) var(--sc-fiche); }
  .dbh-s.dbh-sc-carte .uk-grid > .dbh-sc-col-titre { grid-area: 1 / 1; position: static; max-width: none; padding: 24px 40px 18px 48px; pointer-events: auto; }
  .dbh-s.dbh-sc-carte .uk-grid > .dbh-sc-col-carte { grid-area: 2 / 1; }
  .dbh-s.dbh-sc-carte .uk-grid > .dbh-sc-col-fiche { grid-area: 1 / 2 / 3 / 3; max-height: var(--sc-h); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #D5D8DB transparent; }
  .dbh-s.dbh-sc-carte .dbh-t, .dbh-s.dbh-sc-carte h1.dbh-t, .dbh-s.dbh-sc-carte .dbh-t :where(h1) { font-size: clamp(32px, 2.6vw, 46px); }
}
@media (min-width: 1200px) {
  .dbh-s.dbh-sc-carte .uk-grid { grid-template-columns: minmax(260px, 1fr) auto var(--sc-fiche); height: var(--sc-h); }
  .dbh-s.dbh-sc-carte .uk-grid > .dbh-sc-col-titre { grid-area: 1 / 1; align-self: center; padding: 24px 32px 24px 48px; }
  .dbh-s.dbh-sc-carte .uk-grid > .dbh-sc-col-carte { grid-area: 1 / 2; }
  .dbh-s.dbh-sc-carte .uk-grid > .dbh-sc-col-fiche { grid-area: 1 / 3; height: var(--sc-h); max-height: none; }
  .dbh-sc-plan { width: min(calc((var(--sc-h) - var(--sc-bande)) * 1000 / 820), calc(100vw - var(--sc-fiche) - 300px)); margin: 0; }
  .dbh-sc-scene { width: min(calc((var(--sc-h) - var(--sc-bande)) * 1000 / 820), calc(100vw - var(--sc-fiche) - 300px)); }
  .dbh-sc-plan .dbh-sc-legende { left: 12px; bottom: 10px; }
  /* bande des communes compacte : elle tient sous la carte, dans la hauteur de l'écran */
  .dbh-sc-bande-zone { height: var(--sc-bande); box-sizing: border-box; padding: 14px 24px 10px; }
  .dbh-sc-bande-tete { margin-bottom: 10px; }
  .dbh-sc-bande { gap: 14px; padding-bottom: 10px; }
  .dbh-sc-vg { width: 148px; }
  .dbh-sc-vg .nm { margin-top: 6px; font-size: 14px; }
  .dbh-sc-vg .dp { font-size: 12px; }
}

/* 3. Les communes en cercles : listes plus serrées et en-tête plus court, pour tenir dans un écran */
@media (min-width: 960px) {
  .dbh-s.dbh-sc-cercles-s .uk-container { padding-top: clamp(40px, 6vh, 64px); padding-bottom: clamp(40px, 6vh, 64px); }
  .dbh-sc-cercles-s .dbh-sc-tete { margin-bottom: 24px; }
  .dbh-sc-cercles-s .dbh-t, .dbh-sc-cercles-s h2.dbh-t, .dbh-sc-cercles-s .dbh-t :where(h2) { font-size: clamp(28px, 2.3vw, 36px); }
  .dbh-sc-cercle .nm { font-size: 22px; }
  .dbh-sc-cercle .ss { margin-bottom: 10px; }
  .dbh-sc-cm { padding: 8px 0; font-size: 15px; }
  .dbh-sc-ailleurs { margin-top: 22px; }
}

/* ══ Nouvelle première section (29/10/2026, structure validée par Vincent) ════════════════════════════════════════
   La carte devient le décor : titre et repères du territoire à gauche, carte au centre fondue sur les bords, fiche légère
   posée sur la carte à droite (photo, caractère, trois atouts, une action), communes en vignettes dessous. Les chiffres du
   marché restent sur la page de chaque commune. Téléphone : titre, sélecteur de communes, carte, fiche. */
.dbh-s.dbh-sc-carte { --sc-papier: #F3F2EE; background: var(--sc-papier); }
.dbh-sc-pays { display: flex; flex-wrap: wrap; gap: 14px 26px; margin: 22px 0 0; padding: 0; list-style: none; }
.dbh-sc-pays li { display: flex; flex-direction: column; gap: 6px; width: 104px; margin: 0; font-size: 12.5px; line-height: 1.35; color: #33383C; }
.dbh-sc-pays svg { width: 34px; height: 34px; fill: none; stroke: var(--dbh-action); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
/* Fiche légère */
.dbh-sc-fiche { padding: 14px 14px 18px; }
.dbh-sc-panneau .dbh-sc-photo { aspect-ratio: 2 / 1; margin-bottom: 12px; }
.dbh-sc-panneau .dbh-sc-corps { padding: 0 6px; }
.dbh-sc-nom { font-size: 30px; margin-bottom: 4px; }
.dbh-sc-trait { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--dbh-encre); }
.dbh-sc-trait span { display: block; margin-top: 1px; font-weight: 400; color: var(--dbh-gris); }
.dbh-sc-panneau .dbh-sc-texte { font-size: 14.5px; line-height: 1.55; margin-bottom: 12px; }
.dbh-sc-atouts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sc-filet); }
.dbh-sc-atouts li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 7px 0; border-bottom: 1px solid var(--sc-filet); font-size: 14px; line-height: 1.4; color: #33383C; }
.dbh-sc-atouts svg { flex: none; }
.dbh-sc-panneau .dbh-sc-actions { margin-top: 16px; }
.dbh-sc-panneau .dbh-sc-actions .dbh-bouton { box-sizing: border-box; width: 100%; max-width: 100%; justify-content: center; }
@media (min-width: 1200px) {
  .dbh-s.dbh-sc-carte { --sc-fiche: 340px; --sc-bande: 196px; }
  .dbh-s.dbh-sc-carte .uk-grid { grid-template-columns: minmax(360px, 1fr) auto calc(var(--sc-fiche) + 40px); }
  .dbh-s.dbh-sc-carte .uk-grid > .dbh-sc-col-titre { padding: 24px 24px 24px 56px; }
  .dbh-s.dbh-sc-carte .uk-grid > .dbh-sc-col-fiche { grid-area: 1 / 3; align-self: start; position: relative; z-index: 5; width: var(--sc-fiche); height: auto; max-height: calc(var(--sc-h) - 36px);
    margin: 20px 24px 0 16px !important; overflow-y: auto; background: #fff; border: 1px solid #E4E6E7; border-left: 1px solid #E4E6E7; border-radius: 4px; box-shadow: 0 18px 44px rgba(23,25,27,.12); }
  .dbh-sc-plan { width: min(calc((var(--sc-h) - var(--sc-bande)) * 1000 / 820), calc(100vw - 600px)); }
  /* seul le fond de carte se fond sur les bords ; les repères des communes restent nets */
  .dbh-sc-plan > svg { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 94%, transparent); }
  .dbh-sc-scene { width: min(calc((var(--sc-h) - var(--sc-bande)) * 1000 / 820), calc(100vw - 600px)); }
  .dbh-sc-bande-zone { background: transparent; padding: 10px 0 10px; }
  .dbh-sc-vg { width: 132px; }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .dbh-s.dbh-sc-carte .uk-grid > .dbh-sc-col-fiche { margin: 16px 16px 16px 0 !important; align-self: start; background: #fff; border: 1px solid #E4E6E7; border-radius: 4px; box-shadow: 0 14px 34px rgba(23,25,27,.10); }
}
@media (max-width: 959px) {
  .dbh-sc-pays { gap: 10px 18px; margin-top: 16px; }
  .dbh-sc-pays li { width: auto; flex: 1 1 0; }
  /* titre, sélecteur de communes, carte, fiche */
  .dbh-sc-scene { display: flex; flex-direction: column; }
  .dbh-sc-scene .dbh-sc-bande-zone { order: -1; padding: 10px 0 12px; background: transparent; }
  .dbh-sc-fiche { margin-top: -20px; }
}

/* 2. L'immobilier à X : photo d'ambiance, texte, « Un cadre de vie » */
.dbh-sc-seo-photo { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; background: var(--sc-filet); }
.dbh-sc-seo-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dbh-sc-seo-photo::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.85); border-radius: 2px; pointer-events: none; }
@media (min-width: 960px) {
  .dbh-sc-seo { grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 4fr); gap: 48px; }
  .dbh-sc-seo:not(:has(.dbh-sc-seo-photo)) { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
}
@media (max-width: 959px) { .dbh-sc-seo-photo { display: none; } }
.dbh-sc-cadre-vie { border-left: 0 !important; padding: 26px 28px !important; background: var(--sc-papier, #F3F2EE); border-radius: 4px; }
.dbh-sc-cadre-vie .tt { margin-bottom: 12px; font-size: 15px; }
.dbh-sc-cadre-vie .dbh-sc-atouts { margin-bottom: 18px; border-top: 0; }
.dbh-sc-cadre-vie .dbh-sc-atouts li { border-bottom: 1px solid rgba(23,25,27,.08); font-size: 15px; padding: 10px 0; }
.dbh-sc-cadre-vie .dbh-sc-atouts li::before { display: none; }

/* ══ Retours de Vincent du 29/10/2026 au soir ═══════════════════════════════════════════════════════════════════════
   Grand écran (≥ 1440 px, carte ancienne élargie présente) : la carte occupe toute la gauche, le titre est posé dessus
   (fondu clair), la carte est moins haute, la fiche reste à droite, les vignettes courent sur toute la largeur.
   La carte a une échelle fixe (hauteur --sc-mh) et se cale à droite ; les repères sont placés depuis le bord droit. */
.dbh-sc-svg-l { display: none; }
@media (min-width: 1300px) {
  /* --sc-mh : hauteur de la carte, telle que Beynac, le repère le plus à l'ouest, reste à droite du titre */
  .dbh-s.dbh-sc-carte:has(.dbh-sc-a-large) { --sc-fiche: 336px; --sc-titre: 330px; --sc-h1: 42px;
    --sc-mh: clamp(430px, calc((100vw - 814px) * .715), min(580px, calc(100svh - 300px))); }
  .dbh-s.dbh-sc-carte:has(.dbh-sc-a-large) .uk-grid { grid-template-columns: minmax(0, 1fr) calc(var(--sc-fiche) + 48px); height: auto; }
  .dbh-s.dbh-sc-carte:has(.dbh-sc-a-large) .uk-grid > .dbh-sc-col-titre { grid-area: 1 / 1; align-self: start; display: flex; flex-direction: column; justify-content: center;
    width: calc(var(--sc-titre) + 40px); max-width: none; height: var(--sc-mh); padding: 0 0 8px 40px; }
  .dbh-s.dbh-sc-carte:has(.dbh-sc-a-large) .uk-grid > .dbh-sc-col-carte { grid-area: 1 / 1 / 2 / 3; }
  .dbh-s.dbh-sc-carte:has(.dbh-sc-a-large) .uk-grid > .dbh-sc-col-fiche { grid-area: 1 / 2; align-self: start; width: var(--sc-fiche); height: auto;
    max-height: calc(var(--sc-mh) - 20px); margin: 14px 24px 0 24px !important; }
  .dbh-s.dbh-sc-carte:has(.dbh-sc-a-large) .dbh-t, .dbh-s.dbh-sc-carte:has(.dbh-sc-a-large) h1.dbh-t,
  .dbh-s.dbh-sc-carte:has(.dbh-sc-a-large) .dbh-t :where(h1) { font-size: var(--sc-h1); line-height: 1.08; }
  .dbh-s.dbh-sc-carte:has(.dbh-sc-a-large) .dbh-sc-chapo, .dbh-s.dbh-sc-carte:has(.dbh-sc-a-large) .dbh-sc-chapo p { font-size: 16px; }
  /* trois repères du territoire, de même largeur, centrés (comme la maquette) */
  .dbh-sc-carte:has(.dbh-sc-a-large) .dbh-sc-pays { flex-wrap: nowrap; gap: 10px; width: calc(var(--sc-titre) + 30px); margin-top: 26px; }
  .dbh-sc-carte:has(.dbh-sc-a-large) .dbh-sc-pays li { width: auto; flex: 1 1 0; align-items: center; gap: 8px; text-align: center; font-size: 12.5px; }
  .dbh-sc-carte:has(.dbh-sc-a-large) .dbh-sc-pays svg { width: 40px; height: 40px; }
  .dbh-sc-a-large { width: calc(100% - var(--sc-fiche) - 48px) !important; height: var(--sc-mh); aspect-ratio: auto; margin: 0; background: transparent; }
  .dbh-sc-scene:has(.dbh-sc-a-large) { width: auto !important; }
  .dbh-sc-a-large > .dbh-sc-svg-o { display: none; }
  .dbh-sc-a-large > .dbh-sc-svg-l { display: block; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
  /* fondu clair sous le titre et vers les vignettes ; les repères restent au-dessus, nets */
  /* sous le titre : photo d'ambiance voilée de clair, fondue vers la carte et vers les vignettes (sans photo : papier) ;
     les repères restent au-dessus, nets */
  .dbh-sc-a-large::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(rgba(246,245,241,.7), rgba(246,245,241,.7)), var(--sc-photo, linear-gradient(#F3F2EE, #F3F2EE)) left center / auto 100% no-repeat, var(--sc-papier);
    -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--sc-titre) + 40px), transparent calc(var(--sc-titre) + 300px)), linear-gradient(180deg, #000 78%, transparent);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, #000 calc(var(--sc-titre) + 40px), transparent calc(var(--sc-titre) + 300px)), linear-gradient(180deg, #000 78%, transparent);
    mask-composite: intersect; }
  .dbh-sc-a-large::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(243,242,238,0) 84%, var(--sc-papier)); }
  .dbh-sc-a-large .dbh-sc-pin { left: calc(100% - var(--rx) * var(--sc-mh) / 560); top: calc(var(--ty) * var(--sc-mh) / 560); }
  /* Beynac et Castelnaud, les plus à l'ouest : étiquette au-dessus ou dessous, pour ne pas toucher le titre */
  .dbh-sc-a-large .dbh-sc-pin[data-nom^="Beynac"] .lb { left: 50%; right: auto; top: auto; bottom: 28px; transform: translateX(-50%); }
  .dbh-sc-a-large .dbh-sc-pin[data-nom^="Castelnaud"] .lb { left: 50%; right: auto; top: 28px; transform: translateX(-50%); }
  .dbh-sc-a-large .dbh-sc-pin[data-nom^="La Roque"] .lb { left: 30px; right: auto; top: 50%; bottom: auto; transform: translateY(-50%); }
  .dbh-sc-a-large .dbh-sc-legende { left: auto; right: 16px; bottom: 6px; z-index: 2; }
  .dbh-sc-scene:has(.dbh-sc-a-large) .dbh-sc-bande-zone { height: auto; padding: 4px 40px 18px; border-top: 0; background: transparent; }
  .dbh-sc-scene:has(.dbh-sc-a-large) .dbh-sc-bande-tete { margin-bottom: 10px; }
  .dbh-sc-scene:has(.dbh-sc-a-large) .dbh-sc-vg { width: clamp(132px, calc((100vw - 80px - 7 * 20px) / 8), 176px); }
  .dbh-sc-scene:has(.dbh-sc-a-large) .dbh-sc-vg .ph { aspect-ratio: 16 / 10; }
  /* fiche plus compacte, pour tenir dans la hauteur de la carte */
  .dbh-sc-carte:has(.dbh-sc-a-large) .dbh-sc-panneau .dbh-sc-photo { aspect-ratio: 7 / 2; margin-bottom: 8px; }
  .dbh-sc-carte:has(.dbh-sc-a-large) .dbh-sc-fiche { padding: 12px 12px 14px; }
  .dbh-sc-carte:has(.dbh-sc-a-large) .dbh-sc-nom { font-size: 27px; }
  .dbh-sc-carte:has(.dbh-sc-a-large) .dbh-sc-panneau .dbh-sc-texte { font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .dbh-sc-carte:has(.dbh-sc-a-large) .dbh-sc-atouts li { padding: 6px 0; font-size: 13.5px; }
  .dbh-sc-carte:has(.dbh-sc-a-large) .dbh-sc-panneau .dbh-sc-actions { margin-top: 12px; }
}

@media (min-width: 1300px) and (max-width: 1439px) {
  .dbh-s.dbh-sc-carte:has(.dbh-sc-a-large) { --sc-fiche: 320px; --sc-titre: 280px; --sc-h1: 36px;
    --sc-mh: clamp(390px, calc((100vw - 738px) * .715), min(520px, calc(100svh - 290px))); }
  .dbh-s.dbh-sc-carte:has(.dbh-sc-a-large) .uk-grid > .dbh-sc-col-titre { padding-left: 32px; }
  .dbh-sc-scene:has(.dbh-sc-a-large) .dbh-sc-bande-zone { padding-left: 32px; padding-right: 32px; }
  .dbh-sc-carte:has(.dbh-sc-a-large) .dbh-sc-pays li { font-size: 12px; }
}

/* 2. L'immobilier à X : trois colonnes de même hauteur ; la photo suit la hauteur du texte ; bouton en bas du cadre de vie */
@media (min-width: 960px) {
  .dbh-sc-seo { align-items: stretch; }
  .dbh-sc-seo-photo { aspect-ratio: auto; min-height: 260px; height: 100%; }
  .dbh-sc-cadre-vie { display: flex; flex-direction: column; }
  .dbh-sc-cadre-action { margin-top: auto; padding-top: 4px; }
}
.dbh-sc-cadre-action .dbh-bouton { box-sizing: border-box; width: 100%; justify-content: center; }

/* 3. Les cercles : trois colonnes égales, petite vignette par commune, note « ailleurs » sous les colonnes */
.dbh-sc-cm .vg { flex: none; width: 36px; height: 36px; overflow: hidden; border-radius: 4px; background: var(--sc-filet); }
.dbh-sc-cm .vg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dbh-sc-cm .cn { flex: 1 1 auto; min-width: 0; }
.dbh-sc-cercles .dbh-sc-cm { align-items: center; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.dbh-sc-ailleurs-l { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 28px; margin-top: 18px; }
.dbh-sc-ailleurs-l .dbh-sc-ailleurs-m { display: block; margin: 0; font-size: 24px; transform: rotate(-2deg); }

/* 5. Des repères pour mieux comprendre : trois repères côte à côte, bouton à droite du titre */
.dbh-sc-reperes-tete { align-items: end; }
.dbh-sc-reperes-action { display: flex; justify-content: flex-end; }
.dbh-sc-lectures-l { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 26px 0 0; padding: 0; list-style: none; }
.dbh-sc-lectures-l li { margin: 0; padding: 22px 24px; background: var(--sc-papier, #F3F2EE); border-radius: 4px; }
.dbh-sc-lectures-l .ico { display: block; margin-bottom: 10px; }
.dbh-sc-lectures-l b { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 700; color: var(--dbh-encre); }
.dbh-sc-lectures-l p { margin: 0; font-size: 15px; line-height: 1.55; color: #33383C; }
@media (max-width: 959px) {
  .dbh-sc-lectures-l { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .dbh-sc-lectures-l li { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 16px; }
  .dbh-sc-lectures-l .ico { grid-row: span 2; margin: 0; }
  .dbh-sc-reperes-action { justify-content: flex-start; }
}

/* 6. Votre maison est dans le secteur ? : bande claire, photo et texte côte à côte */
.dbh-s.dbh-sc-maison, .dbh-s.dbh-sc-maison .uk-section { background: var(--sc-papier, #F3F2EE); }
.dbh-s.dbh-sc-maison .uk-grid { align-items: center; }
.dbh-s.dbh-sc-maison .dbh-t, .dbh-s.dbh-sc-maison .dbh-t :where(h2) { font-size: clamp(30px, 2.6vw, 40px); }
.dbh-sc-maison .dbh-sc-photo-contact { margin: 0; }
.dbh-sc-maison .dbh-sc-cadre { aspect-ratio: 3 / 2; }
@media (min-width: 960px) { .dbh-s.dbh-sc-maison .uk-grid > .dbh-sc-col-contact { padding-left: 56px; } }
.dbh-sc-maison .dbh-p p { font-size: 17px; line-height: 1.6; }
.dbh-s.dbh-sc-maison .uk-button-text { min-height: 54px; padding: 0; background: none; border: 0; color: var(--dbh-action); }
.dbh-s.dbh-sc-maison .uk-button-text::before { display: none; }
.dbh-s.dbh-sc-maison .uk-button-text::after { content: "→"; transition: transform .35s var(--dbh-doux); }
.dbh-sc-conclu-note { margin: 10px 0 0; font-family: 'Caveat', cursive; font-size: 24px; line-height: 1.1; color: #9F4427; transform: rotate(-2deg); transform-origin: left; }
@media (max-width: 959px) {
  .dbh-sc-maison .dbh-sc-photo-contact { margin-bottom: 24px; }
  .dbh-sc-ailleurs-l { justify-content: flex-start; }
}

/* Fiche de la carte : photo sans cadre blanc intérieur (29/10/2026, retour de Vincent) */
.dbh-sc-fiche .dbh-sc-photo::after { content: none !important; }
