/* C-Service · Département Immobilier — feuille de style
   Charte : 4 couleurs des pastilles, League Spartan (titres, nom, prix) + Jost (texte, surtitres, menus).
   Répartition : blanc 60 % · noir 25 % · rouge 10 % · jaune en touche. Le rouge pour agir, le noir pour lire. */

:root {
  --rouge: #FF1009;       /* logo, boutons, pastilles */
  --rouge-txt: #D40A04;   /* liens et petits textes rouges */
  --jaune: #FFDE59;       /* fonds, pastilles ; jamais pour du texte sur blanc */
  --noir: #111111;
  --gris: #A6A6A6;        /* pastille ; jamais pour du texte sur blanc */
  --blanc: #FFFFFF;
  --papier: #FAFAF7;
  --sable: #F1F0EC;
  --encre-2: #4A4A4A;     /* texte secondaire */
  --ligne: #E3E2DD;

  --f-titre: "League Spartan", Arial, sans-serif;
  --f-texte: "Jost", Arial, sans-serif;

  --r-s: 4px;
  --r: 10px;
  --ombre: 0 1px 3px rgba(17, 17, 17, .08), 0 8px 24px rgba(17, 17, 17, .05);

  --wrap: 1440px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 136px);
  --header-h: 84px;
  --ctl-h: 52px;        /* hauteur unique : boutons, champs, listes, sélecteurs */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* Pas de barres de défilement visibles : on défile à la molette, au doigt ou au clavier */
html, body, * { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--noir);
  font-family: var(--f-texte);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-titre); font-weight: 700; line-height: 1.02; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); }
h3 { font-size: 1.3rem; line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--noir); color: #fff; padding: 10px 16px; border-radius: var(--r-s); }
.skip:focus { top: 12px; }
:focus, :focus-visible { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: var(--sec) 0; }

/* Surtitre de la charte : pastille rouge + capitales espacées */
.kicker {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-texte); font-weight: 500;
  font-size: .82rem; letter-spacing: .2em; text-transform: uppercase;
  color: #5E5E5E; margin: 0 0 20px;
}
.kicker .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--rouge); flex: none; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--encre-2); }
.link { color: var(--rouge-txt); font-weight: 500; }
.link:hover { color: var(--noir); }

.sec-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-lead { color: var(--encre-2); margin: 0; max-width: 46ch; }

/* Boutons : rouge du logo, texte blanc gras */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--ctl-h); padding-left: 26px; padding-right: 26px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--f-titre); font-weight: 700; font-size: 1.02rem; line-height: 1; letter-spacing: .01em;
  padding-top: .32em; /* League Spartan : le texte est dessiné trop haut dans sa boîte, on le recentre optiquement */
  transition: background-color .2s, color .2s, transform .2s var(--ease);
  white-space: nowrap; text-align: center;
}
.btn:active { transform: scale(.98); }
.btn-red { background: var(--rouge); color: #fff; }
.btn-red:hover { background: #E50C06; }
.btn-dark { background: var(--noir); color: #fff; }
.btn-dark:hover { background: #2a2a2a; }
.btn-ghost { background: transparent; color: var(--noir); box-shadow: inset 0 0 0 2px var(--noir); }
.btn-ghost:hover { background: var(--noir); color: #fff; }
.btn-sm { height: 44px; padding-left: 20px; padding-right: 20px; font-size: .95rem; }
.arr { font-family: var(--f-texte); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--ligne); }
.header-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; padding: 6px 0; }
.logo-svg { display: block; width: 190px; height: auto; overflow: visible; }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 500; font-size: 1rem; }
.nav a { position: relative; color: var(--noir); opacity: .78; transition: opacity .2s, color .2s; }
.nav a:hover, .nav a.active { opacity: 1; color: var(--rouge-txt); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.tel { font-family: var(--f-titre); font-weight: 700; font-size: 1.05rem; }
.tel:hover { color: var(--rouge-txt); }

/* ---------- Hero ---------- */
.hero { background: var(--papier); padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(56px, 7vw, 96px); position: relative; }
.hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; min-height: calc(88svh - var(--header-h)); }
.hero h1 { font-size: clamp(3rem, 7.2vw, 6.6rem); line-height: .95; margin-bottom: 26px; letter-spacing: -.02em; }
.hero .lead { max-width: 34ch; margin-bottom: 36px; }

.search {
  display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 8px; align-items: stretch;
  background: #fff; padding: 8px; border-radius: 999px; box-shadow: var(--ombre); max-width: 700px;
}
.seg { display: inline-flex; background: var(--sable); border-radius: 999px; padding: 4px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; height: calc(var(--ctl-h) - 8px); padding: 0 18px; border-radius: 999px; font-weight: 500; font-size: .95rem; transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--noir); color: #fff; }
.field { display: flex; flex-direction: column; justify-content: center; }
.field select {
  appearance: none; border: 0; background: transparent; padding: 10px 30px 10px 12px; cursor: pointer; font-weight: 500;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; min-width: 0; width: 100%;
}
.search .field + .field { border-left: 1px solid var(--ligne); }
.search .field { min-width: 172px; }

/* La scène des pastilles : mêmes proportions que le symbole du logo (263.34 × 256) */
.hero-stage { position: relative; width: min(100%, 620px); aspect-ratio: 263.34 / 256; justify-self: end; container-type: inline-size; z-index: 60; }
.pst { position: absolute; border-radius: 50%; aspect-ratio: 1; display: grid; place-items: center; border: 0; padding: 0; transform-origin: 0 0; will-change: transform; }
.pst-r { left: 6.27%; top: 0; width: 55.75%; background: var(--rouge); overflow: hidden; }
.pst-g { left: 75.26%; top: 29.03%; width: 15.33%; background: var(--gris); color: var(--noir); cursor: pointer; }
.pst-ico { display: block; width: 38%; height: auto; color: var(--noir); transition: opacity .5s var(--ease) .1s, transform .3s var(--ease); }
.pst-g:hover .pst-ico, .pst-g:focus-visible .pst-ico { transform: scale(1.3); }
.pst-b { left: 0; top: 62.01%; width: 33.45%; background: var(--noir); color: #fff; }
.pst-y { left: 59.58%; top: 58.42%; width: 40.42%; background: var(--jaune); color: var(--noir); }
.pst-txt { text-align: center; font-family: var(--f-titre); font-weight: 700; line-height: 1.05; transition: opacity .3s; }
.pst-b .pst-txt { font-size: 4cqw; }
.pst-y .pst-txt { font-size: 4.9cqw; padding: 0 6%; }
.pst-y small { display: block; font-family: var(--f-texte); font-weight: 500; font-size: max(12.5px, 2.8cqw); margin-bottom: .5em; letter-spacing: .02em; }
.pst-photos { position: absolute; inset: 2.2cqw; border-radius: 50%; overflow: hidden; background: var(--rouge); }
.pst-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pst-photos img.enter { animation: reveal 1s var(--ease) both; }
@keyframes reveal { from { clip-path: circle(0% at 30% 70%); } to { clip-path: circle(75% at 50% 50%); } }
.pst-r:hover .pst-photos img { transform: scale(1.04); }
.hero-caption {
  position: absolute; right: 0; top: 1%; width: 34%; margin: 0; text-align: right;
  font-family: var(--f-titre); font-weight: 600; font-size: clamp(.95rem, 2.9cqw, 1.2rem); line-height: 1.15;
  transition: opacity .3s;
}
.hero-caption::before { content: "À vendre"; display: block; width: fit-content; margin-left: auto; background: var(--rouge); color: #fff; font-weight: 700; font-size: .72em; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px 5px; border-radius: 999px; margin-bottom: 10px; }

/* Vol des pastilles vers le logo (piloté en JS) */
.js.motion .home .site-header .ld { opacity: 0; transition: opacity .15s; }
.js.motion .home .site-header.docked .ld { opacity: 1; }
.js.motion .hero-stage.flying .pst-txt,
.js.motion .hero-stage.flying .pst-ico,
.js.motion .hero-stage.flying .hero-caption { opacity: 0; }
.hero-stage.hidden .pst { visibility: hidden; }

/* ---------- Chiffres ---------- */
.facts { padding: clamp(48px, 6vw, 80px) 0; background: #fff; }
.facts-in { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 0; }
.fact { padding: 8px 28px 8px 0; border-top: 3px solid var(--noir); padding-top: 22px; margin-right: 24px; }
.fact:nth-child(1) { border-color: var(--rouge); }
.fact:nth-child(2) { border-color: var(--gris); }
.fact:nth-child(3) { border-color: var(--jaune); }
.fact strong { display: block; font-family: var(--f-titre); font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.fact span { color: var(--encre-2); font-size: 1rem; display: block; }
.fact-quote { margin-right: 0; }
.fact-quote .q { font-family: var(--f-titre); font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; color: var(--noir); margin-bottom: 10px; }

/* ---------- Biens ---------- */
.biens { background: var(--sable); }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 14px 22px; margin-bottom: 36px; }
.filters .field { gap: 4px; }
.filters .lbl { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #5E5E5E; font-weight: 500; padding-left: 12px; }
.filters select { background-color: #fff; border-radius: 999px; height: var(--ctl-h); padding: 0 36px 0 16px; min-width: 150px; box-shadow: inset 0 0 0 1px var(--ligne); }
.seg-dark { background: #fff; box-shadow: inset 0 0 0 1px var(--ligne); }
.count { margin: 0 0 0 auto; font-weight: 500; color: var(--encre-2); align-self: flex-end; height: var(--ctl-h); display: flex; align-items: center; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--ombre); display: flex; flex-direction: column; height: 100%; transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(17,17,17,.08), 0 18px 40px rgba(17,17,17,.10); }
.card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.card-ph { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sable); }
.card-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-ph img { transform: scale(1.05); }
.badges { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; }
.badge { background: var(--rouge); color: #fff; font-family: var(--f-titre); font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px 5px; border-radius: 999px; }
.badge-y { background: var(--jaune); color: var(--noir); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-loc { color: #5E5E5E; font-size: .98rem; margin: 0 0 4px; }
.card h3 { font-size: 1.22rem; margin-bottom: 14px; }
.card-price { font-family: var(--f-titre); font-weight: 700; font-size: 1.7rem; line-height: 1; margin: auto 0 16px; }
.card-price small { font-size: .55em; font-weight: 600; }
.card-specs { border-top: 1px solid var(--ligne); padding-top: 14px; color: var(--encre-2); font-size: .98rem; margin: 0; }
.grid .card { animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.empty { grid-column: 1 / -1; background: #fff; border-radius: var(--r); padding: 40px; text-align: center; }

.alert-box { margin-top: 48px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: #fff; border-radius: var(--r); padding: 28px 32px; box-shadow: var(--ombre); }
.alert-box h2 { font-size: 1.45rem; margin-bottom: 6px; }
.alert-box p { margin: 0; color: var(--encre-2); }
.mini-dots { position: relative; width: 58px; height: 56px; }
.mini-dots i { position: absolute; border-radius: 50%; }
.mini-dots i:nth-child(1) { left: 3.6px; top: 0; width: 32px; height: 32px; background: var(--rouge); }
.mini-dots i:nth-child(2) { left: 43.6px; top: 16.3px; width: 8.9px; height: 8.9px; background: var(--gris); }
.mini-dots i:nth-child(3) { left: 0; top: 34.7px; width: 19.4px; height: 19.4px; background: var(--noir); }
.mini-dots i:nth-child(4) { left: 34.5px; top: 32.7px; width: 23.4px; height: 23.4px; background: var(--jaune); }

/* ---------- Vendre (fond noir) ---------- */
.vendre { background: var(--noir); color: #fff; }
.vendre .kicker { color: #BDBDBD; }
.vendre .sec-lead { color: #CFCFCF; }
/* Les pastilles du logo, et sur fond foncé la noire passe en blanc */
.vendre-foot { margin-top: 64px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; border-top: 1px solid #333; padding-top: 36px; }
.vendre-foot p { margin: 0; font-size: 1.15rem; color: #CFCFCF; }
.vendre-foot strong { color: #fff; font-family: var(--f-titre); font-size: 1.4rem; margin-right: 6px; }

/* ---------- Estimation (noir sur jaune) ---------- */
.estimation { background: var(--jaune); }
.estimation .kicker { color: var(--noir); }
.estimation .kicker .dot { background: var(--noir); }
.estim-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.estim-text p { font-size: 1.12rem; max-width: 42ch; }
.estim-text h2 { margin-bottom: 22px; }
.estim-photo { margin: 34px 0 0; width: min(100%, 380px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px var(--rouge); }
.estim-photo img { width: 100%; height: 100%; object-fit: cover; }

.estim-form, .contact-form { background: #fff; border-radius: var(--r); padding: clamp(24px, 4vw, 44px); box-shadow: var(--ombre); }
.progress { position: relative; width: 66px; height: 64px; margin-bottom: 14px; }
.progress i { position: absolute; border-radius: 50%; background: #E6E5E0; transition: background-color .4s var(--ease), transform .4s var(--ease); }
.progress i:nth-child(1) { left: 4px; top: 0; width: 37px; height: 37px; }
.progress i:nth-child(2) { left: 50px; top: 19px; width: 10px; height: 10px; }
.progress i:nth-child(3) { left: 0; top: 40px; width: 22px; height: 22px; }
.progress i:nth-child(4) { left: 39px; top: 37px; width: 27px; height: 27px; }
.progress i.on:nth-child(1) { background: var(--rouge); }
.progress i.on:nth-child(2) { background: var(--gris); }
.progress i.on:nth-child(3) { background: var(--noir); }
.progress i.on:nth-child(4) { background: var(--jaune); }
.step-label { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: #5E5E5E; font-weight: 500; margin-bottom: 22px; }
.fs { border: 0; margin: 0; padding: 0; min-width: 0; }
.q { font-family: var(--f-titre); font-weight: 600; font-size: 1.2rem; margin: 6px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: block; padding: 10px 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #CFCEC8; font-weight: 500; transition: background-color .2s, color .2s, box-shadow .2s; }
.chips label:hover span { box-shadow: inset 0 0 0 1.5px var(--noir); }
.chips input:checked + span { background: var(--noir); color: #fff; box-shadow: none; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.input { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.input > span { font-size: .9rem; font-weight: 500; color: var(--encre-2); }
.input input, .input textarea, .input select {
  width: 100%; border: 0; border-radius: var(--r-s); background: var(--papier);
  box-shadow: inset 0 0 0 1.5px #DCDBD5; padding: 13px 14px; transition: box-shadow .2s;
}
.input input, .input select { height: var(--ctl-h); padding-top: 0; padding-bottom: 0;}
.input select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.input input:focus, .input textarea:focus, .input select:focus { outline: none; background-color: #fff; }
.input .invalid, .chips.invalid span { box-shadow: inset 0 0 0 2px var(--rouge-txt); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-error { color: var(--rouge-txt); font-weight: 500; margin: 4px 0 14px; }
.form-ok { background: var(--jaune); padding: 14px 16px; border-radius: var(--r-s); font-weight: 500; }
.estim-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.estim-nav [data-next], .estim-nav [data-submit] { margin-left: auto; }
.fs-done h3 { font-size: 2rem; margin-bottom: 12px; }
.fs-done a { color: var(--rouge-txt); font-weight: 500; }

/* ---------- Promotions ---------- */
.promos { padding-bottom: calc(var(--sec) - 24px); }
/* Le carrousel reste dans la largeur du site : 3 cartes alignées sur les bords du contenu */
.car-viewport { overflow: hidden; }
.promo-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
}
@media (max-width: 980px) { .promo-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 680px) { .promo-track { grid-auto-columns: 86%; gap: 16px; } }
.promo { scroll-snap-align: start; }
.promo-ph { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--sable); }
.promo-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.promo:hover .promo-ph img { transform: scale(1.04); }
.promo-txt { padding: 18px 2px 0; }
.promo-loc { color: #5E5E5E; margin: 0 0 4px; font-size: .98rem; }
.promo h3 { font-size: 1.6rem; margin-bottom: 6px; }
.promo-txt p:last-child { margin: 0; color: var(--encre-2); }

/* ---------- Prestations ---------- */
.prestations { background: var(--papier); }
.presta-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.presta { border-top: 1px solid #D6D5CF; padding: 30px 0 44px; display: flex; flex-direction: column; }
.presta h3 { font-size: 1.55rem; margin: 18px 0 12px; }
.presta p { color: var(--encre-2); flex: 1; }
.c { display: block; width: 22px; height: 22px; border-radius: 50%; flex: none; }
.c-r { background: var(--rouge); } .c-y { background: var(--jaune); } .c-b { background: var(--noir); } .c-g { background: var(--gris); }
.more { font-family: var(--f-titre); font-weight: 700; color: var(--rouge-txt); display: inline-flex; gap: 8px; align-items: center; align-self: flex-start; }
.more .arr { transition: transform .25s var(--ease); }
.more:hover { color: var(--noir); }
.more:hover .arr { transform: translateX(5px); }

/* ---------- Agence ---------- */
.agence-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.agence h2 { margin-bottom: 24px; }
.agence-text > p:not(.kicker):not(.lead) { color: var(--encre-2); max-width: 46ch; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.member-ph { aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 8px var(--rouge); margin: 8px 8px 26px; }
.member-ph-y { box-shadow: 0 0 0 8px var(--jaune); }
.member-ph img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 1.5rem; margin-bottom: 4px; }
.role { color: #5E5E5E; margin-bottom: 10px; }
.contacts { display: flex; flex-direction: column; gap: 2px; font-weight: 500; }
.contacts a:hover { color: var(--rouge-txt); }

/* ---------- Avis ---------- */
.avis { background: var(--sable); }
.avis-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.quote { margin: 0; background: #fff; border-radius: var(--r); padding: 34px 34px 28px; position: relative; }
.quote::before { content: "«"; font-family: var(--f-titre); font-weight: 700; font-size: 4rem; line-height: .6; color: var(--rouge); display: block; height: 30px; }
.quote p { font-family: var(--f-titre); font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.25; }
.quote footer { color: #5E5E5E; font-weight: 500; }

/* ---------- Région ---------- */
.region-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 88px); }
.region h2 { margin-bottom: 22px; }
.region-in > div > p:not(.kicker) { color: var(--encre-2); max-width: 44ch; }
.zone { border-top: 1px solid var(--ligne); padding: 22px 0; }
.zone h3 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; margin-bottom: 8px; }
.zone h3 .c { width: 16px; height: 16px; }
.zone p { margin: 0; color: var(--encre-2); }

/* ---------- FAQ ---------- */
.faq { background: var(--papier); }
.faq-in { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 88px); }
.faq h2 { margin-bottom: 22px; }
.faq-list details { border-top: 1px solid #D6D5CF; }
.faq-list details:last-child { border-bottom: 1px solid #D6D5CF; }
.faq-list summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--f-titre); font-weight: 600; font-size: 1.25rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--sable) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%23111' stroke-width='2'/%3E%3C/svg%3E") center no-repeat; transition: transform .3s var(--ease), background-color .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--jaune); }
.faq-list summary:hover { color: var(--rouge-txt); }
.faq-list details p { color: var(--encre-2); padding-right: 48px; }

/* ---------- Contact ---------- */
.contact-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact h2 { margin-bottom: 16px; }
.big-tel { display: block; font-family: var(--f-titre); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; margin-top: 18px; transition: color .2s; }
.big-mail { display: inline-block; font-size: 1.3rem; font-weight: 500; color: var(--rouge-txt); margin: 6px 0 32px; }
.big-tel:hover, .big-mail:hover { color: var(--rouge); }
.infos { margin: 0; display: grid; gap: 0; }
.infos div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; border-top: 1px solid var(--ligne); padding: 14px 0; }
.infos dt { color: #5E5E5E; font-size: .95rem; }
.infos dd { margin: 0; font-weight: 500; }
.infos a:hover { color: var(--rouge-txt); }
.contact-form { background: var(--sable); box-shadow: none; }
.contact-form .input input, .contact-form .input textarea, .contact-form .input select { background-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--noir); color: #fff; padding: clamp(56px, 8vw, 96px) 0 40px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 48px; border-bottom: 1px solid #2c2c2c; }
.foot-logo { width: 280px; height: auto; }
.foot-claim { font-family: var(--f-titre); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin: 0; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 44px 0; }
.foot-cols h2 { font-family: var(--f-texte); font-weight: 500; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: #A9A9A9; margin-bottom: 16px; }
.foot-cols a { display: block; padding: 4px 0; color: #E8E8E8; transition: color .2s; }
.foot-cols a:hover { color: var(--jaune); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #A9A9A9; font-size: .92rem; border-top: 1px solid #2c2c2c; padding-top: 28px; }
.foot-bottom p { margin: 0; }
.foot-bottom a:hover { color: #fff; }

/* ---------- Barre mobile ---------- */
.mobile-bar { display: none; }

/* ---------- Apparition au scroll ---------- */
.js.motion .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js.motion .rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 18px; font-size: .95rem; }
  .tel { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .nav, .header-cta .btn, .header-cta .tel { display: none; }
  .burger { display: inline-flex; }
  .header-right { margin-left: auto; }
  .logo-svg { width: 168px; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; }
  .hero-stage { justify-self: center; width: min(84%, 440px); order: -1; margin: 0 auto 8px; }
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .sec-head, .estim-in, .agence-in, .region-in, .faq-in, .contact-in { grid-template-columns: 1fr; }
  .facts-in { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .fact-quote { grid-column: 1 / -1; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .presta-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .kicker { letter-spacing: .14em; font-size: .76rem; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 3.6rem); }
  .search { grid-template-columns: 1fr 1fr; border-radius: var(--r); }
  .search .seg { grid-column: 1 / -1; justify-self: start; }
  .search .field + .field { border-left: 0; }
  .search .field { background: var(--sable); border-radius: var(--r-s); min-width: 0; }
  .search .btn { grid-column: 1 / -1; }
  .facts-in { grid-template-columns: 1fr; }
  .fact { margin-right: 0; }
  .grid, .presta-list, .avis-list, .team { grid-template-columns: 1fr; }
  .team { gap: 40px; max-width: 360px; }
  .steps { grid-template-columns: 1fr; }
  .filters .field { flex: 1 1 140px; }
  .filters select { min-width: 0; }
  .count { margin: 0; width: 100%; }
  .alert-box { grid-template-columns: 1fr; padding: 24px; }
  .infos div { grid-template-columns: 1fr; gap: 2px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .estim-nav { flex-wrap: wrap; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97); box-shadow: 0 -1px 0 var(--ligne);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar a { display: grid; place-items: center; min-height: 48px; padding-top: .3em; border-radius: 999px; font-family: var(--f-titre); font-weight: 700; background: var(--noir); color: #fff; }
  .mobile-bar .mb-red { background: var(--rouge); }
  .site-footer { padding-bottom: 96px; }
}


/* ================= Multi-pages ================= */
.foot-cols p { color: #A9A9A9; margin: 4px 0 0; }
.kicker .dot-y { background: var(--jaune); } .kicker .dot-b { background: var(--noir); } .kicker .dot-g { background: var(--gris); }
/* Boutons par paires : même hauteur et même largeur (la plus grande des deux) */
.btn-row, .more-row, .cta-btns, .hero-actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; width: max-content; max-width: 100%; }
.more-row { margin-left: auto; margin-right: auto; }
.more-row { margin-top: 40px; justify-content: center; }
.btn-row { margin-top: 28px; }

/* Listes à coches : petite pastille rouge */
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--encre-2); }
.checks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--rouge); }
.checks-2 { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.estimation .checks li { color: var(--noir); }
.estimation .checks li::before { background: var(--noir); }

/* Bandeau de titre des pages intérieures : les pastilles de la couverture de la charte */
.page-hero { position: relative; overflow: hidden; background: var(--papier); padding: calc(var(--header-h) + clamp(48px, 8vw, 104px)) 0 clamp(56px, 8vw, 104px); }
.page-hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); line-height: .97; letter-spacing: -.02em; max-width: 14ch; margin-bottom: 22px; }
.page-hero .lead { max-width: 52ch; margin: 0; }
.ph-in { position: relative; z-index: 1; }
.ph-dots { position: absolute; inset: 0; pointer-events: none; }
.ph-dots i { position: absolute; border-radius: 50%; }
.ph-dots i:nth-child(1) { width: clamp(180px, 30vw, 440px); aspect-ratio: 1; background: var(--rouge); right: calc(-1 * clamp(40px, 6vw, 110px)); top: clamp(60px, 9vw, 120px); }
.ph-dots i:nth-child(2) { width: clamp(36px, 5vw, 70px); aspect-ratio: 1; background: var(--gris); right: clamp(150px, 31vw, 470px); top: clamp(70px, 9vw, 130px); }
.ph-dots i:nth-child(3) { width: clamp(90px, 13vw, 190px); aspect-ratio: 1; background: var(--noir); right: clamp(170px, 25vw, 380px); bottom: calc(-1 * clamp(30px, 4vw, 60px)); }
.ph-dots i:nth-child(4) { width: clamp(110px, 16vw, 230px); aspect-ratio: 1; background: var(--jaune); right: calc(-1 * clamp(30px, 4vw, 70px)); bottom: calc(-1 * clamp(50px, 7vw, 110px)); }
.chips-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; max-width: 760px; }
.chips-nav a { padding: 10px 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px #D6D5CF; font-weight: 500; transition: background-color .2s, color .2s, box-shadow .2s; }
.chips-nav a:hover { background: var(--noir); color: #fff; box-shadow: none; }

/* Blocs texte + photo */
.split-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-txt h2 { margin-bottom: 20px; }
.split-txt > p:not(.kicker) { color: var(--encre-2); max-width: 50ch; }
.split-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.split-ph-round img, .presta-bloc .split-ph img { aspect-ratio: 1; border-radius: 50%; }
.split-ph-round, .presta-bloc .split-ph { max-width: 520px; justify-self: center; width: 100%; }
.split-ph-r img, .split-ph-round img { box-shadow: 0 0 0 10px var(--rouge); }
.split-ph-y img { box-shadow: 0 0 0 10px var(--jaune); }
.split-ph-b img { box-shadow: 0 0 0 10px var(--noir); }
.split-ph-g img { box-shadow: 0 0 0 10px var(--gris); }
.presta-bloc .split-txt .btn { margin-top: 28px; }
.presta-bloc.inv { background: var(--papier); }
.presta-bloc.inv .split-ph { order: -1; }
.split-sell { background: #fff; }

/* Prestations en liens */
a.presta { color: inherit; }
a.presta h3 { transition: color .2s; }
a.presta:hover h3 { color: var(--rouge-txt); }
a.presta:hover .more .arr { transform: translateX(5px); }
a.promo { color: inherit; display: block; }
a.promo:hover h3 { color: var(--rouge-txt); }

/* Bandeau d'appel à l'action */

/* Valeurs (agence) */
.valeurs { background: var(--sable); }
.val-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.val { background: #fff; border-radius: var(--r); padding: 32px; }
.val h3 { font-size: 1.8rem; margin: 22px 0 10px; }
.val p { color: var(--encre-2); margin: 0; }
.v { display: block; border-radius: 50%; }
.v-r { width: 64px; height: 64px; background: var(--rouge); }
.v-y { width: 52px; height: 52px; background: var(--jaune); margin: 6px 0 6px 6px; }
.v-b { width: 44px; height: 44px; background: var(--noir); margin: 10px 0 10px 10px; }

/* Pages formulaire en haut de page */
.estim-top { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); }
.estim-top h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: .97; margin-bottom: 22px; }
.contact-top { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); background: var(--papier); }
.contact-top h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: .97; margin-bottom: 14px; }
.contact-top .contact-in { position: relative; z-index: 1; }
.contact-top .contact-form { background: #fff; box-shadow: var(--ombre); }
.contact-top .contact-form .input input, .contact-top .contact-form .input textarea, .contact-top .contact-form .input select { background-color: var(--papier); }
.prose-legal { max-width: 760px; }
.prose-legal h2 { font-size: 1.5rem; margin: 36px 0 10px; }
.prose-legal h2:first-child { margin-top: 0; }

/* ---------- Fiche bien ---------- */
.bien-top { padding: calc(var(--header-h) + 28px) 0 0; background: #fff; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .95rem; color: #6A6A6A; margin-bottom: 22px; }
.crumbs a { color: var(--noir); font-weight: 500; }
.crumbs a:hover { color: var(--rouge-txt); }
.bien-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 26px; }
.bien-head h1 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1; max-width: 20ch; }
.bien-loc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: #5E5E5E; font-weight: 500; margin-bottom: 14px; }
.bien-price { text-align: right; }
.bien-price .price { font-family: var(--f-titre); font-weight: 700; font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1; margin-bottom: 8px; }
.price small, .aside-price small { font-size: .5em; font-weight: 600; }
.specs-line { color: var(--encre-2); margin: 0; }

.mosaic { display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); aspect-ratio: 2.35; border-radius: var(--r); overflow: hidden; }
.mosaic-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.mosaic-2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.mosaic-3 { grid-template-columns: 2fr 1fr; }
.mosaic-4 { grid-template-columns: 2fr 1fr 1fr; }
.mo { position: relative; border: 0; padding: 0; margin: 0; cursor: zoom-in; overflow: hidden; background: var(--sable); min-height: 0; }
.mo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mo:hover img { transform: scale(1.04); }
.mo-0 { grid-row: 1 / -1; }
.mosaic-4 .mo-3 { grid-column: 2 / 4; }
.mo-all { position: absolute; left: 14px; bottom: 14px; background: #fff; color: var(--noir); font-family: var(--f-titre); font-weight: 700; padding: 10px 16px 8px; border-radius: 999px; box-shadow: var(--ombre); }

.bien-body { padding-top: clamp(40px, 6vw, 72px); }
.bien-cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.h-sec { font-size: 1.6rem; margin: 48px 0 18px; }
.h-sec:first-child { margin-top: 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--ligne); }
.facts-grid div { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--ligne); }
.facts-grid dt { font-size: .85rem; color: #6A6A6A; margin-bottom: 4px; }
.facts-grid dd { margin: 0; font-family: var(--f-titre); font-weight: 600; font-size: 1.15rem; }
.prose { color: var(--encre-2); max-width: 68ch; }
.prose h3 { color: var(--noir); font-size: 1.3rem; margin: 30px 0 10px; }
.prose strong { color: var(--noir); font-weight: 500; }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 6px; margin: 0 0 1.2em; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--rouge); }
.situ { color: var(--encre-2); }

.bien-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.aside-card { background: var(--sable); border-radius: var(--r); padding: 26px; }
.aside-price { font-family: var(--f-titre); font-weight: 700; font-size: 2rem; line-height: 1; margin: 0 0 6px; }
.aside-sub { color: var(--encre-2); font-size: .98rem; margin-bottom: 18px; }
.visit-form h2 { font-size: 1.3rem; margin-bottom: 14px; }
.visit-form .input input, .visit-form .input textarea { background-color: #fff; }
.visit-form .btn { width: 100%; }
.agent { display: flex; gap: 16px; align-items: center; padding: 16px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--ligne); }
.agent img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--jaune); flex: none; }
.agent p { margin: 0; }
.agent-name { font-family: var(--f-titre); font-weight: 700; font-size: 1.15rem; }
.agent-role { color: #6A6A6A; font-size: .92rem; }
.agent-tel { font-weight: 500; color: var(--rouge-txt); }
.share { border: 0; background: none; cursor: pointer; font-weight: 500; color: var(--encre-2); padding: 8px 0; text-align: left; }
.share:hover { color: var(--rouge-txt); }


/* Calculateur */
.calc-sec { background: var(--papier); }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.calc-intro h2 { margin-bottom: 18px; }
.calc-intro p { color: var(--encre-2); max-width: 46ch; }
.calc-note { font-size: .92rem; }
.calc-box { background: #fff; border-radius: var(--r); padding: clamp(24px, 3vw, 36px); box-shadow: var(--ombre); }
.calc-out { margin: 8px 0 0; display: grid; gap: 0; border-top: 1px solid var(--ligne); }
.calc-out div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ligne); }
.calc-out dt { color: var(--encre-2); }
.calc-out dd { margin: 0; font-family: var(--f-titre); font-weight: 700; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.calc-verdict { margin: 16px 0 0; padding: 14px 16px; border-radius: var(--r-s); font-weight: 500; }
.calc-verdict.ok { background: var(--jaune); }
.calc-verdict.ko { background: var(--sable); }

@media (max-width: 980px) {
  .split-in, .calc { grid-template-columns: 1fr; }
  .presta-bloc.inv .split-ph { order: 0; }
  .split-ph-round, .presta-bloc .split-ph { max-width: 380px; }
  .val-list { grid-template-columns: 1fr; }
  .bien-cols { grid-template-columns: 1fr; }
  .bien-aside { position: static; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .mosaic { aspect-ratio: 1.6; }
}
@media (max-width: 680px) {
  .bien-price { text-align: left; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .mosaic .mo-0 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 3 / 2; }
  .mosaic .mo:not(.mo-0) { aspect-ratio: 3 / 2; }
  .mosaic .mo-3, .mosaic .mo-4 { display: none; }
  .checks-2 { grid-template-columns: 1fr; }
  .ph-dots i:nth-child(1) { width: 150px; right: -70px; top: 64px; }
  .ph-dots i:nth-child(2), .ph-dots i:nth-child(3) { display: none; }
  .ph-dots i:nth-child(4) { width: 96px; right: -40px; bottom: -50px; }
  .page-hero h1 { max-width: 11ch; }
}


/* ================= Accueil « Couverture » (design retenu) ================= */
.search { color: var(--noir); }

/* D · Couverture : la page de couverture de la charte devient le hero.
   Pastilles géantes qui débordent à droite, mot du titre qui suit le bien affiché. */
.swap { display: inline-block; vertical-align: top; white-space: nowrap; }
.swap-in { display: inline-block; }
.theme-couverture .swap { display: block; width: fit-content; position: relative; overflow: hidden; padding: 0 .14em; margin: 0 -.04em; border-radius: .14em; background: var(--jaune); transition: width .45s var(--ease); }
.theme-couverture .site-header { background: #fff; }
.theme-couverture .hero { position: relative; background: var(--papier); padding: calc(var(--header-h) + clamp(24px, 4vh, 56px)) 0 clamp(40px, 6vh, 72px); }
/* Deux colonnes dans la grille du site : rien ne dépasse de l'écran */
/* Le texte s'aligne sur le logo, les pastilles s'ancrent au bord droit de l'écran (avec une marge) */
.theme-couverture .hero-in { max-width: none; padding-left: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); padding-right: max(var(--gut), 3.5vw); grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 72px); align-items: center; min-height: calc(100svh - var(--header-h) - clamp(64px, 10vh, 128px)); }
.theme-couverture .hero-text { container-type: inline-size; min-width: 0; }
/* Le titre se cale sur sa colonne : le mot le plus long (« l'appartement ») tient toujours */
.theme-couverture .hero h1 { font-size: min(15.5cqi, 6.4rem); line-height: .94; }
.theme-couverture .hero .lead { max-width: 40ch; margin-bottom: 34px; }
.btn-lg { padding-left: 30px; padding-right: 30px; }
.theme-couverture .hero-stage { position: relative; justify-self: end; width: min(48vw, 860px, calc((100svh - var(--header-h) - 110px) * 1.03)); }
.theme-couverture .hero-caption { display: none; }
.theme-couverture .pst-photos { inset: 1.6cqw; }
.theme-couverture .pst-y .pst-txt { font-size: 4.2cqw; padding: 0 8%; }
.theme-couverture .pst-b .pst-txt { font-size: 3.6cqw; }
.hero-stage.intro .pst-txt, .hero-stage.intro .pst-ico { opacity: 0; }
.hero-stage .pst-txt { transition: opacity .5s var(--ease) .1s; }
@media (max-width: 980px) {
  .theme-couverture .hero-in { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-left: var(--gut); padding-right: var(--gut); }
  .theme-couverture .hero-stage { justify-self: center; width: min(100%, 440px); }
}


/* ================= Menus de navigation ================= */
.header-right { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav { margin-left: 0; }

/* Menu : le mot roule vers le haut au survol, la page en cours est en rouge */
.nav a { opacity: 1; color: var(--noir); padding: 10px 12px; }
.nav-a .nav a { padding: 10px 14px; }
.roll { position: relative; display: block; overflow: hidden; line-height: 1.25; height: 1.25em; }
.roll > span { display: block; transition: transform .45s cubic-bezier(.65, 0, .25, 1); }
.roll > span + span { position: absolute; left: 0; top: 100%; color: var(--rouge-txt); }
.nav a:hover .roll > span, .nav a:focus-visible .roll > span { transform: translateY(-100%); }
.nav a.active { color: var(--rouge-txt); }
.nav a.active .roll > span + span { color: var(--rouge-txt); }

/* Bouton menu : pastille noire, « Menu » + deux traits */
.burger { display: none; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 18px; border: 0; border-radius: 999px; background: var(--noir); color: #fff; cursor: pointer; font-family: var(--f-titre); font-weight: 700; font-size: .95rem; }
.burger-txt { padding-top: .3em; line-height: 1; }
.burger-ico { position: relative; width: 18px; height: 12px; display: block; }
.burger-ico i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger-ico i:first-child { top: 2px; } .burger-ico i:last-child { top: 8px; }
.burger[aria-expanded="true"] .burger-ico i:first-child { top: 5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-ico i:last-child { top: 5px; transform: rotate(-45deg); }
@media (max-width: 980px) { .burger { display: inline-flex; } }
@media (max-width: 680px) { .burger-txt { display: none; } .burger { width: 44px; padding: 0; justify-content: center; } }

/* Menu déroulant (mobile et variante plein écran) */
.menu-mobile { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: var(--noir); color: #fff; overflow-y: auto; }
.menu-mobile[hidden] { display: none; }
.mm-in { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-top: clamp(24px, 6vh, 64px); padding-bottom: 48px; position: relative; z-index: 1; }
.mm-links { display: grid; align-content: start; }
.mm-links a { font-family: var(--f-titre); font-weight: 700; font-size: clamp(1.9rem, 5.2vh, 3.6rem); line-height: 1.05; padding: .12em 0; color: #fff; transition: color .2s, transform .3s var(--ease); width: fit-content; }
.mm-links a:hover { color: var(--jaune); transform: translateX(10px); }
.mm-contact { align-self: end; display: grid; gap: 6px; }
.mm-label { margin: 18px 0 2px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #9A9A9A; }
.menu-tel { font-family: var(--f-titre); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--jaune); }
.mm-mail, .mm-person a { color: #fff; } .mm-mail:hover, .mm-person a:hover { color: var(--jaune); }
.mm-person { margin: 0; color: #CFCFCF; }
.mm-dots { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.mm-dots i { position: absolute; border-radius: 50%; }
.mm-dots i:nth-child(1) { width: 34vmin; aspect-ratio: 1; background: var(--rouge); right: -8vmin; top: -6vmin; }
.mm-dots i:nth-child(2) { width: 6vmin; aspect-ratio: 1; background: var(--gris); right: 30vmin; top: 20vmin; }
.mm-dots i:nth-child(3) { width: 14vmin; aspect-ratio: 1; background: #fff; right: 22vmin; bottom: -4vmin; }
.mm-dots i:nth-child(4) { width: 20vmin; aspect-ratio: 1; background: var(--jaune); right: -6vmin; bottom: 10vmin; }
.js.motion .menu-mobile:not([hidden]) .mm-links a { animation: mmIn .5s var(--ease) both; }
.js.motion .menu-mobile:not([hidden]) .mm-links a:nth-child(2) { animation-delay: .04s; } .js.motion .menu-mobile:not([hidden]) .mm-links a:nth-child(3) { animation-delay: .08s; }
.js.motion .menu-mobile:not([hidden]) .mm-links a:nth-child(4) { animation-delay: .12s; } .js.motion .menu-mobile:not([hidden]) .mm-links a:nth-child(5) { animation-delay: .16s; }
.js.motion .menu-mobile:not([hidden]) .mm-links a:nth-child(6) { animation-delay: .2s; } .js.motion .menu-mobile:not([hidden]) .mm-links a:nth-child(7) { animation-delay: .24s; }
.js.motion .menu-mobile:not([hidden]) .mm-links a:nth-child(8) { animation-delay: .28s; }
@keyframes mmIn { from { opacity: 0; transform: translateY(18px); } }
.js.motion .menu-mobile:not([hidden]) .mm-dots i { animation: dotIn .7s var(--ease) both; }
@keyframes dotIn { from { transform: scale(0); } }
.menu-open .mobile-bar { display: none; }
@media (max-width: 680px) { .mm-in { grid-template-columns: 1fr; } .mm-dots i:nth-child(1) { width: 40vmin; } .mm-dots i:nth-child(3), .mm-dots i:nth-child(2) { display: none; } }

/* A · Capsule : une barre arrondie qui flotte au-dessus de la page */
.nav-a .site-header { background: transparent; }
.nav-a .site-header.scrolled { box-shadow: none; }
.nav-a .header-in { margin-top: 12px; height: calc(var(--header-h) - 20px); max-width: calc(var(--wrap) - 2 * var(--gut) + 40px); width: calc(100% - 2 * var(--gut)); padding: 0 10px 0 24px; background: #fff; border-radius: 999px; box-shadow: 0 1px 2px rgba(17,17,17,.06), 0 10px 30px rgba(17,17,17,.08); gap: 20px; }
.nav-a .logo-svg { width: 150px; }
.nav-a .nav { margin-left: auto; gap: 4px; }
@media (min-width: 981px) { .nav-a .header-right { margin-left: 0; gap: 14px; } }
@media (max-width: 980px) { .nav-a .header-in { margin-top: 8px; height: calc(var(--header-h) - 12px); padding: 0 8px 0 20px; } .nav-a .logo-svg { width: 128px; } }
/* Le logo garde de l'air dans la capsule : environ 70 % de sa hauteur */
.nav-a .brand { padding: 0; display: flex; align-items: center; }
@media (max-width: 380px) { .nav-a .logo-svg { width: 120px; } .nav-a .header-in { padding-left: 16px; } }
.nav-a .tel { font-size: 1rem; }

/* Mobile : les paires de boutons s'empilent, pleine largeur */
@media (max-width: 680px) { .btn-row, .more-row, .cta-btns, .hero-actions { grid-auto-flow: row; grid-auto-columns: auto; width: 100%; } .btn-row .btn, .more-row .btn, .cta-btns .btn, .hero-actions .btn { width: 100%; } }


/* ================= Listes déroulantes ================= */
/* Chrome, Edge, Brave : liste entièrement aux couleurs du site. Safari et Firefox gardent leur liste native. */
@supports (appearance: base-select) {
  select, .field select, .filters select, .input select { appearance: base-select; }
  ::picker(select) { appearance: base-select; }
  .filters select, .input select { background-image: none; display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; padding-right: 16px; cursor: pointer; }
  .input select { display: flex; width: 100%; padding-left: 14px; }
  select::picker-icon { content: ""; width: 12px; height: 8px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; transition: rotate .25s var(--ease); }
  select:open::picker-icon { rotate: 180deg; }
  ::picker(select) {
    border: 0; border-radius: 16px; padding: 6px; margin-block: 8px; background: #fff; color: var(--noir);
    box-shadow: 0 2px 6px rgba(17,17,17,.06), 0 14px 36px rgba(17,17,17,.14);
    min-width: anchor-size(width);
    opacity: 1; translate: 0 0; transition: opacity .18s ease, translate .22s var(--ease), display .22s allow-discrete, overlay .22s allow-discrete;
  }
  ::picker(select):not(:popover-open) { opacity: 0; translate: 0 -6px; }
  @starting-style { ::picker(select):popover-open { opacity: 0; translate: 0 -6px; } }
  option { display: flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; font-family: var(--f-texte); font-weight: 500; font-size: 1rem; white-space: nowrap; cursor: pointer; transition: background-color .15s; }
  option::checkmark { display: none; }
  option:hover, option:focus-visible { background: var(--sable); }
  option:checked { background: var(--noir); color: #fff; }
  option:checked:hover { background: #2a2a2a; }
}


/* ================= Carrousel ================= */
.promo-track { cursor: grab; user-select: none; -webkit-user-select: none; scroll-behavior: smooth; }
.promo-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.promo-track.dragging a { pointer-events: none; }
.car-bar { display: flex; align-items: center; gap: 32px; margin-top: 28px; }
.car-progress { position: relative; flex: 1; height: 2px; background: var(--ligne); border-radius: 2px; overflow: hidden; }
.car-thumb { position: absolute; top: 0; left: 0; height: 100%; width: 30%; background: var(--noir); border-radius: 2px; transition: transform .25s var(--ease), width .25s var(--ease); }
.car-nav { display: flex; gap: 10px; }
.car-btn { display: grid; place-items: center; width: var(--ctl-h); height: var(--ctl-h); border: 0; border-radius: 50%; background: transparent; color: var(--noir); box-shadow: inset 0 0 0 1.5px var(--noir); cursor: pointer; transition: background-color .2s, color .2s, opacity .2s; }
.car-btn svg { width: 22px; height: 22px; transition: transform .25s var(--ease); }
.car-btn:hover:not(:disabled) { background: var(--noir); color: #fff; }
.car-btn[data-car-prev]:hover:not(:disabled) svg { transform: translateX(-2px); }
.car-btn[data-car-next]:hover:not(:disabled) svg { transform: translateX(2px); }
.car-btn:disabled { opacity: .25; cursor: default; }
.carousel.static .car-bar { display: none; }
@media (max-width: 680px) { .car-bar { gap: 16px; margin-top: 20px; } .car-btn { width: 44px; height: 44px; } }


/* ================= Prestations (accueil) : mosaïque aux couleurs de la charte ================= */

/* C · Mosaïque aux couleurs de la charte */
.pc-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); gap: 20px; }
.pc-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border-radius: var(--r); overflow: hidden; color: var(--noir); background: #fff; isolation: isolate; transition: transform .35s var(--ease); }
.pc-tile:hover { transform: translateY(-4px); }
.pc-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.pc-tile:hover img { transform: scale(1.05); }
.pc-body h3 { font-size: 1.55rem; margin-bottom: 8px; }
.pc-body p { margin: 0; max-width: 38ch; }
.pc-go { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--noir); transition: transform .3s var(--ease); }
.pc-go svg { width: 20px; height: 20px; }
.pc-tile:hover .pc-go { transform: rotate(-45deg); }
/* photo + voile sombre pour lire le texte */
.pc-0, .pc-3, .pc-5 { color: #fff; }
.pc-0::after, .pc-3::after, .pc-5::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(17,17,17,.82), rgba(17,17,17,.15) 65%); }
.pc-0 p, .pc-3 p, .pc-5 p { color: #E8E8E8; }
.pc-0 { grid-column: span 2; grid-row: span 2; }
.pc-0 h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.pc-1 { background: var(--jaune); }
.pc-2 { background: var(--noir); color: #fff; } .pc-2 p { color: #CFCFCF; }
.pc-3 { grid-column: span 2; }
.pc-4 { grid-column: span 2; background: var(--rouge); color: #fff; } .pc-4 p { color: #fff; font-weight: 500; }
.pc-5 { grid-column: span 2; }
.pc-1 .pc-go, .pc-2 .pc-go, .pc-4 .pc-go { background: transparent; color: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
@media (max-width: 980px) { .pc-grid { grid-template-columns: repeat(2, 1fr); } .pc-0 { grid-column: span 2; grid-row: auto; min-height: 320px; } .pc-3, .pc-5 { grid-column: span 2; } }
@media (max-width: 680px) { .pc-grid { grid-template-columns: 1fr; } .pc-0, .pc-3, .pc-4, .pc-5 { grid-column: auto; } }


/* ================= Avis : bandeau défilant ================= */
.aa-dot { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--rouge); color: #fff; font-family: var(--f-titre); font-weight: 700; font-size: .9rem; padding-top: .2em; flex: none; }

/* B · Bandeau défilant sur fond noir */
.avis-bandeau { background: var(--noir); color: #fff; overflow: hidden; }
.avis-bandeau .sec-head h2 { color: #fff; }
.ab-row { overflow: hidden; padding: 6px 0; }
.ab-row + .ab-row { margin-top: 18px; }
.ab-track { display: flex; gap: 18px; width: max-content; animation: abScroll 60s linear infinite; }
.ab-rev .ab-track { animation-direction: reverse; animation-duration: 70s; }
.ab-row:hover .ab-track { animation-play-state: paused; }
@keyframes abScroll { from { transform: translateX(0); } to { transform: translateX(calc(-100% / 3)); } }
.ab-card { margin: 0; width: clamp(300px, 34vw, 480px); flex: none; background: #1D1D1D; border-radius: var(--r); padding: 28px 30px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.ab-card p { font-family: var(--f-titre); font-weight: 600; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.3; margin: 0; }
.ab-card p::before { content: "« "; color: var(--rouge); }
.ab-card footer { display: flex; align-items: center; gap: 12px; color: #BDBDBD; font-weight: 500; }
.ab-rev .ab-card .aa-dot { background: var(--jaune); color: var(--noir); }
@media (prefers-reduced-motion: reduce) { .ab-track { animation: none; } .ab-row { overflow-x: auto; } }


/* ================= Étapes de vente : frise ================= */
.ea-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; flex: none; font-family: var(--f-titre); font-weight: 700; font-size: 1.35rem; padding-top: .2em; color: var(--noir); }
.ea-r { background: var(--rouge); color: #fff; } .ea-g { background: var(--gris); } .ea-w { background: #fff; } .ea-y { background: var(--jaune); }

/* A · Frise : une ligne relie les pastilles et se remplit au défilement */
.ea { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; position: relative; }
.ea-line { position: absolute; left: 28px; right: calc((100% - 112px) / 5 - 28px); top: 27px; height: 2px; background: #333; border-radius: 2px; }
.ea-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--rouge); border-radius: 2px; transition: width .2s linear; }
.ea-step { position: relative; z-index: 1; }
.ea-step .ea-n { margin-bottom: 26px; box-shadow: 0 0 0 8px var(--noir); transition: transform .4s var(--ease); }
.ea-step.lit .ea-n { transform: scale(1.08); }
.ea-step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.ea-step p { color: #CFCFCF; font-size: 1rem; margin: 0; }
@media (max-width: 980px) {
  .ea { grid-template-columns: 1fr; gap: 34px; padding-left: 0; }
  .ea-line { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .ea-fill { inset: 0 0 auto 0; width: 100% !important; height: var(--fill, 0%); }
  .ea-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; }
  .ea-step .ea-n { grid-row: span 2; margin: 0; }
}


/* ================= Bandeau « Parlons de votre projet » ================= */
.cta-band { padding: clamp(56px, 7vw, 96px) 0; background: #fff; }
.cta-card { position: relative; overflow: hidden; background: var(--noir); color: #fff; border-radius: 20px; padding: clamp(36px, 5vw, 72px); min-height: 380px; display: flex; align-items: center; }
.cta-txt { position: relative; z-index: 1; max-width: min(620px, 58%); }
.cta-team { display: flex; align-items: center; margin-bottom: 26px; }
.cta-team img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--noir); }
.cta-team img + img { margin-left: -12px; }
.cta-team span { margin-left: 14px; color: #CFCFCF; font-weight: 500; }
.cta-card h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1; margin-bottom: 16px; color: #fff; }
.cta-card p { margin: 0 0 32px; font-size: 1.15rem; color: #CFCFCF; max-width: 44ch; }
.btn-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn-light:hover { background: #fff; color: var(--noir); }
/* Le symbole en version fond foncé : la pastille noire passe en blanc */
.cta-dots { position: absolute; right: -4%; top: 50%; translate: 0 -50%; width: min(42%, 480px); aspect-ratio: 263.34 / 256; }
.cta-dots i { position: absolute; border-radius: 50%; aspect-ratio: 1; }
.cta-dots i:nth-child(1) { left: 6.27%; top: 0; width: 55.75%; background: var(--rouge); }
.cta-dots i:nth-child(2) { left: 75.26%; top: 29.03%; width: 15.33%; background: var(--gris); }
.cta-dots i:nth-child(3) { left: 0; top: 62.01%; width: 33.45%; background: #fff; }
.cta-dots i:nth-child(4) { left: 59.58%; top: 58.42%; width: 40.42%; background: var(--jaune); }
@media (max-width: 980px) {
  .cta-card { flex-direction: column; align-items: flex-start; padding-bottom: 0; }
  .cta-txt { max-width: none; }
  .cta-dots { position: relative; right: auto; top: auto; translate: none; width: min(72%, 320px); align-self: flex-end; margin: 28px -8% -18% 0; }
}


/* ================= Responsive : finitions (audit) ================= */
/* Contenus longs (titres et textes venant de l'API, e-mails, prix) : on coupe le mot plutôt que de déborder.
   Les boutons, le menu et les chiffres courts gardent leur comportement (nowrap). */
h1, h2, h3, p, dd, dt, li, blockquote, figcaption, label, td, th, .card-loc, .crumbs span, .agent-tel, .big-mail, .foot-cols a { overflow-wrap: anywhere; }
.btn, .nav a, .tel, .badge, .seg span, .chips span { overflow-wrap: normal; }
.bien-head > div, .bien-price, .bien-main, .bien-aside, .card-body, .promo-txt, .pc-body, .split-txt, .cta-txt, .contact-info { min-width: 0; }
.bien-price { max-width: 100%; }

/* Focus clavier : un contour fin, seulement au clavier (jamais au clic) */
.skip:focus { outline: none; }

/* Zones tactiles d'au moins 44 px pour les liens isolés */
.foot-cols a { display: flex; align-items: center; min-height: 44px; padding: 0; }
.crumbs a, .crumbs span[aria-current] { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs { row-gap: 0; }
.tel, .agent-tel, .big-mail { display: inline-flex; align-items: center; min-height: 44px; }
.tel { white-space: nowrap; }
@media (max-width: 1180px) { .header-cta .tel { display: none; } }
.nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.infos dd a { display: inline-flex; align-items: center; min-height: 44px; }
/* La petite pastille grise reste petite, mais sa zone cliquable est agrandie */
.pst-g::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; }

/* Menu ouvert : les pastilles du hero passent sous le menu, et le logo retrouve ses pastilles */
body.menu-open .hero-stage { z-index: 0; visibility: hidden; }
.js.motion body.menu-open .site-header .ld { opacity: 1; }
/* Menu ouvert : la page ne défile plus derrière, même sans défilement fluide */
html:has(body.menu-open), body.menu-open { overflow: hidden; }
/* Visionneuse ouverte : idem */
html:has(dialog[open]) { overflow: hidden; }

/* Écrans peu hauts (téléphone en paysage) : décor du menu réduit pour ne pas couvrir le texte */
@media (max-height: 560px) {
  .mm-dots i:nth-child(2), .mm-dots i:nth-child(3), .mm-dots i:nth-child(4) { display: none; }
  .mm-dots i:nth-child(1) { width: 26vmin; }
  .mm-links a { font-size: clamp(1.4rem, 7vh, 2rem); }
  .mm-in { padding-top: 16px; }
}

/* Mobile : saisie au clavier → la barre d'action ne cache pas le champ */
@media (max-width: 680px) {
  body:has(input:focus, textarea:focus, select:focus) .mobile-bar { transform: translateY(110%); }
  .mobile-bar { grid-template-columns: 1fr 1.6fr; }
  .mobile-bar a { font-size: .95rem; padding: .3em 10px 0; text-align: center; }
  /* Filtres sur deux colonnes */
  .filters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
  .filters .seg { grid-column: 1 / -1; justify-self: start; }
  .filters .count { grid-column: 1 / -1; height: auto; }
  .filters .field { min-width: 0; }
  .filters select { width: 100%; min-width: 0; }
}

/* Téléphone en paysage : texte et pastilles côte à côte, pastilles à la hauteur de l'écran */
@media (max-width: 980px) and (min-width: 540px) and (orientation: landscape) {
  .theme-couverture .hero { padding-top: calc(var(--header-h) + 12px); padding-bottom: 28px; }
  .theme-couverture .hero-in { grid-template-columns: minmax(0, 1fr) auto; padding-left: var(--gut); padding-right: var(--gut); }
  .theme-couverture .hero-stage { order: 0; justify-self: end; margin: 0; width: min(44vw, calc((100svh - var(--header-h) - 40px) * 1.03)); }
  .theme-couverture .hero h1 { font-size: min(13cqi, 3.4rem); margin-bottom: 14px; }
  .theme-couverture .hero .lead { font-size: 1rem; margin-bottom: 18px; }
}


/* ================= Vendre : ce que nous faisons (trois temps) ================= */
/* A : trois temps */
.inclus-a { background: var(--papier); }
.ia-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.ia-head p { color: var(--encre-2); max-width: 46ch; font-size: 1.1rem; }
.ia-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ia-col { background: #fff; border-radius: 22px; padding: clamp(24px, 3vw, 36px); box-shadow: var(--ombre); display: flex; flex-direction: column; min-width: 0; }
.ia-col header { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; margin-bottom: 6px; border-bottom: 1px solid var(--ligne); }
.ia-col h3 { font-size: 1.5rem; padding-top: .2em; }
.ia-dot { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-titre); font-weight: 700; font-size: 1.15rem; padding-top: .15em; }
.ia-r .ia-dot { background: var(--rouge); color: #fff; }
.ia-y .ia-dot { background: var(--jaune); color: var(--noir); }
.ia-b .ia-dot { background: var(--noir); color: #fff; }
.ia-col ul { list-style: none; margin: 0; padding: 0; }
.ia-col li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--ligne); }
.ia-col li:last-child { border-bottom: 0; padding-bottom: 0; }
.ia-col li strong { font-family: var(--f-titre); font-weight: 600; font-size: 1.08rem; }
.ia-col li span { color: var(--encre-2); }
@media (max-width: 980px) { .ia-head { grid-template-columns: 1fr; } .ia-cols { grid-template-columns: 1fr; max-width: 640px; } }



/* ================= Prestations : cartes empilées ================= */
/* C : cartes empilées */
.pc-stack { display: grid; gap: 24px; }
.ps-card { position: sticky; top: calc(var(--header-h) + 24px + var(--i) * 14px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; border-radius: 32px; padding: clamp(28px, 4vw, 56px); min-height: min(620px, calc(100svh - var(--header-h) - 120px)); scroll-margin-top: calc(var(--header-h) + 24px); box-shadow: 0 -12px 40px rgba(17,17,17,.12); }
.ps-r { background: var(--rouge); color: #fff; }
.ps-y { background: var(--jaune); color: var(--noir); }
.ps-b { background: var(--noir); color: #fff; }
.ps-g { background: var(--sable); color: var(--noir); }
.ps-card h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin: 14px 0 14px; color: inherit; }
.ps-n { font-family: var(--f-titre); font-weight: 600; font-size: .95rem; letter-spacing: .04em; opacity: .85; }
.ps-body > p { font-size: 1.08rem; opacity: .9; }
.ps-points { list-style: none; margin: 22px 0 30px; padding: 0; display: grid; gap: 10px; }
.ps-points li { position: relative; padding-left: 26px; }
.ps-points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 11px; height: 11px; border-radius: 50%; background: currentColor; }
.ps-y .btn-red, .ps-g .btn-red { background: var(--noir); }
.ps-ph img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; display: block; }
.ps-r .ps-ph img { box-shadow: 0 0 0 10px #fff; } .ps-y .ps-ph img { box-shadow: 0 0 0 10px var(--noir); } .ps-b .ps-ph img { box-shadow: 0 0 0 10px var(--jaune); } .ps-g .ps-ph img { box-shadow: 0 0 0 10px var(--rouge); }
.ps-ph { max-width: 480px; justify-self: center; width: 100%; padding: 10px; }
@media (max-width: 980px), (max-height: 700px) {
  /* Cartes plus hautes que l'écran : elles défilent en entier, puis se posent par le bas (hauteur réglée en JS) */
  .ps-card { min-height: 0; top: calc(var(--header-h) + 12px + var(--i) * 8px); }
}
@media (max-width: 680px) {
  .ps-ph { max-width: 200px; }
  .pc-stack { gap: 16px; }
}
@media (max-width: 980px) { .ps-card { grid-template-columns: 1fr; } .ps-ph { order: -1; max-width: 320px; } }
@media (max-width: 680px) { .ps-card { border-radius: 24px; padding: 24px 20px 28px; } .ps-ph { max-width: 240px; } }


/* ================= Agence : bento ================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.agz-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 10px; vertical-align: .05em; }
.agz-r { background: var(--rouge); } .agz-y { background: var(--jaune); } .agz-b { background: var(--noir); }

/* C : bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; grid-template-areas:
  "p0 p0 p1 p1"
  "in in n0 n1"
  "ph ph n2 vr"
  "ph ph vy vb"
  "rg rg rg rg"; }
.bt { border-radius: 26px; padding: clamp(22px, 2.4vw, 32px); background: var(--papier); min-width: 0; }
.bt-p0 { grid-area: p0; } .bt-p1 { grid-area: p1; } .bt-intro { grid-area: in; } .bt-n0 { grid-area: n0; } .bt-n1 { grid-area: n1; } .bt-n2 { grid-area: n2; }
.bt-photo { grid-area: ph; } .bt-v-r { grid-area: vr; } .bt-v-y { grid-area: vy; } .bt-v-b { grid-area: vb; } .bt-region { grid-area: rg; }
.bt-person { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: center; }
.bt-person img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.bt-r img { box-shadow: 0 0 0 7px var(--rouge); } .bt-y img { box-shadow: 0 0 0 7px var(--jaune); }
.bt-person h3 { font-size: 1.6rem; }
.bt-person p { color: var(--encre-2); }
.bt-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 10px; }
.bt-links a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; color: var(--noir); }
.bt-links a:hover { color: var(--rouge-txt); }
.bt-intro { background: var(--noir); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; }
.bt-intro h3 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 10px; max-width: 16ch; }
.bt-intro p { color: #BDBDBD; max-width: 46ch; }
.bt-num { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.bt-num strong { font-family: var(--f-titre); font-size: clamp(3rem, 5vw, 4.4rem); line-height: .9; }
.bt-num span { color: var(--encre-2); }
.bt-n0 { background: var(--jaune); } .bt-n0 span { color: var(--noir); }
.bt-photo { padding: 0; overflow: hidden; min-height: 240px; }
.bt-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bt-val h3 { font-size: 1.6rem; margin-bottom: 8px; }
.bt-val p { font-size: .98rem; }
.bt-v-r { background: var(--rouge); color: #fff; } .bt-v-r h3 { color: #fff; }
.bt-v-y { background: var(--sable); } .bt-v-y p { color: var(--encre-2); }
.bt-v-b { background: var(--noir); color: #fff; } .bt-v-b h3 { color: #fff; } .bt-v-b p { color: #BDBDBD; }
.bt-region h3 { font-size: 1.5rem; margin-bottom: 16px; }
.bt-zones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 28px; }
.bt-zones h4 { font-family: var(--f-titre); font-size: 1.05rem; margin: 0 0 2px; }
.bt-zones p { color: var(--encre-2); font-size: .95rem; }
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "p0 p0" "p1 p1" "in in" "n0 n1" "n2 vr" "ph ph" "vy vb" "rg rg"; }
  .bt-photo { aspect-ratio: 16 / 9; min-height: 0; }
  .bt-zones { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "p0" "p1" "in" "n0" "n1" "n2" "ph" "vr" "vy" "vb" "rg"; gap: 12px; }
  .bt-person { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; }
  .bt-person h3 { font-size: 1.3rem; }
}


/* ================= Agence : carte des zones (MapLibre + OpenFreeMap) ================= */
.cz { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; padding: clamp(22px, 2.4vw, 32px); }
.cz-head h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-bottom: 10px; }
.cz-head > p { color: var(--encre-2); margin-bottom: 22px; }
.cz-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cz-legend button { width: 100%; min-height: 52px; display: flex; align-items: center; gap: 2px; padding: .3em 18px 0; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--ligne); font: 600 1rem var(--f-titre); color: var(--noir); cursor: pointer; text-align: left; transition: box-shadow .2s, background-color .2s, color .2s; }
.cz-legend button span { margin-left: auto; font-size: .85rem; color: var(--encre-2); white-space: nowrap; padding-left: 8px; }
.cz-legend button:hover { box-shadow: inset 0 0 0 2px var(--noir); }
.cz-legend button[aria-pressed="true"] { background: var(--noir); color: #fff; box-shadow: none; }
.cz-legend button[aria-pressed="true"] span { color: #BDBDBD; }
.cz-legend button[aria-pressed="true"] .agz-b { background: #fff; }
.cz-legend .agz-dot { margin-top: -.3em; }
.cz-reset { margin-top: 12px; min-height: 44px; padding: .3em 4px 0; border: 0; background: none; font: 600 .95rem var(--f-titre); color: var(--rouge-txt); cursor: pointer; }
.cz-reset:hover { color: var(--noir); }
.cz-map { position: relative; border-radius: 20px; overflow: hidden; min-height: 460px; background: #F2F3F0; isolation: isolate; }
.cz-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--encre-2); margin: 0; }
.cz-map .maplibregl-canvas { outline: none; }
.cz-map .maplibregl-ctrl-group { border-radius: 14px; box-shadow: var(--ombre); overflow: hidden; }
.cz-map .maplibregl-ctrl-group button { width: 40px; height: 40px; }
.cz-map .maplibregl-ctrl-attrib { font-size: 10px; background: rgba(255,255,255,.75); border-radius: 8px 0 0 0; }
.cz-map .maplibregl-cooperative-gesture-screen { font-family: var(--f-texte); font-size: 1rem; background: rgba(17,17,17,.55); }
/* Agence : pastille qui pulse + étiquette */
.cz-hq { display: flex; pointer-events: none; }
.cz-hq i { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--rouge); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); flex: none; }
.cz-hq i::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 3px solid var(--rouge); animation: czPulse 2.4s var(--ease) infinite; }
@keyframes czPulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cz-hq i::after { animation: none; opacity: .35; } }
/* Fiche d'une commune */
.cz-map .maplibregl-popup-content { border-radius: 16px; padding: 14px 18px 12px; box-shadow: 0 10px 30px rgba(0,0,0,.18); font-family: var(--f-texte); }
.cz-map .maplibregl-popup-close-button { width: 32px; height: 32px; font-size: 20px; border-radius: 50%; right: 4px; top: 4px; }
.cz-pop strong { display: block; font: 700 1.1rem var(--f-titre); padding-right: 24px; }
.cz-pop span { display: flex; align-items: center; gap: 8px; color: var(--encre-2); font-size: .9rem; margin: 2px 0 8px; }
.cz-pop span i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.cz-pop a { display: inline-flex; align-items: center; min-height: 36px; font: 600 .9rem var(--f-titre); color: var(--rouge-txt); }
.cz-pop a:hover { color: var(--noir); }
@media (max-width: 1100px) { .cz { grid-template-columns: minmax(0, 1fr); } .cz-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cz-legend button span { display: none; } }
@media (max-width: 680px) { .cz-legend { grid-template-columns: minmax(0, 1fr); } .cz-legend button span { display: inline; } .cz-map { min-height: 400px; } }


/* ================= Contact ================= */
.ctp { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; }
.ctp img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.ctp-r img { box-shadow: 0 0 0 4px var(--rouge); } .ctp-y img { box-shadow: 0 0 0 4px var(--jaune); }
.ctp strong { display: block; font-family: var(--f-titre); font-size: 1.1rem; }
.ctp span { display: block; color: var(--encre-2); font-size: .9rem; }
.ctp p { display: flex; flex-wrap: wrap; gap: 0 16px; margin: 2px 0 0; }
.ctp p a { display: inline-flex; align-items: center; min-height: 36px; font-weight: 500; overflow-wrap: anywhere; }
.ctp p a:hover { color: var(--rouge-txt); }

/* A : trois accès + formulaire */
.ct-a { background: var(--papier); padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(48px, 6vw, 72px); }
.ct-a h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: .97; margin-bottom: 14px; }
.cta3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
.c3 { display: flex; flex-direction: column; gap: 6px; padding: clamp(22px, 2.6vw, 32px); border-radius: 26px; min-height: 200px; min-width: 0; transition: transform .3s var(--ease); }
.c3:hover { transform: translateY(-4px); }
.c3-k { font-family: var(--f-titre); font-weight: 600; font-size: 1rem; opacity: .85; margin-bottom: auto; }
.c3 strong { font-family: var(--f-titre); font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.1; overflow-wrap: anywhere; margin-top: 24px; }
.c3-s { font-size: .95rem; opacity: .8; }
.c3-r { background: var(--rouge); color: #fff; } .c3-y { background: var(--jaune); color: var(--noir); } .c3-b { background: var(--noir); color: #fff; }
.c3-r strong { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.ct-a2-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ct-team h2 { margin-bottom: 10px; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.ct-sub { color: var(--encre-2); margin-bottom: 28px; }
.ct-team .ctp { padding: 18px 0; border-top: 1px solid var(--ligne); }
.ct-social { border-top: 1px solid var(--ligne); padding-top: 18px; color: var(--encre-2); }
.ct-social a { color: var(--noir); font-weight: 600; }
.ct-social a:hover { color: var(--rouge-txt); }
.ct-a2 .contact-form { background: var(--papier); }
.ct-a2 .contact-form .input input, .ct-a2 .contact-form .input textarea, .ct-a2 .contact-form .input select { background-color: #fff; }
@media (max-width: 980px) { .cta3, .ct-a2-in { grid-template-columns: minmax(0, 1fr); } .c3 { min-height: 0; } }



/* ================= Estimation ================= */
/* Tuiles des types de bien (communes) */
.chips-type { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.chips-type span { display: flex; flex-direction: column; padding: 0; border-radius: 18px; overflow: hidden; background: #F8F7F3; box-shadow: inset 0 0 0 1.5px #E3E2DD; }
.chips-type img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.chips-type b { display: block; padding: 2px 8px 12px; text-align: center; font: 600 .98rem var(--f-titre); }
.chips-type label:hover img { transform: scale(1.05); }
.chips-type input:checked + span { background: var(--jaune); color: var(--noir); box-shadow: inset 0 0 0 2px var(--noir); }
.chips-type input:checked + span::after { content: ""; position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--rouge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: 0 0 0 3px #fff; }
.chips-type.invalid span { box-shadow: inset 0 0 0 2px var(--rouge-txt); }
.estim-form { border-radius: 24px; }
.es-av { display: inline-flex; flex: none; }
.es-av img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.es-av img + img { margin-left: -12px; }
.es-av .av-r { box-shadow: 0 0 0 3px var(--rouge); } .es-av .av-y { box-shadow: 0 0 0 3px var(--jaune); }
@media (max-width: 400px) { .chips-type { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* A : guidée */
.es-a { background: var(--papier); padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px); }
.es-a-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.es-a h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: .97; margin-bottom: 16px; }
.es-steps { list-style: none; margin: 36px 0 0; padding: 0; position: relative; }
.es-steps::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px; background: var(--ligne); }
.es-steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding-bottom: 26px; }
.es-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 1.05rem var(--f-titre); padding-top: .15em; position: relative; }
.esn-r { background: var(--rouge); color: #fff; } .esn-y { background: var(--jaune); } .esn-b { background: var(--noir); color: #fff; }
.es-steps h2 { font-size: 1.3rem; margin: 8px 0 4px; }
.es-steps p { color: var(--encre-2); }
.es-who { display: flex; align-items: center; gap: 16px; margin-top: 10px; padding-top: 24px; border-top: 1px solid var(--ligne); }
.es-who p { font-family: var(--f-titre); font-weight: 600; line-height: 1.3; }
.es-who p span { font-family: var(--f-texte); font-weight: 400; color: var(--encre-2); font-size: .92rem; }
.es-a-form { position: sticky; top: calc(var(--header-h) + 24px); }
.es-a .estim-form { box-shadow: 0 20px 60px rgba(17,17,17,.08); }
@media (max-width: 980px) {
  .es-a-in { display: flex; flex-direction: column; gap: 0; }
  .es-a-txt { display: contents; }
  .es-a h1 { order: 0; } .es-a .lead { order: 1; margin-bottom: 28px; }
  .es-a-form { position: static; order: 2; }
  .es-steps { order: 3; margin-top: 44px; } .es-who { order: 4; }
}

/* Section « Un prix juste » (commune) */
.es-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ew { border-radius: 26px; padding: clamp(24px, 3vw, 36px); min-height: 240px; display: flex; flex-direction: column; }
.ew span { font: 700 .95rem var(--f-titre); opacity: .7; margin-bottom: auto; }
.ew h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 28px 0 8px; color: inherit; }
.ew-r { background: var(--rouge); color: #fff; } .ew-y { background: var(--jaune); } .ew-b { background: var(--noir); color: #fff; }
.ew-r p, .ew-b p { color: rgba(255,255,255,.85); }
@media (max-width: 980px) { .es-why-grid { grid-template-columns: minmax(0, 1fr); } .ew { min-height: 0; } }


/* ================= Estimation : étape 2 et autocomplétion ================= */
.unit { position: relative; display: block; }
.unit input { width: 100%; padding-right: 48px; }
.unit i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 500; color: var(--encre-2); pointer-events: none; }
.q small { font-family: var(--f-texte); font-weight: 400; font-size: .85rem; color: var(--encre-2); margin-left: 6px; }
.chips-num { gap: 8px; }
.chips-num span { min-height: 44px; display: inline-flex; align-items: center; padding: .3em 16px .15em; }
.chips-desc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.chips-desc span { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 14px 16px; border-radius: 16px; }
.chips-desc b { font-family: var(--f-titre); font-weight: 600; font-size: 1rem; }
.chips-desc small { font-size: .85rem; color: var(--encre-2); line-height: 1.35; }
.chips-desc input:checked + span small { color: #CFCFCF; }
.chips input[type=checkbox]:checked + span { background: var(--jaune); color: var(--noir); box-shadow: inset 0 0 0 1.5px var(--noir); }
@media (max-width: 560px) { .chips-desc { grid-template-columns: minmax(0, 1fr); } }
/* Autocomplétion d'adresse */
.ac { position: relative; }
.ac > label > span { font-size: .9rem; font-weight: 500; color: var(--encre-2); }
.ac-list { position: absolute; z-index: 20; left: 0; top: calc(100% + 6px); min-width: 100%; width: max-content; max-width: min(460px, 90vw); list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 16px; box-shadow: 0 2px 6px rgba(17,17,17,.06), 0 14px 36px rgba(17,17,17,.14); }
.input-s .ac-list { left: auto; right: 0; }
.ac-list li { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 6px 14px; border-radius: 10px; cursor: pointer; line-height: 1.25; }
.ac-list li b { font-weight: 500; }
.ac-list li small { color: var(--encre-2); font-size: .85rem; }
.ac-list li[aria-selected="true"], .ac-list li:hover { background: var(--sable); }
.ac-list .ac-empty { color: var(--encre-2); cursor: default; }
.ac-list .ac-empty:hover { background: none; }


/* Cartes illustrées (état du bien) : même style que les types de bien */
.chips-img span { padding: 0 0 14px; background: #F8F7F3; box-shadow: inset 0 0 0 1.5px #E3E2DD; overflow: hidden; }
.chips-img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; mix-blend-mode: multiply; margin-bottom: 4px; transition: transform .5s var(--ease); }
.chips-img b, .chips-img small { padding: 0 14px; }
.chips-img label:hover img { transform: scale(1.05); }
.chips-img input:checked + span { background: var(--jaune); color: var(--noir); box-shadow: inset 0 0 0 2px var(--noir); }
.chips-img input:checked + span small { color: var(--noir); }
.chips-img input:checked + span::after { content: ""; position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--rouge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: 0 0 0 3px #fff; }
@media (max-width: 560px) { .chips-img { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .chips-img small { display: none; } .chips-img b { font-size: .85rem; padding: 0 8px; text-align: center; } .chips-img span { padding-bottom: 10px; } .chips-img input:checked + span::after { width: 22px; height: 22px; top: 6px; right: 6px; background-size: 13px; } }



/* Sans animation, les pastilles ne volent pas : elles passent sous l'en-tête comme le reste */
@media (prefers-reduced-motion: reduce) { .hero-stage { z-index: auto; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Le cadre des pastilles ne capte jamais les clics (il passe sous l'en-tête quand on défile) ;
   seules les pastilles au repos restent cliquables */
.hero-stage { pointer-events: none; }
.hero-stage .pst { pointer-events: auto; }
.hero-stage.flying .pst, .hero-stage.intro .pst { pointer-events: none; }

/* Prestations : les cartes ne dépassent jamais, même sur très petit écran */
.pc-stack { grid-template-columns: minmax(0, 1fr); }
.ps-card, .ps-body { min-width: 0; }
@media (max-width: 380px) { .ps-card .btn { width: 100%; padding-left: 12px; padding-right: 12px; font-size: .92rem; } }

/* Estimation : étapes plus courtes */
.estim-form .fs > .q:first-of-type, .estim-form .fs > .row:first-of-type { margin-top: 4px; }

/* En-tête : le numéro (League Spartan) aligné sur les liens du menu (Jost) */
.header-cta .tel { padding-top: .12em; }

/* ================= Visionneuse photo ================= */
.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0C0C0C; color: #fff; overflow: hidden; }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox::backdrop { background: rgba(12, 12, 12, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox[open] { animation: lbIn .3s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(16px, 3vw, 32px); }
.lb-title { margin: 0; min-width: 0; font: 600 1.05rem var(--f-titre); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-title span { margin-left: 14px; font-family: var(--f-texte); font-weight: 400; font-size: .95rem; color: #9A9A9A; }
.lb-close, .lb-nav { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border: 0; border-radius: 50%; cursor: pointer; color: #fff; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background-color .2s, transform .2s; }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close:hover { background: var(--rouge); }
.lb-nav:hover { background: #fff; color: var(--noir); }
.lb-nav:active { transform: scale(.94); }
.lb-stage { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: stretch; gap: 16px; padding: 0 clamp(12px, 2vw, 28px); min-height: 0; }
.lb-fig { margin: 0; min-height: 0; position: relative; }
.lb-stage > .lb-nav { align-self: center; }
.lb-fig img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; user-select: none; -webkit-user-drag: none; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lb-fig img.lb-in { animation: lbSlide .35s var(--ease); }
@keyframes lbSlide { from { opacity: 0; transform: translateX(var(--dx, 0)); } }
.lb-thumbs { display: flex; gap: 8px; padding: 14px clamp(16px, 3vw, 32px) 18px; overflow-x: auto; scrollbar-width: none; justify-content: safe center; }
.lb-th { flex: none; width: 84px; height: 56px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: pointer; background: #222; opacity: .45; transition: opacity .2s, box-shadow .2s; }
.lb-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-th:hover { opacity: .8; }
.lb-th[aria-current] { opacity: 1; box-shadow: 0 0 0 2px var(--noir), 0 0 0 4px var(--jaune); }
@media (prefers-reduced-motion: reduce) { .lightbox[open], .lb-fig img.lb-in { animation: none; } }
@media (max-width: 680px) {
  .lb-stage { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .lb-nav { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; background: rgba(12,12,12,.45); }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .lb-nav:active { transform: translateY(-50%) scale(.94); }
  .lb-fig img { border-radius: 0; }
  .lb-th { width: 64px; height: 44px; }
  .lb-title { font-size: .95rem; }
}
@media (max-height: 500px) { .lb-thumbs { display: none; } .lb-top { padding-top: 8px; padding-bottom: 8px; } .lightbox[open] { grid-template-rows: auto minmax(0, 1fr) 12px; } }

/* Fil d'Ariane : séparateurs centrés sur la ligne */
.crumbs { align-items: center; column-gap: 10px; }
.crumbs > span[aria-hidden] { color: #BDBCB6; font-weight: 300; }

/* ================= Fiche d'un bien (refonte) ================= */
.kf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kf li { display: flex; flex-direction: column; gap: 2px; padding: 20px; border-radius: 20px; background: var(--papier); box-shadow: inset 0 0 0 1px var(--ligne); min-width: 0; }
.kf svg, .pf svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kf svg { color: var(--rouge); margin-bottom: 10px; }
.kf strong { font: 700 clamp(1.4rem, 2.2vw, 1.9rem)/1.05 var(--f-titre); white-space: nowrap; }
.kf span { color: var(--encre-2); font-size: .92rem; }
.kf-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 14px 0 0; color: var(--encre-2); font-size: .95rem; }
.kf-meta span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--gris); margin: 0 14px 2px -10px; vertical-align: middle; }
.pf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pf li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--papier); font-weight: 500; min-width: 0; }
.pf svg { width: 22px; height: 22px; flex: none; color: var(--noir); }
.prose-fold { position: relative; }
.prose-fold.folded { max-height: 15.5em; overflow: hidden; }
.prose-fold.folded::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6em; background: linear-gradient(transparent, #fff); }
.fold-btn { margin-top: 10px; min-height: 44px; padding: .3em 20px 0; border: 0; border-radius: 999px; background: var(--sable); font: 600 .95rem var(--f-titre); color: var(--noir); cursor: pointer; transition: background-color .2s, color .2s; }
.fold-btn:hover { background: var(--noir); color: #fff; }
.situ-map { position: relative; height: 340px; border-radius: 20px; overflow: hidden; background: #F2F3F0; isolation: isolate; margin-bottom: 12px; }
.situ-map .maplibregl-ctrl-group { border-radius: 12px; overflow: hidden; }
.situ-map .maplibregl-ctrl-attrib { font-size: 10px; }
.aside-card { background: #fff; border-radius: 24px; padding: 26px; box-shadow: 0 2px 6px rgba(17,17,17,.04), 0 18px 50px rgba(17,17,17,.08); }
.aside-agent { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--ligne); }
.aside-agent img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--jaune); flex: none; }
.aside-agent p { margin: 0; line-height: 1.3; }
.aside-agent strong { display: block; font-family: var(--f-titre); font-size: 1.08rem; }
.aside-agent span { color: var(--encre-2); font-size: .9rem; }
.aside-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--ligne); margin-bottom: 18px; }
.aside-btns .btn { padding-left: 10px; padding-right: 10px; white-space: nowrap; }
.visit-form .input input, .visit-form .input textarea { background-color: var(--papier); }
.visit-form .row { grid-template-columns: minmax(0, 1fr); gap: 0; }
@media (max-width: 1100px) { .kf, .pf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kf li { padding: 16px; } .pf li { padding: 10px 12px; font-size: .92rem; } .situ-map { height: 260px; } }

/* Fiche : la colonne de contact tient dans l'écran (téléphone et e-mail côte à côte) */
.visit-form .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.visit-form h2 { margin-bottom: 10px; }
.visit-form .input { margin-bottom: 12px; }
.aside-sub { margin-bottom: 14px; }
@media (max-height: 820px) and (min-width: 981px) { .bien-aside { position: static; } }

/* ---------- Listes déroulantes (menu dessiné par js/cselect.js) ---------- */
.csel-menu { position: fixed; z-index: 1000; box-sizing: border-box; overflow-y: auto; overscroll-behavior: contain; padding: 6px; display: grid; gap: 2px;
  background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px rgba(17,17,17,.06), 0 16px 40px rgba(17,17,17,.14), 0 3px 8px rgba(17,17,17,.06);
  font-size: .97rem; line-height: 1.3; color: var(--noir); opacity: 0; transform: translateY(-4px); transition: opacity .14s, transform .18s cubic-bezier(.2,.7,.2,1); }
.csel-menu.is-up { transform: translateY(4px); }
.csel-menu.is-open { opacity: 1; transform: none; }
.csel-opt { position: relative; padding: 10px 40px 9px 12px; border-radius: 9px; cursor: pointer; user-select: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background-color .1s; }
.csel-opt.is-active { background: var(--sable); }
.csel-opt.is-sel { font-weight: 500; }
.csel-opt.is-sel::after { content: ""; position: absolute; right: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF1009' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.csel-opt.is-empty { color: var(--encre-2); }
.csel-opt.is-off { opacity: .4; cursor: default; }

/* Aucune bordure de focus, nulle part (demande du client) */
*, *:focus, *:focus-visible, *:focus-within { outline: none !important; }

/* Chiffres clés d'une fiche : le texte s'adapte à la largeur de la case (ex. « Appartement » tient sur une ligne) */
.kf li { container-type: inline-size; }
.kf strong { font-size: clamp(1rem, 14.5cqi, 1.9rem); }

.ps-btns { display: flex; flex-wrap: wrap; gap: 10px; }
