/* Charte JPS Immo : mêmes jetons que jps-immo.fr (crème, encre, or). */
:root {
  --encre: #141210;
  --encre-douce: #2b2822;
  --creme: #f7f3ea;
  --creme-fonce: #e7e0d1;
  --creme-clair: #f2ede2;
  --blanc: #ffffff;
  --or: #dfa91c;
  --or-profond: #866212;
  --or-pale: #fbf3dc;
  --texte: #141210;
  --texte-muet: #665f52;
  --filet: rgba(20, 18, 15, 0.1);
  --filet-moyen: rgba(20, 18, 15, 0.2);
  --erreur: #9b3b2e;
  --erreur-fond: #f6e8e5;
  --succes: #2f6b3a;
  --succes-fond: #e8efe6;
  --ombre: 0 1px 2px rgba(20, 18, 15, 0.04), 0 6px 18px rgba(20, 18, 15, 0.06);
  --rayon: 16px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI Variable Text', 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.45;
  overscroll-behavior-y: none;
}

h1,
h2,
h3,
p,
blockquote,
fieldset,
ol,
ul {
  margin: 0;
  padding: 0;
}

fieldset {
  border: none;
  min-width: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Page ---------- */

.page {
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 16px calc(96px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page.centre {
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 32px;
}

.entete {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

.entete-titres {
  flex: 1;
  min-width: 0;
}

.entete h1 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.retour {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blanc);
  border: 1px solid var(--filet);
  display: grid;
  place-items: center;
  font-size: 28px;
  line-height: 1;
  padding-bottom: 4px;
  flex-shrink: 0;
}

.doux {
  color: var(--texte-muet);
}

.petit {
  font-size: 14px;
}

.centre {
  text-align: center;
}

.section-titre {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-muet);
  margin-bottom: 8px;
}

section > .carte + .carte,
section > .carte-reco + .carte-reco {
  margin-top: 10px;
}

/* ---------- Marque ---------- */

.marque {
  display: flex;
  align-items: center;
  gap: 10px;
}

.marque.grande {
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.marque-logo {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 2px var(--or-pale);
}

.marque.grande .marque-logo {
  width: 112px;
  height: 112px;
  box-shadow: 0 0 0 4px var(--or-pale), var(--ombre);
}

.marque-texte {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.marque-texte strong {
  font-family: var(--serif);
  font-size: 19px;
}

.marque-texte span {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--or-profond);
}

.marque.grande .marque-texte {
  align-items: center;
}

/* ---------- Cartes ---------- */

.carte {
  display: block;
  background: var(--blanc);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 16px;
}

.carte-ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.carte-reco strong {
  font-size: 18px;
}

.carte-reco .doux {
  margin-top: 2px;
}

.carte-apporteur,
.profil {
  display: flex;
  gap: 14px;
  align-items: center;
}

.carte-apporteur.bloque {
  opacity: 0.6;
}

.carte.vide {
  text-align: center;
  padding: 32px 20px;
}

.grand-emoji {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 12px;
}

.carte.vide h2 {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 8px;
}

.carte.vide .bouton {
  margin-top: 16px;
}

.vide-liste {
  padding: 32px 0;
}

.avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--or-pale);
  color: var(--or-profond);
  font-weight: 600;
  flex-shrink: 0;
}

.message {
  margin: 10px 0;
  padding: 10px 14px;
  border-left: 3px solid var(--or);
  background: var(--creme-clair);
  border-radius: 0 10px 10px 0;
  font-style: italic;
}

.lien {
  text-decoration: underline;
  text-decoration-color: var(--or);
  text-underline-offset: 3px;
}

.lien.discret {
  display: block;
  margin-top: 10px;
  color: var(--texte-muet);
  font-size: 14px;
  text-align: left;
}

.lien.discret.danger {
  color: var(--erreur);
}

.lien-tel {
  font-size: 20px;
  font-weight: 600;
}

.lien-personnel {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  word-break: break-all;
  background: var(--creme-clair);
  padding: 10px 12px;
  border-radius: 10px;
  margin: 10px 0;
  user-select: all;
}

.commentaires {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- Pastilles d'étape ---------- */

.pastille {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--creme-fonce);
  color: var(--encre-douce);
}

.pastille.etape-recue {
  background: var(--or);
  color: var(--encre);
}

.pastille.etape-cours {
  background: var(--or-pale);
  color: var(--or-profond);
}

.pastille.etape-avancee {
  background: var(--encre);
  color: var(--or);
}

.pastille.etape-finie {
  background: var(--succes-fond);
  color: var(--succes);
}

.pastille.etape-sans-suite {
  background: var(--creme-fonce);
  color: var(--texte-muet);
}

/* ---------- Chronologie ---------- */

.chronologie {
  list-style: none;
  position: relative;
}

.chronologie li {
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
  position: relative;
  color: var(--texte-muet);
}

.chronologie li:last-child {
  padding-bottom: 0;
}

.chronologie li::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 20px;
  bottom: -2px;
  width: 2px;
  background: var(--filet);
}

.chronologie li:last-child::before {
  display: none;
}

.chronologie .point {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--filet-moyen);
  background: var(--blanc);
  flex-shrink: 0;
  margin-top: 2px;
}

.chronologie li.atteinte,
.chronologie li.courante {
  color: var(--texte);
}

.chronologie li.atteinte .point {
  background: var(--encre);
  border-color: var(--encre);
}

.chronologie li.courante .point {
  background: var(--or);
  border-color: var(--or);
  box-shadow: 0 0 0 4px var(--or-pale);
}

.chronologie li.sans-suite .point {
  background: var(--texte-muet);
  border-color: var(--texte-muet);
  box-shadow: none;
}

.chronologie .date {
  font-size: 13px;
  color: var(--texte-muet);
}

/* ---------- Formulaires ---------- */

.formulaire {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.formulaire h2 {
  font-family: var(--serif);
  font-size: 24px;
}

.champ {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.champ-etiquette {
  font-size: 14px;
  font-weight: 600;
  color: var(--encre-douce);
}

.champ-aide {
  font-size: 13px;
  color: var(--texte-muet);
}

.champ-erreur {
  font-size: 14px;
  color: var(--erreur);
}

input:not([type='checkbox']):not([type='radio']),
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--filet-moyen);
  border-radius: 12px;
  background: var(--blanc);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--or);
  box-shadow: 0 0 0 3px var(--or-pale);
}

.en-erreur input,
.en-erreur textarea {
  border-color: var(--erreur);
}

.case {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
}

.case input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--encre);
  flex-shrink: 0;
}

.choix {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choix-option {
  padding: 9px 14px;
  border: 1px solid var(--filet-moyen);
  border-radius: 999px;
  font-size: 15px;
  cursor: pointer;
}

.choix-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.choix-option.actif {
  background: var(--encre);
  color: var(--creme-clair);
  border-color: var(--encre);
}

.choix-option:focus-within {
  box-shadow: 0 0 0 3px var(--or-pale);
}

/* ---------- Boutons ---------- */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--encre);
  color: var(--creme-clair);
  font-weight: 600;
  text-align: center;
  width: 100%;
}

.bouton:disabled {
  opacity: 0.55;
  cursor: default;
}

.bouton.secondaire {
  background: var(--blanc);
  color: var(--encre);
  border: 1px solid var(--filet-moyen);
}

.bouton.danger {
  background: var(--erreur);
  color: #fff;
}

.bouton.flottant {
  position: fixed;
  right: 16px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  width: auto;
  background: var(--or);
  color: var(--encre);
  box-shadow: 0 8px 24px rgba(20, 18, 15, 0.25);
  z-index: 5;
}

.boutons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.boutons .bouton {
  flex: 1;
}

.actions textarea {
  margin-top: 4px;
}

/* ---------- Bandeaux ---------- */

.bandeau {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 15px;
}

.bandeau.erreur {
  background: var(--erreur-fond);
  color: var(--erreur);
}

.bandeau.succes {
  background: var(--succes-fond);
  color: var(--succes);
}

.bandeau.info {
  background: var(--or-pale);
  color: var(--or-profond);
}

.chargement {
  padding: 32px 0;
}

/* ---------- Accueil public ---------- */

.presentation h1 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 12px;
}

.presentation p {
  margin-bottom: 16px;
}

.etapes-presentation {
  list-style: none;
  counter-reset: etape;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.etapes-presentation li {
  counter-increment: etape;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.etapes-presentation li::before {
  content: counter(etape);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--or);
  color: var(--encre);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.bienvenue h1 {
  font-family: var(--serif);
  font-size: 26px;
  margin-bottom: 8px;
}

.bienvenue .bouton {
  margin-top: 16px;
}

/* ---------- Tableau de bord ---------- */

.compteurs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.compteur {
  background: var(--blanc);
  border-radius: 14px;
  box-shadow: var(--ombre);
  padding: 12px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.compteur strong {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
}

.compteur span {
  font-size: 12px;
  color: var(--texte-muet);
  margin-top: 4px;
}

.compteur.accent {
  background: var(--or);
}

.compteur.accent span {
  color: var(--encre-douce);
}

.filtres {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.filtre {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--filet-moyen);
  background: var(--blanc);
  font-size: 15px;
  white-space: nowrap;
}

.filtre.actif {
  background: var(--encre);
  color: var(--creme-clair);
  border-color: var(--encre);
}

/* ---------- Barre d'onglets ---------- */

.onglets {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  background: var(--blanc);
  border-top: 1px solid var(--filet);
  padding: 6px 0 calc(6px + env(safe-area-inset-bottom));
  z-index: 10;
}

.onglets a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  color: var(--texte-muet);
  min-width: 72px;
  padding: 4px 8px;
  border-radius: 12px;
}

.onglets a.actif {
  color: var(--encre);
  font-weight: 600;
}

.onglet-icone {
  font-size: 22px;
  line-height: 1;
}

.onglets a.actif .onglet-icone {
  filter: drop-shadow(0 0 6px var(--or));
}

@media (min-width: 600px) {
  .onglets {
    left: 50%;
    right: auto;
    width: 560px;
    transform: translateX(-50%);
    border-radius: 18px 18px 0 0;
    border: 1px solid var(--filet);
    border-bottom: none;
  }
}

/* ---------- Notifications ---------- */

.carte > .bouton {
  margin-top: 12px;
}

/* ---------- Espace propriétaire : liste des biens ---------- */

.recherche {
  display: grid;
  gap: 8px;
}

.recherche input[type='search'] {
  width: 100%;
}

.liste-biens {
  display: grid;
  gap: 10px;
}

.carte-bien {
  display: grid;
  gap: 4px;
}

.carte-bien.retire {
  opacity: 0.7;
}

/* Suivi des propriétaires dans la liste de Jean-Pierre (30/10/2026) : une bande de couleur à gauche et une ligne. */
.carte-bien.suivi-message,
.carte-bien.suivi-venu,
.carte-bien.suivi-lu {
  border-left: 6px solid var(--couleur-suivi);
}

.suivi-message {
  --couleur-suivi: #c8372d;
}

.suivi-venu {
  --couleur-suivi: #e5b20c;
}

.suivi-lu {
  --couleur-suivi: #2f8f46;
}

.suivi-jamais {
  --couleur-suivi: #b5ad9d;
}

.ligne-suivi {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--encre-douce);
}

.ligne-suivi.suivi-jamais {
  font-weight: 400;
  color: var(--texte-muet);
}

.point {
  display: inline-block;
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--couleur-suivi);
}

.legende-suivi {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  margin: 0 0 2px;
}

.legende-suivi > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 10px;
  white-space: nowrap;
}

.apercu {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}

.apercu.non-lu {
  font-weight: 600;
  color: var(--encre);
}

.pastille-compte {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--or);
  color: var(--encre);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.onglet-icone {
  position: relative;
}

.onglet-icone .pastille-compte {
  position: absolute;
  top: -6px;
  right: -14px;
  min-width: 18px;
  height: 18px;
  font-size: 11px;
}

.deux-colonnes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.carte-personne.bloque {
  opacity: 0.6;
}

/* ---------- Conversation ---------- */

.conversation {
  padding-bottom: calc(200px + env(safe-area-inset-bottom));
}

.avec-qui {
  margin-top: -6px;
}

.actions-bien {
  padding: 0;
  overflow: hidden;
}

.actions-titre {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  font-weight: 600;
  text-align: left;
}

.actions-liste {
  list-style: none;
  border-top: 1px solid var(--filet);
}

.actions-liste li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--filet);
  font-size: 15px;
}

.actions-liste li:last-child {
  border-bottom: none;
}

.actions-chiffre {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--or-pale);
  color: var(--or-profond);
  font-weight: 700;
}

.fil {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.separateur-jour {
  align-self: center;
  margin: 8px 0 2px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--creme-fonce);
  color: var(--texte-muet);
  font-size: 13px;
}

.texte-libre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.bulle-ligne {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.bulle-ligne.moi {
  justify-content: flex-end;
}

.bulle-ligne .avatar {
  width: 32px;
  height: 32px;
  font-size: 13px;
}

.avatar-jp {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.bulle-ligne .avatar-jp {
  width: 32px;
  height: 32px;
}

.bulle {
  max-width: 80%;
  padding: 8px 12px 6px;
  border-radius: 16px 16px 16px 4px;
  background: var(--blanc);
  box-shadow: var(--ombre);
}

.bulle.moi {
  border-radius: 16px 16px 4px 16px;
  background: var(--or-pale);
}

.bulle-auteur {
  font-size: 13px;
  font-weight: 600;
  color: var(--or-profond);
}

.heure {
  margin-top: 2px;
  font-size: 12px;
  color: var(--texte-muet);
  text-align: right;
}

.carte-fil {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: var(--rayon);
  background: var(--blanc);
  border-left: 4px solid var(--or);
  box-shadow: var(--ombre);
}

.carte-fil.actualite {
  border-left-color: var(--encre);
}

.carte-fil-titre {
  font-weight: 600;
}

.compte-rendu {
  padding-top: 6px;
  border-top: 1px dashed var(--filet-moyen);
}

.saisie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(64px + env(safe-area-inset-bottom));
  z-index: 9;
  display: grid;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 12px;
  background: var(--creme);
  border-top: 1px solid var(--filet);
}

.saisie-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.saisie-modes .filtre {
  padding: 6px 12px;
  font-size: 14px;
}

.saisie-visite {
  display: grid;
  gap: 8px;
  max-height: 40vh;
  overflow-y: auto;
}

.saisie-ligne {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.saisie-ligne textarea {
  flex: 1;
  min-height: 44px;
  max-height: 160px;
  resize: none;
  border-radius: 22px;
  padding: 11px 16px;
}

.bouton.envoyer {
  width: 48px;
  min-width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  font-size: 20px;
}

.bouton.petit {
  padding: 8px 12px;
  font-size: 15px;
  white-space: nowrap;
}

.conversation .entete h1 {
  font-size: 21px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fin-fil {
  scroll-margin-bottom: 190px;
}

.entete-titres {
  min-width: 0;
}

.entete .bouton {
  width: auto;
  min-height: 40px;
  flex-shrink: 0;
  align-self: flex-start;
}

.heure .lien {
  display: inline;
  margin-left: 8px;
  font-size: 12px;
}

.carte-personne {
  display: grid;
  gap: 12px;
}

.carte-personne .carte-ligne,
.carte.carte-ligne {
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.profil {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.carte-personne .boutons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.carte-personne .boutons .bouton {
  width: auto;
  min-height: 42px;
  padding: 8px 16px;
}

.carte-personne .boutons .bouton {
  flex: none;
  white-space: nowrap;
}

/* ---------- Chiffres Leboncoin ---------- */

.leboncoin {
  display: grid;
  gap: 10px;
}

.leboncoin-titre {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.leboncoin-compteurs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.leboncoin-compteurs li {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--creme);
}

.leboncoin-compteurs li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.leboncoin-compteurs strong {
  font-size: 22px;
  line-height: 1.1;
}

.leboncoin-compteurs span {
  font-size: 14px;
}

.evolution {
  font-size: 12px !important;
  color: var(--texte-muet);
}

.evolution.hausse {
  color: var(--succes);
  font-weight: 600;
}

/* ---------- Indivision : échanges privés ---------- */

.bulle-prive {
  font-size: 12px;
  font-weight: 600;
  color: var(--or-profond);
}

.choix-echanges {
  display: grid;
  gap: 8px;
  margin: 8px 0;
}

.choix-echanges .choix-option {
  display: grid;
  gap: 2px;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--filet-moyen);
  background: var(--blanc);
}

.choix-echanges .choix-option.actif {
  border-color: var(--or);
  background: var(--or-pale);
}

/* ---------- Visites à venir ---------- */

.visites-a-venir {
  display: grid;
  gap: 8px;
  border-left: 4px solid var(--or);
}

.visites-a-venir ul {
  list-style: none;
  display: grid;
  gap: 6px;
}

.visites-a-venir li {
  font-size: 15px;
}

/* ---------- Lien de lecture envoyé par SMS (31/10/2026) : grands caractères, rien à toucher ---------- */

.bouton-sms {
  width: 100%;
}

.envoi-sms {
  display: grid;
  gap: 10px;
}

.lien-sms {
  padding: 10px;
  border-radius: 10px;
  background: var(--creme-clair);
  overflow-wrap: anywhere;
}

.lecture {
  font-size: 19px;
  line-height: 1.5;
}

.lecture h1 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.2;
  margin: 8px 0 0;
}

.lecture .carte-fil h2 {
  font-size: 21px;
  margin: 0 0 6px;
}

.lecture-qui {
  font-weight: 600;
  margin: 0 0 6px;
}

.lecture-texte {
  white-space: pre-line;
  margin: 0;
}

.lecture-pied {
  margin: 12px 0 24px;
  text-align: center;
}

.lecture-pied a {
  font-weight: 700;
  white-space: nowrap;
}

.envoi-sms .boutons {
  display: grid;
  gap: 8px;
}

.envoi-sms .boutons .bouton {
  width: 100%;
  text-align: center;
}

/* ---------- Bien de démonstration (31/10/2026) ---------- */

.pastille-demo {
  display: inline-block;
  padding: 1px 8px;
  margin-right: 4px;
  border-radius: 999px;
  background: var(--encre);
  color: var(--or);
  font-size: 13px;
  font-weight: 700;
  vertical-align: 2px;
}

.bandeau-demo {
  display: grid;
  gap: 8px;
  border: 2px dashed var(--or);
  background: var(--or-pale);
}

.bandeau-demo p {
  margin: 0;
}

/* ---------- Photo du bien (31/10/2026) ---------- */

.photo-bien {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--rayon);
  background: var(--creme-fonce);
}

.vignette-bien {
  flex: none;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--creme-fonce);
}

/* La vignette à gauche, le texte à droite. */
.carte-bien:has(> .vignette-bien) {
  grid-template-columns: 64px 1fr;
  column-gap: 12px;
}

.carte-bien:has(> .vignette-bien) > * {
  grid-column: 2;
  min-width: 0;
}

.carte-bien > .vignette-bien {
  grid-column: 1;
  grid-row: 1 / span 3;
}

/* ---------- Carte « Contact » (31/10/2026) ---------- */

.carte-fil.contact {
  border-left: 4px solid var(--encre-douce);
}

.carte-fil.contact p {
  margin: 4px 0;
}

/* Une visite et son bouton « ✍️ Compte rendu » (31/10/2026). */
.visite-ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.visite-ligne .bouton.petit {
  flex: none;
  width: auto;
  min-height: 0;
  padding: 6px 12px;
  font-size: 14px;
}
