/* 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: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 10vw, 136px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
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-visible { outline: 3px solid var(--rouge); outline-offset: 3px; }

.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;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--f-titre); font-weight: 700; font-size: 1.02rem; letter-spacing: .01em;
  transition: background-color .2s, color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn .arr { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.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 { min-height: 44px; padding: 0 18px; 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); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--noir); border-radius: 50%; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .25s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu-mobile { position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; padding: 8px var(--gut) 28px; box-shadow: 0 12px 24px rgba(0,0,0,.08); display: grid; }
.menu-mobile[hidden] { display: none; }
.menu-mobile a { font-family: var(--f-titre); font-weight: 700; font-size: 1.6rem; padding: 10px 0; border-bottom: 1px solid var(--ligne); }
.menu-mobile .menu-tel { color: var(--rouge-txt); border: 0; }

/* ---------- 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: block; padding: 10px 16px; border-radius: 999px; font-weight: 500; font-size: .95rem; transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--noir); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--rouge); outline-offset: 1px; }
.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; font-size: 5.4cqw; font-weight: 500; transition: background-color .2s; }
.pst-g:hover { background: #959595; }
.pst-g span { display: block; transition: transform .25s var(--ease); }
.pst-g:hover span { transform: translateX(3px); }
.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: 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-g span,
.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: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #5E5E5E; font-weight: 500; padding-left: 12px; }
.filters select { background-color: #fff; border-radius: 999px; padding: 12px 36px 12px 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: 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-link:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; border-radius: var(--r); }
.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: .78rem; 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; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; counter-reset: s; }
.step { border-top: 1px solid #333; padding-top: 28px; }
.step-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-family: var(--f-titre); font-weight: 700; font-size: 1.4rem; margin-bottom: 26px; color: var(--noir); }
/* Les pastilles du logo, et sur fond foncé la noire passe en blanc */
.step:nth-child(1) .step-n { background: var(--rouge); color: #fff; width: 72px; height: 72px; }
.step:nth-child(2) .step-n { background: var(--gris); width: 44px; height: 44px; margin-top: 14px; }
.step:nth-child(3) .step-n { background: #fff; width: 56px; height: 56px; margin-top: 8px; }
.step:nth-child(4) .step-n { background: var(--jaune); width: 62px; height: 62px; margin-top: 5px; }
.step:nth-child(5) .step-n { background: var(--rouge); color: #fff; width: 72px; height: 72px; }
.step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.step p { color: #CFCFCF; font-size: 1rem; margin: 0; }
.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; }
.chips input:focus-visible + span { outline: 3px solid var(--rouge); outline-offset: 2px; }
.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 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; box-shadow: inset 0 0 0 2px var(--noir); background-color: #fff; }
.input .invalid, .chips.invalid span { box-shadow: inset 0 0 0 2px var(--rouge-txt); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.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); }
.promo-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 38vw, 520px); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) 24px;
  scroll-padding-inline: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  scrollbar-width: thin; scrollbar-color: var(--noir) var(--sable);
}
.promo { scroll-snap-align: start; }
.promo img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: var(--r); }
.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 { display: none; }
  .burger { display: block; }
  .header-cta { 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; 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); }
.btn-row, .more-row { display: flex; flex-wrap: wrap; gap: 12px; }
.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 img { transition: transform .6s var(--ease); }
a.promo:hover h3 { color: var(--rouge-txt); }

/* Bandeau d'appel à l'action */
.cta-band { background: var(--jaune); padding: clamp(48px, 7vw, 88px) 0; }
.cta-in { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.cta-band h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 1.12rem; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost:hover { background: var(--noir); }

/* 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); }

.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 12, 12, .96); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; }
.lightbox::backdrop { background: rgba(12, 12, 12, .9); }
.lb-fig { margin: 0; display: grid; place-items: center; gap: 12px; height: 100svh; padding: 64px 0 24px; min-width: 0; }
.lb-fig img { max-width: 100%; max-height: calc(100svh - 120px); object-fit: contain; border-radius: var(--r-s); }
.lb-fig figcaption { color: #BDBDBD; font-size: .95rem; }
.lb-nav, .lb-close { width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--noir); font-size: 1.4rem; cursor: pointer; justify-self: center; }
.lb-nav:hover, .lb-close:hover { background: var(--jaune); }
.lb-close { position: absolute; top: 14px; right: 14px; background: var(--rouge); color: #fff; font-size: 1.8rem; }

/* 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, .cta-in { 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; }
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
  .lb-fig { grid-column: 1 / -1; grid-row: 1; height: auto; padding: 72px 8px 8px; }
  .lb-prev { grid-row: 2; margin-bottom: 24px; } .lb-next { grid-row: 2; margin-bottom: 24px; }
  .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; }
}

.demo-note { display: flex; align-items: center; gap: 10px; background: var(--jaune); color: var(--noir); border-radius: var(--r-s); padding: 10px 14px; margin: 0 0 24px; font-size: .95rem; font-weight: 500; }
.demo-note .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--noir); flex: none; }


/* ================= Ambiances (essai) ================= */
.hero-bg, .pst-r-txt { display: none; }
.search { color: var(--noir); }
.theme-photo.home .site-header:not(.scrolled) .logo-svg .ld-b { fill: #fff; }
.theme-photo .hero-bg::before { content: ""; position: absolute; inset: 0 0 auto; height: 160px; z-index: 1; background: linear-gradient(rgba(17,17,17,.55), rgba(17,17,17,0)); }
.amb-switch { position: fixed; left: 16px; bottom: 16px; z-index: 45; display: flex; align-items: center; gap: 4px; background: var(--noir); color: #fff; padding: 6px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.25); font-size: .88rem; }
.amb-switch span { padding: 0 10px 0 12px; color: #A9A9A9; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
.amb-switch a { padding: 8px 14px; border-radius: 999px; font-weight: 500; transition: background-color .2s, color .2s; }
.amb-switch a:hover { background: #2a2a2a; }
.amb-switch a[aria-current] { background: var(--jaune); color: var(--noir); }
@media (max-width: 680px) { .amb-switch { bottom: 78px; left: 8px; right: 8px; justify-content: center; } .amb-switch span { display: none; } }

/* Bandeaux sombres partagés par « Nuit » et « Photo » : la charte, logo sur fond foncé */
.theme-nuit .page-hero, .theme-photo .page-hero,
.theme-nuit .contact-top, .theme-photo .contact-top { background: var(--noir); color: #fff; }
:is(.theme-nuit, .theme-photo) :is(.page-hero, .contact-top) .kicker { color: #BDBDBD; }
:is(.theme-nuit, .theme-photo) :is(.page-hero, .contact-top) .lead { color: #D2D2D2; }
:is(.theme-nuit, .theme-photo) .page-hero .ph-dots i:nth-child(3) { background: #fff; }
:is(.theme-nuit, .theme-photo) .page-hero .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
:is(.theme-nuit, .theme-photo) .page-hero .btn-ghost:hover { background: #fff; color: var(--noir); }
:is(.theme-nuit, .theme-photo) .chips-nav a { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px #4a4a4a; }
:is(.theme-nuit, .theme-photo) .chips-nav a:hover { background: #fff; color: var(--noir); }
:is(.theme-nuit, .theme-photo) .contact-top .big-tel { color: #fff; }
:is(.theme-nuit, .theme-photo) .contact-top .big-mail { color: var(--jaune); }
:is(.theme-nuit, .theme-photo) .contact-top .infos div { border-color: #2c2c2c; }
:is(.theme-nuit, .theme-photo) .contact-top .infos dt { color: #A9A9A9; }
:is(.theme-nuit, .theme-photo) .contact-top .infos a:hover { color: var(--jaune); }

/* A · Nuit : en-tête, hero et chiffres en noir */
.theme-nuit .site-header { background: rgba(17,17,17,.97); }
.theme-nuit .site-header.scrolled { box-shadow: 0 1px 0 #2a2a2a; }
.theme-nuit .logo-svg .lt, .theme-nuit .logo-svg .ld-b { fill: #fff; }
.theme-nuit .nav a, .theme-nuit .tel { color: #fff; }
.theme-nuit .nav a:hover, .theme-nuit .nav a.active, .theme-nuit .tel:hover { color: var(--jaune); }
.theme-nuit .burger { background: #fff; } .theme-nuit .burger span { background: var(--noir); }
.theme-nuit .menu-mobile { background: var(--noir); } .theme-nuit .menu-mobile a { color: #fff; border-color: #2a2a2a; }
.theme-nuit .menu-mobile .menu-tel { color: var(--jaune); }
.theme-nuit .hero, .theme-nuit .facts { background: var(--noir); color: #fff; }
.theme-nuit .hero .kicker { color: #BDBDBD; }
.theme-nuit .hero .lead { color: #D2D2D2; }
.theme-nuit .pst-b { background: #fff; color: var(--noir); }
.theme-nuit .hero-caption { color: #fff; }
.theme-nuit .search { box-shadow: none; }
.theme-nuit .facts { border-top: 1px solid #2a2a2a; }
.theme-nuit .fact span { color: #BDBDBD; }
.theme-nuit .fact-quote .q { color: #fff; }
.theme-nuit .fact:nth-child(4) { border-color: #fff; }
.theme-nuit .bien-top { background: var(--noir); color: #fff; padding-bottom: 40px; }
.theme-nuit .crumbs { color: #A9A9A9; } .theme-nuit .crumbs a { color: #fff; } .theme-nuit .crumbs a:hover { color: var(--jaune); }
.theme-nuit .bien-loc { color: #BDBDBD; } .theme-nuit .specs-line { color: #D2D2D2; }
.theme-nuit .mo-all { background: var(--jaune); }

/* B · Photo : le bien à la une en plein écran, le titre posé dessus */
.theme-photo .hero { background: var(--noir); color: #fff; overflow: hidden; min-height: 100svh; display: grid; align-items: center; }
.theme-photo .hero-bg { display: block; position: absolute; inset: 0; z-index: 0; }
.theme-photo .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.theme-photo .hero-bg img.fade { animation: bgfade 1.2s var(--ease) both; }
@keyframes bgfade { from { opacity: 0; transform: scale(1.03); } }
/* voile sombre pour que le texte reste lisible sur n'importe quelle photo */
.theme-photo .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,17,17,.86) 0%, rgba(17,17,17,.62) 48%, rgba(17,17,17,.25) 100%); }
.theme-photo .hero-in { position: relative; z-index: 1; width: 100%; }
.theme-photo .hero .kicker { color: #D2D2D2; }
.theme-photo .hero .lead { color: #E6E6E6; }
.theme-photo.home .site-header:not(.scrolled) { background: transparent; }
.theme-photo.home .site-header:not(.scrolled) .logo-svg .lt { fill: #fff; }
.theme-photo.home .site-header:not(.scrolled) :is(.nav a, .tel) { color: #fff; }
.theme-photo.home .site-header:not(.scrolled) :is(.nav a:hover, .tel:hover) { color: var(--jaune); }
.theme-photo.home .site-header:not(.scrolled) .burger { background: #fff; }
.theme-photo.home .site-header:not(.scrolled) .burger span { background: var(--noir); }
.theme-photo .pst-photos { display: none; }
.theme-photo .pst-r-txt { display: block; color: #fff; font-size: 4.4cqw; padding: 0 14%; }
.theme-photo .pst-r-txt small { display: block; font-size: 2.6cqw; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6em; }
.theme-photo .hero-caption { display: none; }
.theme-photo .pst-b { background: #fff; color: var(--noir); }
.theme-photo .search { box-shadow: none; }

/* C · Couleurs : fond sable, bandes de couleur franches, le blanc réservé aux cartes */
.theme-couleurs { background: var(--sable); }
.theme-couleurs .hero, .theme-couleurs .page-hero, .theme-couleurs .contact-top, .theme-couleurs .faq, .theme-couleurs .calc-sec, .theme-couleurs .prestations { background: var(--sable); }
.theme-couleurs .site-header { background: rgba(241,240,236,.97); }
.theme-couleurs .facts { background: var(--noir); color: #fff; }
.theme-couleurs .fact span { color: #BDBDBD; } .theme-couleurs .fact-quote .q { color: #fff; } .theme-couleurs .fact:nth-child(4) { border-color: #fff; }
.theme-couleurs .biens { background: #fff; }
.theme-couleurs .split-sell { background: var(--jaune); }
.theme-couleurs .split-sell .kicker { color: var(--noir); } .theme-couleurs .split-sell .kicker .dot { background: var(--noir); }
.theme-couleurs .split-sell .split-txt > p, .theme-couleurs .split-sell .checks li { color: var(--noir); }
.theme-couleurs .split-sell .checks li::before { background: var(--noir); }
.theme-couleurs .promos { background: var(--noir); color: #fff; }
.theme-couleurs .promos .kicker { color: #BDBDBD; } .theme-couleurs .promos .sec-lead, .theme-couleurs .promo-txt p { color: #CFCFCF; }
.theme-couleurs .promo-track { scrollbar-color: #fff #2a2a2a; }
.theme-couleurs .avis { background: var(--rouge); }
.theme-couleurs .avis .kicker { color: #fff; font-weight: 700; } .theme-couleurs .avis .kicker .dot { background: #fff; }
.theme-couleurs .avis h2 { color: #fff; }
.theme-couleurs .presta-bloc { background: var(--sable); } .theme-couleurs .presta-bloc.inv { background: #fff; }
.theme-couleurs .agence, .theme-couleurs .region { background: #fff; }
.theme-couleurs .valeurs { background: var(--noir); }
.theme-couleurs .valeurs .kicker { color: #BDBDBD; } .theme-couleurs .valeurs h2 { color: #fff; }
.theme-couleurs .bien-top, .theme-couleurs .bien-body { background: #fff; }
.theme-couleurs .aside-card { background: var(--jaune); }
.theme-couleurs .cta-band { background: var(--noir); color: #fff; }
.theme-couleurs .cta-band .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.theme-couleurs .cta-band .btn-ghost:hover { background: #fff; color: var(--noir); }
.theme-couleurs .cta-band .mini-dots i:nth-child(3) { background: #fff; }

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