/* TRANSAC Immobilier
   Identité : PT Sans et Lora (polices du site d'origine), rouge brique #b03c33 du logo.
   Direction : références Brickwise, Estates, Realnest choisies par le client (23/11/2026). */
:root {
  --brique: #b03c33;
  --brique-doux: #f6e7e5;
  --encre: #151513;
  --texte: #3d3b37;
  --doux: #75726c;
  --fond: #ebe9e5;
  --feuille: #ffffff;
  --surface: #f5f4f1;
  --trait: #e6e3de;
  --ombre: 0 1px 2px rgb(21 21 19 / .05), 0 10px 30px rgb(21 21 19 / .09);
  --rayon: 18px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --sans: "PT Sans", system-ui, sans-serif;
  --serif: "Lora", Georgia, serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 17px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--sans); color: var(--encre); font-weight: 700; line-height: 1.08; margin: 0 0 .45em;
  letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.18rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.conteneur { width: min(1240px, 100% - 40px); margin-inline: auto; }
@media (max-width: 600px) { .conteneur { width: calc(100% - 32px); } }
.passer { position: absolute; left: -999px; }
.passer:focus { left: 16px; top: 16px; z-index: 100; background: var(--feuille); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--brique); outline-offset: 2px; border-radius: 6px; }

/* la page est une feuille blanche aux coins arrondis, posée sur un fond gris */
.feuille { background: var(--feuille); margin: 12px; border-radius: 28px; overflow: clip; }
@media (max-width: 600px) { .feuille { margin: 0; border-radius: 0; } }

/* ---------------------------------------------------------------- barre du haut : espaces clients + sélection */
.barre-haut { color: var(--doux); font-size: .88rem; }
.barre-haut .conteneur { display: flex; align-items: center; gap: 16px; min-height: 42px; }
.barre-haut nav { margin-left: auto; display: flex; gap: 2px; flex-wrap: wrap; }
.barre-haut a { color: var(--texte); text-decoration: none; padding: 8px 10px; border-radius: 999px; display: inline-flex; align-items: center;
  gap: 6px; transition: background-color 160ms ease; }
.barre-haut a svg { width: 15px; height: 15px; }
@media (hover: hover) and (pointer: fine) { .barre-haut a:hover { background: var(--feuille); } }
.compteur { background: var(--brique); color: #fff; border-radius: 999px; min-width: 20px; height: 20px; padding: 0 6px;
  font-size: .78rem; font-weight: 700; display: inline-grid; place-items: center; }
.compteur[hidden] { display: none; }
@media (max-width: 760px) { .adresse-haut { display: none; } .barre-haut nav { margin: 0 auto; justify-content: center; }
  .barre-haut a { padding: 8px 6px; font-size: .82rem; } }

/* ---------------------------------------------------------------- en-tête */
.entete { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--feuille) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--trait); }
.entete .conteneur { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo img { width: 34px; height: 34px; }
.logo span { font-weight: 700; font-size: 1.18rem; color: var(--encre); letter-spacing: -.01em; }
.logo span b { color: var(--doux); }
.nav { display: flex; gap: 2px; margin-inline: auto; align-items: center; }
.nav a { text-decoration: none; padding: 8px 13px; color: var(--doux); font-size: .98rem; position: relative;
  transition: color 160ms ease; }
.nav a[aria-current="page"] { color: var(--encre); font-weight: 700; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: -15px; height: 2px; background: var(--encre); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--encre); } }
.tel { flex: none; text-decoration: none; background: var(--encre); color: var(--feuille); padding: 11px 18px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; transition: transform 160ms var(--ease-out); white-space: nowrap; }
.tel:active, .bouton:active, .puce:active { transform: scale(.97); }
.menu-mobile { display: none; }
@media (max-width: 1060px) {
  .nav { display: none; }
  .nav.ouvert { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--feuille); border-bottom: 1px solid var(--trait); padding: 8px 16px 16px; box-shadow: var(--ombre); }
  .nav.ouvert a { padding: 12px; font-size: 1.05rem; color: var(--encre); }
  .nav.ouvert a::after { display: none; }
  .menu-mobile { display: inline-flex; margin-left: auto; background: none; border: 1px solid var(--trait); border-radius: 999px;
    padding: 9px 16px; font: inherit; color: var(--encre); cursor: pointer; min-height: 44px; }
}
@media (max-width: 520px) { .tel .tel-long { display: none; } .logo span b { display: none; } }

/* ---------------------------------------------------------------- boutons, champs, puces */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 0; background: var(--encre); color: var(--feuille); font: 700 1rem var(--sans); text-decoration: none;
  cursor: pointer; transition: transform 160ms var(--ease-out), opacity 160ms ease; }
@media (hover: hover) and (pointer: fine) { .bouton:hover { opacity: .88; } }
.bouton.second { background: transparent; color: var(--encre); border: 1px solid var(--trait); }
.bouton.accent { background: var(--brique); color: #fff; }
.bouton svg { width: 18px; height: 18px; }
label { display: block; font-size: .88rem; color: var(--doux); margin-bottom: 4px; }
input, select, textarea { width: 100%; font: inherit; color: var(--encre); background: var(--feuille); border: 1px solid var(--trait);
  border-radius: 12px; padding: 11px 13px; min-height: 48px; }
textarea { min-height: 150px; resize: vertical; }
.puce { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--trait); background: var(--feuille); color: var(--encre);
  border-radius: 999px; padding: 0 16px; min-height: 40px; font: 700 .92rem var(--sans); cursor: pointer; text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out); }
.puce[aria-pressed="true"] { background: var(--encre); color: var(--feuille); border-color: var(--encre); }

/* ---------------------------------------------------------------- héros : titre et recherche, puis la carte dégagée */
.heros { position: relative; padding-bottom: 8px; }
.heros-tete { padding: clamp(40px, 7vh, 72px) 0 0; position: relative; z-index: 2; }
.heros-tete .conteneur { text-align: center; }
.heros-tete h1 { max-width: 21ch; margin-inline: auto; }
.heros-tete p { color: var(--doux); font-size: 1.12rem; max-width: 560px; margin: 0 auto 26px; }
.heros-carte { position: relative; margin: -34px 20px 0; }
.heros .carte { height: clamp(480px, 70vh, 720px); border-radius: 24px; overflow: hidden; }
.agrandir { position: absolute; z-index: 3; left: 16px; top: 52px; display: inline-flex; align-items: center; gap: 8px; background: var(--feuille);
  color: var(--encre); text-decoration: none; font-weight: 700; font-size: .92rem; padding: 9px 14px; border-radius: 999px; box-shadow: var(--ombre); }
.agrandir svg { width: 16px; height: 16px; }
@media (max-width: 600px) { .heros-carte { margin: -24px 0 0; } .heros .carte { border-radius: 0; height: 520px; } .agrandir { top: 40px; } }
.groupe { width: 50px; height: 50px; border-radius: 50%; border: 3px solid #fff; background: #151513; color: #fff; font: 700 1.05rem var(--sans);
  box-shadow: 0 0 0 6px rgb(21 21 19 / .14), 0 4px 14px rgb(0 0 0 / .3); cursor: pointer; transition: transform 180ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .groupe:hover { transform: scale(1.08); } }
.groupe:active { transform: scale(.95); }
.recherche { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr auto; background: var(--feuille); border: 1px solid var(--trait);
  border-radius: 999px; padding: 7px 7px 7px 10px; box-shadow: var(--ombre); max-width: 880px; margin: 0 auto; text-align: left; }
.recherche > div { padding: 4px 16px; border-right: 1px solid var(--trait); }
.recherche > div:nth-last-child(2) { border-right: 0; }
.recherche label { margin: 0; font-size: .8rem; }
.recherche select, .recherche input { border: 0; padding: 0; min-height: 26px; background: transparent; font-weight: 700; border-radius: 0; }
.recherche .bouton { width: 52px; height: 52px; min-height: 0; padding: 0; }
@media (max-width: 820px) {
  .recherche { grid-template-columns: 1fr 1fr; border-radius: 22px; gap: 6px; padding: 8px; }
  .recherche > div { border: 1px solid var(--trait); border-radius: 14px; padding: 6px 12px; }
  .recherche .bouton { grid-column: 1 / -1; width: auto; height: 48px; }
}
.recherche { position: relative; z-index: 4; }
.carte { background: var(--surface); }
.carte.petite { height: 380px; border-radius: var(--rayon); overflow: hidden; }
.carte-outils { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 22px; display: flex; gap: 8px;
  flex-wrap: wrap; justify-content: center; width: max-content; max-width: calc(100% - 32px); }
.pastilles { display: inline-flex; background: var(--feuille); border-radius: 999px; padding: 4px; box-shadow: var(--ombre); }
.pastilles button { border: 0; background: transparent; font: 700 .9rem var(--sans); color: var(--texte); padding: 8px 15px;
  border-radius: 999px; cursor: pointer; min-height: 38px; transition: background-color 160ms ease, color 160ms ease; }
.pastilles button[aria-pressed="true"] { background: var(--encre); color: var(--feuille); }

/* repères de carte : pastille photo (accueil) ou étiquette de prix (page carte) */
.repere { width: 48px; height: 48px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 3px 12px rgb(0 0 0 / .28);
  background: #ccc center / cover; cursor: pointer; padding: 0; transition: transform 180ms var(--ease-out); }
.repere.location { border-color: var(--brique); }
.repere[aria-expanded="true"], .repere.actif { transform: scale(1.2); z-index: 5; }
.repere.prix-etiquette { width: auto; height: auto; border-radius: 999px; background: #fff; border: 0; padding: 3px 12px 3px 3px;
  font: 700 .85rem var(--sans); color: #151513; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.repere.prix-etiquette img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; background: #ddd; }
.repere.prix-etiquette.location { background: var(--brique); color: #fff; }
.repere.prix-etiquette.actif, .repere.prix-etiquette[aria-expanded="true"] { background: #151513; color: #fff; transform: scale(1.08); }
@media (hover: hover) and (pointer: fine) { .repere:hover { transform: scale(1.1); } }
.maplibregl-popup-content { padding: 0 !important; border-radius: var(--rayon) !important; overflow: hidden; box-shadow: var(--ombre) !important;
  background: var(--feuille) !important; width: 270px; font-family: var(--sans); }
.maplibregl-popup-tip { border-top-color: var(--feuille) !important; border-bottom-color: var(--feuille) !important; }
.bulle img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.bulle div { padding: 12px 14px 14px; }
.bulle b { display: block; color: var(--encre); font-size: 1.02rem; line-height: 1.25; }
.bulle small { display: block; color: var(--doux); margin: 2px 0 10px; font-size: .88rem; }
.bulle .bas { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0; }
.bulle .prix { font-weight: 700; color: var(--encre); }
.bulle a { border: 1px solid var(--trait); border-radius: 999px; padding: 6px 12px; color: var(--encre); font-weight: 700; text-decoration: none; font-size: .88rem; }
.maplibregl-popup-close-button { font-size: 20px; width: 32px; height: 32px; color: #fff; text-shadow: 0 1px 4px #000; }

/* ---------------------------------------------------------------- chiffres */
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 44px 0; border-bottom: 1px solid var(--trait); }
.chiffres > div { display: flex; align-items: center; gap: 12px; }
.chiffres b { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--encre); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.chiffres span { color: var(--doux); font-size: .9rem; line-height: 1.3; max-width: 13ch; }
@media (max-width: 760px) { .chiffres { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tete { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-tete h2 { margin: 0 0 6px; }
.section-tete p { color: var(--doux); margin: 0; max-width: 560px; }
.accroche { color: var(--brique); font-weight: 700; margin-bottom: 10px; }

/* ---------------------------------------------------------------- cartes de biens */
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.fiche-carte { position: relative; background: var(--feuille); border-radius: var(--rayon); overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column; border: 1px solid var(--trait); transition: transform 220ms var(--ease-out), box-shadow 220ms ease; }
@media (hover: hover) and (pointer: fine) { .fiche-carte:hover { transform: translateY(-3px); box-shadow: var(--ombre); } }
.fiche-carte figure { margin: 0; aspect-ratio: 4/3; background: var(--surface); position: relative; overflow: hidden; }
.fiche-carte figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fiche-carte .etiquette { position: absolute; left: 12px; top: 12px; background: var(--feuille); color: var(--encre); font-size: .8rem;
  font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.fiche-carte .etiquette.location { background: var(--brique); color: #fff; }
.fiche-carte .corps { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.fiche-carte .prix { font-weight: 700; color: var(--encre); font-size: 1.25rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.fiche-carte .prix small { font-size: .85rem; color: var(--doux); font-weight: 400; }
.fiche-carte h3 { font-size: 1.02rem; margin: 0; font-weight: 700; color: var(--encre); letter-spacing: 0; }
.fiche-carte .lieu { color: var(--doux); font-size: .92rem; }
.fiche-carte .infos { display: flex; gap: 14px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--trait); color: var(--doux);
  font-size: .88rem; flex-wrap: wrap; }
.fiche-carte .infos span { display: inline-flex; align-items: center; gap: 5px; }
.fiche-carte .infos svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.coeur { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgb(255 255 255 / .94); display: grid; place-items: center; transition: transform 160ms var(--ease-out); z-index: 2; }
.coeur:active { transform: scale(.9); }
.coeur svg { width: 19px; height: 19px; fill: none; stroke: var(--brique); stroke-width: 2; transition: fill 160ms ease; }
.coeur[aria-pressed="true"] svg { fill: var(--brique); }
.coeur.texte { position: static; width: auto; height: 48px; border-radius: 999px; padding: 0 18px; gap: 8px; display: inline-flex;
  align-items: center; border: 1px solid var(--trait); background: var(--feuille); color: var(--encre); font: 700 1rem var(--sans); }

/* ---------------------------------------------------------------- défilés : ventes et locations */
.defile { position: relative; overflow: hidden; padding: 6px 0 14px;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); }
.defile-piste { display: flex; align-items: stretch; gap: 20px; width: max-content; animation: defiler var(--duree, 60s) linear infinite; }
.defile.inverse .defile-piste { animation-direction: reverse; }
.defile-piste > * { width: 300px; flex: none; }
@media (hover: hover) and (pointer: fine) { .defile:hover .defile-piste { animation-play-state: paused; } }
.defile:focus-within .defile-piste { animation-play-state: paused; }
@keyframes defiler { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 10px)); } }
@media (prefers-reduced-motion: reduce) {
  .defile { overflow-x: auto; mask-image: none; scroll-snap-type: x mandatory; }
  .defile-piste { animation: none; } .defile-piste > * { scroll-snap-align: start; }
  .defile-piste > [aria-hidden="true"] { display: none; }
}
@media (max-width: 700px) { .defile-piste > * { width: 260px; } }
.rangee-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.rangee-tete h3 { font-size: 1.3rem; margin: 0; }
.rangee-tete a { color: var(--encre); font-weight: 700; text-decoration: none; }
.rangee + .rangee { margin-top: 36px; }

/* ---------------------------------------------------------------- plan-séquence Boulogne */
.sequence { position: relative; height: 240vh; }
.sequence-ecran { position: sticky; top: 72px; height: calc(100vh - 96px); overflow: hidden; display: grid; place-items: end start;
  margin: 0 20px; border-radius: 24px; }
.sequence-ecran img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sequence-ecran .voile { position: absolute; inset: 0; background: linear-gradient(to top, rgb(15 14 12 / .8), rgb(15 14 12 / .05) 62%); }
.sequence-textes { position: relative; padding: 0 clamp(24px, 5vw, 64px) clamp(32px, 8vh, 72px); width: 100%; color: #fff; }
.sequence-textes > div { max-width: 640px; }
.sequence-textes h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.sequence-textes p { font-size: 1.15rem; opacity: .92; margin: 0; }
.sequence .texte-b { position: absolute; left: clamp(24px, 5vw, 64px); bottom: clamp(32px, 8vh, 72px); opacity: 0; }
.sequence .photo-b { opacity: 0; }
@supports (animation-timeline: view()) {
  .sequence { view-timeline: --plan block; }
  .sequence .photo-a { animation: zoom linear both; animation-timeline: --plan; animation-range: contain 0% contain 100%; }
  .sequence .photo-b { animation: fondu-entree linear both; animation-timeline: --plan; animation-range: contain 42% contain 62%; }
  .sequence .texte-a { animation: fondu-sortie linear both; animation-timeline: --plan; animation-range: contain 30% contain 46%; }
  .sequence .texte-b { animation: fondu-entree linear both; animation-timeline: --plan; animation-range: contain 52% contain 68%; }
}
@supports not (animation-timeline: view()) { .sequence { height: auto; } .sequence-ecran { position: relative; top: 0; height: 80vh; }
  .sequence .texte-b { display: none; } }
@keyframes zoom { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes fondu-entree { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fondu-sortie { from { opacity: 1; } to { opacity: 0; transform: translateY(-18px); } }
@media (prefers-reduced-motion: reduce) {
  .sequence { height: auto; } .sequence-ecran { position: relative; top: 0; height: 70vh; }
  .sequence * { animation: none !important; } .sequence .texte-b, .sequence .photo-b { display: none; }
}
@media (max-width: 600px) { .sequence-ecran { margin: 0 12px; } }

/* ---------------------------------------------------------------- pourquoi nous : texte + tuiles */
.pourquoi { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 6vw, 80px); }
.pourquoi > div:first-child { display: flex; flex-direction: column; }
.pourquoi > div:first-child .bas { margin-top: auto; padding-top: 28px; }
.pourquoi .bas p { color: var(--doux); max-width: 44ch; }
.tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tuile { background: var(--surface); border-radius: var(--rayon); padding: 24px; text-decoration: none; display: flex; flex-direction: column;
  gap: 6px; min-height: 200px; transition: transform 220ms var(--ease-out); }
.tuile .icone { width: 46px; height: 46px; border-radius: 12px; background: var(--encre); color: var(--feuille); display: grid; place-items: center; margin-bottom: auto; }
.tuile .icone svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.tuile h3 { margin: 18px 0 0; }
.tuile p { color: var(--doux); margin: 0; font-size: .97rem; }
.tuile.large { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 24px; min-height: 0; }
.tuile.large > div { flex: 1; }
.tuile.large img { width: 40%; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; }
@media (hover: hover) and (pointer: fine) { .tuile:hover { transform: translateY(-3px); } }
@media (max-width: 900px) { .pourquoi { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tuiles { grid-template-columns: 1fr; } .tuile.large { flex-direction: column; align-items: stretch; }
  .tuile.large img { width: 100%; } }

/* ---------------------------------------------------------------- secteurs */
.secteurs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.secteur { position: relative; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 3/4; text-decoration: none; color: #fff;
  display: flex; align-items: end; background: var(--surface); }
.secteur img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.secteur::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .7), transparent 55%); }
.secteur div { position: relative; z-index: 1; padding: 16px; }
.secteur b { display: block; font-size: 1.15rem; }
.secteur span { font-size: .9rem; opacity: .9; }
@media (hover: hover) and (pointer: fine) { .secteur:hover img { transform: scale(1.05); } }

.deux { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .deux { grid-template-columns: 1fr; } }
.encart { background: var(--surface); border-radius: var(--rayon); padding: 26px; }
.encart dl { margin: 0; display: grid; gap: 14px; }
.encart dt { color: var(--doux); font-size: .88rem; }
.encart dd { margin: 0; color: var(--encre); font-weight: 700; }
.encart dd a { text-decoration: none; }
.appel { background: var(--encre); color: var(--feuille); border-radius: 24px; padding: clamp(32px, 6vw, 64px); display: flex;
  justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.appel h2 { color: var(--feuille); margin: 0 0 6px; max-width: 18ch; }
.appel p { margin: 0; opacity: .8; }
.appel .bouton { background: var(--feuille); color: var(--encre); }
.appel .bouton.second { background: transparent; color: var(--feuille); border-color: rgb(255 255 255 / .3); }

/* ---------------------------------------------------------------- pages de texte */
.page-tete { padding: 48px 0 28px; }
.page-tete p { color: var(--doux); font-size: 1.15rem; max-width: 680px; }
.fil { font-size: .9rem; color: var(--doux); margin-bottom: 12px; }
.fil a { color: var(--doux); }
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.4em; font-size: 1.6rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .3em; }

/* ---------------------------------------------------------------- liste + filtres */
.filtres { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; background: var(--surface); border-radius: var(--rayon);
  padding: 16px; margin-bottom: 24px; }
.filtres > div { flex: 1 1 150px; }
.compte { color: var(--doux); margin-bottom: 16px; }
.vide { background: var(--surface); border-radius: var(--rayon); padding: 36px; text-align: center; }

/* ---------------------------------------------------------------- page carte coupée en deux (référence Estates) */
.partage { display: grid; grid-template-columns: 1fr 440px; height: calc(100vh - 128px); min-height: 560px; }
.partage .carte { height: 100%; }
.partage-carte { position: relative; }
.partage-filtres { position: absolute; z-index: 3; top: 16px; left: 16px; right: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.partage-filtres .puce { box-shadow: var(--ombre); border: 0; }
.panneau { border-left: 1px solid var(--trait); overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 18px; }
.panneau-choix { background: var(--surface); border-radius: var(--rayon); overflow: hidden; }
.panneau-choix img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.panneau-choix .corps { padding: 18px; }
.panneau-choix .prix { font-size: 1.5rem; font-weight: 700; color: var(--encre); letter-spacing: -.02em; }
.panneau-choix p { color: var(--doux); font-size: .95rem; }
.panneau-liste { display: grid; gap: 12px; }
.mini { display: grid; grid-template-columns: 112px 1fr; gap: 12px; text-decoration: none; border-radius: 14px; padding: 6px;
  border: 2px solid transparent; transition: border-color 160ms ease, background-color 160ms ease; cursor: pointer; background: none;
  font: inherit; text-align: left; color: inherit; width: 100%; }
.mini img { width: 112px; height: 84px; object-fit: cover; border-radius: 10px; }
.mini b { color: var(--encre); display: block; }
.mini small { color: var(--doux); display: block; line-height: 1.35; }
.mini[aria-current="true"] { border-color: var(--encre); background: var(--surface); }
@media (hover: hover) and (pointer: fine) { .mini:hover { background: var(--surface); } }
@media (max-width: 900px) {
  .partage { grid-template-columns: 1fr; height: auto; }
  .partage .carte { height: 62vh; }
  .panneau { border-left: 0; overflow: visible; }
}

/* ---------------------------------------------------------------- fiche bien */
.fiche .fil { padding-top: 24px; }
.fiche-tete { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin: 4px 0 22px; }
.fiche-tete h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 10px 0 6px; }
.fiche-tete p { color: var(--doux); margin: 0; }
.fiche-tete-prix { text-align: right; }
.fiche-tete-prix small { display: block; color: var(--doux); font-size: .9rem; }
.fiche-prix { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; color: var(--encre); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fiche-prix small { font-size: 1rem; color: var(--doux); font-weight: 400; }
.etiquette-fiche { display: inline-block; background: var(--surface); color: var(--encre); font-weight: 700; font-size: .85rem; padding: 5px 12px; border-radius: 999px; }
.etiquette-fiche.location { background: var(--brique); color: #fff; }
@media (max-width: 700px) { .fiche-tete-prix { text-align: left; } }
.mosaique { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(560px, 62vh);
  border-radius: 22px; overflow: hidden; }
.mosaique button { padding: 0; border: 0; cursor: zoom-in; background: var(--surface); overflow: hidden; position: relative; }
.mosaique button:first-child { grid-row: 1 / 3; }
.mosaique img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .mosaique button:hover img { transform: scale(1.03); } }
.mosaique.seule { grid-template-columns: 1fr; }
.mosaique .toutes { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; background: var(--feuille);
  color: var(--encre); font: 700 .92rem var(--sans); padding: 10px 16px; border-radius: 999px; box-shadow: var(--ombre); cursor: pointer; }
.mosaique .toutes svg { width: 16px; height: 16px; }
@media (max-width: 760px) { .mosaique { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; border-radius: 16px; }
  .mosaique button:not(.toutes) { display: none; } .mosaique button:first-child { display: block; aspect-ratio: 4/3; } }
.fiche-corps { display: grid; grid-template-columns: 1fr 380px; gap: 56px; padding: 32px 0 64px; }
@media (max-width: 960px) { .fiche-corps { grid-template-columns: 1fr; gap: 32px; } }
.cles { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin: 0 0 8px; padding: 0; list-style: none; }
.cles li { background: var(--surface); border-radius: 16px; padding: 16px; display: grid; gap: 2px; }
.cles svg { width: 22px; height: 22px; fill: none; stroke: var(--encre); stroke-width: 1.7; margin-bottom: 8px; }
.cles b { color: var(--encre); font-size: 1.15rem; }
.cles small { color: var(--doux); }
.bloc-fiche { padding: 28px 0; border-bottom: 1px solid var(--trait); }
.bloc-fiche:last-child { border-bottom: 0; }
.bloc-fiche h2 { font-size: 1.5rem; }
.description { max-width: 68ch; font-size: 1.05rem; line-height: 1.75; position: relative; }
.description.longue:not(.ouverte) { max-height: 13.5em; overflow: hidden; }
.description.longue:not(.ouverte)::after { content: ""; position: absolute; inset: auto 0 0; height: 5em; background: linear-gradient(transparent, var(--feuille)); }
.lire-suite { background: none; border: 0; padding: 8px 0; font: 700 1rem var(--sans); color: var(--encre); text-decoration: underline; cursor: pointer; }
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; }
.details div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--trait); }
.details dt { color: var(--doux); } .details dd { margin: 0; color: var(--encre); font-weight: 700; text-align: right; }
@media (max-width: 640px) { .details { grid-template-columns: 1fr; } }
.note { color: var(--doux); font-size: .95rem; }
.note.petite { font-size: .85rem; margin: 0; }
.colonne { position: sticky; top: 96px; align-self: start; display: grid; gap: 12px; }
.visite { background: var(--feuille); border: 1px solid var(--trait); border-radius: 22px; padding: 24px; box-shadow: var(--ombre); display: grid; gap: 12px; }
.visite h2 { font-size: 1.4rem; margin: 0; }
.visite .note { margin: -6px 0 4px; }
.visite label { margin-bottom: 4px; }
.creneaux { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.creneaux legend { color: var(--doux); font-size: .88rem; margin-bottom: 8px; padding: 0; }
.creneaux label { margin: 0; cursor: pointer; }
.creneaux input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.creneaux span { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--trait); border-radius: 999px;
  color: var(--encre); font-weight: 700; font-size: .88rem; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.creneaux input:checked + span { background: var(--encre); color: var(--feuille); border-color: var(--encre); }
.creneaux input:focus-visible + span { outline: 3px solid var(--brique); outline-offset: 2px; }
.visite textarea { min-height: 90px; }
.visite .bouton { width: 100%; }
.actions-fiche { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.barre-visite { display: none; }
@media (max-width: 960px) {
  .colonne { position: static; }
  .barre-visite { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; justify-content: space-between;
    gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--feuille); border-top: 1px solid var(--trait);
    box-shadow: 0 -8px 24px rgb(0 0 0 / .08); font-weight: 700; color: var(--encre); }
  body:has(.barre-visite) .pied { padding-bottom: 96px; }
}
dialog.visionneuse { border: 0; padding: 0; background: #0b0b0a; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.visionneuse::backdrop { background: #0b0b0a; }
dialog.visionneuse img { width: 100%; height: 100%; object-fit: contain; }
dialog.visionneuse button { position: absolute; top: 50%; transform: translateY(-50%); background: rgb(255 255 255 / .92); border: 0; border-radius: 50%;
  width: 52px; height: 52px; font-size: 1.6rem; cursor: pointer; color: #151513; }
dialog.visionneuse .prec { left: 16px; } dialog.visionneuse .suiv { right: 16px; }
dialog.visionneuse .fermer { top: 32px; right: 16px; transform: none; }
.compteur-photo { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 700; background: rgb(0 0 0 / .5);
  padding: 6px 12px; border-radius: 999px; }

/* ---------------------------------------------------------------- formulaires */
.formulaire { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.formulaire .large { grid-column: 1 / -1; }
@media (max-width: 640px) { .formulaire { grid-template-columns: 1fr; } }
.piege { position: absolute; left: -5000px; }
.erreur { background: var(--brique-doux); color: var(--encre); border-left: 4px solid var(--brique); padding: 12px 16px; border-radius: 8px; }

/* ---------------------------------------------------------------- pied */
.pied { background: var(--encre); color: color-mix(in srgb, var(--feuille) 75%, transparent); padding: 60px 0 28px; margin-top: 48px; }
.pied a { color: var(--feuille); text-decoration: none; }
.pied .colonnes { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.pied h3 { color: var(--feuille); font-size: 1.05rem; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.pied .bas { border-top: 1px solid rgb(255 255 255 / .12); margin-top: 36px; padding-top: 18px; font-size: .88rem; }
@media (max-width: 760px) { .pied .colonnes { grid-template-columns: 1fr; } }

@keyframes apparition { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.grille > * { animation: apparition 360ms var(--ease-out) both; }
.grille > :nth-child(2) { animation-delay: 50ms; } .grille > :nth-child(3) { animation-delay: 100ms; }
.grille > :nth-child(4) { animation-delay: 150ms; } .grille > :nth-child(n+5) { animation-delay: 200ms; }
@media (prefers-reduced-motion: reduce) { .grille > * { animation: none; } }

/* ---------------------------------------------------------------- en-têtes de pages */
.liste-tete { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.liste-tete .bouton svg { width: 18px; height: 18px; }
.filtres-liste { max-width: none; margin: 0 0 22px; }
.compte a { color: var(--encre); }
.page-heros { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: 40px 0 48px; }
.page-heros.sans-photo { grid-template-columns: 1fr; padding-bottom: 24px; }
.page-heros .chapo { color: var(--doux); font-size: 1.2rem; max-width: 52ch; margin: 0; }
.page-heros img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 24px; }
@media (max-width: 860px) { .page-heros { grid-template-columns: 1fr; } }
.page-corps { display: grid; grid-template-columns: 1fr 340px; gap: clamp(24px, 6vw, 80px); padding-bottom: 72px; align-items: start; }
.page-corps .prose { font-size: 1.06rem; line-height: 1.75; }
.page-corps .prose h2 { font-size: 1.7rem; margin-top: 1.2em; }
.page-corps .prose > :first-child { margin-top: 0; }
.encart.collant { position: sticky; top: 96px; }
@media (max-width: 860px) { .page-corps { grid-template-columns: 1fr; } .encart.collant { position: static; } }

/* ---------------------------------------------------------------- outils : estimation, loyer, copropriété */
.preuves { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.preuves li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--brique); }
.preuves b { color: var(--encre); } .preuves span { color: var(--doux); font-size: .95rem; }
.simulateur { background: var(--feuille); border: 1px solid var(--trait); border-radius: 24px; padding: clamp(20px, 3vw, 30px); box-shadow: var(--ombre);
  display: grid; gap: 14px; align-self: start; }
.simulateur h2 { font-size: 1.5rem; margin: 0; }
.simulateur .note { margin: -4px 0 0; }
.simulateur fieldset, .etape { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.etape legend { font-size: 1.35rem; font-weight: 700; color: var(--encre); margin-bottom: 4px; padding: 0; letter-spacing: -.01em; }
.etape[hidden] { display: none; }
.progression { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; counter-reset: e; }
.progression li { flex: 1; font-size: .82rem; color: var(--doux); border-top: 3px solid var(--trait); padding-top: 6px; transition: border-color 200ms ease, color 200ms ease; }
.progression li.fait { border-color: var(--encre); color: var(--encre); font-weight: 700; }
.grille-champs { display: grid; gap: 14px; }
.deux-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .deux-champs { grid-template-columns: 1fr; } }
.etiquette-champ { display: block; font-size: .88rem; color: var(--doux); margin-bottom: 6px; }
.choix { display: flex; flex-wrap: wrap; gap: 8px; }
.choix label { margin: 0; cursor: pointer; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--trait); border-radius: 999px;
  color: var(--encre); font-weight: 700; font-size: .92rem; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.choix input:checked + span { background: var(--encre); color: var(--feuille); border-color: var(--encre); }
.choix input:focus-visible + span { outline: 3px solid var(--brique); outline-offset: 2px; }
.boutons-etape { display: flex; gap: 10px; justify-content: space-between; margin: 4px 0 0; }
.adresse-bloc { position: relative; }
.suggestions { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% - 20px); list-style: none; margin: 0; padding: 6px; background: var(--feuille);
  border: 1px solid var(--trait); border-radius: 14px; box-shadow: var(--ombre); }
.suggestions li { padding: 10px 12px; border-radius: 10px; cursor: pointer; color: var(--encre); }
.suggestions li[aria-selected="true"], .suggestions li:hover { background: var(--surface); }
.trois { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trois > div { background: var(--surface); border-radius: var(--rayon); padding: 22px; }
.trois b { color: var(--encre); display: block; margin-bottom: 6px; font-size: 1.05rem; }
.trois p { color: var(--texte); margin: 0; font-size: .97rem; }
@media (max-width: 860px) { .trois { grid-template-columns: 1fr; } }
.resultat { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; padding: 16px 0 32px; }
@media (max-width: 900px) { .resultat { grid-template-columns: 1fr; } }
.resultat h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.resultat .chapo { font-size: 1.2rem; color: var(--texte); }
.jauge { position: relative; height: 46px; margin: 22px 0 14px; }
.jauge i { position: absolute; left: 0; right: 0; top: 0; height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--brique-doux), var(--brique)); }
.jauge span { position: absolute; top: 20px; font-size: .9rem; color: var(--doux); font-weight: 700; }
.avis h2 { font-size: 1.3rem; }
.tableau-defile { overflow-x: auto; }
table.ventes { width: 100%; border-collapse: collapse; min-width: 640px; }
table.ventes th, table.ventes td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--trait); font-variant-numeric: tabular-nums; }
table.ventes th { color: var(--doux); font-weight: 400; font-size: .9rem; }
.resultat-outil { border-top: 1px solid var(--trait); padding-top: 16px; display: grid; gap: 8px; }
.resultat-outil p { margin: 0; }
.grand-chiffre { font-size: 2.4rem; font-weight: 700; color: var(--encre); letter-spacing: -.02em; line-height: 1.1; }
.grand-chiffre small { font-size: 1rem; color: var(--doux); font-weight: 400; }
.tuiles.six { grid-template-columns: repeat(3, 1fr); }
.tuiles.six .tuile { min-height: 0; }
.tuiles.six .tuile h3 { margin-top: 0; }
@media (max-width: 860px) { .tuiles.six { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tuiles.six { grid-template-columns: 1fr; } }
.chiffre-cle { display: flex; gap: 16px; align-items: center; margin-top: 28px; background: var(--surface); border-radius: var(--rayon); padding: 18px 20px; }
.chiffre-cle b { font-size: 2.6rem; color: var(--brique); letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.chiffre-cle span { color: var(--texte); font-size: .95rem; }
.resultat-copro { background: var(--surface); border-radius: 24px; padding: clamp(20px, 4vw, 40px); margin: 8px 0 24px; }
.resultat-copro h2 { margin-bottom: 18px; }
.obligations { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 18px; }
.obligation { background: var(--feuille); border-radius: var(--rayon); padding: 20px; display: grid; gap: 6px; align-content: start; }
.obligation h3 { margin: 0; }
.obligation p { margin: 0; font-size: .96rem; }
.obligation a { color: var(--doux); font-size: .85rem; }
.obligation .statut { justify-self: start; background: var(--brique); color: #fff; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.calendrier { background: var(--feuille); border-radius: var(--rayon); padding: 22px; }
.calendrier ol { padding-left: 1.2em; display: grid; gap: 10px; }
.calendrier li b { display: block; color: var(--encre); }
.etapes-vente { list-style: none; counter-reset: etape; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.etapes-vente li { counter-increment: etape; background: var(--surface); border-radius: var(--rayon); padding: 20px; }
.etapes-vente li::before { content: counter(etape); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--encre);
  color: var(--feuille); font-weight: 700; margin-bottom: 14px; }
.etapes-vente b { color: var(--encre); display: block; margin-bottom: 4px; }
.etapes-vente p { margin: 0; font-size: .95rem; }
@media (max-width: 1000px) { .etapes-vente { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .etapes-vente { grid-template-columns: 1fr; } }
.agence-heros { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 72px); padding: 40px 0 24px; align-items: start; }
.agence-heros .chapo { font-size: 1.2rem; color: var(--doux); }
.portrait { margin: 0; position: relative; border-radius: 24px; overflow: hidden; }
.portrait img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.portrait figcaption { position: absolute; left: 16px; bottom: 16px; background: var(--feuille); border-radius: 14px; padding: 10px 14px; }
.portrait figcaption b { display: block; color: var(--encre); } .portrait figcaption span { color: var(--doux); font-size: .9rem; }
.chiffres.petits { grid-template-columns: repeat(3, 1fr); border: 0; padding: 20px 0 0; }
@media (max-width: 860px) { .agence-heros { grid-template-columns: 1fr; } .portrait { max-width: 420px; } }

/* ---------------------------------------------------------------- ancrage Boulogne (remplace le plan-séquence plein écran) */
.ancrage { padding-top: 0; }
.ancrage-grille { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ancrage-grille p { color: var(--texte); max-width: 46ch; }
.ancrage-photos { position: relative; height: clamp(320px, 34vw, 440px); }
.ancrage-photos figure { position: absolute; margin: 0; width: 68%; border-radius: 20px; overflow: hidden; box-shadow: var(--ombre); }
.ancrage-photos figure:first-child { top: 0; left: 0; }
.ancrage-photos figure:last-child { right: 0; bottom: 0; width: 56%; border: 6px solid var(--feuille); }
.ancrage-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.ancrage-photos figcaption { position: absolute; left: 12px; bottom: 12px; background: rgb(255 255 255 / .92); color: #151513; font-size: .82rem;
  font-weight: 700; padding: 4px 10px; border-radius: 999px; }
@media (max-width: 860px) { .ancrage-grille { grid-template-columns: 1fr; } .ancrage-photos { height: 72vw; } }

/* ---------------------------------------------------------------- animations (actives seulement si html.anime) */
.anime [data-revele] { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.anime [data-revele].visible { opacity: 1; transform: none; }
.anime [data-revele-enfants] > * { opacity: 0; transform: translateY(26px) scale(.985);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.anime [data-revele-enfants].visible > * { opacity: 1; transform: none; }
.anime .grille > * { animation: none; }
.entree { animation: entree 900ms var(--ease-out) both; }
.entree-2 { animation-delay: 120ms; } .entree-3 { animation-delay: 240ms; }
@keyframes entree { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) { .entree { animation: none; } }
.fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-top: auto; }
.fleche::after { content: "→"; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a:hover > .fleche::after, a:hover .fleche::after { transform: translateX(5px); } }
.rangee-tete a, .section-tete .bouton { transition: transform 160ms var(--ease-out); }

/* ---------------------------------------------------------------- bande « une seule agence » : grille de tuiles */
.bande { background: var(--surface); }
.pourquoi-tete { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 5vw, 64px); align-items: end; margin-bottom: 36px; }
.pourquoi-tete h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); max-width: 16ch; }
.pourquoi-tete p { color: var(--texte); margin: 0; font-size: 1.05rem; }
@media (max-width: 860px) { .pourquoi-tete { grid-template-columns: 1fr; } }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 290px; gap: 16px; }
.case { position: relative; border-radius: 22px; overflow: hidden; text-decoration: none; color: var(--encre); background: var(--feuille);
  display: flex; flex-direction: column; padding: 24px; isolation: isolate; transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
.case.large { grid-column: span 2; }
.case h3 { font-size: 1.5rem; margin: 0 0 6px; }
.case p { margin: 0 0 14px; font-size: .98rem; }
.case.photo { color: #fff; justify-content: flex-end; }
.case.photo img, .case.portrait-case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 900ms var(--ease-out); }
.case.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(15 14 12 / .82), rgb(15 14 12 / .1) 65%); }
.case.photo h3, .case.photo .fleche { color: #fff; }
.case.photo p { color: rgb(255 255 255 / .88); max-width: 38ch; }
.case.sombre { background: var(--encre); color: var(--feuille); }
.case.sombre h3 { color: var(--feuille); font-size: 1.6rem; }
.case.sombre p { color: color-mix(in srgb, var(--feuille) 75%, transparent); }
.case.sombre .pastille { align-self: flex-start; background: var(--brique); color: #fff; font-size: .8rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; margin-bottom: auto; }
.mini-jauge { height: 10px; border-radius: 999px; background: rgb(255 255 255 / .14); margin: 14px 0 16px; overflow: hidden; }
.mini-jauge i { display: block; height: 100%; width: 64%; margin-left: 18%; border-radius: 999px; background: linear-gradient(90deg, #e9a59f, var(--brique)); }
.anime .visible .mini-jauge i { animation: jauge 1400ms var(--ease-out) 400ms both; }
@keyframes jauge { from { width: 0; margin-left: 50%; } }
.case.portrait-case { color: #fff; justify-content: flex-end; }
.case.portrait-case img { object-position: top; filter: grayscale(1); }
.case.portrait-case::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(15 14 12 / .85), transparent 60%); }
.case.portrait-case h3, .case.portrait-case .fleche { color: #fff; } .case.portrait-case p { color: rgb(255 255 255 / .85); }
@media (hover: hover) and (pointer: fine) {
  .case:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgb(0 0 0 / .14); }
  .case:hover img { transform: scale(1.06); }
}
@media (max-width: 1000px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; grid-auto-rows: 260px; } .case.large { grid-column: auto; } }

/* ---------------------------------------------------------------- petites touches de vie */
.fiche-carte figure img { transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .fiche-carte:hover figure img { transform: scale(1.05); } }
.chiffres > div { position: relative; }
.chiffres > div + div::before { content: ""; position: absolute; left: -12px; top: 10%; bottom: 10%; width: 1px; background: var(--trait); }
@media (max-width: 760px) { .chiffres > div + div::before { display: none; } }
.section-tete h2, .pourquoi-tete h2 { text-wrap: balance; }
.ancrage-photos figure { transition: transform 600ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .ancrage-photos:hover figure:first-child { transform: rotate(-1.5deg) translateY(-4px); }
  .ancrage-photos:hover figure:last-child { transform: rotate(1.5deg) translateY(4px); } }

/* ---------------------------------------------------------------- gabarit des pages outils (estimation, gestion, syndic, contact) */
.feuille { min-height: calc(100vh - 66px); display: flex; flex-direction: column; }
.feuille > main { flex: 1; }
.outil-heros { position: relative; isolation: isolate; border-radius: 28px; overflow: hidden; margin-top: 20px; min-height: 640px;
  display: grid; grid-template-columns: 1.05fr minmax(0, 470px); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 64px); color: #fff; }
.outil-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04);
  animation: respire 18s ease-in-out infinite alternate; }
@keyframes respire { to { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .outil-fond { animation: none; } }
.outil-heros::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgb(14 13 11 / .86) 0%, rgb(14 13 11 / .62) 45%, rgb(14 13 11 / .25) 100%); }
.outil-texte .fil, .outil-texte .fil a { color: rgb(255 255 255 / .75); }
.outil-texte h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); max-width: 13ch; }
.outil-texte .chapo { color: rgb(255 255 255 / .88); font-size: 1.15rem; max-width: 46ch; }
.verre { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 560px; }
.verre li { background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); backdrop-filter: blur(10px); border-radius: 16px; padding: 14px 16px; }
.verre b { display: block; font-size: 1.45rem; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.verre span { font-size: .85rem; color: rgb(255 255 255 / .78); line-height: 1.3; display: block; margin-top: 4px; }
.verre.coordonnees { grid-template-columns: 1fr; max-width: 420px; }
.verre.coordonnees b { font-size: .8rem; font-weight: 400; color: rgb(255 255 255 / .7); }
.verre.coordonnees span { font-size: 1.05rem; color: #fff; font-weight: 700; margin: 0; }
.verre.coordonnees a { color: #fff; text-decoration: none; }
.note-verre { font-size: .82rem; color: rgb(255 255 255 / .65); margin: 10px 0 0; }
.outil-heros .simulateur { color: var(--texte); box-shadow: 0 30px 70px rgb(0 0 0 / .35); border: 0; animation: entree 900ms var(--ease-out) 200ms both; }
@media (max-width: 960px) {
  .outil-heros { grid-template-columns: 1fr; min-height: 0; border-radius: 22px; }
  .verre { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 600px) { .outil-heros { margin: 12px -16px 0; border-radius: 0; padding: 28px 16px; } .verre { grid-template-columns: 1fr; } }

/* progression en étapes numérotées */
.progression { gap: 0; }
.progression li { border: 0; padding: 0; display: flex; align-items: center; gap: 8px; position: relative; font-weight: 700; }
.progression li i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--trait);
  color: var(--doux); font-size: .85rem; transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease; flex: none; }
.progression li.fait i { background: var(--encre); border-color: var(--encre); color: var(--feuille); }
.progression li + li::before { content: ""; position: absolute; left: -12px; width: 8px; height: 2px; background: var(--trait); }

/* cases à choisir avec icône */
.choix.grandes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choix.grandes span { flex-direction: column; justify-content: center; gap: 8px; min-height: 96px; border-radius: 16px; width: 100%; font-size: 1rem; }
.choix.grandes svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.choix.grandes label { display: block; }
.etape { animation: etape 420ms var(--ease-out) both; }
@keyframes etape { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

/* méthode numérotée, bande sombre */
.trois.numeros { counter-reset: n; }
.trois.numeros > div { counter-increment: n; position: relative; padding-top: 70px; background: var(--surface); }
.trois.numeros > div::before { content: "0" counter(n); position: absolute; top: 18px; left: 22px; font-size: 2.4rem; font-weight: 700; color: var(--brique); letter-spacing: -.03em; }
.bande-sombre { background: var(--encre); color: var(--feuille); border-radius: 26px; display: grid; grid-template-columns: 1fr 220px; gap: 32px;
  align-items: center; padding: clamp(28px, 5vw, 56px); margin-bottom: 72px; overflow: hidden; }
.bande-sombre b { font-size: clamp(1.6rem, 3vw, 2.3rem); display: block; margin-bottom: 10px; letter-spacing: -.02em; }
.bande-sombre p { color: color-mix(in srgb, var(--feuille) 78%, transparent); margin: 0; max-width: 60ch; font-size: 1.05rem; }
.bande-sombre img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; object-position: top; filter: grayscale(1); border: 6px solid rgb(255 255 255 / .08); }
@media (max-width: 700px) { .bande-sombre { grid-template-columns: 1fr; } .bande-sombre img { width: 140px; height: 140px; } }

/* tuiles avec icône */
.tuiles.icones .tuile { background: var(--surface); transition: transform 300ms var(--ease-out), background-color 300ms ease, box-shadow 300ms ease; }
.tuiles.icones .tuile .icone { width: 48px; height: 48px; border-radius: 14px; background: var(--feuille); color: var(--brique); display: grid; place-items: center;
  margin-bottom: 18px; box-shadow: 0 2px 10px rgb(0 0 0 / .05); transition: background-color 300ms ease, color 300ms ease; }
.tuiles.icones .tuile .icone svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; }
@media (hover: hover) and (pointer: fine) {
  .tuiles.icones .tuile:hover { transform: translateY(-4px); background: var(--feuille); box-shadow: var(--ombre); }
  .tuiles.icones .tuile:hover .icone { background: var(--brique); color: #fff; }
}
.confier .photo-texte img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 22px; margin-bottom: 24px; }

/* contact */
.formulaire-carte .choix span { min-height: 38px; font-size: .88rem; }
.bien-rappel { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: 14px; padding: 8px; }
.bien-rappel img { width: 72px; height: 54px; object-fit: cover; border-radius: 10px; }
.bien-rappel b { display: block; color: var(--encre); }
.contact-carte .carte.petite { height: 420px; }
.repere-agence { width: 54px; height: 54px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgb(0 0 0 / .3);
  animation: pulse 2.4s ease-out infinite; }
.repere-agence img { width: 30px; height: 30px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(176 60 51 / .45), 0 6px 20px rgb(0 0 0 / .3); } 100% { box-shadow: 0 0 0 22px rgb(176 60 51 / 0), 0 6px 20px rgb(0 0 0 / .3); } }

/* agence : portrait à hauteur du texte */
.agence-heros { grid-template-columns: 1fr minmax(0, 440px); align-items: stretch; }
.agence-texte { display: flex; flex-direction: column; justify-content: center; }
.agence-heros .portrait { align-self: stretch; }
.agence-heros .portrait img { height: 100%; max-height: 680px; aspect-ratio: auto; min-height: 520px; object-position: 50% 12%; }
.devise { margin: 22px 0; padding: 22px 26px; border-left: 4px solid var(--brique); background: var(--surface); border-radius: 0 18px 18px 0;
  font-size: 1.25rem; line-height: 1.45; color: var(--encre); font-weight: 700; letter-spacing: -.01em; }
.devise cite { display: block; font-style: normal; font-weight: 400; font-size: .9rem; color: var(--doux); margin-top: 8px; }
@media (max-width: 860px) { .agence-heros .portrait img { min-height: 0; max-height: 520px; aspect-ratio: 4/5; } }

/* ---------------------------------------------------------------- métiers : liste numérotée + scène photo */
.metiers-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: stretch; }
.metiers-gauche h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); max-width: 15ch; margin-bottom: 14px; }
.metiers-intro { color: var(--doux); font-size: 1.05rem; max-width: 46ch; margin-bottom: 26px; }
.metiers-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trait); }
.metiers-liste li { border-bottom: 1px solid var(--trait); }
.metiers-liste button { position: relative; width: 100%; display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 8px; padding: 18px 6px;
  background: none; border: 0; font: inherit; text-align: left; cursor: pointer; color: var(--doux); transition: color 300ms ease, padding 400ms var(--ease-out); }
.metiers-liste i { font-style: normal; font-weight: 700; font-size: .95rem; color: var(--doux); transition: color 300ms ease; }
.metiers-liste b { display: block; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.02em; line-height: 1.1; color: color-mix(in srgb, var(--encre) 35%, var(--surface));
  transition: color 300ms ease; }
.metiers-liste small { display: block; font-size: .95rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 450ms var(--ease-out), opacity 300ms ease, margin 450ms var(--ease-out); }
.metiers-liste [aria-selected="true"] b { color: var(--encre); }
.metiers-liste [aria-selected="true"] i { color: var(--brique); }
.metiers-liste [aria-selected="true"] small { max-height: 2em; opacity: 1; margin-top: 4px; color: var(--texte); }
.metiers-liste [aria-selected="true"] { padding-left: 14px; }
@media (hover: hover) and (pointer: fine) { .metiers-liste button:hover b { color: var(--encre); } }
.barre-temps { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--brique); }
.metiers.tourne [aria-selected="true"] .barre-temps { animation: temps var(--duree, 6500ms) linear forwards; }
.metiers.pause [aria-selected="true"] .barre-temps { animation-play-state: paused; }
@keyframes temps { to { width: 100%; } }
.signature { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; text-decoration: none; color: var(--doux); font-size: .92rem; }
.signature img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; filter: grayscale(1); }
.signature b { display: block; color: var(--encre); font-size: 1rem; }
.metiers-scene { position: relative; min-height: 640px; border-radius: 28px; overflow: hidden; background: var(--encre); }
.scene { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 700ms var(--ease-out); }
.scene.actif { opacity: 1; z-index: 1; }
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1600ms var(--ease-out); }
.scene.actif img { transform: scale(1); }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(12 11 10 / .55), transparent 45%); }
.scene figcaption { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; background: rgb(255 255 255 / .9); backdrop-filter: blur(14px) saturate(1.4);
  border-radius: 20px; padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: end; color: #151513;
  transform: translateY(24px); opacity: 0; transition: transform 700ms var(--ease-out) 150ms, opacity 500ms ease 150ms; }
.scene.actif figcaption { transform: none; opacity: 1; }
.scene h3 { grid-column: 1 / -1; font-size: 1.6rem; margin: 0; color: #151513; }
.scene ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.scene li { display: flex; gap: 10px; align-items: baseline; font-size: .98rem; color: #3d3b37; }
.scene li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brique); flex: none; transform: translateY(-1px); }
.scene .bouton { background: #151513; color: #fff; white-space: nowrap; }
@media (max-width: 900px) {
  .metiers-grille { grid-template-columns: 1fr; }
  .metiers-scene { min-height: 520px; }
  .scene figcaption { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .scene, .scene img, .scene figcaption, .metiers-liste small { transition: none; } }

/* ---------------------------------------------------------------- calendrier sur mesure */
.calendrier-champ { position: relative; }
.calendrier-bouton { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left;
  font: inherit; color: var(--encre); background: var(--feuille); border: 1px solid var(--trait); border-radius: 12px; padding: 10px 13px; cursor: pointer;
  transition: border-color 160ms ease; }
.calendrier-bouton:hover { border-color: color-mix(in srgb, var(--encre) 35%, var(--trait)); }
.calendrier-bouton .vide { color: var(--doux); }
.calendrier-bouton span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; }
.calendrier-bouton svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--brique); stroke-width: 1.8; }
.calendrier-panneau { position: absolute; z-index: 30; right: 0; top: calc(100% + 8px); width: 300px; background: var(--feuille); border-radius: 18px;
  padding: 16px; box-shadow: 0 24px 60px rgb(0 0 0 / .22), 0 0 0 1px var(--trait); transform-origin: top right; animation: calendrier 200ms var(--ease-out); }
@keyframes calendrier { from { opacity: 0; transform: scale(.96) translateY(-4px); } }
.cal-tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-tete b { color: var(--encre); text-transform: capitalize; }
.cal-tete button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--trait); background: none; font-size: 1.2rem; cursor: pointer; color: var(--encre); }
.cal-jours, .cal-grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-jours span { font-size: .72rem; color: var(--doux); padding: 4px 0; text-transform: uppercase; letter-spacing: .02em; }
.cal-grille button { aspect-ratio: 1; border: 0; background: none; border-radius: 50%; font: 600 .9rem var(--sans); color: var(--encre); cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease; }
.cal-grille button:hover:not(:disabled) { background: var(--surface); }
.cal-grille button.auj { box-shadow: inset 0 0 0 1.5px var(--brique); }
.cal-grille button.choisi { background: var(--encre); color: var(--feuille); }
.cal-grille button:disabled { color: color-mix(in srgb, var(--doux) 45%, transparent); cursor: default; }
.cal-pied { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--trait); }
.cal-pied button { border: 1px solid var(--trait); background: none; border-radius: 999px; padding: 5px 10px; font: 700 .78rem var(--sans); color: var(--encre); cursor: pointer; }
.cal-pied button:hover { background: var(--encre); color: var(--feuille); border-color: var(--encre); }
@media (max-width: 480px) { .calendrier-panneau { right: auto; left: 50%; transform: translateX(-50%); width: min(320px, 92vw); } }

/* métiers sur mobile : la photo remonte entre le texte et la liste */
@media (max-width: 900px) {
  .metiers-grille { display: flex; flex-direction: column; gap: 22px; }
  .metiers-gauche { display: contents; }
  .metiers-gauche h2 { order: 1; } .metiers-intro { order: 2; margin-bottom: 0; } .metiers-scene { order: 3; min-height: 440px; }
  .metiers-liste { order: 4; } .signature { order: 5; margin-top: 0; }
}
/* le cadre photo porte l'arrondi et le rognage : le contenu (calendrier, suggestions) peut déborder */
.outil-heros { overflow: visible; }
.outil-cadre { position: absolute; inset: 0; z-index: -2; border-radius: inherit; overflow: hidden; }
.outil-cadre .outil-fond { z-index: auto; }
.outil-heros::before { border-radius: inherit; }
.calendrier-bouton span { background: none; padding: 0; min-height: 0; border: 0; border-radius: 0; display: block; font-weight: 400; }
.calendrier-panneau { z-index: 60; }

/* ---------------------------------------------------------------- responsive : corrections du banc (23/11/2026) */
.tel { display: inline-flex; align-items: center; gap: 8px; }
.tel-icone { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; display: none; }
@media (max-width: 1060px) { .tel .tel-long { display: none; } }
@media (max-width: 560px) {
  .entete .conteneur { gap: 10px; min-height: 64px; }
  .logo img { width: 30px; height: 30px; }
  .logo span { font-size: 1.05rem; }
  .logo span b { display: none; }
  .tel { width: 46px; height: 46px; padding: 0; justify-content: center; border-radius: 50%; flex: none; }
  .tel-icone { display: block; }
  .tel-texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-mobile { margin-left: auto; min-height: 46px; padding: 0 16px; }
  .nav.ouvert { top: 64px; }
  .mot-espace { display: none; }
  .barre-haut nav { flex-wrap: nowrap; gap: 0; justify-content: space-between; width: 100%; }
  .barre-haut a { padding: 12px 6px; font-size: .84rem; }
  .barre-haut a svg { display: none; }
}
@media (max-width: 360px) { .logo span { font-size: .98rem; } .barre-haut a { padding: 12px 4px; font-size: .8rem; } }

/* agence : une colonne sous 860 px (la règle de base était écrite après la règle mobile) */
@media (max-width: 860px) {
  .agence-heros { grid-template-columns: 1fr; }
  .agence-heros .portrait { max-width: 100%; }
  .agence-heros .portrait img { min-height: 0; max-height: 520px; height: auto; aspect-ratio: 4/5; }
  .agence-heros h1 { overflow-wrap: anywhere; }
}

/* textes trop petits */
label small, .simulateur small { font-size: .78rem; }

/* cibles tactiles : au moins 44 px au doigt, sans bouger la mise en page */
@media (pointer: coarse) {
  .recherche select, .recherche input { min-height: 44px; }
  .barre-haut a { min-height: 44px; }
  .logo { min-height: 44px; }
  .verre a, .encart dd a, .pied a, .rangee-tete a, .compte a, .encart a:not(.bouton), .signature { padding: 11px 0; margin: -11px 0; display: inline-block; }
  .repere.prix-etiquette { padding: 4px 13px 4px 4px; } .repere.prix-etiquette img { width: 36px; height: 36px; }
  .choix span, .creneaux span, .puce, .pastilles button { min-height: 44px; }
  .coeur { width: 44px; height: 44px; }
  .mosaique .toutes { min-height: 44px; }
  .passer:focus { padding: 12px 16px; }
}
/* le grand visuel des outils sur petit écran : moins de marges, titre plus compact */
@media (max-width: 600px) {
  .outil-texte h1 { font-size: 2.2rem; }
  .verre { gap: 8px; margin-top: 22px; }
  .verre li { padding: 12px 14px; }
  .outil-heros .simulateur { padding: 18px; border-radius: 20px; }
  .metiers-liste b { font-size: 1.45rem; }
  .scene figcaption { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .bento { grid-auto-rows: 240px; }
  .section { padding: 56px 0; }
}
.agence-heros > * { min-width: 0; }
@media (max-width: 480px) {
  .chiffres.petits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .chiffres.petits > div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .chiffres.petits b { font-size: 1.7rem; }
  .chiffres.petits > div + div::before { display: none; }
}
@media (pointer: coarse) { .formulaire-carte .choix span { min-height: 44px; } }
@media (max-width: 900px) {
  .partage-filtres { position: static; padding: 12px 16px; background: var(--feuille); border-bottom: 1px solid var(--trait); overflow-x: auto; flex-wrap: nowrap; }
  .partage-filtres .puce { box-shadow: none; border: 1px solid var(--trait); flex: none; }
  .partage .carte { height: 58vh; }
}
@media (max-width: 480px) { .actions-fiche { grid-template-columns: 1fr; } .actions-fiche .coeur.texte { justify-content: center; } }
.menu-mobile { align-items: center; justify-content: center; }
@media (max-width: 900px) { .partage-carte { display: flex; flex-direction: column; } .partage-filtres { order: 1; } .partage-autour { order: 2; } .partage-carte .carte { order: 3; } }

/* ---------------------------------------------------------------- autour des biens : métro, écoles, commerces, santé, parcs */
.autour button i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff; flex: none; }
.autour button { display: inline-flex; align-items: center; gap: 7px; }
.pastilles.autour button[aria-pressed="true"] { background: var(--c); color: #fff; }
.partage-autour { position: absolute; z-index: 3; left: 16px; bottom: 34px; display: flex; flex-direction: column; gap: 6px; background: var(--feuille);
  padding: 8px; border-radius: 18px; box-shadow: var(--ombre); }
.partage-autour button { border: 0; background: transparent; font: 700 .88rem var(--sans); color: var(--texte); padding: 0 12px; min-height: 36px;
  border-radius: 999px; cursor: pointer; text-align: left; transition: background-color 160ms ease, color 160ms ease; }
.partage-autour button[aria-pressed="true"] { background: var(--c); color: #fff; }
@media (hover: hover) and (pointer: fine) { .autour button[aria-pressed="false"]:hover { background: var(--surface); } }
.bulle-poi { display: flex; gap: 10px; align-items: center; padding: 10px 14px; }
.bulle-poi i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.bulle-poi b { display: block; font-size: .95rem; color: var(--encre); }
.bulle-poi small { color: var(--doux); font-size: .8rem; }
@media (max-width: 900px) {
  .partage-autour { position: static; flex-direction: row; overflow-x: auto; border-radius: 0; box-shadow: none; padding: 8px 16px;
    border-bottom: 1px solid var(--trait); }
  .partage-autour button { flex: none; border: 1px solid var(--trait); }
}
@media (max-width: 760px) {
  .heros-carte { display: flex; flex-direction: column; }
  .carte-outils { position: static; transform: none; width: auto; max-width: none; padding: 12px 16px 0; justify-content: flex-start;
    flex-wrap: nowrap; overflow-x: auto; }
  .carte-outils .pastilles { flex: none; box-shadow: none; border: 1px solid var(--trait); }
  .carte-outils .pastilles button { white-space: nowrap; }
}
.autour button[aria-pressed="true"] i { background: #fff; box-shadow: none; }
/* bulle de bien sur téléphone : photo à gauche, texte à droite, pour tenir dans la carte */
@media (max-width: 600px) {
  .bulle { display: grid; grid-template-columns: 104px 1fr; }
  .bulle img { aspect-ratio: auto; height: 100%; min-height: 118px; }
  .bulle > div { padding: 10px 12px 12px; min-width: 0; }
  .bulle b { font-size: .95rem; }
  .bulle small { margin: 2px 0 8px; font-size: .82rem; }
  .bulle .bas { flex-wrap: wrap; gap: 6px; }
  .bulle a { padding: 10px 12px; }
  .maplibregl-popup-close-button { width: 32px; height: 32px; font-size: 20px; }
}
