/* Guides (17/10/2026) : gabarit magazine des articles d'enquête adapté, posé par wordpress/pages/guide.php. Charte B
   (arrondis 4 px sans bascule, Newsreader 360, Manrope, Caveat pour les sur-titres et notes, cuivre, aucun bleu).
   Chargée après accueil.css sur les pages qui portent « dbh-page-guide ». Tout est préfixé par dbh-gd-. Éléments natifs
   (Titre, Texte, Image) : les sélecteurs visent la classe de l'élément ET la balise qu'il contient. */

.dbh-gd-tete, .dbh-gd-corps, .dbh-gd-suite, .dbh-gd-cta { --dbh-g: 30px; --dbh-gd-mesure: 700px; }
@media (min-width: 1200px) { .dbh-gd-tete, .dbh-gd-corps, .dbh-gd-suite, .dbh-gd-cta { --dbh-g: 40px; } }

/* Barre de lecture (créée par guide.js) */
.dbh-gd-progression { position: fixed; left: 0; top: 0; z-index: 1000; width: 100%; height: 3px; background: var(--dbh-action); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* ── En-tête ────────────────────────────────────────────────────────────── */
.dbh-gd-tete .uk-container { padding-top: 24px; padding-bottom: 0; }
.dbh-gd-ariane { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0 0 30px; font-size: 13px; color: var(--dbh-gris2); }
.dbh-gd-ariane a { color: var(--dbh-gris); text-decoration: none; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.dbh-gd-ariane a:hover { color: var(--dbh-action); border-bottom-color: currentColor; }
.dbh-s .dbh-gd-rub, .dbh-s .dbh-gd-rub p { display: flex; align-items: center; gap: 12px; max-width: none; margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; color: var(--dbh-action); }
.dbh-s .dbh-gd-rub p::before { content: ""; width: 28px; height: 1px; background: var(--dbh-action); }
.dbh-s .dbh-gd-titre, .dbh-s .dbh-gd-titre :where(h1), .dbh-s h1.dbh-gd-titre { max-width: 1040px; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.05; letter-spacing: -.026em; }
.dbh-gd-chapo-rangee { margin-top: 34px !important; align-items: flex-end; }
.dbh-s .dbh-gd-chapo, .dbh-s .dbh-gd-chapo p { max-width: 760px; margin: 0; font-family: var(--dbh-titre); font-weight: 300; font-size: 22px; line-height: 1.5; letter-spacing: -.005em; color: #26292C; }
.dbh-s .uk-grid > .dbh-gd-cote { padding-left: calc(var(--dbh-g) + 28px); background: linear-gradient(var(--dbh-trait), var(--dbh-trait)) var(--dbh-g) 0 / 1px 100% no-repeat; }
.dbh-s .dbh-gd-signature, .dbh-s .dbh-gd-signature p { margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: var(--dbh-texte); }
.dbh-gd-signature a { color: var(--dbh-encre); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--dbh-trait); }
.dbh-gd-signature a:hover { color: var(--dbh-action); border-bottom-color: var(--dbh-action); }
.dbh-s .dbh-gd-meta-el { margin: 0 !important; }
.dbh-gd-meta { display: flex; flex-wrap: wrap; gap: 2px 18px; margin: 0; overflow: hidden; font-size: 13px; line-height: 1.5; color: var(--dbh-gris); }
.dbh-gd-meta > span { position: relative; }
.dbh-gd-meta > span + span::before { content: "·"; position: absolute; left: -11px; color: var(--dbh-gris2); }
.dbh-gd-meta > span:first-child { font-weight: 600; color: var(--dbh-action); }
.dbh-gd-image-rangee { margin-top: 44px !important; }
.dbh-s .dbh-gd-image { position: relative; overflow: hidden; aspect-ratio: 21 / 8; margin: 0 !important; border-radius: 4px; background: var(--dbh-trait2); }
.dbh-gd-image :is(picture, img) { display: block; width: 100%; height: 100%; object-fit: cover; }
.dbh-gd-image::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.85); border-radius: 2px; pointer-events: none; }
.dbh-gd-tete .uk-grid > * { animation: dbh-fondu 1s .1s var(--dbh-doux) both; }
.dbh-gd-chapo-rangee > * { animation-delay: .25s !important; }
.dbh-gd-image-rangee > * { animation-delay: .4s !important; }

/* ── Corps : sommaire et colonne de lecture ─────────────────────────────── */
.dbh-gd-corps .uk-container { padding-top: 49px; padding-bottom: 60px; }
.dbh-gd-corps-rangee { align-items: stretch; }
.dbh-s .dbh-gd-rail .dbh-html { position: sticky; top: 112px; margin: 0; }
.dbh-gd-sommaire { padding-right: 12px; }
.dbh-gd-sommaire:not(:has(li)) { display: none; }
.dbh-gd-sommaire summary { display: block; margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dbh-gris); list-style: none; cursor: default; pointer-events: none; }
.dbh-gd-sommaire summary::-webkit-details-marker { display: none; }
.dbh-gd-sommaire ol { margin: 0; padding: 0; list-style: none; counter-reset: dbh-gd; border-left: 1px solid var(--dbh-trait2); }
.dbh-gd-sommaire li { counter-increment: dbh-gd; }
.dbh-gd-sommaire a { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px; padding: 7px 0 7px 16px; font-size: 14px; line-height: 1.4; color: var(--dbh-gris); text-decoration: none; transition: color .3s; }
.dbh-gd-sommaire a::before { content: counter(dbh-gd, decimal-leading-zero); font-size: 12px; font-weight: 600; line-height: 1.65; color: var(--dbh-gris2); transition: color .3s; }
.dbh-gd-sommaire a::after { content: ""; position: absolute; left: -1px; top: 6px; bottom: 6px; width: 2px; background: var(--dbh-action); transform: scaleY(0); transition: transform .4s var(--dbh-doux); }
.dbh-gd-sommaire a:hover { color: var(--dbh-encre); }
.dbh-gd-sommaire a.is-on { color: var(--dbh-encre); font-weight: 600; }
.dbh-gd-sommaire a.is-on::before { color: var(--dbh-action); }
.dbh-gd-sommaire a.is-on::after { transform: none; }

/* Texte courant : 680–720 px */
.dbh-gd-lecture > * { max-width: var(--dbh-gd-mesure); }
.dbh-s .dbh-gd-lecture .dbh-gd-texte, .dbh-s .dbh-gd-lecture .dbh-gd-texte :is(p, li) { max-width: var(--dbh-gd-mesure); font-size: 18px; line-height: 1.75; color: var(--dbh-texte); }
.dbh-s .dbh-gd-texte { margin: 0 0 8px !important; }
.dbh-gd-texte p { margin: 0 0 22px; }
.dbh-gd-texte strong { font-weight: 700; color: var(--dbh-encre); }
.dbh-gd-texte a, .dbh-gd-faq a { color: var(--dbh-action); text-decoration: none; border-bottom: 1px solid rgba(159,68,39,.35); }
.dbh-gd-texte a:hover { border-bottom-color: var(--dbh-action); }
.dbh-gd-texte ul { margin: 0 0 24px; padding: 0; list-style: none; }
.dbh-gd-texte ul li { position: relative; margin: 0 0 10px; padding-left: 26px; }
.dbh-gd-texte ul li::before { content: ""; position: absolute; left: 2px; top: .86em; width: 12px; height: 1px; background: var(--dbh-action); }
.dbh-gd-premier > p:first-child::first-letter, .dbh-gd-premier.uk-panel > p:first-child::first-letter { float: left; margin: 6px 12px 0 0; font-family: var(--dbh-titre); font-weight: 300; font-size: 4.1em; line-height: .82; color: var(--dbh-action); }

/* Intertitres */
.dbh-s .dbh-gd-h2, .dbh-s .dbh-gd-h2 :where(h2), .dbh-s h2.dbh-gd-h2 { position: relative; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.02em; }
.dbh-s .dbh-gd-h2 { margin: 56px 0 18px !important; padding-top: 22px; scroll-margin-top: 110px; }
.dbh-s .dbh-gd-lecture > .dbh-gd-h2:first-child { margin-top: 0 !important; }
.dbh-s .dbh-gd-h2::before { content: ""; position: absolute; left: 0; top: 0; width: 32px; height: 1px; background: var(--dbh-action); }

/* Liste cochée */
.dbh-gd-coche ul { border-top: 1px solid var(--dbh-trait); }
.dbh-s .dbh-gd-coche ul li { margin: 0; padding: 14px 0 14px 38px; border-bottom: 1px solid var(--dbh-trait2); font-size: 17px; line-height: 1.6; }
.dbh-gd-coche ul li::before {
  left: 0; top: 16px; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='10' fill='none' stroke='%239F4427' stroke-width='1.2'/%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%239F4427' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Encadré : titre et texte sur fond minéral, filet cuivre en haut */
.dbh-s .dbh-gd-h2.dbh-gd-encadre-titre { margin-bottom: 0 !important; padding: 30px 32px 4px; background: var(--dbh-mineral); border-top: 2px solid var(--dbh-action); border-radius: 4px 4px 0 0; }
.dbh-s .dbh-gd-h2.dbh-gd-encadre-titre::before { display: none; }
.dbh-s .dbh-gd-lecture .dbh-gd-encadre { margin: 0 0 8px !important; padding: 14px 32px 10px; background: var(--dbh-mineral); border-radius: 0 0 4px 4px; }
.dbh-s .dbh-gd-lecture .dbh-gd-encadre :is(p, li) { font-size: 17px; }

/* Tableau récapitulatif (28/10/2026 : diagnostics, abattements) : filets fins, en-tête discret, défilement horizontal
   dans son cadre seulement si l'écran est trop étroit (jamais la page) */
.dbh-gd-tableau { max-width: 100%; margin: 4px 0 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--dbh-trait); }
.dbh-gd-tableau table { width: 100%; min-width: 0; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; color: var(--dbh-texte); }
.dbh-gd-tableau th { padding: 12px 14px 10px 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: left; vertical-align: bottom; color: var(--dbh-gris); border-bottom: 1px solid var(--dbh-trait); }
.dbh-gd-tableau td { padding: 11px 14px 11px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--dbh-trait2); }
.dbh-gd-tableau td:first-child { font-weight: 600; color: var(--dbh-encre); }
.dbh-gd-tableau :is(th, td):last-child { padding-right: 0; }
@media (max-width: 639px) { .dbh-gd-tableau table { font-size: 14px; } .dbh-gd-tableau :is(th, td) { padding-right: 10px; } .dbh-gd-tableau th { letter-spacing: .06em; } }

/* Questions fréquentes (socle .dbh-questions-liste d'accueil.css) */
.dbh-s .dbh-gd-faq-el { margin-top: 4px !important; }
.dbh-gd-faq summary { min-height: 64px; padding: 10px 0; font-size: 17px; line-height: 1.4; }
.dbh-gd-faq summary:focus { outline: none; }
.dbh-gd-faq summary:focus-visible { outline: 2px solid var(--dbh-action); outline-offset: 2px; }
.dbh-gd-faq details p { font-size: 16.5px; line-height: 1.7; }

/* Sources en pied d'article, discrètes */
.dbh-s .dbh-gd-sources-titre, .dbh-s .dbh-gd-sources-titre :where(h2), .dbh-s h2.dbh-gd-sources-titre { margin: 64px 0 10px !important; padding-top: 18px; border-top: 1px solid var(--dbh-trait); font-family: 'Manrope', Arial, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; color: var(--dbh-gris); }
.dbh-s .dbh-gd-sources { margin: 0 !important; }
.dbh-gd-sources ul { margin: 0 0 14px; padding: 0; list-style: none; counter-reset: dbh-src; }
.dbh-s .dbh-gd-sources li { counter-increment: dbh-src; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px; max-width: none; margin: 0; padding: 5px 0; font-size: 13.5px; line-height: 1.5; color: var(--dbh-gris); }
.dbh-gd-sources li::before { content: counter(dbh-src, decimal-leading-zero); font-size: 12px; font-weight: 600; color: var(--dbh-gris2); }
.dbh-gd-sources a { color: var(--dbh-gris); text-decoration: none; overflow-wrap: anywhere; transition: color .3s; }
.dbh-gd-sources a::after { content: " ↗"; color: var(--dbh-action); }
.dbh-gd-sources a:hover { color: var(--dbh-action); }
.dbh-s .dbh-gd-sources .db-marche-note, .dbh-gd-sources .db-marche-note { margin: 0; font-size: 13px; font-style: italic; color: var(--dbh-gris); }

/* ── Les autres guides ──────────────────────────────────────────────────── */
.dbh-gd-suite .uk-container { padding-top: 54px; padding-bottom: 60px; }
.dbh-gd-suite-tete { align-items: flex-end; margin-bottom: 36px; }
.dbh-gd-suite .dbh-t, .dbh-gd-suite h2.dbh-t, .dbh-gd-suite .dbh-t :where(h2) { font-size: clamp(30px, 2.8vw, 40px); }
.dbh-s .dbh-gd-tous { text-align: right; }
.dbh-s .dbh-gd-tous p { margin: 0; max-width: none; }
.dbh-gd-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.dbh-gd-carte { display: flex; flex-direction: column; gap: 10px; color: inherit !important; text-decoration: none !important; }
.dbh-gd-carte-ph { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: 8px; border-radius: 4px; background: var(--dbh-trait2); }
.dbh-gd-carte-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--dbh-doux); }
.dbh-gd-carte-ph::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.85); border-radius: 2px; }
.dbh-gd-carte:hover .dbh-gd-carte-ph img { transform: scale(1.045); }
.dbh-gd-carte-rub { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dbh-action); }
.dbh-gd-carte-ti { font-family: var(--dbh-titre); font-weight: 360; font-size: 23px; line-height: 1.18; letter-spacing: -.02em; color: var(--dbh-encre); transition: color .3s; }
.dbh-gd-carte:hover .dbh-gd-carte-ti { color: var(--dbh-action); }
.dbh-gd-carte-action { display: inline-flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 4px; font-size: 15px; font-weight: 600; color: var(--dbh-action); }
.dbh-gd-carte:hover .dbh-fl { transform: translateX(5px); }

/* ── Appel à l'action : la seule bande charbon ──────────────────────────── */
.dbh-s.dbh-gd-cta, .dbh-s.dbh-gd-cta .uk-section { background: var(--dbh-encre); color: #A9AEB2; overflow: hidden; }
.dbh-gd-cta .uk-container { padding-top: 65px; padding-bottom: 65px; }
@media (min-width: 960px) {
  .dbh-gd-cta .uk-container { padding-right: calc(40% + 40px); min-height: 480px; box-sizing: border-box; }
  .dbh-gd-cta .uk-grid > :first-child { width: 100%; }
  .dbh-gd-cta .dbh-gd-col-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 40%; padding: 0; margin: 0; }
  .dbh-gd-cta .dbh-gd-col-photo > *, .dbh-gd-cta .dbh-gd-col-photo .dbh-html { height: 100%; margin: 0; }
}
.dbh-gd-cta .dbh-k, .dbh-gd-cta .dbh-k p { color: #E9A07F; }
.dbh-gd-cta .dbh-t, .dbh-gd-cta h2.dbh-t, .dbh-gd-cta .dbh-t :where(h2) { color: #fff; font-size: clamp(32px, 3.4vw, 50px); }
.dbh-s.dbh-gd-cta .dbh-p p { max-width: 540px; color: #D5D8DB; }
.dbh-s.dbh-gd-cta .dbh-gd-cta-aide p { margin-top: 0; font-size: 14px; color: #A9AEB2; }
.dbh-gd-cta-aide a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }
.dbh-gd-cta-aide a:hover { border-bottom-color: #E9A07F; }
.dbh-s.dbh-gd-cta .uk-button.uk-button-default { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.dbh-s.dbh-gd-cta .uk-button.uk-button-default:hover { background: #fff; color: var(--dbh-encre); }
.dbh-gd-cta-photo { position: relative; height: 100%; min-height: 340px; }
.dbh-gd-cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dbh-gd-cta-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--dbh-encre) 0%, rgba(23,25,27,0) 35%); }
.dbh-gd-cta-photo .dbh-note { position: absolute; right: 40px; bottom: 40px; z-index: 2; font-size: 30px; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.5); text-align: right; }

/* ── Téléphone et tablette ──────────────────────────────────────────────── */
@media (max-width: 959px) {
  .dbh-gd-tete .uk-container { padding-top: 8px; }
  .dbh-gd-ariane { margin-bottom: 20px; }
  .dbh-s .dbh-gd-titre, .dbh-s .dbh-gd-titre :where(h1), .dbh-s h1.dbh-gd-titre { font-size: clamp(30px, 8.2vw, 42px); line-height: 1.1; }
  .dbh-gd-chapo-rangee { margin-top: 22px !important; }
  .dbh-s .dbh-gd-chapo, .dbh-s .dbh-gd-chapo p { font-size: 19px; }
  .dbh-s .uk-grid > .dbh-gd-cote { margin-top: 20px; padding-left: var(--dbh-g); padding-top: 16px; background: linear-gradient(var(--dbh-trait), var(--dbh-trait)) var(--dbh-g) 0 / calc(100% - var(--dbh-g)) 1px no-repeat; }
  .dbh-gd-image-rangee { margin-top: 28px !important; }
  .dbh-s .dbh-gd-image { aspect-ratio: 4 / 3; }
  .dbh-gd-corps .uk-container { padding-top: 32px; padding-bottom: 38px; }
  .dbh-s .dbh-gd-rail .dbh-html { position: static; }
  .dbh-gd-sommaire { margin: 0 0 32px; padding: 0; border: 1px solid var(--dbh-trait); border-radius: 4px; }
  .dbh-gd-sommaire summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin: 0; padding: 0 16px; pointer-events: auto; cursor: pointer; color: var(--dbh-encre); }
  .dbh-gd-sommaire summary::after { content: ""; width: 9px; height: 9px; margin-top: -4px; border-right: 1.5px solid var(--dbh-action); border-bottom: 1.5px solid var(--dbh-action); transform: rotate(45deg); transition: transform .3s; }
  .dbh-gd-sommaire[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
  .dbh-gd-sommaire ol { margin: 0 16px 12px; }
  .dbh-gd-sommaire a { min-height: 44px; align-items: center; padding: 6px 0 6px 14px; }
  .dbh-s .dbh-gd-lecture .dbh-gd-texte, .dbh-s .dbh-gd-lecture .dbh-gd-texte :is(p, li) { font-size: 17px; line-height: 1.7; }
  .dbh-s .dbh-gd-h2 { margin-top: 40px !important; padding-top: 18px; }
  .dbh-s .dbh-gd-h2.dbh-gd-encadre-titre { padding: 22px 18px 2px; }
  .dbh-s .dbh-gd-lecture .dbh-gd-encadre { padding: 10px 18px 6px; }
  .dbh-gd-faq summary { min-height: 60px; font-size: 16px; }
  .dbh-gd-faq details p { padding-right: 24px; font-size: 15.5px; }
  .dbh-gd-suite .uk-container { padding-top: 52px; padding-bottom: 38px; }
  .dbh-gd-suite-tete { margin-bottom: 24px; }
  .dbh-s .dbh-gd-tous { text-align: left; }
  .dbh-gd-cartes { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .dbh-gd-carte { display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 6px 16px; padding: 18px 0; border-top: 1px solid var(--dbh-trait); }
  .dbh-gd-carte-ph { grid-column: 2; grid-row: 1 / span 3; aspect-ratio: 1 / 1; margin: 0; }
  .dbh-gd-carte-rub, .dbh-gd-carte-ti, .dbh-gd-carte-action { grid-column: 1; }
  .dbh-gd-carte-ti { font-size: 20px; }
  .dbh-gd-carte-action { min-height: 44px; }
  .dbh-gd-cta .uk-container { padding-top: 38px; padding-bottom: 32px; }
  .dbh-gd-cta .dbh-gd-col-photo { margin-top: 24px; }
  .dbh-gd-cta-photo { min-height: 230px; border-radius: 4px; overflow: hidden; }
  .dbh-gd-cta-photo::before { background: linear-gradient(180deg, var(--dbh-encre) 0%, rgba(23,25,27,0) 40%); }
  .dbh-gd-cta-photo .dbh-note { right: 20px; bottom: 22px; font-size: 26px; }
  .dbh-s.dbh-gd-cta .uk-button { width: 100%; justify-content: center; }
  .dbh-s.dbh-gd-cta .uk-flex-center > * { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .dbh-gd-tete .uk-grid > * { animation: none; }
  .dbh-gd-sommaire a::after, .dbh-gd-carte-ph img { transition: none; }
}

/* 26/10/2026 (Vincent : « le script sur la photo trop près du bord ») : note manuscrite plus loin des bords, proportionnée à l'écran */
@media (min-width: 960px) { .dbh-gd-cta-photo .dbh-note { right: clamp(48px, 4.5vw, 96px); bottom: clamp(56px, 5vw, 104px); } }
@media (max-width: 959px) { .dbh-gd-cta-photo .dbh-note { right: 28px; bottom: 30px; } }

/* ── Guide à garder : PDF à télécharger et case facultative par e-mail (29/10/2026) ───────────── */
.dbh-gd-pdf { --dbh-g: 30px; border-top: 1px solid var(--dbh-trait2, #F0F1F1); }
.dbh-gd-pdf .uk-container { padding-top: 44px; padding-bottom: 44px; }
.dbh-gd-pdf-rangee { align-items: center; }
.dbh-gd-pdf .dbh-t, .dbh-gd-pdf h2.dbh-t, .dbh-gd-pdf .dbh-t :where(h2) { font-size: clamp(26px, 2.4vw, 34px); }
.dbh-s .dbh-gd-pdf-tete p { margin: 14px 0 0; font-size: 14px; }
.dbh-gd-pdf-lien::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px;
  background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M5 21h14'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M5 21h14'/%3E%3C/svg%3E") center/contain no-repeat; }
@media (max-width: 959px) { .dbh-gd-pdf .uk-container { padding-top: 48px; padding-bottom: 48px; } .dbh-gd-pdf-col-form { margin-top: 24px; } }

/* ══ Guides vivants (29/10/2026, « des guides moins textuels, où le visiteur intervient ») ══════════════════════
   Chiffres clés, picto + « l'essentiel » de chaque partie, détail replié, outils interactifs (guide.js). */

/* Chiffres clés sous le chapeau */
.dbh-gd-chiffres-rangee { margin-top: 34px !important; }
.dbh-s .dbh-gd-chiffres-el { margin: 0 !important; }
.dbh-gd-chiffres { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--dbh-trait); }
.dbh-gd-chiffres li { display: flex; flex-direction: column; gap: 4px; padding: 18px 24px 4px 0; animation: dbh-gd-monte .7s var(--dbh-doux) both; }
.dbh-gd-chiffres li:nth-child(2) { animation-delay: .08s; } .dbh-gd-chiffres li:nth-child(3) { animation-delay: .16s; } .dbh-gd-chiffres li:nth-child(4) { animation-delay: .24s; }
.dbh-gd-chiffres li + li { padding-left: 24px; border-left: 1px solid var(--dbh-trait2); }
.dbh-gd-chiffres strong { font-family: var(--dbh-titre); font-weight: 400; font-size: clamp(30px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -.02em; color: var(--dbh-action); }
.dbh-gd-chiffres span { font-size: 14px; line-height: 1.45; color: var(--dbh-gris); }
@keyframes dbh-gd-monte { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Partie : picto et « l'essentiel » */
.dbh-s .dbh-gd-picto-el { float: left; margin: 2px 22px 8px 0 !important; }
.dbh-gd-picto { width: 56px; height: 56px; }
.dbh-gd-picto svg { display: block; }
.dbh-gd-picto svg .c { transition: stroke-dashoffset 1.2s var(--dbh-doux); }
.dbh-s .dbh-gd-lecture .dbh-gd-essentiel { display: flow-root; margin: 0 0 14px !important; min-height: 56px; }
.dbh-s .dbh-gd-lecture .dbh-gd-essentiel p { margin: 0; max-width: 620px; font-family: var(--dbh-titre); font-weight: 300; font-size: 21px; line-height: 1.45; letter-spacing: -.005em; color: var(--dbh-encre); }
.dbh-s .dbh-gd-h2 { margin-top: 48px !important; }
.dbh-s .dbh-gd-picto-el + .dbh-gd-faq-el { clear: left; }
.dbh-s .dbh-gd-faq-el { clear: both; }

/* Détail replié : le texte reste dans la page. Un petit « + » gris au bout de « l'essentiel » l'ouvre (29/10/2026,
   retour de Vincent : les lignes « Lire le détail » cuivrées faisaient mal aux yeux) ; la phrase elle-même est cliquable. */
.dbh-s .dbh-gd-lecture .dbh-gd-detail { clear: both; }
.dbh-s .dbh-gd-lecture .dbh-gd-detail.is-replie:not(.is-imprime) { display: none; }
.dbh-s .dbh-gd-lecture .dbh-gd-detail:not(.is-replie) { animation: dbh-gd-ouvre .45s var(--dbh-doux) both; }
@keyframes dbh-gd-ouvre { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.dbh-s .dbh-gd-lecture .dbh-gd-essentiel.a-detail { position: relative; padding-right: 52px; cursor: pointer; }
.dbh-gd-plus { position: absolute; right: 0; top: 2px; width: 34px; height: 34px; padding: 0; border: 1px solid var(--dbh-trait); border-radius: 50%; background: #fff; cursor: pointer;
  color: var(--dbh-gris); transition: border-color .25s, color .25s, transform .35s var(--dbh-doux); }
.dbh-gd-plus::before, .dbh-gd-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; border-radius: 1px; }
.dbh-gd-plus::after { transform: rotate(90deg); transition: transform .35s var(--dbh-doux); }
.dbh-gd-essentiel.a-detail:hover .dbh-gd-plus, .dbh-gd-plus:hover { border-color: var(--dbh-encre); color: var(--dbh-encre); }
.dbh-gd-plus[aria-expanded="true"] { color: var(--dbh-encre); border-color: var(--dbh-encre); }
.dbh-gd-plus[aria-expanded="true"]::after { transform: rotate(0deg); }
.dbh-gd-plus:focus-visible { outline: 2px solid var(--dbh-action); outline-offset: 3px; }
.dbh-gd-plus--seul { position: static; display: block; margin: 0 0 6px; }

/* Encadré : picto et essentiel dans le même fond que le titre */
.dbh-s .dbh-gd-lecture :is(.dbh-gd-encadre-titre, .dbh-gd-encadre-titre + .dbh-gd-picto-el, .dbh-gd-encadre-titre + .dbh-gd-picto-el + .dbh-gd-essentiel, .dbh-gd-encadre) {
  box-sizing: border-box; width: 100%; max-width: var(--dbh-gd-mesure); }
.dbh-s .dbh-gd-encadre-titre + .dbh-gd-picto-el + .dbh-gd-essentiel p { max-width: none; }
.dbh-s .dbh-gd-encadre-titre + .dbh-gd-picto-el + .dbh-gd-essentiel.a-detail { padding-right: 76px; }
.dbh-s .dbh-gd-encadre-titre + .dbh-gd-picto-el + .dbh-gd-essentiel .dbh-gd-plus { right: 32px; top: 12px; }
.dbh-s .dbh-gd-encadre-titre + .dbh-gd-picto-el { float: none; display: flow-root; margin: 0 !important; padding: 14px 32px 0; background: var(--dbh-mineral); }
.dbh-s .dbh-gd-encadre-titre + .dbh-gd-picto-el + .dbh-gd-essentiel { margin: 0 !important; padding: 10px 32px 4px; background: var(--dbh-mineral); }
.dbh-s .dbh-gd-encadre-titre + .dbh-gd-picto-el + .dbh-gd-essentiel + .dbh-gd-encadre { border-radius: 0 0 4px 4px; }

/* Partie mise en avant par l'outil « situation » */
.dbh-s .dbh-gd-h2.is-pour-vous::after { content: "Pour vous"; display: inline-flex; align-items: center; gap: 6px; margin-left: 14px; padding: 3px 10px 3px 20px; vertical-align: middle;
  border: 1px solid #E1E5EA; border-radius: 4px; background: #fff radial-gradient(circle at 10px 50%, var(--dbh-action) 3px, transparent 3.5px);
  font-family: Manrope, Arial, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--dbh-encre); }

/* ── Outils : cadre commun ─────────────────────────────────────────────── */
.dbh-gd-outil { position: relative; margin: 6px 0 18px; padding: 28px 32px 26px; background: #fff; border: 1px solid #E4E6E7; border-radius: 4px; box-shadow: 0 1px 2px rgba(23,25,27,.04), 0 10px 30px -18px rgba(23,25,27,.18); clear: both; }
.dbh-gd-outil-sur { margin: 0 0 2px !important; font-family: var(--dbh-script); font-size: 22px; line-height: 1.2; color: var(--dbh-action); }
.dbh-gd-outil-titre { display: block; margin: 0 0 18px !important; font-family: var(--dbh-titre); font-weight: 400; font-size: clamp(22px, 2vw, 27px); line-height: 1.25; letter-spacing: -.015em; color: var(--dbh-encre); }
.dbh-gd-outil-sous { margin: 22px 0 10px !important; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dbh-gris); }
.dbh-gd-outil-note { margin: 16px 0 0 !important; font-size: 13px !important; line-height: 1.5 !important; color: var(--dbh-gris2) !important; }
.dbh-gd-outil p { max-width: none; }
.dbh-gd-outil [hidden], .dbh-gd-outil[hidden] { display: none !important; }

/* Cases-boutons (jamais en pilule) */
.dbh-gd-choix-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 8px; }
.dbh-gd-choix { position: relative; min-height: 48px; padding: 11px 16px; border: 1px solid var(--dbh-trait); border-radius: 4px; background: #fff; cursor: pointer; text-align: left;
  font: inherit; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--dbh-encre); transition: border-color .2s, box-shadow .2s, transform .2s var(--dbh-doux); }
.dbh-gd-choix:hover { border-color: var(--dbh-encre); transform: translateY(-1px); }
.dbh-gd-choix:focus-visible { outline: 2px solid var(--dbh-action); outline-offset: 2px; }
.dbh-gd-choix[aria-pressed="true"] { border-color: var(--dbh-action); box-shadow: inset 0 0 0 1px var(--dbh-action); font-weight: 600; }

/* Bande de l'outil de tête */
.dbh-gd-bande-outil .uk-container { padding-top: 48px; padding-bottom: 48px; }
.dbh-gd-bande-outil .dbh-gd-outil { max-width: 1040px; margin: 0 auto; }

/* ── Quels diagnostics pour ma maison ? ───────────────────────────────── */
.dbh-gd-q-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 22px; margin: -6px 0 8px; font-size: 13px; color: var(--dbh-gris); }
.dbh-gd-retour { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 13px; font-weight: 600; color: var(--dbh-gris); }
.dbh-gd-retour:hover { color: var(--dbh-encre); }
.dbh-gd-q-barre { height: 2px; margin: 0 0 22px; background: var(--dbh-trait2); overflow: hidden; }
.dbh-gd-q-barre > span { display: block; height: 100%; background: var(--dbh-action); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--dbh-doux); }
.dbh-gd-diag.is-resultat .dbh-gd-q-barre, .dbh-gd-diag.is-resultat .dbh-gd-q-tete { display: none; }
.dbh-gd-q { margin: 0; padding: 0; border: 0; min-width: 0; animation: dbh-gd-glisse .35s var(--dbh-doux) both; }
.dbh-gd-q legend { padding: 0; margin: 0 0 6px; font-size: 17px; font-weight: 600; color: var(--dbh-encre); }
.dbh-gd-q-aide { margin: 0 0 12px !important; font-size: 13.5px !important; color: var(--dbh-gris) !important; }
@keyframes dbh-gd-glisse { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.dbh-gd-diag-resultat { animation: dbh-gd-monte .45s var(--dbh-doux) both; }
.dbh-gd-diag-resultat .dbh-gd-outil-sous { margin-top: 0 !important; }
.dbh-gd-diag-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--dbh-trait2); }
.dbh-gd-diag-liste li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "nom statut" "pq pq" "val val"; gap: 2px 12px; padding: 13px 0; border-bottom: 1px solid var(--dbh-trait2); animation: dbh-gd-monte .4s var(--dbh-doux) both; }
.dbh-gd-diag-liste li:nth-child(n+3) { animation-delay: .06s; } .dbh-gd-diag-liste li:nth-child(n+5) { animation-delay: .12s; } .dbh-gd-diag-liste li:nth-child(n+7) { animation-delay: .18s; }
.dbh-gd-diag-liste strong { grid-area: nom; font-size: 16px; font-weight: 600; color: var(--dbh-encre); }
.dbh-gd-dg-statut { grid-area: statut; align-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border: 1px solid #E1E5EA; border-radius: 4px; background: #fff; font-size: 12px; font-weight: 600; color: var(--dbh-encre); white-space: nowrap; }
.dbh-gd-dg-statut::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dbh-action); }
.is-verifier .dbh-gd-dg-statut::before { background: var(--dbh-gris2); }
.dbh-gd-dg-pq { grid-area: pq; font-size: 14px; line-height: 1.45; color: var(--dbh-texte); }
.dbh-gd-dg-val { grid-area: val; font-size: 13px; color: var(--dbh-gris); }
.dbh-gd-dg-val::before { content: "Validité : "; }
.dbh-gd-diag-autres { margin: 12px 0 0 !important; font-size: 14px !important; color: var(--dbh-gris) !important; }
.dbh-gd-outil-suite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--dbh-trait); }
.dbh-gd-outil-suite p { margin: 0 !important; }
.dbh-gd-outil-suite p:first-child { flex: 1 1 340px; font-family: var(--dbh-titre); font-size: 19px !important; line-height: 1.4 !important; color: var(--dbh-encre) !important; }
.dbh-gd-outil-suite p:last-child { display: flex; align-items: center; gap: 22px; }
.dbh-gd-recommencer { padding: 0; border: 0; background: none; cursor: pointer; font: inherit; font-size: 14px; color: var(--dbh-gris); text-decoration: underline; text-underline-offset: 3px; }

/* ── Échelle DPE ──────────────────────────────────────────────────────── */
.dbh-gd-dpe-corps { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: 28px; align-items: center; }
.dbh-gd-dpe-echelle { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.dbh-gd-dpe-echelle button { --w: calc(42% + var(--i) * 9.6%); position: relative; display: flex; align-items: center; width: var(--w); height: 30px; padding: 0 12px; border: 0; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); border-radius: 3px 0 0 3px;
  font: inherit; font-size: 14px; font-weight: 800; color: #fff; transition: transform .25s var(--dbh-doux), filter .25s; transform-origin: left; }
.dbh-gd-dpe-echelle li:nth-child(1) button { background: #2E7D5B; } .dbh-gd-dpe-echelle li:nth-child(2) button { background: #4C9563; } .dbh-gd-dpe-echelle li:nth-child(3) button { background: #86AE5C; }
.dbh-gd-dpe-echelle li:nth-child(4) button { background: #C9B458; color: #17191B; } .dbh-gd-dpe-echelle li:nth-child(5) button { background: #D39A55; color: #17191B; }
.dbh-gd-dpe-echelle li:nth-child(6) button { background: #C9744A; } .dbh-gd-dpe-echelle li:nth-child(7) button { background: #B3473B; }
.dbh-gd-dpe-echelle button:hover { transform: scaleX(1.04); }
.dbh-gd-dpe-echelle button[aria-pressed="false"] { filter: saturate(.55) opacity(.7); }
.dbh-gd-dpe-echelle button[aria-pressed="true"] { transform: scaleX(1.06); filter: none; }
.dbh-gd-dpe-echelle button:focus-visible { outline: 2px solid var(--dbh-encre); outline-offset: 2px; }
.dbh-gd-dpe-panneau { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; animation: dbh-gd-glisse .35s var(--dbh-doux) both; }
.dbh-gd-dpe-lettre { margin: 0 !important; font-family: var(--dbh-titre); font-size: 64px !important; line-height: .9 !important; color: var(--dbh-action) !important; }
.dbh-gd-dpe-panneau ul { margin: 0; padding: 0; list-style: none; }
.dbh-gd-dpe-panneau li { margin: 0 0 10px; padding-left: 18px; position: relative; font-size: 15.5px; line-height: 1.5; color: var(--dbh-texte); }
.dbh-gd-dpe-panneau li::before { content: ""; position: absolute; left: 0; top: .75em; width: 10px; height: 1px; background: var(--dbh-action); }

/* ── Abattements ──────────────────────────────────────────────────────── */
.dbh-gd-abat-curseur { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; }
.dbh-gd-abat-curseur output { flex: none; min-width: 150px; font-family: var(--dbh-titre); font-size: 22px; color: var(--dbh-encre); }
.dbh-gd-abat input[type=range] { --p: 37%; flex: 1; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.dbh-gd-abat input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(var(--dbh-action), var(--dbh-action)) 0 0 / var(--p) 100% no-repeat, var(--dbh-trait2); }
.dbh-gd-abat input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--dbh-trait2); }
.dbh-gd-abat input[type=range]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--dbh-action); }
.dbh-gd-abat input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border: 2px solid var(--dbh-action); border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(23,25,27,.2); }
.dbh-gd-abat input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border: 2px solid var(--dbh-action); border-radius: 50%; background: #fff; }
.dbh-gd-abat input[type=range]:focus-visible { outline: 2px solid var(--dbh-action); outline-offset: 4px; }
.dbh-gd-abat-jauges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dbh-gd-jauge p { min-height: 2.9em; margin: 0 0 8px !important; font-size: 14px !important; font-weight: 600; color: var(--dbh-encre) !important; }
.dbh-gd-jauge-fond { display: block; height: 10px; border-radius: 2px; background: var(--dbh-trait2); overflow: hidden; }
.dbh-gd-jauge-fond > span { display: block; height: 100%; background: var(--dbh-action); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--dbh-doux), background .4s; }
.dbh-gd-jauge.is-exonere .dbh-gd-jauge-fond > span { background: #2F9E6E; }
.dbh-gd-jauge strong { display: block; margin-top: 8px; font-family: var(--dbh-titre); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--dbh-encre); }
.dbh-gd-jauge.is-exonere strong { color: #2F7D5B; }
.dbh-gd-jauge small { font-size: 12.5px; color: var(--dbh-gris2); }
.dbh-gd-abat-phrase { margin: 18px 0 0 !important; font-size: 15.5px !important; color: var(--dbh-texte) !important; }

/* ── Dates clés ───────────────────────────────────────────────────────── */
.dbh-gd-dates-champ input { min-height: 48px; padding: 8px 14px; border: 1px solid var(--dbh-trait); border-radius: 4px; background: #fff; font: inherit; font-size: 16px; color: var(--dbh-encre); }
.dbh-gd-dates-champ input:focus { outline: none; border-color: var(--dbh-action); box-shadow: 0 0 0 3px rgba(159,68,39,.12); }
.dbh-gd-dates-frise { position: relative; margin: 22px 0 0; padding: 0 0 0 26px; list-style: none; }
.dbh-gd-dates-frise::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--dbh-trait); }
.dbh-gd-dates-frise li { position: relative; display: grid; gap: 2px; padding: 0 0 18px; animation: dbh-gd-monte .45s calc(var(--i) * .1s) var(--dbh-doux) both; }
.dbh-gd-dates-frise li::before { content: ""; position: absolute; left: -25px; top: 5px; width: 11px; height: 11px; border: 1.5px solid var(--dbh-action); border-radius: 50%; background: #fff; }
.dbh-gd-dt-lib { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dbh-gris); }
.dbh-gd-dates-frise strong { font-family: var(--dbh-titre); font-weight: 400; font-size: 22px; line-height: 1.25; color: var(--dbh-encre); }
.dbh-gd-dates-frise small { font-size: 13.5px; line-height: 1.45; color: var(--dbh-gris); }

/* ── Étapes ───────────────────────────────────────────────────────────── */
.dbh-gd-et-frise { --pos: 0; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0; margin: 4px 0 0; padding: 0; list-style: none; }
.dbh-gd-et-frise::before { content: ""; position: absolute; left: calc(50% / var(--n)); right: calc(50% / var(--n)); top: 15px; height: 1px; background: var(--dbh-trait); }
.dbh-gd-et-frise::after { content: ""; position: absolute; left: calc(50% / var(--n)); top: 15px; height: 2px; margin-top: -.5px; width: calc((100% - 100% / var(--n)) * var(--pos) / (var(--n) - 1)); background: var(--dbh-action); transition: width .6s var(--dbh-doux); }
.dbh-gd-et-frise button { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 0 6px 6px; border: 0; background: none; cursor: pointer; font: inherit; text-align: center; }
.dbh-gd-et-n { display: grid; place-items: center; width: 31px; height: 31px; border: 1.5px solid var(--dbh-trait); border-radius: 50%; background: #fff; font-size: 12px; font-weight: 700; color: var(--dbh-gris); transition: all .3s var(--dbh-doux); }
.dbh-gd-et-t { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--dbh-encre); }
.dbh-gd-et-q { font-size: 12px; line-height: 1.35; color: var(--dbh-gris2); }
.dbh-gd-et-frise button:hover .dbh-gd-et-n { border-color: var(--dbh-encre); color: var(--dbh-encre); }
.dbh-gd-et-frise button.is-passe .dbh-gd-et-n { border-color: var(--dbh-action); color: var(--dbh-action); }
.dbh-gd-et-frise button[aria-pressed="true"] .dbh-gd-et-n { border-color: var(--dbh-action); background: var(--dbh-action); color: #fff; transform: scale(1.12); }
.dbh-gd-et-frise button:focus-visible { outline: 2px solid var(--dbh-action); outline-offset: 2px; border-radius: 4px; }
.dbh-gd-et-panneaux { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--dbh-trait2); }
.dbh-gd-et-panneau { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; align-items: start; animation: dbh-gd-glisse .4s var(--dbh-doux) both; }
.dbh-gd-et-panneau p { margin: 0 0 8px !important; }
.dbh-gd-et-ess { font-family: var(--dbh-titre); font-weight: 300; font-size: 22px !important; line-height: 1.4 !important; color: var(--dbh-encre) !important; }
.dbh-gd-et-suite { font-size: 15px !important; color: var(--dbh-gris) !important; }
.dbh-gd-et-suite strong { color: var(--dbh-encre); font-weight: 600; }

/* ── Situation et « qui fait quoi » ───────────────────────────────────── */
.dbh-gd-sit-resultat { margin-top: 16px; animation: dbh-gd-monte .4s var(--dbh-doux) both; }
.dbh-gd-sit-resultat p { margin: 0 0 6px !important; font-size: 14px !important; font-weight: 600; color: var(--dbh-gris) !important; }
.dbh-gd-sit-resultat ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.dbh-gd-sit-resultat a { font-size: 15px; font-weight: 600; color: var(--dbh-action); text-decoration: none; border-bottom: 1px solid rgba(159,68,39,.35); }
.dbh-gd-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--dbh-trait2); }
.dbh-gd-role { padding: 18px 22px 4px 0; }
.dbh-gd-role + .dbh-gd-role { padding-left: 22px; border-left: 1px solid var(--dbh-trait2); }
.dbh-gd-role-qui { margin: 8px 0 6px !important; font-family: var(--dbh-titre); font-size: 21px !important; color: var(--dbh-encre) !important; }
.dbh-gd-role ul { margin: 0; padding: 0; list-style: none; }
.dbh-gd-role li { position: relative; margin: 0 0 6px; padding-left: 16px; font-size: 14.5px; line-height: 1.45; color: var(--dbh-texte); }
.dbh-gd-role li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--dbh-action); }

/* ── Liste à préparer ─────────────────────────────────────────────────── */
.dbh-gd-pr-avance { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.dbh-gd-pr-barre { flex: 1; height: 6px; border-radius: 3px; background: var(--dbh-trait2); overflow: hidden; }
.dbh-gd-pr-barre > span { display: block; height: 100%; background: var(--dbh-action); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--dbh-doux), background .4s; }
.dbh-gd-preparer.is-fini .dbh-gd-pr-barre > span { background: #2F9E6E; }
.dbh-gd-pr-texte { flex: none; font-size: 14px; font-weight: 600; color: var(--dbh-encre); }
.dbh-gd-pr-onglets { display: flex; gap: 22px; margin: 0 0 6px; border-bottom: 1px solid var(--dbh-trait2); overflow-x: auto; scrollbar-width: none; }
.dbh-gd-pr-onglets button { flex: none; min-height: 44px; margin-bottom: -1px; padding: 10px 0 8px; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer; font: inherit; font-size: 15px; font-weight: 600; color: var(--dbh-gris); }
.dbh-gd-pr-onglets button span { margin-left: 4px; font-size: 12px; font-weight: 500; color: var(--dbh-gris2); }
.dbh-gd-pr-onglets [aria-selected="true"] { color: var(--dbh-encre); border-bottom-color: var(--dbh-action); }
.dbh-gd-pr-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.dbh-gd-pr-liste li { border-bottom: 1px solid var(--dbh-trait2); }
.dbh-gd-pr-liste label { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; cursor: pointer; font-size: 15px; line-height: 1.45; color: var(--dbh-texte); }
.dbh-gd-pr-liste input { flex: none; appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid var(--dbh-trait); border-radius: 4px; background: #fff center / 12px no-repeat; cursor: pointer; transition: all .2s; }
.dbh-gd-pr-liste input:checked { border-color: var(--dbh-action); background-color: var(--dbh-action); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.4L9.6 3.6' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.dbh-gd-pr-liste input:checked + span { color: var(--dbh-gris2); text-decoration: none; }
.dbh-gd-pr-liste input:focus-visible { outline: 2px solid var(--dbh-action); outline-offset: 2px; }

/* ── Téléphone ────────────────────────────────────────────────────────── */
@media (max-width: 959px) {
  .dbh-gd-dpe-corps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .dbh-gd-roles { grid-template-columns: minmax(0, 1fr); }
  .dbh-gd-role + .dbh-gd-role { padding-left: 0; border-left: 0; border-top: 1px solid var(--dbh-trait2); }
}
@media (max-width: 639px) {
  .dbh-gd-outil { padding: 20px 18px; }
  .dbh-gd-bande-outil .uk-container { padding-top: 28px; padding-bottom: 28px; }
  .dbh-gd-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dbh-gd-chiffres li { padding: 14px 12px 6px 0; }
  .dbh-gd-chiffres li + li { padding-left: 12px; }
  .dbh-gd-chiffres li:nth-child(3) { padding-left: 0; border-left: 0; }
  .dbh-s .dbh-gd-picto-el { margin-right: 14px !important; }
  .dbh-gd-picto, .dbh-gd-picto svg { width: 44px; height: 44px; }
  .dbh-s .dbh-gd-lecture .dbh-gd-essentiel p { font-size: 19px; }
  .dbh-gd-diag-liste, .dbh-gd-pr-liste, .dbh-gd-abat-jauges { grid-template-columns: minmax(0, 1fr); }
  .dbh-gd-abat-curseur { flex-direction: column; align-items: stretch; gap: 6px; }
  .dbh-gd-et-frise { grid-template-columns: minmax(0, 1fr); }
  .dbh-gd-et-frise::before { left: 15px; right: auto; top: 16px; bottom: 16px; width: 1px; height: auto; }
  .dbh-gd-et-frise::after { display: none; }
  .dbh-gd-et-frise button { display: grid; grid-template-columns: 31px minmax(0, 1fr); column-gap: 12px; row-gap: 0; align-items: center; text-align: left; padding: 4px 0; }
  .dbh-gd-et-n { grid-row: span 2; }
  .dbh-gd-et-t, .dbh-gd-et-q { grid-column: 2; }
  .dbh-gd-et-panneau { grid-template-columns: minmax(0, 1fr); }
  .dbh-gd-et-panneau > svg { width: 44px; height: 44px; }
  .dbh-s .dbh-gd-encadre-titre + .dbh-gd-picto-el, .dbh-s .dbh-gd-encadre-titre + .dbh-gd-picto-el + .dbh-gd-essentiel { padding-left: 18px; padding-right: 18px; }
}

/* Impression : tout le texte, sans les gestes */
@media print {
  .dbh-s .dbh-gd-lecture .dbh-gd-detail.is-replie { display: block !important; }
  .dbh-gd-plus, .dbh-gd-bande-outil { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .dbh-gd-chiffres li, .dbh-gd-q, .dbh-gd-diag-resultat, .dbh-gd-diag-liste li, .dbh-gd-dates-frise li, .dbh-gd-et-panneau, .dbh-gd-dpe-panneau, .dbh-gd-sit-resultat,
  .dbh-s .dbh-gd-lecture .dbh-gd-detail:not(.is-replie) { animation: none !important; }
  .dbh-gd-et-frise::after, .dbh-gd-jauge-fond > span, .dbh-gd-pr-barre > span, .dbh-gd-q-barre > span { transition: none; }
}
/* Mot léger sous le titre du guide par e-mail (29/10/2026) */
.dbh-s .dbh-gd-pdf-note p { margin: 12px 0 0; font-size: 24px; line-height: 1.2; transform: rotate(-2deg); transform-origin: left; }
