/* Plaine Altitude, système de design V4 : Fenêtres : demande de devis et de conseil, lettre d'information (bloc du pied, encart, fenêtre à la 3e page).
   Extrait des maquettes le 2026-10-11 ; ne pas éditer les pages, éditer ce fichier. */

/* ── Fenêtres en <dialog> (2026-11-13, js/commun.js « paFenetre ») : l'élément couvre tout l'écran, comme l'ancienne enveloppe en <div> ;
   le voile reste un enfant cliquable (.xx__fond), le ::backdrop du navigateur est transparent. Styles du navigateur remis à zéro. ── */
:where(dialog.pa-fenetre) { max-width: none; max-height: none; width: auto; height: auto; margin: 0; padding: 0; border: 0; background: none; color: inherit; overflow: visible; }
dialog.pa-fenetre:not([open]), dialog.pa-fenetre[hidden] { display: none !important; }
:where(dialog.pa-fenetre)::backdrop { background: transparent; overflow: hidden; overscroll-behavior: contain; }
dialog.pa-fenetre:modal { overscroll-behavior: contain; }
html.pa-fenetre-ouverte body { overflow: hidden; }
.rs-menu[popover] { right: auto; bottom: auto; margin: 0; overflow: visible; }

.nl-couv { position: relative; display: flex; flex-direction: column; justify-content: space-between; flex: none; box-sizing: border-box; width: 7.5rem; aspect-ratio: 3 / 4; padding: 0.75rem 0.7rem; border-radius: 8px; overflow: hidden; color: #fff;
    background: repeating-radial-gradient(circle at 85% 20%, transparent 0 14px, rgba(32,196,195,.16) 14px 15px), linear-gradient(160deg, color-mix(in srgb, #fff 9%, var(--pa-noir)) 0%, var(--pa-noir) 70%);
    box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 12px 26px rgba(41,39,40,.28); transform: rotate(-3deg); }
.nl-couv__haut { display: flex; align-items: center; justify-content: space-between; }
.nl-couv__picto { width: 1.3rem; height: 1.45rem; fill: var(--pa-turquoise); }
.nl-couv__label { padding: 0.15rem 0.35rem; border-radius: 4px; background: var(--pa-jaune); color: var(--pa-noir); font: 800 0.5rem/1 var(--font-texte); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.nl-couv__titre { font: 800 0.92rem/1.08 var(--font-titre); }
.nl-couv__bas { font: 700 0.5rem/1 var(--font-texte); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pa-turquoise); }
.nl-surtitre { display: block; font: 800 var(--fs-2xs)/1 var(--font-texte); letter-spacing: 0.1em; text-transform: uppercase; color: var(--pa-turquoise-text); }
.nl-titre { display: block; margin-top: 0.4rem; font: 800 var(--fs-lg)/1.2 var(--font-titre); color: var(--fg-titre); }
.nl-form { display: flex; gap: 0.5rem; }
.nl-form__champ { flex: 1 1 auto; min-width: 0; }
.nl-form input { width: 100%; box-sizing: border-box; height: 3rem; padding: 0 1rem; border-radius: 8px; border: 1px solid var(--bord); background: #fff; font: 500 var(--fs-sm)/1 var(--font-texte); color: var(--fg-titre); }
.nl-form input:focus { outline: 2px solid var(--pa-turquoise); outline-offset: 1px; border-color: var(--pa-turquoise); }
.nl-form input.nl-erreur { border-color: #d64545; outline-color: #d64545; }
.nl-form .pa-btn { flex: none; height: 3rem; white-space: nowrap; }
.nl-mention { margin: 0.5rem 0 0; font-size: var(--fs-2xs); line-height: 1.45; color: var(--fg-secondaire); }
.nl-merci { margin: 0; padding: 0.85rem 1rem; border-radius: 8px; background: var(--pa-turquoise-50); color: var(--fg-titre); font-size: var(--fs-sm); line-height: 1.45; }
.nl-merci[hidden], .nl-form[hidden], .nl-mention[hidden] { display: none; }
/* A1 : bloc en tête du pied de page */
.nl-pied--a1 { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: var(--sp-l); margin-bottom: var(--sp-l); padding-bottom: var(--sp-l); border-bottom: 1px solid rgba(255,255,255,.12); }
.nl-pied--a1 .nl-titre { color: #fff; }
.nl-pied--a1 .nl-surtitre { color: var(--pa-turquoise); }
.nl-pied--a1 p { margin: 0.4rem 0 0; font-size: var(--fs-sm); line-height: 1.5; }
.nl-pied--a1 .nl-mention { color: rgba(255,255,255,.55); }
.nl-pied--a1 input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff; }
.nl-pied--a1 input::placeholder { color: rgba(255,255,255,.55); }
.nl-pied--a1 .nl-merci { background: rgba(32,196,195,.14); color: #fff; }
.nl-pied--a1 .nl-couv { box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 12px 26px rgba(0,0,0,.35); }
/* B : carte sur la fiche */
.nl-zone { padding-block: var(--sp-xs); }
.nl-fiche { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--sp-l); padding: var(--sp-l) calc(var(--sp-l) + 0.5rem); border-radius: 16px; }
.nl-fiche p { margin: 0.4rem 0 0; font-size: 16px; line-height: 1.5; }
.nl-fiche .nl-mention { font-size: var(--fs-2xs); }
.nl-fiche { background: #fff; border: 1px solid var(--bord); box-shadow: inset 4px 0 0 var(--pa-turquoise); }
.nl-fiche .nl-couv { width: 5.5rem; padding: 0.55rem 0.5rem; }
.nl-fiche .nl-couv__titre { font-size: 0.7rem; }
.nl-fiche .nl-couv__picto { display: none; }
.nl-fiche .nl-couv__label { font-size: 0.42rem; padding: 0.12rem 0.25rem; letter-spacing: 0.03em; }
.nl-fiche .nl-titre { font-size: var(--fs-md); }
.nl-fiche .pa-btn--cta { background: var(--pa-noir); color: var(--pa-turquoise); }
@media (max-width: 1099px) {
  .nl-pied--a1, .nl-fiche { grid-template-columns: auto minmax(0, 1fr); }
  .nl-pied__form, .nl-fiche__form { grid-column: 1 / -1; }
}
@media (max-width: 639px) {
  .nl-pied--a1, .nl-fiche { gap: var(--sp-s) var(--sp-m); padding-inline: var(--sp-m); }
  .nl-pied--a1 { padding-inline: 0; }
  .nl-couv { width: 5.25rem; padding: 0.5rem; }
  .nl-couv__titre { font-size: 0.68rem; }
  .nl-couv__label { font-size: 0.42rem; padding: 0.12rem 0.25rem; letter-spacing: 0.03em; }
  .nl-titre { font-size: var(--fs-md); }
  .nl-pied__texte p, .nl-fiche__texte p { display: none; }
  .nl-zone .nl-couv__picto, .nl-pied__texte ~ .nl-couv__picto, .nl-pied--a1 .nl-couv__picto { display: none; }
  .nl-form { flex-direction: column; }
  .nl-form .pa-btn { width: 100%; }
}
/* Envoi réel (module lettre, 2026-11-10) : champ piège, message d'erreur, envoi en cours, encart sans couverture (pas de guide réglé) */
.nl-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.nl-form { position: relative; }
.nl-form.is-envoi .pa-btn { opacity: .65; pointer-events: none; }
.nl-erreur-msg { margin: 0.5rem 0 0; font-size: var(--fs-xs); font-weight: 700; line-height: 1.4; color: var(--erreur, #b42318); }
.nl-erreur-msg[hidden] { display: none; }
.nl-pied--a1 .nl-erreur-msg { color: #ffb4a8; }
.nl-pied--a1.nl-sans-couv, .nl-fiche.nl-sans-couv { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.nl-fenetre__boite.nl-sans-couv { grid-template-columns: minmax(0, 1fr); width: min(30rem, 100%); }
@media (max-width: 1099px) {
  .nl-pied--a1.nl-sans-couv, .nl-fiche.nl-sans-couv { grid-template-columns: minmax(0, 1fr); }
}
.nl-page .cmd-boutons { justify-content: flex-start; }
/* C : fenêtre */
.nl-fenetre { position: fixed; inset: 0; z-index: 165; display: grid; place-items: center; padding: 1rem; }
.nl-fenetre[hidden] { display: none; }
.nl-fenetre__fond { position: absolute; inset: 0; background: rgba(41,39,40,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: nl-fondu 200ms ease; }
.nl-fenetre__boite { position: relative; display: grid; grid-template-columns: 15rem minmax(0, 1fr); width: min(46rem, 100%); max-height: calc(100vh - 2rem); overflow: auto; border-radius: 16px; background: #fff; box-shadow: 0 30px 70px rgba(41,39,40,.35); animation: nl-monte 260ms cubic-bezier(.2,.7,.3,1); }
.nl-fenetre__visuel { display: grid; place-items: center; padding: var(--sp-l); background: repeating-radial-gradient(circle at 30% 70%, transparent 0 18px, rgba(41,39,40,.06) 18px 19px), var(--pa-turquoise); }
.nl-fenetre__visuel .nl-couv { width: 9.5rem; }
.nl-fenetre__visuel .nl-couv__titre { font-size: 1.15rem; }
.nl-fenetre__corps { padding: var(--sp-xl) var(--sp-l) var(--sp-l); }
.nl-fenetre__corps .nl-titre { font-size: var(--fs-xl); }
.nl-fenetre__corps p { margin: 0.5rem 0 1rem; font-size: var(--fs-sm); line-height: 1.5; color: var(--fg-texte); }
.nl-fenetre__corps .nl-form { flex-direction: column; }
.nl-fenetre__corps .nl-form .pa-btn { width: 100%; }
.nl-fenetre__non { margin-top: 0.75rem; padding: 0; border: 0; background: none; font: 600 var(--fs-xs)/1 var(--font-texte); color: var(--fg-secondaire); text-decoration: underline; cursor: pointer; }
.nl-fenetre__fermer { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 1; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 8px; border: 1px solid var(--bord); background: #fff; color: var(--pa-noir); cursor: pointer; }
.nl-fenetre__fermer svg { width: 1rem; height: 1rem; }
.nl-fenetre__fermer:hover { background: var(--pa-noir); border-color: var(--pa-noir); color: var(--pa-turquoise); }
@keyframes nl-fondu { from { opacity: 0; } }
@keyframes nl-monte { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (max-width: 639px) {
  .nl-fenetre { place-items: end stretch; padding: 0; }
  .nl-fenetre__boite { grid-template-columns: minmax(0, 1fr); border-radius: 16px 16px 0 0; max-height: 92vh; }
  .nl-fenetre__visuel { padding: var(--sp-m); }
  .nl-fenetre__visuel .nl-couv { width: 6rem; }
  .nl-fenetre__visuel .nl-couv__titre { font-size: 0.78rem; }
  .nl-fenetre__corps { padding: var(--sp-m); }
}
@media (prefers-reduced-motion: reduce) {
  .nl-fenetre__fond, .nl-fenetre__boite { animation: none; }
}
/* ── Fenêtre de devis ── */
.dv { position: fixed; inset: 0; z-index: 170; display: grid; place-items: center; padding: 1.25rem; }
.dv[hidden] { display: none; }
.dv__fond { position: absolute; inset: 0; background: rgba(41,39,40,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: nl-fondu 200ms ease; }
.dv__boite { position: relative; display: grid; grid-template-columns: 22rem minmax(0, 1fr); width: min(62rem, 100%); height: min(46rem, calc(100vh - 2.5rem)); overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 30px 70px rgba(41,39,40,.35); animation: nl-monte 260ms cubic-bezier(.2,.7,.3,1); }
.dv__fermer { position: absolute; top: 0.9rem; right: 0.9rem; z-index: 3; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 8px; border: 1px solid var(--bord); background: #fff; color: var(--pa-noir); cursor: pointer; }
.dv__fermer svg { width: 1rem; height: 1rem; }
.dv__fermer:hover { background: var(--pa-noir); border-color: var(--pa-noir); color: var(--pa-turquoise); }
[data-dv-mode][hidden] { display: none !important; }
/* Colonne de gauche */
.dv__gauche { display: flex; flex-direction: column; gap: 0.6rem; padding: var(--sp-l); background: var(--bg-page); border-right: 1px solid var(--bord); overflow: auto; }
.dv-visuel { aspect-ratio: 4 / 3; margin-bottom: 0.4rem; overflow: hidden; border-radius: 12px; }
.dv-visuel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dv__gauche .surtitre { display: block; }
.dv-nom { display: block; margin-top: 0.15rem; font: 800 var(--fs-xl)/1.15 var(--font-titre); color: var(--fg-titre); }
.dv-prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.6rem; margin-top: 0.5rem; }
.dv-prix small { flex-basis: 100%; font-size: var(--fs-2xs); color: var(--fg-secondaire); }
.dv-prix strong { font: 800 var(--fs-xl)/1 var(--font-titre); color: var(--fg-titre); }
.dv-prix s { font-size: var(--fs-sm); color: var(--fg-secondaire); }
.dv-pack { list-style: none; margin: 0.6rem 0 0; padding: 0; display: grid; gap: 0.4rem; }
.dv-pack li { display: flex; align-items: center; gap: 0.65rem; padding: 0.4rem; border-radius: 8px; background: #fff; border: 1px solid var(--bord); font-size: var(--fs-sm); font-weight: 600; color: var(--fg-titre); }
.dv-pack img { width: 2.6rem; height: 2.6rem; object-fit: contain; border-radius: 6px; background: #fff; }
.dv-herve { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.5rem; font-size: var(--fs-sm); line-height: 1.4; color: var(--fg-texte); }
.dv-herve b { display: block; color: var(--fg-titre); }
.dv-herve .avatar { flex: none; }
.dv-conseil-texte { margin: 0.4rem 0 0; font-size: 16px; line-height: 1.5; color: var(--fg-texte); }
.dv-promesses { list-style: none; margin: auto 0 0; padding: var(--sp-s) 0 0; border-top: 1px solid var(--bord); display: grid; gap: 0.55rem; }
.dv-promesses li { display: flex; align-items: center; gap: 0.6rem; font-size: var(--fs-xs); color: var(--fg-texte); }
.dv-promesses svg { width: 1rem; height: 1rem; color: var(--pa-turquoise-text); flex: none; }
.dv-promesses a { color: var(--pa-turquoise-text); font-weight: 700; }
/* Colonne de droite : formulaire */
.dv__droite { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; margin: 0; }
.dv__tete { padding: var(--sp-l) 4.5rem 0.9rem var(--sp-l); border-bottom: 1px solid var(--bord); }
.dv__tete h2 { margin: 0.3rem 0 0; font-size: var(--fs-xl); }
.dv-progression { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; margin-top: 0.8rem; }
.dv-progression i { height: 4px; border-radius: 4px; background: var(--bord); transition: background var(--t-rapide); }
.dv[data-etape-active="1"] .dv-progression i:first-child, .dv[data-etape-active="2"] .dv-progression i { background: var(--pa-turquoise); }
.dv[data-etapes="1"] .dv-progression { display: none; }
.dv__corps { overflow: auto; padding: var(--sp-m) var(--sp-l); overscroll-behavior: contain; }
.dv-etape { display: grid; gap: 0.8rem; }
.dv-etape + .dv-etape { margin-top: var(--sp-l); padding-top: var(--sp-l); border-top: 1px solid var(--bord); }
.dv[data-etapes="2"] .dv-etape + .dv-etape { margin-top: 0; padding-top: 0; border-top: 0; }
.dv[data-etapes="2"][data-etape-active="1"] .dv-etape[data-etape="2"], .dv[data-etapes="2"][data-etape-active="2"] .dv-etape[data-etape="1"] { display: none; }
.dv-etape__titre { display: flex; align-items: center; gap: 0.6rem; margin: 0; font: 800 var(--fs-md)/1.2 var(--font-titre); color: var(--fg-titre); }
.dv-etape__titre b { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 8px; background: var(--pa-noir); color: var(--pa-turquoise); font-size: var(--fs-xs); }
.dv-sous { margin: 0.3rem 0 -0.3rem; font: 700 var(--fs-xs)/1.3 var(--font-texte); color: var(--fg-titre); }
.dv-aide { margin: -0.4rem 0 0; font-size: var(--fs-2xs); line-height: 1.4; color: var(--fg-secondaire); }
.dv-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.dv .pa-champ textarea { min-height: 5.5rem; resize: vertical; }
.dv .pa-champ.dv-erreur input, .dv .pa-champ.dv-erreur textarea { border-color: #d64545; box-shadow: 0 0 0 1px #d64545; }
.dv-config { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.dv-config .pa-champ select:disabled { opacity: .5; }
.dv-choix { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.dv-choix label { cursor: pointer; }
.dv-choix input { position: absolute; opacity: 0; pointer-events: none; }
.dv-choix span { display: block; padding: 0.6rem 0.85rem; border-radius: 8px; border: 1px solid var(--bord); background: #fff; font: 600 var(--fs-sm)/1.1 var(--font-texte); color: var(--fg-titre); transition: background var(--t-rapide), border-color var(--t-rapide), color var(--t-rapide); }
.dv-choix span:hover { border-color: var(--pa-noir); }
.dv-choix input:checked + span { background: var(--pa-noir); border-color: var(--pa-noir); color: var(--pa-turquoise); }
.dv-choix input:focus-visible + span { outline: 2px solid var(--pa-turquoise); outline-offset: 2px; }
.dv-choix.dv-erreur span { border-color: #d64545; box-shadow: 0 0 0 1px #d64545; }
.dv-erreur-texte { margin: 0.35rem 0 0; font-size: var(--fs-xs); font-weight: 600; color: #b42318; }
.dv-tel[hidden] { display: none; }
.dv-profil { border: 1px solid var(--bord); border-radius: 12px; background: #fff; }
.dv-profil summary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.2rem 0.6rem; padding: 0.85rem 2.6rem 0.85rem 1rem; cursor: pointer; list-style: none; position: relative; font-weight: 700; color: var(--fg-titre); }
.dv-profil summary::-webkit-details-marker { display: none; }
.dv-profil summary small { font-weight: 500; font-size: var(--fs-xs); color: var(--fg-secondaire); }
.dv-profil summary::after { content: ""; position: absolute; right: 1.1rem; top: 1.15rem; width: 0.5rem; height: 0.5rem; border: solid var(--pa-noir); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform var(--t-rapide); }
.dv-profil[open] summary::after { transform: rotate(-135deg); top: 1.35rem; }
.dv-profil__corps { display: grid; gap: 0.8rem; padding: 0 1rem 1rem; }
.dv-lettre { align-items: flex-start; font-size: var(--fs-sm); line-height: 1.4; }
.dv-rgpd { margin: -0.3rem 0 0; font-size: var(--fs-2xs); color: var(--fg-secondaire); }
.dv__pied { display: flex; align-items: center; justify-content: flex-end; gap: 0.75rem; padding: 0.9rem var(--sp-l); border-top: 1px solid var(--bord); background: #fff; }
.dv-retour { margin-right: auto; padding: 0; border: 0; background: none; font: 700 var(--fs-sm)/1 var(--font-texte); color: var(--fg-secondaire); cursor: pointer; text-decoration: underline; }
.dv[data-etapes="1"] .dv-retour, .dv[data-etapes="1"] .dv-suite, .dv[data-etape-active="1"] .dv-retour { visibility: hidden; }
.dv[data-etapes="2"][data-etape-active="1"] .dv-envoyer, .dv[data-etapes="2"][data-etape-active="2"] .dv-suite { display: none; }
.dv[data-etapes="1"] .dv-suite { display: none; }
/* Confirmation */
.dv-merci { grid-column: 2; display: flex; flex-direction: column; justify-content: center; padding: var(--sp-xl) var(--sp-l); }
.dv-merci[hidden] { display: none; }
.dv.est-envoye .dv__droite { display: none; }
.dv-merci__coche { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 12px; background: var(--pa-turquoise); color: var(--pa-noir); margin-bottom: var(--sp-s); }
.dv-merci__coche svg { width: 1.8rem; height: 1.8rem; }
.dv-merci h2 { margin: 0; font-size: var(--fs-2xl); }
.dv-merci p { margin: 0.6rem 0 0; font-size: 16px; line-height: 1.5; color: var(--fg-texte); }
.dv-merci__num { font-size: var(--fs-sm) !important; color: var(--fg-secondaire) !important; }
.dv-merci__boutons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--sp-m); }
.dv-merci__wa { gap: 0.5rem; background: #fff; border: 1px solid var(--pa-turquoise); color: var(--pa-noir); }
.dv-merci__wa svg { width: 1.1rem; height: 1.1rem; color: var(--pa-turquoise-text); }
.dv-merci__wa:hover { background: var(--pa-noir); border-color: var(--pa-noir); color: #fff; }
@media (max-width: 899px) {
  .dv { padding: 0; place-items: stretch; }
  .dv__boite { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); width: 100%; height: 100%; border-radius: 0; }
  .dv__gauche { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.85rem; padding: 0.75rem 4rem 0.75rem var(--gouttiere); border-right: 0; border-bottom: 1px solid var(--bord); overflow: visible; }
  .dv__gauche > div { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 0.85rem; width: 100%; }
  .dv-visuel { grid-row: 1 / 4; width: 3.5rem; aspect-ratio: 1; margin: 0; border-radius: 8px; }
  .dv-nom { font-size: var(--fs-md); }
  .dv-prix { margin-top: 0.15rem; }
  .dv-prix small { display: none; }
  .dv-prix strong { font-size: var(--fs-md); }
  .dv-pack, .dv-promesses, .dv-conseil-texte { display: none; }
  .dv-herve { grid-column: 1 / -1; margin: 0; }
  .dv__fermer { top: 0.7rem; right: 0.7rem; }
  .dv__tete { padding: var(--sp-s) var(--gouttiere) 0.75rem; }
  .dv__tete h2 { font-size: var(--fs-lg); }
  .dv__corps { padding: var(--sp-s) var(--gouttiere); }
  .dv__pied { padding: 0.75rem var(--gouttiere) calc(0.75rem + env(safe-area-inset-bottom)); }
  .dv-merci { grid-column: 1; grid-row: 2; padding: var(--sp-l) var(--gouttiere); }
}
@media (max-width: 479px) {
  .dv__pied .pa-btn { flex: 1 1 auto; justify-content: center; }
  /* n°63 et 65 : bouton à pastille en pleine largeur, pastille collée à droite et texte centré (comme pa-btn--bloc) */
  .dv__pied .pa-btn--pastille { justify-content: space-between; padding-left: 0.4em; }
  .dv__pied .pa-btn--pastille::before { content: ""; width: 2.3em; flex: none; }
}
@media (max-width: 359px) {
  .dv-duo, .dv-config { grid-template-columns: minmax(0, 1fr); }
}
.dv__pied .pa-btn { white-space: nowrap; }
.dv-herve .avatar { flex: none; }
/* n°39 : demande de délai, la colonne de gauche montre le choix joint à la demande (rempli par commun.js, selectionDelai),
   puis une carte « Hervé vous répond » ; les garanties restent en bas */
.dv-selection { display: grid; gap: 0.35rem; }
.dv-selection[hidden] { display: none; }
.dv-selection__details { display: grid; gap: 0.3rem; margin: 0.4rem 0 0; }
.dv-selection__details > div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.3rem; border-bottom: 1px solid var(--bord); font-size: var(--fs-sm); }
.dv-selection__details dt { color: var(--fg-secondaire); }
.dv-selection__details dd { margin: 0; font-weight: 700; color: var(--fg-titre); text-align: right; }
.dv-selection__lignes li { align-items: flex-start; }
.dv-selection__lignes span { display: grid; gap: 0.1rem; min-width: 0; }
.dv-selection__lignes small { font-size: var(--fs-2xs); font-weight: 400; color: var(--fg-secondaire); }
.dv-selection__lignes em { font-style: normal; font-size: var(--fs-2xs); font-weight: 700; color: #7a5600; }
.dv-herve--carte { align-items: flex-start; margin-top: 0.9rem; padding: 0.9rem 1rem; border-radius: 12px; background: #fff; border: 1px solid var(--bord); }
@media (max-width: 899px) {
  .dv__gauche > [data-dv-mode~="delai"] { display: block; }
  .dv-selection { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 0.85rem; }
  .dv-selection .surtitre { grid-column: 2; }
  .dv-selection .dv-visuel { grid-row: 1 / 3; }
  .dv-selection .dv-nom { grid-column: 2; }
  .dv-selection__details, .dv-selection__lignes, .dv-herve--carte { display: none; }
}
/* n°62 : sur mobile, la colonne de gauche n'affiche que le nom ; le détail du choix est écrit en dur au-dessus du message
   (sur ordinateur, la colonne de gauche le montre déjà) */
.dv-recap { display: none; }
@media (max-width: 899px) {
  .dv-recap:not([hidden]):not(:empty) { display: grid; gap: 0.35rem; margin-bottom: 0.9rem; padding: 0.8rem 1rem; border-radius: 12px; background: var(--bg-page); border: 1px solid var(--bord); }
  .dv-recap .surtitre { display: block; }
  .dv-recap .dv-selection__details, .dv-recap .dv-selection__lignes { display: grid; margin: 0; }
  .dv-recap .dv-pack img { flex: none; }
}
/* Devis du panier (2026-11-11) : nom et prix de chaque article sur deux lignes, total aligné à droite. La liste de l'étape
   (dv-pack--etape) ne sert que sur téléphone, où la colonne de gauche n'affiche que son titre ; sur ordinateur, la colonne la montre déjà */
.dv-panier__nom { display: grid; gap: 0.1rem; min-width: 0; }
.dv-panier__nom small { font-size: var(--fs-2xs); font-weight: 400; color: var(--fg-secondaire); }
.dv-panier__nom .dv-panier__remise { font-weight: 700; color: #7a5600; }
.dv-pack .dv-panier__total { justify-content: space-between; padding: 0.5rem 0.65rem; }
.dv-pack .dv-panier__titre { padding: 0; border: 0; background: none; }
.dv-pack--etape { display: none; }
@media (max-width: 899px) {
  .dv-pack.dv-pack--etape:not([hidden]) { display: grid; margin: 0 0 0.9rem; padding: 0.8rem 1rem; border-radius: 12px; background: var(--bg-page); border: 1px solid var(--bord); }
  .dv-pack--etape .surtitre { display: block; }
  .dv-pack--etape img { flex: none; }
}
/* n°39 : un long message prérempli (composition d'un pack) ne défile plus sous l'étiquette du champ : la zone grandit avec son texte
   là où le navigateur le sait (field-sizing), et l'étiquette remontée garde un fond blanc qui masque le texte qui passe dessous */
.dv .pa-champ textarea { field-sizing: content; max-height: 16rem; }
.pa-champ textarea:focus + label, .pa-champ textarea:not(:placeholder-shown) + label { background: #fff; box-shadow: 0 0 0 0.3rem #fff; border-radius: 4px; }
