/* Page Contact (maquette « Contact — v12 », 16/10/2026 ; « Contact — v15 », 24/10/2026) — la conversation.
   v15 : « ← Retour » et réponses cliquables (« Modifier » au crayon), aide à la saisie du message (aide-saisie.css pour
   les suggestions), bloc d'accompagnement sous le formulaire (cartes et photo, 960 px et plus), « Suivez-moi ».
   Chargée après accueil.css (socle dbh-…) et formulaire.css. Tout est préfixé par .dbh-page-contact ; les règles de la
   conversation ne s'appliquent qu'une fois contact.js prêt (.dbh-ct-pret) : sans JavaScript, le formulaire CF7 reste
   en un écran, aux couleurs du site. Préfixe des classes propres à la page : dbh-ct-. Mode clair uniquement. */

.dbh-page-contact {
  --ct-cuivre: #9F4427; --ct-cuivre-survol: #873A23; --ct-encre: #17191B; --ct-texte: #33383C; --ct-gris: #5B6470; --ct-gris2: #8A9096;
  --ct-trait: #D5D8DB; --ct-trait2: #ECEDEE; --ct-trait3: #F0F1F1; --ct-mineral: #F3F4F4; --ct-reponse: #F4E7E1;
  --ct-vert: #2F7D57; --ct-rouge: #B42318; --ct-gris-etat: #A9AEB2;
  --ct-doux: cubic-bezier(.2, .7, .2, 1);
}

/* ── Cadre de la page ─────────────────────────────────────────────────────── */
.dbh-s.dbh-page-contact .uk-container { max-width: 1360px; padding-top: 24px; padding-bottom: 45px; }
@media (min-width: 960px) {
  .dbh-page-contact .uk-grid { margin-left: -72px; }
  .dbh-page-contact .uk-grid > * { padding-left: 72px; }
  .dbh-page-contact .dbh-ct-gauche { width: 63.6%; }
  .dbh-page-contact .dbh-ct-droite { width: 36.4%; }
}
.dbh-page-contact .dbh-ct-h1, .dbh-page-contact .dbh-ct-h1 :where(h1), .dbh-page-contact h1.dbh-ct-h1 { font-size: clamp(38px, 3.8vw, 54px); max-width: 760px; margin-bottom: 22px; }
.dbh-page-contact .dbh-ct-chapo p { font-size: 18px; max-width: 620px; margin-bottom: 0; }
.dbh-page-contact .dbh-ct-chapo { margin-bottom: 28px; }

/* ── Bloc de la conversation : titre natif + élément HTML, un seul fond ──── */
.dbh-page-contact .dbh-ct-conv-titre, .dbh-page-contact .dbh-ct-conv-titre :where(h2), .dbh-page-contact h2.dbh-ct-conv-titre {
  font-size: 28px; margin: 0;
}
.dbh-page-contact .dbh-ct-conv-titre {
  position: relative; background: var(--ct-mineral); border-radius: 4px 4px 0 0;
  padding: 30px 230px 18px 32px; border-bottom: 1px solid #E1E3E5; margin-bottom: 0 !important;
}
.dbh-page-contact .dbh-ct-conv-el { margin-top: 0 !important; white-space: normal; }
.dbh-ct-conv { position: relative; background: var(--ct-mineral); border-radius: 0 0 4px 4px; padding: 6px 32px 34px; color: var(--ct-texte); }
.dbh-ct-progres { position: absolute; right: 32px; top: -45px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ct-gris); }
.dbh-ct-conv:not(.dbh-ct-pret) .dbh-ct-progres { display: none; }
.dbh-ct-traits { display: flex; gap: 6px; }
.dbh-ct-traits span { width: 26px; height: 3px; border-radius: 2px; background: var(--ct-trait); transition: background .4s; }
.dbh-ct-traits span.dbh-ct-fait { background: var(--ct-cuivre); }

/* Le formulaire CF7 aux couleurs du site (vaut aussi sans JavaScript) */
.dbh-page-contact .db-form { --db-action: #9F4427; --db-action-survol: #873A23; --db-action-doux: #F7ECE7; max-width: none; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; }
.dbh-page-contact .db-form input:focus, .dbh-page-contact .db-form textarea:focus { border-color: var(--ct-encre); box-shadow: 0 0 0 3px rgba(23, 25, 27, .06); }
.dbh-page-contact .db-form .wpcf7-list-item input:focus-visible + .wpcf7-list-item-label { outline: 2px solid var(--ct-cuivre); outline-offset: 3px; box-shadow: none; }
.dbh-page-contact .db-merci { display: none !important; }   /* le merci de la conversation le remplace */
.dbh-page-contact .wpcf7 > form > *:first-child { margin-top: 0; }
.dbh-ct-conv:not(.dbh-ct-pret) .db-form { padding-top: 24px; }
.dbh-ct-conv:not(.dbh-ct-pret) :is(.db-precedent, .db-suivant) { display: none; }   /* sans script : un seul écran, l'envoi seul */

/* ── La conversation (contact.js prêt) ────────────────────────────────────── */
.dbh-ct-pret .db-nav { display: none !important; }
.dbh-ct-pret .db-etape { display: block; animation: none; }
.dbh-ct-sr { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.dbh-ct-pret .db-repris { margin: 18px 0 0; background: #fff; }
.dbh-ct-pret .db-repris button { color: var(--ct-cuivre); }

.dbh-ct-tour { position: relative; margin-top: 22px; }
.dbh-ct-qv { display: flex; align-items: flex-start; gap: 12px; }
.dbh-ct-portrait { flex: none; position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: #ECEDEE; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--ct-trait), 0 6px 14px rgba(23, 25, 27, .08); display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.dbh-ct-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dbh-ct-initiales { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ct-gris2); }
.dbh-ct-premier .dbh-ct-bulle { margin-top: 4px !important; }
/* Les messages suivants restent sur le fil, sans portrait répété */
.dbh-ct-cran { flex: none; position: relative; width: 48px; align-self: stretch; }
.dbh-ct-cran::after { content: ""; position: absolute; left: 21px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--ct-mineral); box-shadow: 0 0 0 1px var(--ct-cuivre); }
.dbh-ct-relie::before { content: ""; position: absolute; left: 24px; top: -22px; bottom: 0; width: 1px; background: var(--ct-trait); }
.dbh-ct-premier::before { content: ""; position: absolute; left: 24px; top: 48px; bottom: 0; width: 1px; background: var(--ct-trait); }
.dbh-ct-relie.dbh-ct-fin::before { bottom: auto; height: 39px; }
.dbh-ct-premier.dbh-ct-fin::before, .dbh-ct-recap-tour::before { display: none; }

.dbh-ct-bulle { position: relative; margin: 0; background: #fff; border-radius: 4px; padding: 12px 18px; font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--ct-encre); max-width: 520px; box-shadow: 0 1px 2px rgba(23, 25, 27, .05); }
.dbh-ct-txt { display: block; }
.dbh-ct-ecrit { position: absolute; left: 18px; top: 50%; display: none; gap: 4px; margin-top: -3px; }
.dbh-ct-ecrit i { width: 6px; height: 6px; border-radius: 50%; background: var(--ct-gris-etat); animation: dbh-ct-saute .9s ease-in-out infinite; }
.dbh-ct-ecrit i:nth-child(2) { animation-delay: .15s; }
.dbh-ct-ecrit i:nth-child(3) { animation-delay: .3s; }
/* À l'apparition d'un tour : trois points « en train d'écrire », puis le texte, puis la zone de réponse */
.dbh-ct-anime .dbh-ct-ecrit { display: flex; animation: dbh-ct-efface .2s .5s ease both; }
.dbh-ct-anime .dbh-ct-txt { animation: dbh-ct-fondu .35s .55s ease both; }
.dbh-ct-anime .dbh-ct-zone { animation: dbh-ct-monte .5s .6s var(--ct-doux) both; }

.dbh-ct-rep { display: flex; flex-direction: row; justify-content: flex-end; align-items: center; gap: 14px; margin-top: 12px; animation: dbh-ct-monte .45s var(--ct-doux) both; }
/* Réponse donnée (v15) : la bulle est un bouton qui rouvre la question ; « Modifier » (crayon) à sa gauche */
.dbh-ct-r { margin: 0; background: var(--ct-reponse); border: 0; border-radius: 4px; padding: 11px 18px; font: inherit; font-size: 16px; line-height: 1.5; color: var(--ct-encre); text-align: left; max-width: 440px; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; cursor: pointer; transition: box-shadow .2s; }
.dbh-ct-r:hover { box-shadow: inset 0 0 0 1px var(--ct-cuivre); }
.dbh-ct-r:focus-visible { outline: 2px solid var(--ct-cuivre); outline-offset: 3px; }
.dbh-ct-modif { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; background: none; border: 0; padding: 2px 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--ct-cuivre); cursor: pointer; }
.dbh-ct-modif:hover { text-decoration: underline; }
.dbh-ct-modif:focus-visible { outline: 2px solid var(--ct-cuivre); outline-offset: 3px; }
.dbh-ct-recap .dbh-ct-modif { min-height: 32px; }
.dbh-ct-zone { position: relative; z-index: 1; margin: 16px 0 0 60px; }
.dbh-ct-pret .db-champ { margin: 0; }

/* Tour 1 : le sujet, en tuiles (boutons radio CF7) */
.dbh-ct-pret .dbh-ct-tuiles .wpcf7-radio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dbh-ct-pret .dbh-ct-tuiles .wpcf7-list-item-label {
  flex-direction: column; align-items: flex-start; gap: 12px; height: 100%; min-height: 104px; padding: 16px 16px 14px;
  background: #fff; border: 1px solid var(--ct-trait); border-radius: 4px;
  font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ct-encre);
  transition: border-color .25s, transform .3s var(--ct-doux), box-shadow .3s;
}
.dbh-ct-pret .dbh-ct-tuiles .wpcf7-list-item, .dbh-ct-pret .dbh-ct-tuiles .wpcf7-list-item label { height: 100%; }
.dbh-ct-pret .dbh-ct-tuiles .wpcf7-list-item-label::before { display: none; }
.dbh-ct-pret .dbh-ct-tuiles svg { flex: none; fill: none; stroke: var(--ct-cuivre); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.dbh-ct-pret .dbh-ct-tuiles .dbh-ico { flex: none; display: block; width: 52px; height: 52px; margin: -6px 0 -4px -4px; }
.dbh-ct-pret .dbh-ct-tuiles .wpcf7-list-item label:hover .wpcf7-list-item-label { border-color: var(--ct-encre); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(23, 25, 27, .08); }
.dbh-ct-pret .dbh-ct-tuiles .wpcf7-list-item input:checked + .wpcf7-list-item-label { background: #fff; border-color: var(--ct-cuivre); box-shadow: inset 0 0 0 1px var(--ct-cuivre); }

/* Tour 2 et tour 4 : choix en cases-boutons (jamais de pilule) */
.dbh-ct-pas, .dbh-ct-pret .dbh-ct-canaux .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 10px; }
.dbh-ct-puce, .dbh-ct-pret .dbh-ct-canaux .wpcf7-list-item-label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  background: #fff; border: 1px solid var(--ct-trait); border-radius: 4px;
  font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ct-encre); cursor: pointer;
  transition: border-color .25s, background .25s;
}
.dbh-ct-puce:hover, .dbh-ct-pret .dbh-ct-canaux .wpcf7-list-item label:hover .wpcf7-list-item-label { border-color: var(--ct-encre); transform: none; box-shadow: none; }
.dbh-ct-puce.dbh-ct-on, .dbh-ct-pret .dbh-ct-canaux .wpcf7-list-item input:checked + .wpcf7-list-item-label { background: #fff; border-color: var(--ct-cuivre); box-shadow: inset 0 0 0 1px var(--ct-cuivre); }
.dbh-ct-puce:focus-visible { outline: 2px solid var(--ct-cuivre); outline-offset: 3px; }
.dbh-ct-pret .dbh-ct-canaux .wpcf7-list-item-label::before { width: 16px; height: 16px; border: 1px solid var(--ct-gris-etat); border-radius: 4px; }
.dbh-ct-pret .dbh-ct-canaux .wpcf7-list-item input:checked + .wpcf7-list-item-label::before { border-color: var(--ct-cuivre); }
.dbh-ct-pret .dbh-ct-canaux .wpcf7-list-item-label .db-ico { width: 34px; height: 34px; margin: -4px -2px; }
.dbh-ct-pret .dbh-ct-canaux.dbh-ct-oubli .wpcf7-list-item-label { border-color: var(--ct-trait) !important; }
.dbh-ct-aide { margin: 0 0 10px; font-size: 13px; color: var(--ct-gris); }

/* Champs */
.dbh-ct-pret .dbh-ct-champ { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dbh-ct-pret .dbh-ct-champ > label { margin: 0; font-size: 13px; font-weight: 600; color: var(--ct-gris); }
.dbh-ct-pret .dbh-ct-champ small { font-weight: 500; color: var(--ct-gris2); }
.dbh-ct-pret .db-form :is(input[type="text"], input[type="tel"], input[type="email"], textarea) {
  min-height: 50px; padding: 12px 14px; background: #fff; border: 1px solid var(--ct-trait); border-radius: 4px;
  font-size: 16px; color: var(--ct-encre); transition: border-color .25s, box-shadow .25s;
}
.dbh-ct-pret .db-form textarea:not(.dbh-sans) {   /* :not() pour l’emporter sur la règle :is(input[type…], textarea) ci-dessus */
 min-height: 120px; max-height: 320px; line-height: 1.55; }
.dbh-ct-pret .db-form :is(input, textarea).dbh-ct-err { border-color: var(--ct-rouge) !important; box-shadow: 0 0 0 3px rgba(180, 35, 24, .08); }
.dbh-ct-pret .db-form :is(input, textarea).dbh-ct-ok { border-color: var(--ct-vert); }
.dbh-ct-msg { font-size: 13px; font-weight: 600; line-height: 1.4; }
.dbh-ct-msg-err { color: var(--ct-rouge); }
.dbh-ct-msg-ok { color: var(--ct-vert); }
.dbh-ct-msg-ok::before { content: "✓ "; }
.dbh-ct-canaux .dbh-ct-msg { display: block; margin-top: 8px; }
.dbh-ct-pret .db-a-renseigner, .dbh-ct-pret .wpcf7-not-valid-tip { color: var(--ct-rouge); font-size: 13px; }
.dbh-ct-pret .db-oubli :is(input, textarea) { border-color: var(--ct-rouge) !important; }
.dbh-ct-grille2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.dbh-ct-pret .db-email-aide button { border-radius: 4px; }
.dbh-ct-pret .db-email-aide .db-correction { border-color: var(--ct-cuivre); color: var(--ct-cuivre-survol); }
.dbh-ct-pret .db-mention { margin: 16px 0 0; font-size: 13px; line-height: 1.55; color: var(--ct-gris2); }
/* Message (v15) : suggestions avant le libellé, « Dicter » sur la ligne du libellé, note sous le champ */
.dbh-ct-pret .dbh-ct-champ > .db-aide-groupes { margin: 0 0 12px; }
.dbh-ct-pret .dbh-ct-champ .db-libelle-ligne > label { font-size: 13px; font-weight: 600; color: var(--ct-gris); }
.dbh-ct-note-champ { margin: 2px 0 0; font-size: 13px; line-height: 1.5; color: var(--ct-gris2); }
.dbh-ct-note-champ:empty { display: none; }
.dbh-ct-pret .db-mention a { color: var(--ct-gris); }

/* Boutons « Suivant » et envoi : cuivre, arrondi 4 px (charte B), seule la couleur change au survol */
.dbh-ct-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin-top: 16px; }
.dbh-ct-recap-tour .dbh-ct-actions { justify-content: flex-end; }
.dbh-ct-actions-seul { justify-content: flex-start; }
/* « ← Retour » (v15) : discret, gris, cible de 44 px */
.dbh-ct-retour { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; padding: 0 4px; background: none; border: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--ct-gris); cursor: pointer; transition: color .2s; }
.dbh-ct-retour:hover { color: var(--ct-encre); }
.dbh-ct-retour:focus-visible { outline: 2px solid var(--ct-cuivre); outline-offset: 2px; }
.dbh-ct-bt, .dbh-ct-pret .db-form input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 28px;
  border: 0; border-radius: 4px; background: var(--ct-cuivre); color: #fff;
  font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: none; transform: none;
  transition: background .3s, color .3s; opacity: 1;
}
.dbh-ct-bt:hover, .dbh-ct-pret .db-form input[type="submit"]:hover { background: var(--ct-cuivre-survol);  transform: none; box-shadow: none; }
.dbh-ct-bt:focus-visible, .dbh-ct-pret .db-form input[type="submit"]:focus-visible { outline: 2px solid var(--ct-cuivre); outline-offset: 4px; }
.dbh-ct-fl { display: inline-block; transition: transform .35s var(--ct-doux); }
.dbh-ct-bt:hover .dbh-ct-fl, .dbh-ct-lien:hover .dbh-ct-fl { transform: translateX(5px); }
.dbh-ct-bt.dbh-ct-grise { background: var(--ct-trait); color: var(--ct-gris); cursor: default; }
.dbh-ct-bt.dbh-ct-grise .dbh-ct-fl { transform: none; }
.dbh-ct-pret .db-envoi { position: relative; }
.dbh-ct-pret .db-envoi input[type="submit"] { padding-right: 52px; }
.dbh-ct-pret .db-envoi::after { content: "→"; position: absolute; right: 26px; top: 50%; transform: translateY(-50%); color: #fff; font-weight: 600; pointer-events: none; transition: transform .35s var(--ct-doux); }
.dbh-ct-pret .db-envoi:hover::after { transform: translate(5px, -50%); }
.dbh-ct-pret .db-envoi:has(.wpcf7-spinner[style*="visible"])::after, .dbh-ct-pret form.submitting .db-envoi::after { display: none; }
.dbh-ct-pret .wpcf7-spinner { margin: 0 0 0 10px; }

/* Récapitulatif */
.dbh-ct-recap { margin: 0; padding: 0; list-style: none; background: #fff; border-radius: 4px; }
.dbh-ct-recap li { display: grid; grid-template-columns: 22px 150px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 14px 18px; border-bottom: 1px solid var(--ct-trait3); font-size: 15px; }
.dbh-ct-recap li:last-child { border-bottom: 0; }
.dbh-ct-signe { color: var(--ct-cuivre); }
.dbh-ct-lib { font-size: 13px; color: var(--ct-gris); }
.dbh-ct-val { color: var(--ct-encre); font-weight: 500; overflow-wrap: anywhere; white-space: pre-wrap; }

/* Merci */
.dbh-ct-merci { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; padding: 32px 0 4px; outline: none; }
.dbh-ct-merci svg circle { fill: none; stroke: var(--ct-cuivre); stroke-width: 1.6; stroke-dasharray: 170; stroke-dashoffset: 0; }
.dbh-ct-merci svg path { fill: none; stroke: var(--ct-cuivre); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 0; }
.dbh-ct-merci.dbh-ct-anime svg circle { stroke-dashoffset: 170; animation: dbh-ct-dessine .7s .1s ease forwards; }
.dbh-ct-merci.dbh-ct-anime svg path { stroke-dashoffset: 40; animation: dbh-ct-dessine .4s .7s ease forwards; }
.dbh-ct-merci p { margin: 0 0 6px; }
.dbh-ct-merci-titre { font-family: var(--dbh-titre, 'Newsreader', Georgia, serif); font-weight: 360; font-size: 32px; letter-spacing: -.02em; line-height: 1.1; color: var(--ct-encre); margin-bottom: 10px !important; }
.dbh-ct-merci-absence, .dbh-ct-merci-mail { font-size: 15px; color: var(--ct-gris); }
.dbh-ct-merci-note { font-size: 26px; margin: 14px 0 18px !important; }
.dbh-ct-lien { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; background: none; border: 0; font: inherit; font-weight: 600; color: var(--ct-cuivre); cursor: pointer; }

/* ── Accompagnement sous le formulaire (v15) : éléments natifs rangés par contact.js (accompagnement()) ─────
   Masqués sans script, sous 960 px et tant que la place libre ne les accueille pas : seuls ceux marqués dbh-ct-acc-on
   s'affichent, rangés dans le bloc .dbh-ct-accomp sous la conversation. */
.dbh-page-contact :is(.dbh-ct-acc, .dbh-ct-acc-k, .dbh-ct-acc-photo, .dbh-ct-acc-note) { display: none !important; }
.dbh-page-contact .dbh-ct-accomp :is(.dbh-ct-acc, .dbh-ct-acc-k, .dbh-ct-acc-photo, .dbh-ct-acc-note).dbh-ct-acc-on { display: block !important; }
.dbh-page-contact .dbh-ct-accomp, .dbh-ct-acc-grille, .dbh-ct-acc-fig { display: none; }
.dbh-page-contact .dbh-ct-accomp.dbh-ct-acc-on { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.dbh-ct-accomp.dbh-ct-acc-mesure { visibility: hidden; }
.dbh-ct-accomp > *, .dbh-ct-acc-grille > *, .dbh-ct-acc-fig > * { margin: 0 !important; }
.dbh-s .dbh-ct-accomp .dbh-ct-acc-k, .dbh-s .dbh-ct-accomp .dbh-ct-acc-k p { margin: 0; font-size: 24px; }
.dbh-ct-acc-grille.dbh-ct-acc-on { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dbh-s .dbh-ct-acc { position: relative; max-width: none; padding: 20px 22px 20px 76px; background: #fff; border: 1px solid #E4E6E7; border-radius: 4px; }
.dbh-ct-acc.dbh-ct-acc-on { animation: dbh-ct-monte .5s var(--ct-doux) both; }
.dbh-ct-acc::before { content: ""; position: absolute; left: 22px; top: 20px; width: 40px; height: 40px; border-radius: 4px; background: var(--ct-reponse); }
.dbh-ct-acc::after { content: ""; position: absolute; left: 31px; top: 29px; width: 22px; height: 22px; background: var(--ct-cuivre); -webkit-mask: var(--ct-ic) center / contain no-repeat; mask: var(--ct-ic) center / contain no-repeat; }
.dbh-s .dbh-ct-acc h3 { margin: 0 0 6px; font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.35; letter-spacing: 0; color: var(--ct-encre); }
.dbh-s .dbh-ct-acc p { max-width: none; margin: 0 0 10px; font-size: 15px; line-height: 1.55; color: var(--ct-gris); }
.dbh-s .dbh-ct-acc p:last-child { margin-bottom: 0; }
.dbh-s .dbh-ct-acc a { font-size: 14px; font-weight: 600; color: var(--ct-cuivre); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.dbh-ct-acc a:hover .dbh-fl { transform: translateX(5px); }
/* Pictogrammes des cartes (classe dbh-ct-acc-ic-… de l'élément) : traits de la maquette v15 */
.dbh-ct-acc { --ct-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5c3-1 6-1 8 1 2-2 5-2 8-1v14c-3-1-6-1-8 1-2-2-5-2-8-1zM12 6v14'/%3E%3C/svg%3E"); }
.dbh-ct-acc-ic-maison { --ct-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V10l7-6 7 6v11M10 21v-6h4v6'/%3E%3C/svg%3E"); }
.dbh-ct-acc-ic-doc { --ct-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7zM14 3v5h5M10 13h6M10 17h6'/%3E%3C/svg%3E"); }
.dbh-ct-acc-ic-monde { --ct-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18'/%3E%3C/svg%3E"); }
.dbh-ct-acc-ic-video { --ct-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h12v10H3zM15 10l6-3v10l-6-3'/%3E%3C/svg%3E"); }
.dbh-ct-acc-ic-euro { --ct-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 6a7 7 0 1 0 0 12M4 10h9M4 14h9'/%3E%3C/svg%3E"); }
.dbh-ct-acc-ic-cle { --ct-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4a5 5 0 1 1-4.6 7L4 17.4V20h3v-2h2v-2h2l1.6-1.6A5 5 0 0 1 15 4z'/%3E%3C/svg%3E"); }
/* Photo d'ambiance : hauteur posée par le script (= place restante, 120 à 420 px), image recadrée, note manuscrite */
.dbh-ct-acc-fig.dbh-ct-acc-on { display: block; position: relative; border-radius: 4px; overflow: hidden; transition: height .5s var(--ct-doux); animation: dbh-ct-fondu .6s ease both; }
.dbh-ct-acc-fig .dbh-ct-acc-photo, .dbh-ct-acc-fig .dbh-ct-acc-photo :is(a, picture, div) { height: 100%; }
.dbh-ct-acc-fig img { display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; border-radius: 0; }
.dbh-s .dbh-ct-acc-fig .dbh-ct-acc-note { position: absolute; right: 18px; bottom: 12px; z-index: 1; max-width: none; }
.dbh-s .dbh-ct-acc-fig .dbh-ct-acc-note, .dbh-s .dbh-ct-acc-fig .dbh-ct-acc-note p { margin: 0; font-family: var(--dbh-script, 'Caveat', cursive); font-size: 26px; line-height: 1.05; text-align: right; color: #fff; text-shadow: 0 1px 10px rgba(23, 25, 27, .45); }

/* « Et ensuite ? » (texte natif) : sous la carte, dans la colonne de droite (retour de Vincent du 17/10/2026) ; une étape
   par ligne dans la colonne, trois côte à côte sur tablette (colonnes l'une sous l'autre), une par ligne sur téléphone */
.dbh-page-contact .dbh-ct-ensuite-el { margin-top: 34px !important; max-width: none; }
.dbh-page-contact .dbh-ct-ensuite-el p { max-width: none; }
.dbh-page-contact .dbh-ct-ensuite-k { margin: 0 0 18px; font-size: 14px; font-weight: 600; color: var(--ct-cuivre); }
.dbh-page-contact .dbh-ct-ensuite { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 640px) and (max-width: 959px) { .dbh-page-contact .dbh-ct-ensuite { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
.dbh-page-contact .dbh-ct-ensuite > div { position: relative; padding-top: 16px; border-top: 1px solid var(--ct-trait); }
.dbh-page-contact .dbh-ct-ensuite > div::before { content: ""; position: absolute; left: 0; top: -1px; width: 28px; height: 2px; background: var(--ct-cuivre); }
.dbh-page-contact .dbh-ct-ensuite p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ct-gris); }
.dbh-page-contact .dbh-ct-ensuite p b { display: block; margin-bottom: 4px; font-size: 16px; font-weight: 700; color: var(--ct-encre); }

/* ── Colonne de droite : en direct, puis la carte ─────────────────────────── */
.dbh-page-contact .dbh-ct-direct-k p { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: var(--ct-gris); }
.dbh-page-contact .dbh-ct-direct-k { margin-top: 0 !important; }
.dbh-page-contact .dbh-ct-tel, .dbh-page-contact .dbh-ct-tel :where(div, h2) { font-size: clamp(34px, 3vw, 44px); margin: 0 0 20px; white-space: nowrap; }
.dbh-page-contact .dbh-ct-tel a { color: var(--ct-encre); text-decoration: none; }
.dbh-page-contact .dbh-ct-tel a:hover { color: var(--ct-cuivre); }
.dbh-page-contact .dbh-ct-boutons { margin-bottom: 30px; }
.dbh-page-contact .dbh-ct-boutons .uk-button { min-height: 50px; padding: 0 22px; }
.dbh-page-contact .dbh-ct-boutons .uk-button::after { content: none; }
.dbh-page-contact .dbh-ct-boutons .uk-button::before { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.dbh-page-contact .dbh-ct-boutons .uk-button-primary::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h4l2 5-3 2a12 12 0 0 0 6 6l2-3 5 2v4a2 2 0 0 1-2 2A18 18 0 0 1 3 5a2 2 0 0 1 2-2z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h4l2 5-3 2a12 12 0 0 0 6 6l2-3 5 2v4a2 2 0 0 1-2 2A18 18 0 0 1 3 5a2 2 0 0 1 2-2z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.dbh-page-contact .dbh-ct-boutons .uk-button-default::before {
  width: 17px; height: 17px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M4 20l1.3-4A8.5 8.5 0 1 1 8.4 19z' stroke-linejoin='round'/%3E%3Cpath d='M9 9.5c.3 2.3 2.2 4.4 5 5' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M4 20l1.3-4A8.5 8.5 0 1 1 8.4 19z' stroke-linejoin='round'/%3E%3Cpath d='M9 9.5c.3 2.3 2.2 4.4 5 5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.dbh-page-contact .dbh-ct-lignes-el { white-space: normal; }
.dbh-ct-lignes { margin-bottom: 34px; border-bottom: 1px solid var(--ct-trait2); }
.dbh-ct-ligne { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--ct-trait2); font-size: 15px; line-height: 1.55; color: var(--ct-texte); }
.dbh-ct-ligne svg { margin-top: 3px; fill: none; stroke: var(--ct-cuivre); stroke-width: 1.4; }
/* Icônes aquarelle (17/10/2026) : la colonne passe à 40 px quand elles sont là */
.dbh-ct-ligne:has(> .dbh-ico) { grid-template-columns: 40px minmax(0, 1fr); align-items: center; padding: 10px 0; }
.dbh-ct-ligne .dbh-ico { display: block; width: 40px; height: 40px; }
.dbh-ct-ligne a { color: var(--ct-encre); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.dbh-ct-ligne a:hover { color: var(--ct-cuivre); }
.dbh-ct-ligne b { display: block; font-weight: 600; color: var(--ct-encre); }
.dbh-ct-ligne b + span { color: var(--ct-gris); }
.dbh-ct-absent { display: block; margin-top: 4px; font-weight: 600; color: var(--ct-cuivre); }
.dbh-ct-message { display: block; margin-top: 3px; font-size: 13px; line-height: 1.5; color: var(--dbh-gris, #5B6470); }
/* « Suivez-moi » (v15) : une case bordée par réseau dont l'adresse est connue (pages/contact.php) */
.dbh-ct-reseaux { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.dbh-ct-lignes:has(.dbh-ico) .dbh-ct-suivre { grid-template-columns: 40px minmax(0, 1fr); padding: 10px 0 14px; }
.dbh-ct-lignes:has(.dbh-ico) .dbh-ct-suivre > svg { justify-self: center; margin-top: 4px; }
.dbh-ct-ligne a.dbh-ct-reseau { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid var(--ct-trait); border-radius: 4px; font-size: 14px; font-weight: 600; color: var(--ct-encre); transition: border-color .2s; }
.dbh-ct-ligne a.dbh-ct-reseau:hover { border-color: var(--ct-encre); color: var(--ct-encre); }
.dbh-ct-ligne a.dbh-ct-reseau:focus-visible { outline: 2px solid var(--ct-cuivre); outline-offset: 2px; }
.dbh-ct-ligne .dbh-ct-reseau svg { flex: none; margin: 0; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.dbh-ct-ligne .dbh-ct-reseau svg.dbh-ct-plein { fill: currentColor; stroke: none; }

/* Carte du secteur : le dessin animé posé sur une vraie carte (retour de Vincent du 17/10/2026). La vraie carte (Leaflet,
   posée par contact.js sous le dessin, cadrée sur les mêmes bornes) n'apparaît qu'à la première tuile reçue
   (.dbh-ct-reelle) : le décor de parcelles du dessin s'efface, les bords se fondent dans la page. Sans elle : le dessin seul. */
.dbh-page-contact .dbh-ct-carte-el { white-space: normal; margin-top: 0 !important; }
.dbh-ct-carte { position: relative; margin: 0; }
.dbh-ct-plan { position: relative; border-radius: 4px; overflow: hidden; background: #FBFBFA; }
.dbh-ct-carte svg { position: relative; z-index: 1; display: block; width: 100%; height: auto; max-width: 100%; background: #FBFBFA; border-radius: 4px; transition: background-color .8s; }
.dbh-ct-fond { position: absolute; inset: 0; z-index: 0; background: #F3F4F4; opacity: 0; pointer-events: none; transition: opacity .8s; }
.dbh-ct-fond.leaflet-container { background: #F3F4F4; }
.dbh-ct-fond .leaflet-tile-pane { filter: grayscale(.85) sepia(.12) contrast(.92) brightness(1.06); }
.dbh-ct-fond .leaflet-tile-pane img { max-width: none !important; max-height: none !important; }
.dbh-ct-reelle .dbh-ct-fond { opacity: 1; }
.dbh-ct-reelle .dbh-ct-plan svg { background-color: transparent; }
.dbh-ct-dessin-fond { transition: opacity .8s; }
.dbh-ct-reelle .dbh-ct-dessin-fond { opacity: 0; }
.dbh-ct-bords { opacity: 0; transition: opacity .8s; }
.dbh-ct-reelle .dbh-ct-bords { opacity: 1; }
/* Noms lisibles sur le fond de carte : liseré blanc */
.dbh-ct-carte .dbh-ct-mots text, .dbh-ct-carte text.dbh-ct-mots { paint-order: stroke; stroke: #FFFFFF; stroke-width: 3px; stroke-linejoin: round; }
/* Encart sous la carte (24/10/2026) : une phrase claire, lisible (15 px, texte foncé), filet cuivre à gauche comme les
   repères de la page ; remplace l'ancienne légende grise de 12 px. Mention d'OpenStreetMap : coin bas droit de la carte. */
.dbh-ct-carte .dbh-ct-deplace { margin-top: 12px; padding: 12px 16px; border-left: 2px solid var(--ct-cuivre); border-radius: 4px; background: var(--ct-mineral); }
.dbh-ct-carte .dbh-ct-deplace p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ct-texte); }
.dbh-ct-carte .dbh-ct-deplace strong { color: var(--ct-encre); font-weight: 700; }
.dbh-ct-plan .db-osm-mention { position: absolute; z-index: 3; right: 0; bottom: 0; }
.dbh-ct-note-carte { position: absolute; z-index: 2; left: 16px; bottom: 12px; margin: 0; font-size: 25px; line-height: 1.05; transform: rotate(-4deg); text-shadow: 0 0 6px #fff, 0 0 2px #fff; pointer-events: none; }
.dbh-ct-pulse { animation: dbh-ct-pulse 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
/* Le tracé n'est caché qu'en attendant d'être dessiné (classe posée par contact.js) : sans script, il reste visible */
.dbh-ct-carte.dbh-ct-attente .dbh-ct-trace path { stroke-dasharray: 900; stroke-dashoffset: 900; }
.dbh-ct-carte.dbh-ct-attente.dbh-ct-vu .dbh-ct-trace path { animation: dbh-ct-trace 3s .2s cubic-bezier(.6, 0, .2, 1) forwards; }

/* ── Animations ───────────────────────────────────────────────────────────── */
@keyframes dbh-ct-monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes dbh-ct-fondu { from { opacity: 0; } to { opacity: 1; } }
@keyframes dbh-ct-efface { to { opacity: 0; visibility: hidden; } }
@keyframes dbh-ct-saute { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-3px); opacity: 1; } }
@keyframes dbh-ct-dessine { to { stroke-dashoffset: 0; } }
@keyframes dbh-ct-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.1); opacity: 0; } }
@keyframes dbh-ct-trace { to { stroke-dashoffset: 0; } }
@keyframes dbh-ct-secoue { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.dbh-ct-secoue { animation: dbh-ct-secoue .4s ease; }
.dbh-ct-msg.dbh-ct-secoue { display: inline-block; }

/* ── Tablette et téléphone ────────────────────────────────────────────────── */
@media (max-width: 959px) {
  .dbh-s.dbh-page-contact .uk-container { padding-top: 14px; padding-bottom: 42px; }
  .dbh-page-contact .dbh-ct-droite { margin-top: 38px; }
}
@media (max-width: 639px) {
  .dbh-s.dbh-page-contact .uk-container { padding-left: 20px; padding-right: 20px; }
  .dbh-page-contact .dbh-ct-h1, .dbh-page-contact h1.dbh-ct-h1 { font-size: 36px; }
  .dbh-page-contact .dbh-ct-chapo p { font-size: 17px; }
  .dbh-page-contact .dbh-ct-chapo { margin-bottom: 28px; }
  .dbh-page-contact .dbh-ct-conv-titre { padding: 22px 14px 14px; }
  .dbh-ct-conv { padding: 0 14px 24px; }
  .dbh-ct-progres { position: static; padding: 12px 0 2px; justify-content: space-between; }
  .dbh-page-contact .dbh-ct-conv-titre { border-bottom: 0; }
  .dbh-ct-conv.dbh-ct-pret .dbh-ct-progres { border-bottom: 1px solid #E1E3E5; padding-bottom: 12px; }
  .dbh-ct-zone { margin-left: 0; }
  .dbh-ct-cran, .dbh-ct-relie::before, .dbh-ct-premier::before { display: none; }
  .dbh-ct-relie .dbh-ct-qv { gap: 0; }
  .dbh-ct-portrait { width: 42px; height: 42px; }
  .dbh-ct-bulle { font-size: 16px; padding: 11px 15px; }
  .dbh-ct-pret .dbh-ct-tuiles .wpcf7-radio, .dbh-ct-grille2 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .dbh-ct-pret .dbh-ct-tuiles .wpcf7-list-item-label { flex-direction: row; align-items: center; min-height: 60px; padding: 12px 14px; }
  .dbh-ct-pret .dbh-ct-tuiles svg { width: 26px; height: 26px; }
  .dbh-ct-pret .dbh-ct-tuiles .dbh-ico { width: 44px; height: 44px; margin: -6px 0; }
  .dbh-ct-pas .dbh-ct-puce { flex: 1 1 100%; justify-content: flex-start; }
  .dbh-ct-pret .dbh-ct-canaux .wpcf7-checkbox { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .dbh-ct-pret .dbh-ct-canaux .wpcf7-list-item-label { display: flex; gap: 6px; padding: 0 10px; min-width: 0; }
  .dbh-ct-pret .dbh-ct-canaux .wpcf7-list-item-label .db-ico { width: 30px; height: 30px; }
  .dbh-ct-actions .db-envoi, .dbh-ct-actions .db-envoi input[type="submit"] { width: 100%; }
  .dbh-ct-actions:has(.dbh-ct-retour + .dbh-ct-bt) { flex-wrap: nowrap; }
  .dbh-ct-actions .dbh-ct-bt { flex: 1 1 auto; padding: 0 18px; }
  .dbh-ct-rep { gap: 10px; }
  .dbh-ct-recap li { grid-template-columns: 18px minmax(0, 1fr) auto; gap: 4px 10px; padding: 12px 14px; }
  .dbh-ct-recap .dbh-ct-lib { grid-column: 2; }
  .dbh-ct-recap .dbh-ct-val { grid-column: 2; }
  .dbh-ct-recap .dbh-ct-modif { grid-row: 1; grid-column: 3; }
  .dbh-ct-merci { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .dbh-ct-merci-titre { font-size: 27px; }
  .dbh-page-contact .dbh-ct-tel, .dbh-page-contact .dbh-ct-tel :where(div) { font-size: 36px; }
  .dbh-page-contact .dbh-ct-boutons .uk-grid > * { width: 100%; }
  .dbh-page-contact .dbh-ct-boutons .uk-button { width: 100%; justify-content: center; }
  .dbh-ct-note-carte { font-size: 20px; bottom: 8px; left: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .dbh-page-contact *, .dbh-page-contact *::before, .dbh-page-contact *::after { animation: none !important; transition: none !important; }
  .dbh-ct-ecrit { display: none !important; }
  .dbh-ct-trace path, .dbh-ct-merci svg circle, .dbh-ct-merci svg path { stroke-dashoffset: 0 !important; }
}
