/* ==========================================================================
   BISIMMO Annonces — espace pro, fiches, catalogue, formulaires.
   S’appuie sur les jetons et composants du thème (couleurs, .bouton, .champ-form…).
   ========================================================================== */

/* ---------- Outils communs ---------- */
[data-bi-si][hidden] { display: none !important; }
.bi-pot { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bi-note { margin: 0; font-size: 13px; line-height: 1.55; color: var(--gris); }
.bi-note a { color: var(--or); }
.bi-erreur { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 500; color: #B42318; }
.champ-form.bi-invalide :is(input, select, textarea), .bi-invalide .bi-depot-zone { border-color: #E5484D !important; }
.consentement.bi-invalide { color: #B42318; }
.bi-form button.bouton, .bi-form .bi-bouton-second, button.bi-tel { border: 0; cursor: pointer; font-family: inherit; }
.bi-form .bouton.plein { width: 100%; }
.bi-bouton-second, a.bi-bouton-second { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 24px; border: 1px solid var(--filet) !important;
  border-radius: var(--rayon); background: var(--blanc); color: var(--encre); font-size: 15px; font-weight: 500; transition: border-color .25s, color .25s; }
.bi-bouton-second:hover { border-color: var(--or) !important; color: var(--or); }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; color: var(--or); font-size: 14px; font-weight: 500; }
.lien-fleche::after { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--i-fleche) center / contain no-repeat; mask: var(--i-fleche) center / contain no-repeat; transition: transform .35s var(--sortie); }
.lien-fleche:hover::after { transform: translateX(4px); }

.bi-alerte { position: relative; padding: 15px 18px 15px 50px; border: 1px solid; border-radius: var(--rayon); font-size: 14.5px; line-height: 1.6; }
.bi-alerte::before { content: ""; position: absolute; left: 18px; top: 17px; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ico, var(--i-bouclier)) center / contain no-repeat; mask: var(--ico, var(--i-bouclier)) center / contain no-repeat; }
.bi-alerte a { color: inherit; font-weight: 600; text-decoration: underline; }
.bi-alerte-info { border-color: #EADBB9; background: #FBF7EE; color: #6E5524; --ico: var(--i-horloge); }
.bi-alerte-ok { border-color: #BFE3CF; background: #EEF8F2; color: #1E6B44; --ico: var(--i-coche); }
.bi-alerte-erreur { border-color: #F5C2C0; background: #FDF1F0; color: #9B1C14; --ico: var(--i-cadenas); }

.bi-statut { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.bi-statut::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.bi-statut-ok { background: #E8F5EE; color: #1E7B4D; }
.bi-statut-attente { background: #FBF4E6; color: #8A6A2C; }
.bi-statut-brouillon { background: var(--nuage); color: var(--gris); }

.bi-sans-photo { display: grid; place-items: center; width: 100%; height: 100%; min-height: 54px; margin: 0;
  background: linear-gradient(135deg, #0B2350, var(--marine)); color: rgba(255, 255, 255, .5); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.carte-visuel .bi-sans-photo { position: absolute; inset: 0; }

/* ---------- Catalogue ---------- */
.bi-annonces { scroll-margin-top: 140px; }
.bi-filtres { display: flex; flex-wrap: wrap; gap: 8px; }
.bi-filtres .puce { height: 38px; padding: 0 16px; border: 1px solid var(--filet); font-size: 13.5px; color: var(--encre); }
.bi-filtres .puce small { margin-left: 6px; font-size: 12px; color: var(--gris); }
.bi-filtres .puce:hover { border-color: var(--or); background: var(--blanc); color: var(--or); }
.bi-filtres .puce.actif { background: var(--marine); border-color: var(--marine); color: var(--blanc); }
.bi-filtres .puce.actif small { color: rgba(255, 255, 255, .7); }
.bi-annonces .outils .menu a { display: block; color: inherit; }
.bi-recherche-en-cours { margin: -10px 0 24px; font-size: 14px; color: var(--texte); }
.bi-recherche-en-cours a { margin-left: 8px; color: var(--or); font-weight: 500; }
.bi-annonces .carte { position: relative; }
.bi-annonces .carte h3 a, .fiche-similaires .carte h3 a { color: inherit; transition: color .25s; }
.bi-lien-carte::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.carte:hover .bi-lien-carte { color: var(--or); }
.carte .signet, .carte .bouton-contour { position: relative; z-index: 2; }
.carte-visuel .signet { position: absolute; }
.carte .prix em, .carte .prix-grand em { font-style: normal; font-size: .72em; font-weight: 500; color: var(--gris); }

.bi-vide { padding: 48px 24px; border: 1px dashed #D6D9DE; border-radius: var(--rayon); text-align: center; color: var(--texte); }
.bi-vide-titre { margin-bottom: 8px; font-size: 19px; font-weight: 600; color: var(--encre); }
.bi-vide .bouton-contour, .bi-vide .bouton { margin-top: 18px; }

/* ---------- Sélection exclusive : toute la carte active mène à la fiche ---------- */
.vitrine-lien { position: absolute; inset: 0; z-index: 1; }
.vitrine-carte.est-active { cursor: pointer; }
.vitrine-carte.est-active:hover > .wp-block-image img { transform: scale(1.03); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Barre de recherche (héros) ---------- */
.barre.bi-barre { display: flex; align-items: stretch; min-height: 0; padding: 10px; gap: 0; }
.bi-barre-champ { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 7px; min-width: 0; margin: 0; padding: 12px 24px;
  border: 0; border-left: 1px solid var(--filet); border-radius: 0; transition: background .25s var(--douce); }
.bi-barre-champ:focus-within, .bi-barre-lieu:hover, .bi-barre-budget:hover { background: #F8F8F9; }
.bi-barre-label { display: block; padding: 0; font-size: 11px; font-weight: 600; line-height: 1.2; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }
.bi-barre-projet { flex: 0 0 auto; border-left: 0; padding-left: 20px; }
.bi-barre-valeur { display: flex; align-items: center; gap: 10px; height: 40px; font-size: 15.5px; font-weight: 600; color: var(--encre); white-space: nowrap; }
.bi-barre-valeur::before { content: ""; width: 18px; height: 18px; background: var(--or); -webkit-mask: var(--i-cle) center / contain no-repeat; mask: var(--i-cle) center / contain no-repeat; }
.bi-barre-types { display: block; flex: 0 0 auto; padding-top: 14px; }
.bi-barre-types legend { float: left; width: 100%; margin-bottom: 7px; }
.bi-barre-puces { clear: both; display: flex; gap: 8px; }
.bi-barre-puce { position: relative; cursor: pointer; }
.bi-barre-puce input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.bi-barre-puce span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 14px; border: 1px solid var(--filet); border-radius: 99px; background: var(--blanc);
  font-size: 14px; font-weight: 500; color: var(--encre); white-space: nowrap; transition: background .25s, border-color .25s, color .25s; }
.bi-barre-puce span::before { content: ""; width: 17px; height: 17px; background: var(--gris); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; transition: background .25s; }
.bi-barre-puce:hover span { border-color: var(--or); }
.bi-barre-puce input:checked + span { border-color: var(--marine); background: var(--marine); color: var(--blanc); }
.bi-barre-puce input:checked + span::before { background: var(--or); }
.bi-barre-puce input:focus-visible + span { outline: 2px solid var(--or); outline-offset: 2px; }
.bi-barre-lieu { flex: 1 1 240px; cursor: text; }
.bi-barre-lieu input { width: 100%; height: 40px; padding: 0 0 0 28px; border: 0; background: transparent; font: inherit; font-size: 15.5px; font-weight: 500; color: var(--encre); outline: none; }
.bi-barre-lieu input::placeholder { color: #9A9DA2; font-weight: 400; }
.bi-barre-lieu input::-webkit-search-cancel-button { cursor: pointer; }
.bi-barre-lieu::after { content: ""; position: absolute; left: 24px; bottom: 23px; width: 18px; height: 18px; background: var(--or); pointer-events: none;
  -webkit-mask: var(--i-repere) center / contain no-repeat; mask: var(--i-repere) center / contain no-repeat; }
.bi-barre-budget { flex: 0 0 200px; cursor: pointer; }
.bi-barre-budget select { width: 100%; height: 40px; padding: 0 28px 0 0; border: 0; background: transparent; font: inherit; font-size: 15.5px; font-weight: 500; color: var(--encre); cursor: pointer; outline: none;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B88F42' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 15px; }
.bouton.bi-barre-bouton { flex: 0 0 auto; align-self: stretch; height: auto; min-height: 66px; margin-left: 10px; padding: 0 34px; gap: 10px; border: 0; cursor: pointer; font-family: inherit; font-size: 16px; font-weight: 600; }
.bi-barre-bouton::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--i-loupe) center / contain no-repeat; mask: var(--i-loupe) center / contain no-repeat; }
.bi-barre-bouton[aria-busy="true"] { opacity: .75; }

@media (max-width: 1180px) {
  .barre.bi-barre { flex-wrap: wrap; row-gap: 0; }
  .bi-barre-lieu { flex-basis: 220px; }
  .bouton.bi-barre-bouton { flex: 1 1 100%; min-height: 56px; margin: 10px 0 0; }
}
@media (max-width: 760px) {
  .barre.bi-barre { display: grid; grid-template-columns: auto 1fr; padding: 8px; }
  .bi-barre-champ { padding: 12px 14px; border-left: 0; border-top: 1px solid var(--filet); }
  .bi-barre-projet, .bi-barre-types { border-top: 0; }
  .bi-barre-types { border-left: 1px solid var(--filet); }
  .bi-barre-lieu, .bi-barre-budget, .bouton.bi-barre-bouton { grid-column: 1 / -1; }
  .bi-barre-lieu::after { left: 14px; }
  .bi-barre-puce span { padding: 0 12px 0 10px; font-size: 13.5px; }
  .bouton.bi-barre-bouton { margin-top: 8px; }
}
@media (max-width: 400px) {
  .barre.bi-barre { grid-template-columns: 1fr; }
  .bi-barre-types { border-left: 0; border-top: 1px solid var(--filet); }
}

/* ---------- En-têtes marine (fiche et espace pro) ---------- */
.fiche-tete, .espace-tete { position: relative; padding: 196px 0 44px; overflow: hidden; color: var(--blanc);
  background: radial-gradient(120% 140% at 85% -20%, #143366 0%, #0B2350 40%, var(--marine) 100%); }
.fiche-tete::after, .espace-tete::after { content: ""; position: absolute; right: -120px; bottom: -220px; width: 620px; height: 420px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(184, 143, 66, .16), transparent); }
.fiche-tete .enveloppe, .espace-tete .enveloppe { position: relative; z-index: 1; }
.fiche-tete .fil, .espace-tete .fil { font-size: 13px; color: rgba(255, 255, 255, .62); }
.fiche-tete .fil a, .espace-tete .fil a { color: inherit; transition: color .25s; }
.fiche-tete .fil a:hover, .espace-tete .fil a:hover { color: var(--or); }
.fiche-tete .fil span { color: rgba(255, 255, 255, .9); }
.fiche-tete .bi-alerte { margin-bottom: 18px; }

.fiche-titre-ligne { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 22px; }
.fiche-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.fiche-badges .badge { position: static; }
.badge.badge-verre { border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); }
.fiche-tete h1 { max-width: 820px; font-size: 48px; line-height: 1.1; letter-spacing: -.018em; color: var(--blanc); }
.fiche-lieu { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 16px; color: rgba(255, 255, 255, .82); }
.fiche-lieu::before { content: ""; width: 17px; height: 17px; background: var(--or); -webkit-mask: var(--i-repere) center / contain no-repeat; mask: var(--i-repere) center / contain no-repeat; }
.fiche-prix { flex: none; text-align: right; }
.fiche-prix span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--or); }
.fiche-prix strong { display: block; margin-top: 8px; font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -.015em; color: var(--blanc); white-space: nowrap; }
.fiche-prix strong em { font-style: normal; font-size: .5em; font-weight: 500; color: rgba(255, 255, 255, .7); }
.fiche-prix > em { display: block; margin-top: 6px; font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .65); }

/* ---------- Fiche ---------- */
.fiche { padding: 44px 0 40px; }
.fiche-grille { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.fiche-cote { position: sticky; top: 112px; }

.galerie-scene { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--rayon); background: var(--marine); }
.galerie-image { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s var(--douce); }
.galerie-image.actif { opacity: 1; }
.galerie-image img { width: 100%; height: 100%; object-fit: cover; }
.galerie > .wp-block-image { aspect-ratio: 16 / 10; border-radius: var(--rayon); overflow: hidden; }
.galerie-fleche, .galerie-plein { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%;
  background: rgba(2, 20, 52, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--blanc); cursor: pointer; transition: background .3s, border-color .3s; }
.galerie-fleche:hover, .galerie-plein:hover { border-color: var(--or); background: var(--or); }
.galerie-fleche { top: 50%; margin-top: -24px; }
.galerie-prec { left: 18px; }
.galerie-suiv { right: 18px; }
.galerie-fleche::before, .galerie-plein::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.galerie-fleche::before { --ico: var(--i-fleche); }
.galerie-prec::before { transform: rotate(180deg); }
.galerie-plein { top: 18px; right: 18px; width: 42px; height: 42px; border-radius: var(--rayon); }
.galerie-plein::before { --ico: var(--i-grille); width: 16px; height: 16px; }
.galerie-compteur { position: absolute; z-index: 2; left: 18px; bottom: 18px; padding: 6px 12px; border-radius: 99px; background: rgba(2, 20, 52, .6); color: var(--blanc); font-size: 13px; font-weight: 500; }
.galerie-vignettes { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; }
.galerie-vignette { flex: 0 0 96px; height: 68px; padding: 0; border: 2px solid transparent; border-radius: var(--rayon); overflow: hidden; background: none; cursor: pointer; opacity: .65; transition: opacity .25s, border-color .25s; }
.galerie-vignette img { width: 100%; height: 100%; object-fit: cover; }
.galerie-vignette:hover { opacity: 1; }
.galerie-vignette.actif { border-color: var(--or); opacity: 1; }
.galerie.plein-ecran { position: fixed; inset: 0; z-index: 100000; display: flex; flex-direction: column; justify-content: center; padding: 3vh 4vw; background: rgba(2, 20, 52, .97); }
.galerie.plein-ecran .galerie-scene { flex: 1; aspect-ratio: auto; background: none; }
.galerie.plein-ecran .galerie-image img { object-fit: contain; }
.galerie.plein-ecran .galerie-vignettes { justify-content: center; }
.galerie.plein-ecran .galerie-plein::before { --ico: var(--i-menu); }
html.bi-sans-defilement { overflow: hidden; }

.fiche-bloc { margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--filet); }
.fiche-bloc h2 { margin-bottom: 22px; font-size: 23px; }
.fiche-carac { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.fiche-carac li { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--rayon); background: var(--sable); }
.fiche-carac span { font-size: 12.5px; color: var(--gris); }
.fiche-carac strong { font-size: 17px; font-weight: 600; color: var(--encre); }
.fiche-texte p { margin: 0 0 14px; font-size: 16px; line-height: 1.8; color: var(--texte); }

.bi-energie { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.bi-echelle-titre { margin-bottom: 12px; font-size: 14px; font-weight: 600; color: var(--encre); }
.bi-echelle-titre small { font-weight: 400; color: var(--gris); }
.bi-echelle ol { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.bi-echelle li { position: relative; display: flex; align-items: center; justify-content: space-between; width: var(--l); height: 26px; padding: 0 10px; border-radius: 0 13px 13px 0;
  background: var(--c); color: rgba(0, 0, 0, .72); font-size: 12px; opacity: .45; transition: opacity .3s; }
.bi-echelle li span { font-weight: 700; }
.bi-echelle li em { font-style: normal; font-size: 11px; }
.bi-echelle li.actif { height: 34px; opacity: 1; box-shadow: 0 0 0 2px var(--encre); font-size: 14px; }
.bi-ges li { color: rgba(0, 0, 0, .7); }
.bi-ges li:nth-child(n+5) { color: var(--blanc); }
.bi-echelle-note { margin-top: 10px; font-size: 13px; color: var(--gris); }

.fiche-carte { padding: 28px; border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); box-shadow: var(--ombre-haute); }
.fiche-pro { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--filet); }
.fiche-pro .monogramme, .espace-identite .monogramme, .bi-logo-ligne .monogramme { flex: none; width: 60px; height: 60px; border: 0; background: var(--marine); color: var(--or); font-size: 21px; font-weight: 500; }
.fiche-pro-logo, .espace-logo { flex: none; width: 60px; height: 60px; object-fit: contain; border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); }
.fiche-pro-nom { font-size: 17px; font-weight: 700; color: var(--encre); }
.fiche-pro-role { font-size: 13.5px; color: var(--gris); }
.fiche-pro .verifie { margin-top: 4px; }
.bi-tel { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 48px; margin-top: 18px; border: 1px solid var(--filet) !important; border-radius: var(--rayon);
  background: var(--blanc); color: var(--encre); font-size: 15px; font-weight: 600; transition: border-color .25s, color .25s; }
.bi-tel::before { content: ""; width: 17px; height: 17px; background: var(--or); -webkit-mask: var(--i-telephone) center / contain no-repeat; mask: var(--i-telephone) center / contain no-repeat; }
.bi-tel:hover { border-color: var(--or) !important; color: var(--or); }
a.bi-tel { text-decoration: none; }
.fiche-contact { margin-top: 24px; }
.fiche-contact h2 { margin-bottom: 16px; font-size: 18px; }
.fiche-contact .bi-form { display: flex; flex-direction: column; gap: 14px; }
.fiche-contact textarea { min-height: 120px; }
.fiche-contact .consentement { font-size: 12.5px; }
.fiche-ref { margin-top: 14px; font-size: 12.5px; text-align: center; color: var(--gris); }
.fiche-similaires { padding-top: 24px; padding-bottom: 72px; background: var(--sable); }
.fiche-similaires .tete { padding-top: 40px; }

/* ---------- Inscription ---------- */
.bi-inscription { display: flex; flex-direction: column; gap: 20px; }
.bi-inscription .champs { margin-top: 0; }
.bi-profils { margin: 0; padding: 0; border: 0; }
.bi-profils legend { margin-bottom: 10px; font-size: 13px; font-weight: 500; color: var(--encre); }
.bi-profils-choix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bi-profil { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px 16px; border: 1px solid var(--filet); border-radius: var(--rayon);
  text-align: center; font-size: 13.5px; font-weight: 500; line-height: 1.3; color: var(--encre); cursor: pointer; transition: border-color .25s, background .25s, box-shadow .25s; }
.bi-profil::before { content: ""; width: 26px; height: 26px; background: var(--gris); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; transition: background .25s; }
.bi-profil input { position: absolute; opacity: 0; pointer-events: none; }
.bi-profil:hover { border-color: #D4D6DA; }
.bi-profil:has(input:checked) { border-color: var(--or); background: #FBF8F2; box-shadow: 0 0 0 3px rgba(184, 143, 66, .13); }
.bi-profil:has(input:checked)::before { background: var(--or); }
.bi-profil:has(input:focus-visible) { outline: 2px solid var(--or); outline-offset: 2px; }
.bi-inscription-ok { padding: 8px 0; }
.bi-inscription-ok h2 { margin: 16px 0 12px; font-size: 24px; }
.bi-inscription-ok p { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: var(--texte); }
.bi-pastille-ok { display: grid; place-items: center; width: 56px; height: 56px; margin: 0; border-radius: 50%; background: #EEF8F2; }
.bi-pastille-ok::before { content: ""; width: 26px; height: 26px; background: #1E7B4D; -webkit-mask: var(--i-coche) center / contain no-repeat; mask: var(--i-coche) center / contain no-repeat; }

/* ---------- Espace professionnel ---------- */
.espace-tete { padding-bottom: 40px; }
.espace-tete-ligne { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 22px; }
.espace-identite { display: flex; align-items: center; gap: 20px; }
.espace-identite .monogramme, .espace-identite .espace-logo { width: 72px; height: 72px; font-size: 24px; }
.espace-identite .monogramme { border: 1px solid rgba(184, 143, 66, .45); background: rgba(255, 255, 255, .04); }
.espace-surtitre { font-size: 11.5px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--or); }
.espace-tete h1 { margin-top: 6px; font-size: 34px; line-height: 1.15; color: var(--blanc); }
.espace-statut { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.espace-statut::before { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--i-bouclier) center / contain no-repeat; mask: var(--i-bouclier) center / contain no-repeat; }
.espace-statut.statut-valide::before { background: #52C08A; }
.espace-statut.statut-attente::before { background: var(--or); -webkit-mask-image: var(--i-horloge); mask-image: var(--i-horloge); }
.espace-tete .bouton { height: 54px; }

.espace { padding: 36px 0 88px; background: var(--nuage); }
.espace-grille { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.espace-nav { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 2px; padding: 10px; border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); }
.espace-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--rayon); font-size: 14.5px; font-weight: 500; color: var(--encre); transition: background .25s, color .25s; }
.espace-nav a::before { content: ""; flex: none; width: 18px; height: 18px; background: var(--gris); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; transition: background .25s; }
.espace-nav a:hover { background: var(--nuage); }
.espace-nav a.actif { background: var(--marine); color: var(--blanc); }
.espace-nav a.actif::before { background: var(--or); }
.espace-nav a:last-child { margin-top: 8px; border-top: 1px solid var(--filet); border-radius: 0 0 var(--rayon) var(--rayon); color: var(--gris); }
.bi-bulle { margin-left: auto; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 99px; background: var(--or); color: var(--blanc); font-size: 12px; font-weight: 700; }
.espace-contenu { display: flex; flex-direction: column; gap: 22px; min-width: 0; }

.espace-carte { margin: 0; padding: 28px 32px; border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); min-width: 0; }
.espace-carte-tete { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.espace-carte-tete h2 { font-size: 21px; }
.espace-titre-form { margin-bottom: 0; }
.espace-titre-form h2 { font-size: 26px; }
.bi-univers { padding: 6px 12px; border-radius: 99px; background: var(--sable); font-size: 12.5px; font-weight: 600; color: var(--encre); }

.espace-kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px 22px 20px; border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); }
.kpi::before { content: ""; width: 36px; height: 36px; margin-bottom: 10px; border-radius: var(--rayon); background: var(--sable); }
.kpi::after { content: ""; position: absolute; left: 31px; top: 31px; width: 18px; height: 18px; background: var(--or); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.kpi strong { font-size: 30px; font-weight: 700; line-height: 1.1; color: var(--encre); }
.kpi span { font-size: 13.5px; color: var(--gris); }

.bi-tableau { display: flex; flex-direction: column; }
.bi-ligne { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto auto auto; align-items: center; gap: 20px; padding: 14px 0; border-top: 1px solid var(--filet); }
.bi-ligne:first-child { border-top: 0; padding-top: 0; }
.bi-ligne-visuel { width: 76px; height: 56px; border-radius: var(--rayon); overflow: hidden; background: var(--nuage); }
.bi-ligne-visuel img { width: 100%; height: 100%; object-fit: cover; }
.bi-ligne-titre { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bi-ligne-titre a { overflow: hidden; font-size: 15.5px; font-weight: 600; color: var(--encre); text-overflow: ellipsis; white-space: nowrap; transition: color .25s; }
.bi-ligne-titre a:hover { color: var(--or); }
.bi-ligne-titre span { font-size: 13px; color: var(--gris); }
.bi-ligne-titre em { font-style: normal; }
.bi-ligne-chiffres { display: flex; gap: 14px; font-size: 13.5px; color: var(--texte); }
.bi-ligne-chiffres span { display: inline-flex; align-items: center; gap: 6px; }
.bi-ligne-chiffres span::before { content: ""; width: 15px; height: 15px; background: var(--gris); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.bi-ligne-actions { display: flex; gap: 14px; font-size: 13.5px; }
.bi-ligne-actions a { color: var(--encre); font-weight: 500; transition: color .25s; }
.bi-ligne-actions a:hover { color: var(--or); }
.bi-ligne-actions .bi-supprimer { color: #B42318; }

/* ---------- Formulaire d’annonce ---------- */
.bi-form-annonce { display: flex; flex-direction: column; gap: 22px; }
fieldset.espace-carte { min-inline-size: 0; }
.bi-etape > legend { float: left; display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 22px; padding: 0; font-size: 19px; font-weight: 700; color: var(--encre); }
.bi-etape > legend + * { clear: both; }
.bi-etape > legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--marine); color: var(--or); font-size: 14px; }
.bi-form .champs { margin-top: 0; }
.champs-3 { grid-template-columns: repeat(3, 1fr); }
.champ-form label small { font-weight: 400; color: var(--gris); }
.bi-unite { position: relative; }
.bi-unite input { padding-right: 62px !important; }
.bi-unite span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 13.5px; color: var(--gris); pointer-events: none; }
.bi-etape .bi-note { margin-top: 14px; }
.bi-choix { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.champ-form .bi-choix { margin-bottom: 0; }
.bi-label { font-size: 13px; font-weight: 500; color: var(--encre); }
.bi-fixe { display: flex; align-items: center; height: 40px; margin: 0; font-size: 14.5px; font-weight: 600; color: var(--encre); }
.bi-choix-item { position: relative; cursor: pointer; }
.bi-choix-item input { position: absolute; opacity: 0; }
.bi-choix-item span { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 1px solid var(--filet); border-radius: var(--rayon); font-size: 14px; font-weight: 500; color: var(--encre); transition: all .25s; }
.bi-choix-item input:checked + span { border-color: var(--marine); background: var(--marine); color: var(--blanc); }
.bi-choix-item input:focus-visible + span { outline: 2px solid var(--or); outline-offset: 2px; }
.bi-options { display: flex; flex-direction: column; gap: 14px; }
.bi-options .consentement { font-size: 14px; }

.bi-photos-actuelles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.bi-photo { position: relative; overflow: hidden; border: 1px solid var(--filet); border-radius: var(--rayon); }
.bi-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bi-photo label { display: flex; align-items: center; gap: 6px; padding: 6px 10px; font-size: 12.5px; cursor: pointer; }
.bi-photo input { accent-color: var(--or); }
.bi-photo-une { border-bottom: 1px solid var(--filet); }
.bi-photo-retirer { color: #B42318; }
.bi-photo:has(.bi-photo-retirer input:checked) img { opacity: .3; filter: grayscale(1); }
.bi-depot { position: relative; }
.bi-depot input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bi-depot-zone { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 34px 20px; border: 1.5px dashed #CBD0D6; border-radius: var(--rayon); background: #FAFAFB;
  text-align: center; font-size: 13px; font-weight: 400 !important; color: var(--gris) !important; cursor: pointer; transition: border-color .25s, background .25s; }
.bi-depot-zone::before { content: ""; width: 44px; height: 44px; margin-bottom: 6px; border: 1.5px solid var(--or); border-radius: 50%;
  background: linear-gradient(var(--or), var(--or)) center / 16px 1.5px no-repeat, linear-gradient(var(--or), var(--or)) center / 1.5px 16px no-repeat; }
.bi-depot-titre { font-size: 15.5px; font-weight: 600; color: var(--encre); }
.bi-depot-zone:hover, .bi-depot.survol .bi-depot-zone { border-color: var(--or); background: #FBF8F2; }
.bi-depot input:focus-visible + .bi-apercus, .bi-depot:focus-within .bi-depot-zone { border-color: var(--or); }
.bi-apercus { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.bi-apercus:not(:empty) { margin-top: 14px; }
.bi-apercu { position: relative; margin: 0; overflow: hidden; border-radius: var(--rayon); background: var(--nuage); }
.bi-apercu img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bi-apercu figcaption { overflow: hidden; padding: 5px 8px; font-size: 11.5px; color: var(--gris); text-overflow: ellipsis; white-space: nowrap; }
.bi-apercu .badge { top: 6px; left: 6px; padding: 3px 8px; font-size: 10.5px; }
.bi-apercu.trop img { opacity: .3; }
.bi-apercu-retirer { display: block; width: calc(100% - 12px); margin: 0 6px 6px; padding: 5px 8px; border: 1px solid var(--filet); border-radius: 4px; background: var(--blanc); color: var(--encre); font: inherit; font-size: 12px; cursor: pointer; }
.bi-apercu-retirer:hover, .bi-apercu-retirer:focus-visible { border-color: var(--or); color: var(--or-fonce); }
.bi-ajout-info { margin: 8px 0 0; }
.bi-compteur { display: block; margin-top: 4px; font-size: 12px; text-align: right; color: var(--gris); }

.bi-envoi { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 24px; border: 1px solid var(--filet); border-radius: var(--rayon);
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 -10px 30px rgba(2, 20, 52, .08); }
.bi-envoi p { margin: 0; font-size: 13.5px; color: var(--texte); }
.bi-envoi-boutons { display: flex; gap: 10px; flex: none; }

/* ---------- Demandes reçues ---------- */
.bi-messages { display: flex; flex-direction: column; gap: 10px; }
.bi-message { border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); transition: border-color .25s; }
.bi-message[open] { border-color: #D4D6DA; }
.bi-message summary { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 16px 20px; cursor: pointer; list-style: none; font-size: 14.5px; }
.bi-message summary::-webkit-details-marker { display: none; }
.bi-message.non-lu { border-left: 3px solid var(--or); }
.bi-message.non-lu .bi-message-nom { font-weight: 700; }
.bi-message-nom { overflow: hidden; color: var(--encre); font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.bi-message-annonce { overflow: hidden; color: var(--texte); text-overflow: ellipsis; white-space: nowrap; }
.bi-message time { font-size: 12.5px; color: var(--gris); }
.bi-message-corps { padding: 0 20px 20px; border-top: 1px solid var(--filet); }
.bi-message-corps > p:first-child { margin-top: 16px; }
.bi-message-corps p { font-size: 15px; line-height: 1.7; color: var(--texte); }
.bi-message-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.bi-message-actions .bouton, .bi-message-actions .bi-bouton-second { height: 44px; padding: 0 20px; font-size: 14px; }
.bi-message-coord { margin-top: 10px; font-size: 12.5px; color: var(--gris); }

.bi-logo-ligne { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.bi-logo-ligne .champ-form { flex: 1 1 260px; }
.bi-logo-ligne .consentement { grid-column: auto; }

/* ---------- Page de connexion : onglet inscription ---------- */
.acces-form .panneau-2 .bi-inscription { margin-top: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .fiche-grille { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
  .espace-kpi { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .fiche-grille, .espace-grille { grid-template-columns: 1fr; }
  .fiche-cote, .espace-nav { position: static; }
  .espace-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .espace-nav a { flex: none; }
  .espace-nav a:last-child { margin: 0; border: 0; }
  .fiche-titre-ligne { flex-direction: column; align-items: flex-start; }
  .fiche-prix { text-align: left; }
  .bi-ligne { grid-template-columns: 76px minmax(0, 1fr) auto; }
  .bi-ligne-chiffres { display: none; }
  .bi-ligne-actions { grid-column: 2 / -1; }
}
@media (max-width: 760px) {
  .fiche-tete, .espace-tete { padding: 112px 0 32px; }
  .fiche-tete h1 { font-size: clamp(28px, 7.4vw, 36px); }
  .fiche-prix strong { font-size: 30px; }
  .fiche-carac { grid-template-columns: 1fr 1fr; }
  .bi-energie { grid-template-columns: 1fr; }
  .galerie-fleche { width: 40px; height: 40px; margin-top: -20px; }
  .galerie-vignette { flex-basis: 76px; height: 54px; }
  .fiche-carte { padding: 22px 18px; }
  .espace-tete-ligne { flex-direction: column; align-items: flex-start; }
  .espace-tete .bouton { width: 100%; }
  .espace-tete h1 { font-size: 26px; }
  .espace-identite .monogramme, .espace-identite .espace-logo { width: 56px; height: 56px; font-size: 19px; }
  .espace-carte { padding: 22px 18px; }
  .espace-kpi { gap: 10px; }
  .kpi { padding: 18px 16px; }
  .kpi::after { left: 25px; top: 27px; }
  .kpi strong { font-size: 24px; }
  .champs-3 { grid-template-columns: 1fr; }
  .bi-ligne { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .bi-ligne-visuel { width: 64px; height: 48px; }
  .bi-ligne-statut, .bi-ligne-actions { grid-column: 2; }
  .bi-envoi { position: static; flex-direction: column; align-items: stretch; padding: 14px; }
  .bi-envoi-boutons { flex-direction: column-reverse; }
  .bi-envoi-boutons > * { width: 100%; }
  .bi-message summary { grid-template-columns: 1fr; gap: 4px; }
  .bi-profils-choix { grid-template-columns: 1fr; }
  .bi-profil { flex-direction: row; justify-content: flex-start; padding: 14px 16px; text-align: left; }
  .bi-profil::before { width: 22px; height: 22px; }
}

/* =====================================================================
   Dépôt d’annonce : parcours en 8 étapes (colonne des étapes, une étape visible à la fois)
   ===================================================================== */
.espace-tete-depot h1 { margin-top: 4px; }
.espace-depot .enveloppe > .bi-alerte { margin-bottom: 18px; }
.bi-parcours { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.bi-parcours [hidden] { display: none !important; }
.bi-defaut { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); }

/* Colonne des étapes */
.bi-pas-cote { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 12px; padding: 22px 16px 16px; border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); }
.bi-pas-cote-titre { margin: 0 4px; font-size: 17px; font-weight: 700; color: var(--encre); }
.bi-pas-cote > .bi-statut, .bi-pas-cote > .bi-univers { align-self: flex-start; margin: 0 4px; }
.bi-pas-progres { height: 6px; margin: 2px 4px 0; overflow: hidden; border-radius: 99px; background: var(--nuage); }
.bi-pas-progres span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--or); transition: width .45s ease; }
.bi-pas-indic { margin: -4px 4px 0; font-size: 12.5px; color: var(--gris); }
.bi-pas-liste { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 0; padding: 0; list-style: none; }
.bi-pas-liste a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--rayon); font-size: 14.5px; font-weight: 500; color: var(--encre); transition: background .2s, color .2s; }
.bi-pas-liste a:hover { background: var(--nuage); }
.bi-pas-rond { position: relative; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid var(--filet); border-radius: 50%; background: var(--blanc); font-size: 13px; font-weight: 700; color: var(--gris); transition: all .25s; }
.bi-pas-liste a.actif { background: var(--marine); color: var(--blanc); }
.bi-pas-liste a.actif .bi-pas-rond { border-color: var(--or); background: var(--or); color: var(--blanc); }
.bi-pas-liste a.fait .bi-pas-rond { border-color: var(--or); background: #FBF8F2; color: transparent; }
.bi-pas-liste a.fait .bi-pas-rond::after { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; background: var(--or); -webkit-mask: var(--i-coche) center / contain no-repeat; mask: var(--i-coche) center / contain no-repeat; }
.bi-pas-liste a.bloque { color: var(--gris); cursor: default; opacity: .6; }
.bi-pas-liste a.bloque:hover { background: none; }
.bi-pas-quitter { margin: 4px 4px 0; padding-top: 12px; border-top: 1px solid var(--filet); font-size: 13px; color: var(--gris); }
.bi-pas-quitter:hover { color: var(--or); }

/* Étapes */
.bi-parcours .bi-form-annonce { gap: 18px; min-width: 0; }
.bi-pas { padding: 34px 38px 38px; }
.bi-pas-tete { margin-bottom: 26px; }
.bi-pas-num { margin: 0 0 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--or); }
.bi-pas-tete h2 { margin: 0; font-size: 28px; line-height: 1.2; color: var(--encre); outline: none; }
.bi-pas-intro { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--texte); }
.bi-pas > .champ-form, .bi-pas > .champs, .bi-pas > .bi-cases, .bi-pas > div > .champ-form { margin-bottom: 20px; }
.bi-pas .champs { margin-bottom: 4px; }
.bi-pas .bi-note { margin-top: 0; }
.bi-champ-court { max-width: 320px; }
.bi-groupe { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--filet); }
.bi-pas-tete + .bi-groupe { margin-top: 0; padding-top: 0; border-top: 0; }
.bi-groupe h3 { margin: 0 0 16px; font-size: 16px; font-weight: 700; color: var(--encre); }
.bi-groupe h3 small, .champ-form label small, .bi-label small { margin-left: 4px; font-size: 12.5px; font-weight: 400; color: var(--gris); }
.bi-note-haut { margin-bottom: 14px !important; }
.bi-label { display: block; }
.bi-groupe .champs + .bi-cases, .bi-groupe .bi-cases + .champs { margin-top: 16px; }

/* Grandes cartes de choix (type de bien) */
.bi-cartes-choix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bi-carte-choix { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 76px 22px 22px; border: 1.5px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); cursor: pointer; transition: border-color .25s, background .25s, box-shadow .25s; }
.bi-carte-choix::before { content: ""; position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; background: var(--or); -webkit-mask: var(--i-immeuble) center / contain no-repeat; mask: var(--i-immeuble) center / contain no-repeat; }
.bi-cc-maison::before { -webkit-mask-image: var(--i-maison); mask-image: var(--i-maison); }
.bi-carte-choix input { position: absolute; opacity: 0; }
.bi-cc-titre { font-size: 18px; font-weight: 700; color: var(--encre); }
.bi-cc-texte { font-size: 13.5px; color: var(--texte); }
.bi-carte-choix:hover { border-color: #D4D6DA; }
.bi-carte-choix:has(input:checked) { border-color: var(--or); background: #FBF8F2; box-shadow: 0 0 0 3px rgba(184, 143, 66, .13); }
.bi-carte-choix:has(input:checked)::after { content: ""; position: absolute; right: 18px; top: 18px; width: 24px; height: 24px; border-radius: 50%; background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.bi-carte-choix:has(input:focus-visible) { outline: 2px solid var(--or); outline-offset: 2px; }
.bi-invalide .bi-carte-choix, .bi-invalide .bi-choix-item span { border-color: #E5484D; }

/* Cases à cocher en pastilles */
.bi-cases { display: flex; flex-wrap: wrap; gap: 8px; }
.bi-cases-colonne { flex-direction: column; align-items: flex-start; }
.bi-case { position: relative; display: inline-flex; cursor: pointer; }
.bi-case input { position: absolute; opacity: 0; }
.bi-case > span { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 16px 8px 12px; border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); font-size: 14px; font-weight: 500; color: var(--encre); transition: border-color .2s, background .2s; }
.bi-case > span::before { content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid #C9CDD3; border-radius: 3px; background: var(--blanc) center / 12px no-repeat; transition: all .2s; }
.bi-case:hover > span { border-color: #D4D6DA; }
.bi-case input:checked + span { border-color: var(--or); background: #FBF8F2; }
.bi-case input:checked + span::before { border-color: var(--or); background-color: var(--or); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.bi-case input:focus-visible + span { outline: 2px solid var(--or); outline-offset: 2px; }
.bi-case small { font-weight: 400; color: var(--gris); }
.bi-options .bi-case > span { align-items: flex-start; font-weight: 400; line-height: 1.5; }
.bi-options .bi-case > span::before { margin-top: 2px; }

/* Compteurs − / + */
.bi-plusmoins { display: inline-flex; align-items: stretch; width: max-content; border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); }
.bi-plusmoins button { width: 44px; border: 0; background: none; font: inherit; font-size: 20px; line-height: 1; color: var(--encre); cursor: pointer; transition: background .2s, color .2s; }
.bi-plusmoins button:hover { background: var(--nuage); color: var(--or); }
.champ-form .bi-plusmoins input { width: 64px; padding: 11px 4px; border: 0; border-inline: 1px solid var(--filet); border-radius: 0; text-align: center; -moz-appearance: textfield; }
.bi-plusmoins input::-webkit-outer-spin-button, .bi-plusmoins input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.champ-form .bi-plusmoins input:focus { box-shadow: none; background: #FBF8F2; }
.bi-invalide .bi-plusmoins { border-color: #E5484D; }

/* Extérieurs */
.bi-exterieurs { display: flex; flex-direction: column; gap: 10px; }
.bi-ext { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.bi-ext .bi-case > span { min-width: 140px; }
.bi-ext-details { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.bi-ext-details .champ-form { flex-direction: row; align-items: center; gap: 10px; }
.bi-ext-details .bi-unite { width: 150px; }

/* Adresse et suggestions */
.bi-adr { margin-bottom: 18px; }
.bi-adr-champ { position: relative; }
.bi-adr-champ input { padding-left: 44px !important; background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B88F42' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") 14px center / 20px no-repeat !important; }
.bi-adr-liste { position: absolute; left: 0; right: 0; top: 78px; z-index: 20; margin: 0; padding: 6px; list-style: none; border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); box-shadow: 0 18px 40px -12px rgba(2, 20, 52, .25); }
.bi-adr-option { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--rayon); cursor: pointer; }
.bi-adr-option strong { font-size: 14.5px; font-weight: 600; color: var(--encre); }
.bi-adr-option span { font-size: 12.5px; color: var(--gris); }
.bi-adr-option:hover, .bi-adr-option.actif { background: #FBF8F2; }
.bi-adr-etat { margin: 0; font-size: 13px; color: var(--gris); }
.bi-adr-etat:empty { display: none; }
.bi-adr-etat.ok { display: flex; align-items: center; gap: 6px; color: #1E7B4D; }
.bi-adr-etat.ok::before { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--i-coche) center / contain no-repeat; mask: var(--i-coche) center / contain no-repeat; }
.bi-confidentiel { position: relative; margin-top: 16px; padding: 18px 20px 18px 58px; border: 1px solid var(--filet-chaud); border-radius: var(--rayon); background: var(--sable); }
.bi-confidentiel::before { content: ""; position: absolute; left: 20px; top: 19px; width: 22px; height: 22px; background: var(--or); -webkit-mask: var(--i-cadenas) center / contain no-repeat; mask: var(--i-cadenas) center / contain no-repeat; }
.bi-confidentiel p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--texte); }
.bi-confidentiel strong { color: var(--encre); }
.bi-confidentiel .bi-public { margin-top: 8px; font-size: 13.5px; }

/* Lettres du DPE */
.bi-champ-lettres { margin-bottom: 20px; }
.bi-lettres { display: flex; flex-wrap: wrap; gap: 6px; }
.bi-lettre { position: relative; cursor: pointer; }
.bi-lettre input { position: absolute; opacity: 0; }
.bi-lettre span { display: grid; place-items: center; min-width: 48px; height: 44px; padding: 0 10px; border-radius: var(--rayon); background: var(--c, var(--nuage)); font-size: 17px; font-weight: 800; color: var(--t, var(--encre)); opacity: .5; transition: opacity .2s, transform .2s, box-shadow .2s; }
.bi-lettre-vierge span { background: var(--nuage); font-size: 13px; font-weight: 600; color: var(--encre); }
.bi-lettre:hover span { opacity: .85; }
.bi-lettre input:checked + span { opacity: 1; transform: translateY(-2px); box-shadow: 0 0 0 2px var(--blanc), 0 0 0 4px var(--encre); }
.bi-lettre input:focus-visible + span { outline: 2px solid var(--or); outline-offset: 4px; }
.bi-invalide .bi-lettres { padding: 4px; border-radius: var(--rayon); box-shadow: 0 0 0 1px #E5484D; }
.bi-passoire { margin-bottom: 16px !important; padding: 10px 14px; border-left: 3px solid #EB8235; background: #FFF6EE; color: #8A4A12 !important; }

/* Photos et plans */
.bi-depot-plans .bi-depot-zone { padding: 24px 20px; }
.bi-plan-pdf { display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; background: var(--sable); font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--or); }

/* Description */
.bi-conseils { margin-top: 4px; padding: 16px 20px; border-radius: var(--rayon); background: var(--nuage); }
.bi-conseils-titre { margin: 0 0 8px; font-size: 13.5px; font-weight: 600; color: var(--encre); }
.bi-conseils ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; margin: 0; padding: 0; list-style: none; }
.bi-conseils li { position: relative; padding-left: 18px; font-size: 13.5px; line-height: 1.5; color: var(--texte); }
.bi-conseils li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--or); }

/* Prix et estimation */
.bi-prix-grille { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.bi-prix-champs > .champ-form, .bi-prix-champs > div > .champ-form { margin-bottom: 18px; }
.bi-champ-prix { max-width: 320px; }
.bi-champ-prix input { font-size: 18px !important; font-weight: 600; }
.bi-estim-carte { position: sticky; top: 112px; padding: 22px; border: 1px solid var(--filet-chaud); border-radius: var(--rayon); background: linear-gradient(180deg, #FBF8F2 0%, var(--blanc) 100%); }
.bi-estim-sur { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--or); }
.bi-estim-sur::before { content: ""; width: 16px; height: 16px; background: var(--or); -webkit-mask: var(--i-graphe) center / contain no-repeat; mask: var(--i-graphe) center / contain no-repeat; }
.bi-estim-carte .bi-estim-valeur { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.15; color: var(--encre); }
.bi-estim-carte .bi-estim-fourchette { display: block; margin: 4px 0 14px; font-size: 13px; color: var(--texte); }
.bi-estim-carte .bi-estim-chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 14px; padding: 12px 0; border-block: 1px solid var(--filet); list-style: none; }
.bi-estim-carte .bi-estim-chiffres li { display: flex; flex-direction: column; gap: 2px; }
.bi-estim-carte .bi-estim-chiffres strong { font-size: 15px; color: var(--encre); }
.bi-estim-carte .bi-estim-chiffres span { font-size: 12px; color: var(--gris); }
.bi-estim-ecart { margin: 0 0 12px; font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.bi-estim-ecart:empty { display: none; }
.bi-estim-ecart.ok { color: #1E7B4D; }
.bi-estim-ecart.haut { color: #B4541E; }
.bi-estim-ecart.bas { color: #1F5FA8; }
.bi-estim-utiliser { width: 100%; height: 44px !important; margin-bottom: 12px; font-size: 14px !important; }
.bi-estim-calcul::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; border: 2px solid var(--or); border-right-color: transparent; border-radius: 50%; vertical-align: -1px; animation: bi-tourne .8s linear infinite; }
@keyframes bi-tourne { to { transform: rotate(360deg); } }

/* Contact et récapitulatif */
.bi-recap { margin: 24px 0 20px; padding: 20px 22px; border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--nuage); }
.bi-recap h3 { margin: 0 0 12px; font-size: 16px; color: var(--encre); }
.bi-recap dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 0; }
.bi-recap dl > div { min-width: 0; }
.bi-recap dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.bi-recap dd { margin: 2px 0 0; font-size: 14.5px; color: var(--encre); }
.bi-recap dd em { font-style: normal; color: #B42318; }
.bi-recap dd a { margin-left: 6px; font-size: 12.5px; color: var(--or); }
.bi-certifie { margin-top: 8px; padding: 16px 18px; border: 1px solid var(--filet); border-radius: var(--rayon); font-size: 14px !important; }
.bi-certifie.bi-invalide { border-color: #E5484D; }
.bi-certifie + .bi-erreur { margin-top: 6px; }

/* Barre d’actions du parcours */
.bi-pas-barre { gap: 14px; }
.bi-pas-barre .bi-envoi-boutons { margin-left: auto; }
.bi-pas-retour { flex: none; }
.bi-note-envoi { margin: 0 0 14px !important; padding: 12px 16px; border-left: 3px solid var(--or); background: #FBF8F2; color: var(--texte); }
.bi-pas-retour::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--i-precedent) center / contain no-repeat; mask: var(--i-precedent) center / contain no-repeat; }

/* Fiche : détails venus du parcours */
.fiche-honoraires { display: block; margin-top: 6px; font-size: 12.5px; font-style: normal; color: var(--gris); }
.fiche-pro-contact { margin: -6px 0 16px; font-size: 14px; color: var(--texte); }
.fiche-pro-contact strong { color: var(--encre); }
.bi-energie-details { display: flex; flex-direction: column; gap: 8px; margin: 22px 0 0; padding: 16px 18px; border-radius: var(--rayon); background: var(--sable); list-style: none; font-size: 14px; line-height: 1.6; color: var(--texte); }
.bi-energie-details strong { color: var(--encre); }
.fiche-liste { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fiche-liste li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.6; color: var(--texte); }
.fiche-liste li::before { content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--or); }
.fiche-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.fiche-plan { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--filet); border-radius: var(--rayon); background: var(--blanc); transition: border-color .25s; }
.fiche-plan img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--blanc); }
.fiche-plan > span:last-child { padding: 8px 12px; font-size: 13px; font-weight: 500; color: var(--encre); }
.fiche-plan:hover { border-color: var(--or); }

@media (max-width: 1180px) {
  .bi-prix-grille { grid-template-columns: 1fr; }
  .bi-estim-carte { position: static; }
}
@media (max-width: 1024px) {
  .bi-parcours { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bi-pas-cote { position: static; min-width: 0; padding: 16px; }
  .bi-pas-cote-titre, .bi-pas-cote > .bi-statut, .bi-pas-cote > .bi-univers, .bi-pas-quitter { display: none; }
  .bi-pas-liste { flex-direction: row; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .bi-pas-liste a { flex: none; gap: 8px; padding: 6px 12px 6px 6px; font-size: 13px; white-space: nowrap; }
}
@media (max-width: 760px) {
  .bi-pas { padding: 24px 18px 26px; }
  .bi-pas-tete h2 { font-size: 23px; }
  .bi-parcours-actif .bi-pas-liste .bi-pas-nom { display: none; }
  .bi-parcours-actif .bi-pas-liste a.actif .bi-pas-nom { display: inline; }
  .bi-parcours-actif .bi-pas-liste a:not(.actif) { padding-right: 6px; }
  .bi-cartes-choix, .bi-recap dl, .bi-conseils ul { grid-template-columns: 1fr; }
  .bi-carte-choix { padding: 18px 18px 18px 72px; }
  .bi-carte-choix::before { top: 50%; left: 18px; width: 34px; height: 34px; margin-top: -17px; }
  .bi-carte-choix:has(input:checked)::after { top: 50%; margin-top: -12px; }
  .bi-ext-details .champ-form { flex-direction: column; align-items: flex-start; }
  /* barre collante compacte : actions secondaires en haut, Retour et Continuer en dessous */
  .bi-pas-barre { position: sticky; bottom: 0; display: grid; grid-template-columns: 46px 1fr 1fr; gap: 8px; padding: 10px; }
  .bi-pas-barre .bi-envoi-boutons { display: contents; }
  .bi-pas-barre .bi-envoi-boutons > * { width: 100%; }
  .bi-pas-barre [name=brouillon] { grid-row: 1; grid-column: 1 / 3; }
  .bi-pas-barre [name=brouillon]:not(:has(+ [name=apercu])) { grid-column: 1 / -1; }
  .bi-pas-barre [name=apercu] { grid-row: 1; grid-column: 3; }
  .bi-pas-barre [name=brouillon], .bi-pas-barre [name=apercu] { height: 38px; padding: 0 10px; font-size: 13px; }
  .bi-pas-barre .bi-pas-retour { grid-row: 2; grid-column: 1; width: 46px; height: 48px; padding: 0; font-size: 0; }
  .bi-pas-barre .bi-pas-retour::before { width: 18px; height: 18px; }
  .bi-pas-barre .bouton { grid-row: 2; grid-column: 2 / -1; height: 48px; padding: 0 14px; font-size: 14.5px; }
  .bi-pas-barre .bi-pas-retour[hidden] ~ .bi-envoi-boutons .bouton { grid-column: 1 / -1; }
  .bi-pas-barre [data-pas-suite]:not([hidden]) ~ [data-pas-fin] { grid-row: 3; grid-column: 1 / -1; }
  .bi-lettre span { min-width: 40px; height: 42px; }
}

/* ---------- Moteur de recherche de l’accueil et barres de recherche (2.6.0) ---------- */
.bi-moteur { position: relative; border: 1px solid var(--filet); border-radius: 10px; background: var(--blanc);
  box-shadow: 0 1px 2px rgba(2, 20, 52, .04), 0 28px 60px -30px rgba(2, 20, 52, .3); }
.bi-moteur-tete { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 24px 0 10px; border-bottom: 1px solid var(--filet); }
.bi-moteur-onglets { display: flex; gap: 2px; min-width: 0; }
.bi-moteur-onglet { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 60px; margin: 0; padding: 0 18px; border: 0; background: none;
  font: inherit; font-size: 14.5px; font-weight: 600; color: var(--texte); white-space: nowrap; cursor: pointer; transition: color .2s; }
.bi-moteur-onglet::before { content: ""; flex: none; width: 18px; height: 18px; background: var(--gris); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; transition: background .2s; }
.bi-moteur-onglet::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: var(--or); transform: scaleX(0); transition: transform .35s var(--sortie); }
.bi-moteur-onglet:hover { color: var(--encre); }
.bi-moteur-onglet[aria-selected="true"] { color: var(--marine); }
.bi-moteur-onglet[aria-selected="true"]::before { background: var(--or); }
.bi-moteur-onglet[aria-selected="true"]::after { transform: scaleX(1); }
.bi-moteur-onglet:focus-visible { outline: 2px solid var(--or); outline-offset: -8px; border-radius: 8px; }
.bi-moteur-onglet .court { display: none; }
.bi-moteur-nb { min-width: 24px; padding: 3px 8px; border-radius: 99px; background: var(--nuage); font-size: 11.5px; font-weight: 600; line-height: 1.3; color: var(--gris); text-align: center; transition: background .2s, color .2s; }
.bi-moteur-onglet[aria-selected="true"] .bi-moteur-nb { background: #F5ECDC; color: #8A6A2E; }
.bi-moteur-note { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; color: var(--gris); white-space: nowrap; }
.bi-moteur-note::before { content: ""; width: 15px; height: 15px; background: var(--or); -webkit-mask: var(--i-coche) center / contain no-repeat; mask: var(--i-coche) center / contain no-repeat; }
.js .bi-moteur-panneau:not(.actif) { display: none; }
.js .bi-moteur-panneau.actif { animation: bi-panneau .35s var(--sortie); }
@keyframes bi-panneau { from { opacity: 0; transform: translateY(4px); } }
.bi-moteur .barre.bi-barre { margin: 0; padding: 12px; border-radius: 0 0 10px 10px; background: transparent; box-shadow: none; }
.js .hero .bi-moteur .barre { opacity: 1; translate: none; }

/* champs : libellé discret, valeur nette, survol arrondi */
.barre.bi-barre { border-radius: 10px; }
.bi-barre-champ { gap: 6px; padding: 11px 22px; border-radius: 0; }
.bi-barre-champ:focus-within, .bi-barre-lieu:hover, .bi-barre-budget:hover, .bi-barre-metier:hover { background: #F8F7F4; }
.bi-barre-champ:focus-within .bi-barre-label { color: var(--or); }
.bi-barre-label { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: #8E9297; transition: color .2s; }
.bi-barre-valeur { height: 40px; font-size: 15px; }
/* type de bien : sélecteur segmenté */
.bi-barre-types { padding-top: 6px; }
/* légende non flottante : Chrome élargit le champ quand elle flotte */
.bi-barre-types legend { float: none; width: auto; margin: 0; padding: 11px 0 0; }
.bi-barre-types .bi-barre-puces { clear: none; }
.bi-barre-puces { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--filet); border-radius: 8px; background: #F6F6F7; }
.bi-barre-puce span { height: 34px; padding: 0 14px 0 11px; border: 0; border-radius: 6px; background: transparent; font-size: 14px; color: var(--texte); }
.bi-barre-puce:hover span { border-color: transparent; color: var(--encre); }
.bi-barre-puce input:checked + span { border: 0; background: var(--blanc); color: var(--marine); font-weight: 600; box-shadow: 0 1px 2px rgba(2, 20, 52, .12), 0 0 0 1px rgba(2, 20, 52, .06); }
.bi-barre-puce input:checked + span::before { background: var(--or); }
.bi-barre-lieu input, .bi-barre-budget select, .bi-barre-metier select { font-size: 15px; }
.bi-barre-lieu::after { bottom: 22px; }
.bi-barre-metier { flex: 0 0 260px; cursor: pointer; }
.bi-barre-metier select { width: 100%; height: 40px; padding: 0 28px 0 0; border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 500; color: var(--encre); cursor: pointer; outline: none;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B88F42' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 15px; }
.bi-barre-artisans .bi-barre-metier { border-left: 0; }
/* bouton : deux lignes, nombre de biens sous l’action, sans brillance */
.bouton.bi-barre-bouton { min-height: 64px; margin-left: 12px; padding: 0 26px 0 24px; gap: 14px; border-radius: 8px; text-align: left; box-shadow: none; }
.bouton.bi-barre-bouton::after { display: none; }
.bouton.bi-barre-bouton:hover { box-shadow: none; }
.bi-barre-bouton-corps { display: flex; flex-direction: column; gap: 3px; }
.bi-barre-bouton-texte { font-size: 15.5px; font-weight: 600; line-height: 1.1; }
.bi-barre-bouton-nb { font-size: 12px; font-weight: 500; line-height: 1.1; color: rgba(255, 255, 255, .85); }
.bi-barre-bouton-nb:empty { display: none; }

@media (max-width: 1180px) {
  .bi-moteur-note { display: none; }
  .bouton.bi-barre-bouton { justify-content: center; margin-left: 0; }
  .bi-barre-bouton-corps { flex-direction: row; align-items: baseline; gap: 10px; }
  .bi-barre-bouton-nb:not(:empty)::before { content: "· "; }
  .bi-barre-artisans .bi-barre-metier { flex: 1 1 240px; }
}
@media (max-width: 760px) {
  .bi-moteur-tete { padding: 0; }
  .bi-moteur-onglets { flex: 1; gap: 0; }
  .bi-moteur-onglet { flex: 1 1 0; flex-direction: column; justify-content: center; gap: 5px; height: 66px; padding: 0 4px; font-size: 12.5px; }
  .bi-moteur-onglet::after { left: 12px; right: 12px; }
  .bi-moteur-onglet .long, .bi-moteur-nb { display: none; }
  .bi-moteur-onglet .court { display: inline; }
  .bi-moteur .barre.bi-barre { padding: 8px; }
  .bouton.bi-barre-bouton { min-height: 60px; padding: 0 18px; }
  .bi-barre-bouton-corps { flex-direction: column; align-items: center; gap: 3px; }
  .bi-barre-bouton-nb:not(:empty)::before { content: none; }
  .bi-barre-artisans { grid-template-columns: 1fr !important; }
  .bi-barre-artisans .bi-barre-champ { grid-column: 1 / -1; border-left: 0; }
  .bi-barre-artisans .bi-barre-lieu { border-top: 1px solid var(--filet); }
}
@media (max-width: 400px) {
  /* la légende se pose sur la bordure haute : filet dessiné autrement */
  .bi-barre-types { border-top: 0; box-shadow: inset 0 1px 0 var(--filet); }
}

/* ==========================================================================
   Dépôt d’annonce : apparence Bisecco (demande du client, octobre 2026).
   Le formulaire de publication reprend la police, les couleurs et les cartes arrondies du formulaire de profil
   de Bisecco, pour que les professionnels venus de Bisecco ne changent pas de repères. Seule la zone du
   formulaire est concernée : l’en-tête et le pied de page restent ceux de Bis-immo.
   ========================================================================== */
@font-face { font-family: "Poppins Depot"; font-weight: 400; font-style: normal; font-display: swap; src: url("polices/poppins-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins Depot"; font-weight: 500; font-style: normal; font-display: swap; src: url("polices/poppins-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins Depot"; font-weight: 600; font-style: normal; font-display: swap; src: url("polices/poppins-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins Depot"; font-weight: 700; font-style: normal; font-display: swap; src: url("polices/poppins-700-latin.woff2") format("woff2"); }

.espace-tete-depot, .espace-depot {
  --or: #FF6412; --or-fonce: #E85608; --marine: #0B2E67; --encre: #0B1F3A; --texte: #15233A; --gris: #5F6C80;
  --filet: #E6EBF2; --nuage: #F1F5FB; --sable: #FFEDE2; --rayon: 14px;
  --depot-ombre: 0 1px 2px rgba(11, 31, 58, .04), 0 18px 40px -24px rgba(11, 31, 58, .28);
  font-family: "Poppins Depot", Poppins, "Segoe UI", Arial, sans-serif; color: var(--texte);
}
.espace-tete-depot :is(h1, h2, h3, p, a, span), .espace-depot :is(h1, h2, h3, h4, p, a, span, li, label, legend, dt, dd, small, strong, input, select, textarea, button) { font-family: inherit; }
.espace-tete-depot { border: 0; background: #FAF6F0; }
.espace-depot { background: #FAF6F0; }
.espace-tete-depot .espace-surtitre { color: #D94F06; font-weight: 600; letter-spacing: .12em; }
.espace-tete-depot h1 { color: var(--marine); font-weight: 700; letter-spacing: -.02em; }
.espace-tete-depot .fil, .espace-tete-depot .fil a { color: var(--gris); }

/* cartes : colonne des étapes, étape en cours, barre d’envoi */
.espace-depot .bi-pas-cote, .espace-depot .espace-carte, .espace-depot .bi-envoi { border-color: var(--filet); border-radius: 24px; background: #fff; box-shadow: var(--depot-ombre); }
.espace-depot .bi-pas-cote { padding: 24px 18px 18px; }
.espace-depot .bi-pas-cote-titre { color: var(--marine); font-weight: 700; }
.espace-depot .bi-univers { background: #EAF2FE; color: var(--marine); }
.espace-depot .bi-pas-progres { height: 8px; background: #E9EEF6; }
.espace-depot .bi-pas-progres span { background: linear-gradient(90deg, #FF8A45, var(--or)); }
.espace-depot .bi-pas-liste a { border-radius: 14px; font-weight: 500; }
.espace-depot .bi-pas-liste a.actif { background: var(--marine); box-shadow: 0 12px 22px -14px rgba(11, 46, 103, .8); }
.espace-depot .bi-pas-rond { width: 30px; height: 30px; border-color: #D6DEEA; }
.espace-depot .bi-pas-liste a.fait .bi-pas-rond { border-color: #BDE5CC; background: #E8F6EE; }
.espace-depot .bi-pas-liste a.fait .bi-pas-rond::after { background: #1FA85C; }
.espace-depot .bi-pas-quitter:hover { color: var(--or); }
.espace-depot .bi-pas { padding: clamp(24px, 3vw, 40px); }
.espace-depot .bi-pas-num { display: inline-block; margin-bottom: 12px; padding: 7px 14px; border-radius: 999px; background: var(--sable); color: #D94F06; font-size: 12px; letter-spacing: .12em; }
.espace-depot .bi-pas-tete h2 { color: var(--marine); font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.01em; }
.espace-depot .bi-pas-intro { color: var(--gris); }
.espace-depot .bi-groupe h3 { color: var(--marine); font-size: 17px; }

/* champs */
.espace-depot .champ-form > label, .espace-depot .bi-label { color: var(--encre); font-size: 14px; font-weight: 500; }
.espace-depot .champ-form :is(input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea) { border: 1px solid #D6DEEA; border-radius: 14px; background: #fff; color: var(--texte); font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.espace-depot .champ-form :is(input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea):focus { border-color: #2F80ED; outline: 0; box-shadow: 0 0 0 4px rgba(47, 128, 237, .14); }
.espace-depot .champ-form ::placeholder { color: #8A96A8; }
.espace-depot .bi-plusmoins { overflow: hidden; border-color: #D6DEEA; border-radius: 14px; }
.espace-depot .champ-form .bi-plusmoins input:not([type=checkbox]):not([type=radio]):not([type=file]) { border: 0; border-inline: 1px solid #D6DEEA; border-radius: 0; }
.espace-depot .champ-form .bi-plusmoins input:focus { background: #F1F5FB; box-shadow: none; }
.espace-depot .bi-carte-choix { border-radius: 20px; border-color: var(--filet); box-shadow: var(--depot-ombre); }
.espace-depot .bi-carte-choix:hover { border-color: #C9D6E8; }
.espace-depot .bi-choix-item span { height: 42px; border-color: #D6DEEA; border-radius: 999px; }
.espace-depot .bi-choix-item input:checked + span { border-color: var(--marine); background: var(--marine); }
.espace-depot .bi-lettre span { border-radius: 12px; }
.espace-depot .bi-depot-zone { border-color: #C9D6E8; border-radius: 20px; background: #F8FAFD; }
.espace-depot .bi-depot-zone:hover, .espace-depot .bi-depot.survol .bi-depot-zone { border-color: var(--or); background: #FFF6EF; }
.espace-depot .bi-depot-titre { color: var(--marine); }
.espace-depot .bi-photo { border-radius: 16px; }
.espace-depot .bi-recap { border-radius: 20px; background: #F8FAFD; }
.espace-depot .bi-recap h3 { color: var(--marine); }
.espace-depot .bi-recap dd a { color: #2F80ED; }
.espace-depot .bi-note { border-radius: 14px; }
.espace-depot .bi-passoire { border-radius: 0 14px 14px 0; }

/* boutons */
.espace-depot .bi-envoi { padding: 16px 20px; }
.espace-depot .bi-envoi :is(.bouton, .bi-bouton-second, button), .espace-depot .bi-pas :is(.bouton, .bi-bouton-second) { border-radius: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.espace-depot .bi-envoi .bouton { border-color: var(--or); background: var(--or); color: #fff; box-shadow: 0 12px 24px -14px rgba(255, 100, 18, .9); }
.espace-depot .bi-envoi .bouton:hover { border-color: var(--or-fonce); background: var(--or-fonce); }
.espace-depot .bi-envoi .bi-bouton-second { border: 1.5px solid #C9D6E8; background: #fff; color: var(--encre); }
.espace-depot .bi-envoi .bi-bouton-second:hover { border-color: var(--marine); color: var(--marine); }
@media (max-width: 900px) { .espace-depot .bi-pas-cote, .espace-depot .espace-carte, .espace-depot .bi-envoi { border-radius: 20px; } }

/* ---------- Demandes reçues : dossiers, archivage, suppression (17/10/2026) ---------- */
.bi-dossiers { display: flex; gap: 8px; margin: 0 0 18px; }
.bi-dossiers a { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid var(--filet); border-radius: 8px; background: var(--blanc); color: var(--texte); font-size: 14px; font-weight: 600; text-decoration: none; }
.bi-dossiers a span { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #F1ECE2; color: var(--encre); font-size: 12px; text-align: center; }
.bi-dossiers a[aria-current="page"] { border-color: var(--marine, #091D3C); background: var(--marine, #091D3C); color: #fff; }
.bi-dossiers a[aria-current="page"] span { background: var(--or); color: var(--marine, #091D3C); }
.bi-message-gestion { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--filet); }
.bi-message-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--filet); border-radius: 8px; color: var(--encre); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.bi-message-btn:hover { border-color: var(--or); color: var(--encre); }
.bi-message-suppr { color: #B42318; }
.bi-message-suppr:hover { border-color: #B42318; color: #B42318; }

/* ---------- Dépôt : limite de photos ou de plans atteinte (20/10/2026) ---------- */
.bi-depot.bi-depot-plein .bi-depot-zone, .espace-depot .bi-depot.bi-depot-plein .bi-depot-zone, .espace-depot .bi-depot.bi-depot-plein .bi-depot-zone:hover { border-style: solid; border-color: #D7DCE2 !important; background: #F1F3F5 !important; cursor: not-allowed; }
.bi-depot.bi-depot-plein .bi-depot-zone > span { color: #6B7480; }
.bi-depot.bi-depot-plein .bi-depot-zone::before { filter: grayscale(1); opacity: .45; }
.bi-ajout-info.bi-ajout-alerte { color: #B42318; font-weight: 600; }

/* ---------- Dépôt : dictée vocale de la description et du titre (20/10/2026) ---------- */
.bi-dictee { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; }
.bi-dictee .bi-dictee-bouton { display: inline-flex; flex: none; align-items: center; gap: 8px; height: 38px; min-height: 0; margin: 0; padding: 0 14px 0 12px; border: 1px solid #D7E0EB; border-radius: 8px; background: #fff; box-shadow: none; color: var(--marine, #091D3C); font: inherit; font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer; transform: none; }
.bi-dictee .bi-dictee-bouton svg { width: 18px; height: 18px; fill: var(--or, #C9A24D); }
.bi-dictee .bi-dictee-bouton:hover { border-color: var(--or, #C9A24D); background: #FFFBF2; color: var(--marine, #091D3C); }
.bi-dictee .bi-dictee-bouton:focus-visible { outline: 3px solid var(--or, #C9A24D); outline-offset: 2px; }
.bi-dictee .bi-dictee-bouton.bi-dictee-active, .bi-dictee .bi-dictee-bouton.bi-dictee-active:hover { border-color: #D92D20; background: #FEF3F2; color: #B42318; }
.bi-dictee-point { width: 10px; height: 10px; border-radius: 50%; background: #D92D20; animation: bi-dictee-pouls 1.2s ease-in-out infinite; }
@keyframes bi-dictee-pouls { 50% { opacity: .35; transform: scale(.75); } }
@media (prefers-reduced-motion: reduce) { .bi-dictee-point { animation: none; } }
.bi-dictee-etat { flex: 1 1 240px; margin: 0; font-size: 13px; line-height: 1.45; color: var(--gris, #5B6675); }
.bi-dictee-etat:empty { display: none; }
.bi-dictee-etat small { display: block; margin-top: 2px; font-size: 12px; opacity: .85; }
.bi-dictee-etat.bi-dictee-erreur { color: #B42318; font-weight: 600; }

/* ---------- Badges « vérifié » en vert, badge « Nouveau bien » du carrousel (20/10/2026) ---------- */
.verifie { gap: 6px; width: fit-content; padding: 5px 10px 5px 8px; border: 1px solid #CDE9D7; border-radius: 8px; background: #EEF6F1; color: #1E7B4D; font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.verifie::before { width: 15px; height: 15px; }
.bi-carte-verifie { border-color: #CDE9D7; background: #EEF6F1; color: #1E7B4D; }
.etiquette-nouveau { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(201, 162, 77, .6); background: var(--marine, #071B33); color: #fff; }
.etiquette-nouveau::before { content: ""; flex: none; width: 14px; height: 14px; background: #D9B46A; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%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'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
/* accueil : passe devant les styles dorés du carrousel (thème et correctifs) */
html body.home section.vitrine .vitrine-carte .vitrine-etiquettes p.etiquette.etiquette-nouveau.etiquette-nouveau.etiquette-nouveau { background: #071B33 !important; border-color: rgba(201, 162, 77, .6) !important; color: #fff !important; -webkit-text-fill-color: #fff !important; }
html body.home section.vitrine .vitrine-carte .vitrine-etiquettes p.etiquette.etiquette-nouveau.etiquette-nouveau.etiquette-nouveau::before { background: #D9B46A !important; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat !important; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat !important; }
