/* CISA Immobilier — feuille de style unique
   Palette « Halatte » : papier vert-gris, encre forêt, bleu CISA pour les actions. */
:root {
  --paper: #F3F5F4;
  --paper-2: #E8EDEA;
  --surface: #FFFFFF;
  --ink: #14231F;
  --ink-2: #4B5B56;
  --ink-3: #6F7D78;
  --line: #D5DDD9;
  --blue: #0A74B0;
  --cisa-blue: #0192D3;
  --orange: #ED7B18;
  --blue-ink: #075A89;
  --blue-wash: #E3F0F7;
  --forest: #23392F;
  --forest-2: #2F4A3F;
  --ok: #2D6A4F;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-img: 4px;
  --r-ctl: 6px;
  --r-panel: 14px;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(36px, 5.2vw, 64px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 22px; line-height: 1.25; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 760px; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Bandeau aperçu */
.demo-bar { background: var(--forest); color: #E9F0EC; font-size: 13px; padding: 7px var(--gut); text-align: center; }

/* En-tête */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(243,245,244,.94); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; color: var(--ink); }
.brand-mark { font-family: var(--serif); font-size: 30px; letter-spacing: .02em; line-height: 1; }
.brand-sub { font-size: 13px; color: var(--ink-3); }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); color: var(--ink); }
.head-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 8px 12px; font: inherit; color: var(--ink); }
@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .nav, .head-cta { display: none; }
  .site-head.open .nav { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 16px; }
  .site-head.open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 15px/1 var(--sans); padding: 13px 20px; border-radius: var(--r-ctl); border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-quiet { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 9px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.link-more { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--forest); color: #E9F0EC; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 8px 0 0; color: var(--ink-2); max-width: 60ch; }

/* Fil d'Ariane */
.crumbs { font-size: 14px; color: var(--ink-3); padding-top: 20px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-2); text-decoration: none; }

/* Accueil — héros */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: end; }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 300; line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 24px; }
.hero .lede { margin-bottom: 32px; }
.hero-search { grid-column: 1 / -1; margin-top: 8px; }
.hero-photo { position: relative; aspect-ratio: 5 / 5; border-radius: var(--r-img); overflow: hidden; background: var(--paper-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag { position: absolute; left: 16px; bottom: 16px; right: 16px; background: var(--surface); border-radius: var(--r-ctl); padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); }
.hero-tag strong { font-size: 18px; }
.hero-tag span { font-size: 14px; color: var(--ink-2); }
.hero-tag .go { white-space: nowrap; color: var(--blue-ink); font-weight: 500; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-photo { aspect-ratio: 4 / 3; } .hero-search { grid-row: 2; } }

/* Recherche */
.search { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 8px; display: grid; grid-template-columns: auto 1.4fr 1fr 1fr auto; gap: 4px; align-items: stretch; }
.search .seg { display: flex; background: var(--paper); border-radius: var(--r-ctl); padding: 3px; }
.search .seg label { display: flex; }
.search .seg input { position: absolute; opacity: 0; pointer-events: none; }
.search .seg span { padding: 10px 14px; border-radius: 4px; font-size: 14px; cursor: pointer; color: var(--ink-2); }
.search .seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.search .seg input:focus-visible + span { outline: 2px solid var(--blue); }
.field-s { display: flex; flex-direction: column; justify-content: center; padding: 4px 12px; border-left: 1px solid var(--line); }
.field-s label { font-size: 12px; color: var(--ink-3); }
.field-s select, .field-s input { border: 0; background: transparent; font: 500 15px var(--sans); color: var(--ink); padding: 2px 0; width: 100%; }
.field-s select:focus, .field-s input:focus { outline: none; }
.field-s:focus-within { box-shadow: inset 0 -2px 0 var(--blue); }
@media (max-width: 860px) { .search { grid-template-columns: 1fr 1fr; } .search .seg { grid-column: 1 / -1; } .field-s { border-left: 0; border-top: 1px solid var(--line); } .search .btn { grid-column: 1 / -1; } }

/* Avis */
.ratings { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rating { padding: 22px 0; display: flex; gap: 16px; align-items: baseline; text-decoration: none; color: var(--ink); }
.rating + .rating { border-left: 1px solid var(--line); padding-left: 24px; }
.rating b { font-family: var(--serif); font-size: 34px; font-weight: 400; }
.rating span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 720px) { .rating { flex-direction: column; gap: 2px; padding: 16px 0; } .rating + .rating { padding-left: 14px; } .rating b { font-size: 28px; } .rating span { font-size: 12.5px; } }

/* Grille d'annonces */
.grid-biens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
@media (max-width: 980px) { .grid-biens { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-biens { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-img); overflow: hidden; background: var(--paper-2); margin-bottom: 14px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--surface); color: var(--ink); font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; }
.badge-vv { left: auto; right: 12px; background: var(--ink); color: #fff; }
.card-price { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.card-price small { font-size: 14px; font-weight: 400; color: var(--ink-2); }
.card-title { font-size: 15.5px; margin: 2px 0 4px; }
.card-meta { font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.card-city { font-size: 14px; color: var(--ink-3); margin-top: 6px; }

/* Filtres liste */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); margin-bottom: 32px; }
.filters .f { display: flex; flex-direction: column; gap: 4px; min-width: 150px; flex: 1; }
.filters label { font-size: 13px; color: var(--ink-3); }
.count-line { font-size: 15px; color: var(--ink-2); margin: -12px 0 24px; }
.empty { padding: 40px; border: 1px dashed var(--line); border-radius: var(--r-panel); text-align: center; background: var(--surface); }
.empty h3 { margin-bottom: 8px; }

/* Formulaires */
input, select, textarea { font: 400 15px var(--sans); color: var(--ink); }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.fl { display: flex; flex-direction: column; gap: 6px; }
.fl > span { font-size: 14px; color: var(--ink-2); }
.fl input, .fl select, .fl textarea, .filters input, .filters select { width: 100%; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-ctl); }
.fl textarea { min-height: 110px; resize: vertical; }
.fl input:focus, .fl select:focus, .fl textarea:focus, .filters input:focus, .filters select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-wash); }
.check { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-2); align-items: flex-start; }
.check input { margin-top: 3px; accent-color: var(--blue); }
.form-note { font-size: 13px; color: var(--ink-3); margin: 0; }
.form-ok { padding: 18px; border-radius: var(--r-ctl); background: #E7F2EC; color: var(--ok); }
.form-err { padding: 12px 14px; border-radius: var(--r-ctl); background: #FBECEA; color: #8A2C1F; font-size: 14px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(20px, 3vw, 32px); }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
legend { font-family: var(--serif); font-size: 22px; margin-bottom: 6px; padding: 0; }

/* Estimation (bloc accueil) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.steps { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: s; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--orange); }
.steps b { display: block; font-weight: 600; margin-bottom: 2px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; }
.section-dark .steps p { color: #C9D6CF; }
.section-dark .steps li::before { color: #F4A15A; }

/* Communes — élément signature */
.communes-band { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.communes-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 56px; }
.communes-list li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.communes-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; text-decoration: none; color: var(--ink); }
.communes-list .cn { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; }
.communes-list .cm { font-size: 13.5px; color: var(--ink-3); white-space: nowrap; }
.communes-list a:hover .cn { color: var(--blue-ink); }
@media (max-width: 720px) { .communes-list { columns: 1; } }

/* Vendus */
.grid-vendus { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .grid-vendus { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-vendus { grid-template-columns: 1fr; } }
.sold { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-img); padding: 20px; display: flex; flex-direction: column; gap: 4px; min-height: 180px; }
.sold-delai { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--forest); }
.sold-delai small { font-family: var(--sans); font-size: 14px; color: var(--ink-2); margin-left: 4px; }
.sold-what { margin-top: auto; font-weight: 500; }
.sold-where { font-size: 14px; color: var(--ink-2); }
.sold-flag { align-self: flex-start; font-size: 12px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; margin-bottom: 8px; }

/* Agences */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
.agence h3 { margin-bottom: 6px; }
.agence address { font-style: normal; color: var(--ink-2); margin-bottom: 12px; }
.agence .tel { font-size: 20px; font-weight: 600; text-decoration: none; color: var(--ink); }
.hours { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 14px; }
.hours td { padding: 6px 0; border-top: 1px solid var(--line); }
.hours td + td { text-align: right; color: var(--ink-2); }

/* Blog */
.post { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 2px solid var(--ink); text-decoration: none; color: var(--ink); }
.post h3 { font-size: 24px; margin: 4px 0; }
.post p { color: var(--ink-2); font-size: 15px; margin: 0; }
.post-meta { font-size: 13.5px; color: var(--ink-3); }
.article { max-width: 720px; }
.article h2 { font-size: 30px; margin-top: 1.6em; }
.article p, .article li { font-family: var(--serif); font-size: 20px; line-height: 1.65; }
.article .figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; font-family: var(--sans); }
.article .figures div { border-top: 1px solid var(--ink); padding-top: 10px; }
.article .figures b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 400; }
.article .figures span { font-size: 14px; color: var(--ink-2); }
.notice { font-size: 14px; background: var(--paper-2); border-radius: var(--r-ctl); padding: 12px 16px; color: var(--ink-2); }

/* Bloc ville : note + FAQ (bas de page) */
.ville-bloc { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); }
@media (max-width: 900px) { .ville-bloc { grid-template-columns: 1fr; } }
.ville-note p { font-family: var(--serif); font-size: 19px; line-height: 1.65; color: var(--ink); }
.reperes { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.reperes div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.reperes div:nth-child(odd) { padding-right: 16px; }
.reperes dt { font-size: 13px; color: var(--ink-3); }
.reperes dd { margin: 0; font-weight: 500; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 500; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 300; color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding: 0 40px 18px 0; margin: 0; }

/* Fiche bien */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(300px, 46vw, 540px); margin: 20px 0 32px; }
.gallery button { padding: 0; border: 0; border-radius: var(--r-img); overflow: hidden; cursor: zoom-in; background: var(--paper-2); position: relative; }
.gallery button:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .more { position: absolute; right: 12px; bottom: 12px; background: var(--surface); color: var(--ink); font: 500 14px var(--sans); padding: 8px 12px; border-radius: var(--r-ctl); }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 420px; } .gallery button:first-child { grid-column: 1 / 3; grid-row: 1; } .gallery button:nth-child(n+4) { display: none; } }
.fiche-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 980px) { .fiche-grid { grid-template-columns: 1fr; } }
.fiche-head .type { color: var(--ink-2); font-size: 15px; margin-bottom: 6px; }
.fiche-head h1 { font-size: clamp(32px, 4vw, 48px); }
.fiche-price { font-size: 32px; font-weight: 600; letter-spacing: -0.01em; margin: 8px 0 4px; }
.facts { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 24px 0; }
.facts div { padding: 14px 22px 14px 0; margin-right: 22px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 400; line-height: 1.1; }
.facts span { font-size: 13px; color: var(--ink-3); }
.vv { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; background: var(--forest); color: #E9F0EC; border-radius: var(--r-panel); padding: 22px 24px; margin: 8px 0 36px; }
.vv h2 { color: #fff; font-size: 26px; margin: 0 0 4px; }
.vv p { margin: 0; color: #C9D6CF; font-size: 15px; }
.vv .btn-primary { background: #fff; color: var(--forest); }
.vv .btn-primary:hover { background: #E3F0F7; color: var(--forest); }
@media (max-width: 560px) { .vv { grid-template-columns: 1fr; } }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.specs th { color: var(--ink-2); font-weight: 400; width: 45%; }
.energy { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 8px 0 0; }
@media (max-width: 560px) { .energy { grid-template-columns: 1fr; } }
.scale { display: flex; gap: 3px; margin: 8px 0; }
.scale span { flex: 1; text-align: center; font-size: 13px; font-weight: 600; padding: 6px 0; color: rgba(0,0,0,.55); border-radius: 3px; }
.scale span.on { transform: scaleY(1.25); color: #000; box-shadow: 0 0 0 2px var(--ink); }
.dpe-A{background:#009C6D}.dpe-B{background:#52B153}.dpe-C{background:#A5CC74}.dpe-D{background:#F4E70F}.dpe-E{background:#F0B40F}.dpe-F{background:#EB8235}.dpe-G{background:#D7221F}
.ges-A{background:#A4DBF8}.ges-B{background:#8CB4D3}.ges-C{background:#7792B1}.ges-D{background:#606F8F}.ges-E{background:#4D5271}.ges-F{background:#393551}.ges-G{background:#281B35}
.ges-E.on,.ges-F.on,.ges-G.on,.ges-D.on{color:#fff}
.aside { position: sticky; top: 92px; display: grid; gap: 16px; }
.agent { display: flex; gap: 14px; align-items: center; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-family: var(--serif); font-size: 20px; color: var(--forest); flex: none; }
.agent b { display: block; }
.agent span { font-size: 14px; color: var(--ink-2); }
.legal { font-size: 13.5px; color: var(--ink-3); }

/* Lightbox / modale */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(12, 20, 17, .92); display: none; align-items: center; justify-content: center; padding: 56px 16px 16px; }
.modal.open { display: flex; }
.modal img { max-height: 84vh; width: auto; border-radius: var(--r-img); }
.modal iframe { width: min(1100px, 100%); height: min(70vh, 640px); border: 0; border-radius: var(--r-img); background: #000; }
.modal-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font: 400 32px/1 var(--sans); cursor: pointer; padding: 8px; }
.modal-nav { position: absolute; top: 50%; background: rgba(255,255,255,.12); border: 0; color: #fff; font-size: 28px; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.modal-prev { left: 16px; } .modal-next { right: 16px; }

/* Page intro */
.page-intro { padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); }
.page-intro .lede { margin-top: 8px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 32px; }
.kpis div { padding: 16px 16px 0 0; }
.kpis b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.1; }
.kpis span { font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 720px) { .kpis { grid-template-columns: 1fr 1fr; row-gap: 12px; } }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
.member { border-top: 1px solid var(--line); padding-top: 16px; }
.member b { display: block; font-size: 17px; }
.member span { display: block; font-size: 14px; color: var(--ink-2); }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .cols-2 { grid-template-columns: 1fr; } }
.index-communes { columns: 4; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.index-communes li { padding: 6px 0; break-inside: avoid; border-bottom: 1px solid var(--line); font-size: 15px; }
@media (max-width: 900px) { .index-communes { columns: 2; } }
.map { width: 100%; height: 280px; border: 0; border-radius: var(--r-img); background: var(--paper-2); }
.prose { max-width: 720px; }
.prose h2 { font-size: 28px; margin-top: 1.4em; }

/* Pied de page */
.site-foot { background: var(--forest); color: #C9D6CF; padding: 64px 0 32px; margin-top: 0; font-size: 14.5px; }
.site-foot a { color: #E9F0EC; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.site-foot h4 { color: #fff; font: 500 15px var(--sans); margin: 0 0 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-brand { font-family: var(--serif); font-size: 34px; color: #fff; line-height: 1; margin-bottom: 12px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* Chatbot */
.cb-launch { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px 12px 14px; font: 500 15px var(--sans); cursor: pointer; box-shadow: 0 8px 24px rgba(20,35,31,.25); }
.cb-launch .dot { width: 9px; height: 9px; border-radius: 50%; background: #5BD08A; box-shadow: 0 0 0 3px rgba(91,208,138,.25); }
.cb-teaser { position: fixed; right: 20px; bottom: 78px; z-index: 70; width: min(340px, calc(100vw - 40px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 16px; box-shadow: 0 16px 40px rgba(20,35,31,.18); display: none; }
.cb-teaser.show { display: block; animation: cbIn .28s ease-out; }
.cb-teaser p { margin: 0 24px 12px 0; font-size: 15px; }
.cb-teaser .x { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 20px; color: var(--ink-3); cursor: pointer; }
.cb-panel { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100vh - 40px)); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(20,35,31,.25); display: none; flex-direction: column; overflow: hidden; }
.cb-panel.open { display: flex; animation: cbIn .25s ease-out; }
@keyframes cbIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cb-head { padding: 16px 18px; background: var(--forest); color: #fff; display: flex; align-items: center; gap: 12px; }
.cb-head .avatar { width: 38px; height: 38px; font-size: 16px; background: #E9F0EC; }
.cb-head b { display: block; font-size: 15px; }
.cb-head span { font-size: 12.5px; color: #C9D6CF; }
.cb-head button { margin-left: auto; background: none; border: 0; color: #fff; font-size: 24px; cursor: pointer; }
.cb-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.cb-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; }
.cb-bot { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.cb-me { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.cb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cb-chip { background: var(--surface); border: 1px solid var(--blue); color: var(--blue-ink); border-radius: 999px; padding: 7px 12px; font: 500 14px var(--sans); cursor: pointer; }
.cb-chip:hover { background: var(--blue-wash); }
.cb-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.cb-input input { flex: 1; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); }
.cb-input button { background: var(--blue); color: #fff; border: 0; border-radius: var(--r-ctl); padding: 0 14px; font: 500 14px var(--sans); cursor: pointer; }
.cb-typing { align-self: flex-start; color: var(--ink-3); font-size: 13px; }
@media (max-width: 520px) { .cb-launch .lbl { display: none; } .cb-launch { padding: 14px; } .cb-panel { right: 12px; bottom: 12px; } }
@media print { .site-head, .cb-launch, .cb-panel, .cb-teaser, .site-foot, .demo-bar { display: none; } }

/* V1.1 — logo, photos */
.brand img { height: 52px; width: auto; display: block; }
.foot-logo { height: 54px; width: auto; margin-bottom: 14px; }
.badge::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-right: 6px; vertical-align: middle; }
.badge-vv::before { background: var(--cisa-blue); }
.agence-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-img); background: var(--paper-2); margin-bottom: 16px; }
.stock { margin: 32px 0 0; }
.stock img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-img); background: var(--paper-2); }
.stock-wide img { aspect-ratio: 21 / 8; }
.communes-band .stock { margin: 0 0 48px; }
.stock figcaption { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.stock figcaption a { color: inherit; }
@media (max-width: 720px) { .stock-wide img { aspect-ratio: 4 / 3; } }
img.avatar { object-fit: cover; padding: 0; }
.member-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-img); background: var(--paper-2); margin-bottom: 12px; display: block; }
.member-ph { display: grid; place-items: center; font-family: var(--serif); font-size: 44px; color: var(--forest); }
.member { border-top: 0; padding-top: 0; }
.faq-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.faq details p a { font-weight: 500; white-space: nowrap; }
@media (max-width: 900px) { .team[style] { grid-template-columns: repeat(2, 1fr) !important; } }

/* V1.2 — biens vendus réels */
.grid-vendus { gap: 32px 24px; grid-template-columns: repeat(4, 1fr); }
.grid-vendus.grid-2 { grid-template-columns: repeat(2, 1fr); }
.sold { background: transparent; border: 0; padding: 0; min-height: 0; gap: 0; }
.sold[hidden] { display: none; }
.sold-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-img); overflow: hidden; background: var(--paper-2); margin-bottom: 12px; }
.sold-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.sold-noimg { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--serif); font-size: 22px; color: var(--ink-3); padding: 12px; text-align: center; }
.badge-sold { background: var(--forest); color: #fff; }
.badge-sold::before { background: var(--orange); }
.sold-body { display: flex; flex-direction: column; gap: 3px; }
.sold-what { font-weight: 500; font-size: 15px; margin: 0; }
.sold-where { font-size: 14px; color: var(--ink-2); }
.sold-price { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.prix-flou { font-weight: 600; font-size: 18px; filter: blur(6px); user-select: none; color: var(--ink); }
.link-btn { background: none; border: 0; padding: 0; font: 500 14px var(--sans); color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--blue); }
.sold-agent { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.avatar.avatar-xs { width: 26px; height: 26px; font-size: 11px; }
.more-line { text-align: center; margin-top: 32px; }
.member-ventes { font-size: 13.5px; margin-top: 4px; }
@media (max-width: 980px) { .grid-vendus { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid-vendus, .grid-vendus.grid-2 { grid-template-columns: 1fr 1fr; gap: 24px 14px; } .prix-flou { font-size: 15px; } }
.member-photo, .agence-photo, .stock img, .sold-img img, .card-img img { height: auto; }
.sold-img img, .card-img img { height: 100%; }

/* V1.3 — refonte inspirée des maquettes immobilières (cartes, pictos, héros immersif) */
:root { --r-card: 16px; --shadow-1: 0 1px 2px rgba(20,35,31,.06), 0 8px 24px rgba(20,35,31,.06); --shadow-2: 0 2px 4px rgba(20,35,31,.06), 0 16px 40px rgba(20,35,31,.12); }
.btn { border-radius: 10px; }
svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Héros */
.hero2 { padding: 20px 0 0; }
.hero-media { position: relative; border-radius: 24px; overflow: hidden; height: clamp(440px, 62vh, 620px); background: var(--forest); }
.hero-media > img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,26,22,.78) 0%, rgba(14,26,22,.45) 45%, rgba(14,26,22,0) 75%); pointer-events: none; }
.hero-copy { position: absolute; z-index: 1; left: clamp(24px, 5vw, 64px); bottom: clamp(88px, 12vh, 120px); max-width: 640px; color: #fff; }
.hero-copy h1 { color: #fff; font-weight: 300; font-size: clamp(36px, 5.2vw, 68px); line-height: 1.03; letter-spacing: -0.02em; margin-bottom: 18px; }
.hero-copy p { font-size: 18px; color: rgba(255,255,255,.88); max-width: 50ch; margin-bottom: 24px; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blue-wash); color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero-chip { position: absolute; z-index: 1; top: 20px; right: 20px; background: rgba(255,255,255,.95); border-radius: 14px; padding: 12px 16px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; box-shadow: var(--shadow-1); }
.hero-chip b { font-size: 18px; }
.hero-chip span { font-size: 13.5px; color: var(--ink-2); }
.hero2 .hero-search { position: relative; z-index: 2; margin: -52px auto 0; width: min(1040px, calc(100% - 32px)); box-shadow: var(--shadow-2); border-radius: 18px; padding: 10px; }
@media (max-width: 860px) {
  .hero-media { height: 560px; border-radius: 18px; }
  .hero-media::after { background: linear-gradient(0deg, rgba(14,26,22,.85) 10%, rgba(14,26,22,.35) 60%, rgba(14,26,22,.1) 100%); }
  .hero-copy { bottom: 84px; right: 24px; }
  .hero2 .hero-search { width: calc(100% - 16px); }
}

/* Chiffres clés */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; display: flex; flex-direction: column; gap: 2px; }
.why b { font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.15; margin-top: 10px; }
.why span:last-child { font-size: 14px; color: var(--ink-2); }
.why-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--blue-wash); color: var(--blue-ink); display: grid; place-items: center; }
.why-ico svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }

/* Puces de filtre */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 24px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 16px; font: 500 14px var(--sans); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Cartes de biens */
.grid-biens { gap: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card-img { border-radius: 0; margin: 0; }
.card-type { position: absolute; left: 12px; bottom: 12px; background: rgba(20,35,31,.78); color: #fff; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.card-price { color: var(--blue-ink); font-size: 22px; }
.card-title { font-weight: 500; margin: 0; }
.card-loc { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); }
.card-loc svg { width: 16px; height: 16px; color: var(--orange); }
.card-specs { display: flex; flex-wrap: wrap; gap: 6px 16px; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 12px; font-size: 13.5px; color: var(--ink-2); }
.card-specs span { display: inline-flex; align-items: center; gap: 6px; }
.card-specs svg { width: 17px; height: 17px; color: var(--ink-3); }

/* Cartes vendus */
.sold { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.sold-img { border-radius: 0; margin: 0; }
.sold-body { padding: 14px 16px 16px; }
.sold-body .card-specs { margin-top: 8px; padding-top: 10px; }
.sold-price { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 10px; }

/* Avis */
.reviews { gap: 20px; }
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-1); }
.review-head { display: flex; gap: 14px; align-items: center; }
.review-head img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.review-head b { display: block; }
.review-rating { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.stars { display: inline-flex; gap: 1px; color: #D7DCD9; }
.stars i { display: inline-flex; }
.stars svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.stars i.on { color: #F2A33A; }
.review-body { flex: 1; }
.review-body blockquote { margin: 0 0 14px; font-family: var(--serif); font-size: 18px; line-height: 1.55; color: var(--ink); }
.review-author { display: flex; gap: 10px; align-items: center; }
.review-author img, .ra-ini { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--blue-wash); color: var(--blue-ink); display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.review-author b { display: block; font-size: 14.5px; }
.review-author span { font-size: 13px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }

/* Panneaux et équipe */
.panel { border-radius: 18px; box-shadow: var(--shadow-1); }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px 12px 16px; }
.member-photo { border-radius: 12px; }
.agence-photo, .stock img { border-radius: var(--r-card); }
.filters { border-radius: 18px; box-shadow: var(--shadow-1); }
.hero-copy h1 { font-size: clamp(34px, 4.4vw, 58px); }
.section-dark .panel a { color: var(--blue-ink); }
.why-wrap { padding-bottom: 0; }
@media (max-width: 860px) { .hero-chip { display: none; } }

/* V1.4 — cartes chiffres en photo, dernière annonce, communes */
.why2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card { position: relative; display: block; height: 230px; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); text-decoration: none; color: #1E2A44; box-shadow: var(--shadow-1); transition: transform .25s ease, box-shadow .25s ease; }
.why-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); color: #1E2A44; }
.why-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 42%, rgba(255,255,255,.15) 78%, rgba(255,255,255,0) 100%); }
.why-txt { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 2px; }
.why-txt b { font: 700 clamp(30px, 3vw, 42px)/1.05 var(--sans); letter-spacing: -0.02em; }
.why-txt > span { font-size: 17px; line-height: 1.35; }
.why-txt strong { font-weight: 700; }
@media (max-width: 1000px) { .why2 { grid-template-columns: 1fr 1fr; } .why-card { height: 190px; } }
@media (max-width: 520px) { .why-card { height: 170px; } .why-txt > span { font-size: 15px; } }

.hero-chip { display: flex; flex-direction: row; gap: 12px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 16px; max-width: 360px; transition: transform .2s ease, box-shadow .2s ease; }
.hero-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.hero-chip img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; }
.hc-txt { display: flex; flex-direction: column; gap: 1px; }
.hc-txt small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--orange); }
.hc-txt b { font-size: 19px; }
.hc-txt > span { font-size: 13.5px; color: var(--ink-2); }
.hc-txt em { font-style: normal; font-weight: 600; font-size: 13.5px; color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; margin-top: 2px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(237,123,24,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(237,123,24,.55); } 70% { box-shadow: 0 0 0 8px rgba(237,123,24,0); } 100% { box-shadow: 0 0 0 0 rgba(237,123,24,0); } }
@media (max-width: 860px) {
  .hero-chip { display: flex; top: 14px; left: 14px; right: 14px; max-width: none; }
  .hero-chip img { width: 60px; height: 60px; }
  .hero-copy { bottom: 84px; }
  .hero-copy h1 { font-size: 32px; }
  .hero-copy p { font-size: 16px; }
}

.communes-list .cv { display: block; font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.communes-list .cm { align-self: center; }
@media (max-width: 860px) { .hero-media { height: 620px; } .hero-copy { bottom: 80px; } }
@media (max-width: 520px) { .why-txt b { font-size: 26px; } .why-txt { left: 14px; right: 10px; bottom: 14px; } }

/* ===== V2 — modernisation (guide UI/UX : héros plein écran, verre dépoli, typographie géométrique) ===== */
:root {
  --serif: "Lexend", system-ui, sans-serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --paper: #F5F7FA;
  --paper-2: #E9EEF4;
  --ink: #12233A;
  --ink-2: #44546A;
  --ink-3: #66768C;
  --line: #DCE3EC;
  --blue: #0B72AE;
  --blue-ink: #0A5E8F;
  --blue-wash: #E3F2FB;
  --forest: #0F2236;
  --forest-2: #17304B;
  --cisa-blue: #0192D3;
  --orange: #ED7B18;
  --shadow-1: 0 1px 2px rgba(18,35,58,.05), 0 6px 20px rgba(18,35,58,.06);
  --shadow-2: 0 2px 6px rgba(18,35,58,.06), 0 18px 44px rgba(18,35,58,.14);
  --ease: cubic-bezier(.22,.61,.36,1);
}
body { font-size: 17px; line-height: 1.6; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.025em; }
h1 { font-weight: 600; }
h2 { font-size: clamp(28px, 3vw, 40px); }
.sec-head h2 { position: relative; padding-left: 18px; }
.sec-head h2::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 5px; border-radius: 3px; background: linear-gradient(var(--cisa-blue), var(--orange)); }
.lede { color: var(--ink-2); }
a, button, .chip, .card, .why-card, summary { cursor: pointer; }
.btn { transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); min-height: 46px; font-weight: 600; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, #0B7FC0, #0A64A0); }
.btn-primary:hover { background: linear-gradient(135deg, #0A70AA, #08578A); }

/* En-tête en verre */
.site-head { background: rgba(255,255,255,.78); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom-color: rgba(18,35,58,.08); }
.nav a { font-weight: 500; }
.demo-bar { background: var(--forest); }

/* Héros plein écran */
.hero2 { padding: 0; }
.hero2 > .wrap { max-width: none; padding: 0; }
.hero-media { border-radius: 0; height: clamp(520px, 80vh, 760px); }
.hero-media > img { transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-media::after { background: linear-gradient(100deg, rgba(10,22,38,.82) 0%, rgba(10,22,38,.55) 42%, rgba(10,22,38,.08) 78%), linear-gradient(0deg, rgba(10,22,38,.45) 0%, rgba(10,22,38,0) 35%); }
.hero-copy { left: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); bottom: clamp(110px, 16vh, 150px); max-width: 680px; }
.hero-copy h1 { font-weight: 600; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -0.03em; }
.hero-chip { top: auto; bottom: clamp(110px, 16vh, 150px); right: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); background: rgba(255,255,255,.16); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border: 1px solid rgba(255,255,255,.35); color: #fff; }
.hero-chip .hc-txt b, .hero-chip .hc-txt > span { color: #fff; }
.hero-chip .hc-txt em { color: #fff; }
.hero-chip .hc-txt small { color: #FFB571; }
.hero2 .hero-search { margin-top: -54px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.7); }
@media (max-width: 1100px) { .hero-chip { display: none; } }
@media (max-width: 860px) {
  .hero-media { height: 600px; }
  .hero-copy { left: var(--gut); right: var(--gut); bottom: 90px; }
}

/* Cartes chiffres : texte foncé harmonisé */
.why-card { color: var(--ink); }
.why-txt b { font-family: var(--serif); font-weight: 700; }

/* Cartes biens */
.card, .sold, .review-card, .member, .why-card { border-color: rgba(18,35,58,.08); }
.card { transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card-img img, .sold-img img { transition: transform .6s var(--ease); }
.card:hover .card-img img, .sold:hover .sold-img img { transform: scale(1.05); }
.card-price { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; }
.badge { backdrop-filter: blur(8px); background: rgba(255,255,255,.88); }
.badge-sold { background: rgba(15,34,54,.85); }
.card-type { background: rgba(15,34,54,.7); backdrop-filter: blur(6px); }

/* Communes en tuiles photo */
.commune-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.commune-tiles a { position: relative; display: flex; align-items: flex-end; min-height: 200px; border-radius: 16px; overflow: hidden; text-decoration: none; color: #fff; background: var(--forest-2); box-shadow: var(--shadow-1); }
.commune-tiles img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.commune-tiles a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,22,38,.85) 0%, rgba(10,22,38,.35) 55%, rgba(10,22,38,.1) 100%); }
.commune-tiles a:hover img { transform: scale(1.06); }
.ct-txt { position: relative; z-index: 1; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.commune-tiles .cn { font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.15; color: #fff; }
.commune-tiles .cv { font-size: 13.5px; color: rgba(255,255,255,.85); }
.ct-cp { position: absolute; z-index: 1; top: 12px; right: 12px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.2); backdrop-filter: blur(8px); }
@media (max-width: 1000px) { .commune-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .commune-tiles { grid-template-columns: 1fr 1fr; } .commune-tiles a { min-height: 160px; } .commune-tiles .cn { font-size: 17px; } }
.communes-band .stock { display: none; }

/* Sections sombres et pied de page bleu nuit */
.section-dark { background: radial-gradient(1200px 500px at 85% 0%, #1B3A5C 0%, var(--forest) 60%); }
.site-foot { background: var(--forest); }
.steps li::before { font-family: var(--serif); font-weight: 600; }

/* Avis */
.review-card { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.review-body blockquote { font-family: var(--sans); font-size: 17px; font-style: italic; color: var(--ink); }

/* Équipe */
.member { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.member:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }

/* Apparition au défilement (désactivée si mouvement réduit) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .hero-media > img { animation: none; transform: none; } .pulse { animation: none; } }
@media (max-width: 1100px) {
  .hero-chip { display: flex; top: 16px; bottom: auto; right: var(--gut); left: auto; max-width: 340px; }
}
@media (max-width: 560px) {
  .hero-chip { left: var(--gut); right: var(--gut); max-width: none; }
  .hero-chip img { width: 56px; height: 56px; }
}

/* Pages conseiller */
.member-link { display: block; border-radius: 12px; overflow: hidden; }
.member-name { color: inherit; text-decoration: none; }
.member-name:hover { color: var(--blue-ink); text-decoration: underline; }
.profile { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.profile-photo img, .profile-photo .member-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-2); }
.profile-role { color: var(--ink-2); font-weight: 600; margin-bottom: 6px; }
.profile-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 12px 36px; margin: 24px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-facts span { display: block; font-size: 13.5px; color: var(--ink-3); }
.profile-facts b { font-family: var(--serif); font-weight: 600; font-size: 20px; }
.profile-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } .profile-photo { max-width: 300px; } .profile-facts { grid-template-columns: 1fr 1fr; } }
.ct-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.ct-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.ct-row b { display: block; font-family: var(--serif); font-weight: 600; }
.ct-row span { font-size: 14px; color: var(--ink-2); }
.ct-links { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: flex-end; font-size: 14px; font-weight: 600; }
@media (max-width: 760px) { .ct-list { grid-template-columns: 1fr; } .ct-row { flex-direction: column; align-items: flex-start; } .ct-links { justify-content: flex-start; } }
.sold-agent a { color: inherit; }
.profile-photo img { height: auto; }

/* ---------- GEO : réponses directes, prix au m², sources, dates ---------- */
.en-bref { position: relative; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--cisa-blue); border-radius: var(--r-panel); padding: 18px 22px; margin: 22px 0 6px; max-width: 78ch; }
.en-bref p { margin: 0; color: var(--ink); font-size: 17px; line-height: 1.55; }
.en-bref .eb-k { display: inline-block; font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); margin-bottom: 8px; }
.en-bref .eb-src { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.en-bref a { color: var(--blue-ink); }
.maj-top { font-size: 14px; color: var(--ink-3); margin: 6px 0 0; }
.maj-top a { color: inherit; }
.maj-line { font-size: 13px; color: var(--ink-3); padding-top: 18px; padding-bottom: 18px; margin: 0 auto; }
.sources { color: var(--ink-3); margin-top: 18px; }
.sources a { color: var(--ink-2); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
table.data caption { text-align: left; padding: 14px 16px 6px; font-size: 13px; color: var(--ink-3); caption-side: top; }
table.data th, table.data td { padding: 11px 16px; text-align: right; border-top: 1px solid var(--line); white-space: nowrap; }
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data thead th { font-size: 12px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; border-top: 0; }
table.data tbody th a { color: var(--ink); font-weight: 600; }
table.data small { display: block; font-size: 12px; color: var(--ink-3); }
table.data small.up::before { content: "▲ "; font-size: 9px; }
table.data small.down::before { content: "▼ "; font-size: 9px; }
.prix-table td:last-child { color: var(--ink-2); }
.prix-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.prix-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.prix-card .pc-k { font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.prix-card > b { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1.15; color: var(--forest); margin-top: 6px; }
.prix-card .pc-sub { font-size: 14px; color: var(--ink-2); }
.prix-card .pc-ev { font-size: 14px; font-weight: 600; color: var(--ink); }
.prix-card .pc-ev.up::before { content: "▲ "; font-size: 10px; }
.prix-card .pc-ev.down::before { content: "▼ "; font-size: 10px; }
.prix-card .pc-ma { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.prix-card .pc-ma small { color: var(--ink-3); }
.chart { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 18px 18px 12px; }
.chart figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; margin-bottom: 8px; }
.chart .legend { font-size: 13px; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.chart .sw { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-left: 8px; }
.chart .sw-m { background: #0192D3; } .chart .sw-a { background: #ED7B18; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .ax { font: 12px var(--sans); fill: var(--ink-3); }
.chart .lbl { font: 600 12px var(--sans); fill: var(--ink-2); }
.chart polyline { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart polyline.s-m { stroke: #0192D3; } .chart polyline.s-a { stroke: #ED7B18; }
.chart circle { stroke: var(--surface); stroke-width: 2; cursor: default; }
.chart circle.s-m { fill: #0192D3; } .chart circle.s-a { fill: #ED7B18; }
.chart circle:hover { r: 6; }
.chart-table { margin: 10px 0 4px; font-size: 14px; }
.chart-table summary { cursor: pointer; color: var(--blue-ink); }
.chart-table table { margin-top: 8px; }
.calc .calc-out { font-family: var(--serif); font-size: 30px; line-height: 1.2; color: var(--forest); margin: 12px 0 6px; min-height: 1.2em; }
.calc .calc-out small { display: block; font-family: var(--sans); font-size: 14px; color: var(--ink-2); }
.byline { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin: 6px 0 18px; }
.byline .avatar, .byline img.avatar { width: 48px; height: 48px; object-fit: cover; }
.byline span { display: flex; flex-direction: column; line-height: 1.3; }
.byline small { color: var(--ink-3); font-size: 13px; }
.actus { border-top: 1px solid var(--line); }
.actus h2 { font-size: 24px; }
.actus-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.actus-list a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); text-decoration: none; color: var(--ink); transition: border-color .2s; }
.actus-list a:hover { border-color: var(--cisa-blue); }
.actus-list .ac-meta { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.actus-list b { font-weight: 600; font-size: 16px; line-height: 1.35; }
.actus-list .ac-res { font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .prix-cards { grid-template-columns: 1fr; } .actus-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .actus-list { grid-template-columns: 1fr; } .en-bref p { font-size: 16px; } table.data th, table.data td { padding: 10px 12px; } }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }

/* ===== V2.3 — pages prix au m² (inspiration MeilleursAgents + pages « prix m² » d'agences) ===== */
.center { text-align: center; }
.prx-hero { position: relative; overflow: hidden; background: #EEF3F8; }
.prx-bg { position: absolute; inset: 0; }
.prx-bg img { width: 100%; height: 100%; object-fit: cover; }
.prx-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(245,247,250,.97) 0%, rgba(245,247,250,.9) 38%, rgba(245,247,250,.35) 72%, rgba(245,247,250,.1) 100%); }
.prx-hero-in { position: relative; padding-top: clamp(48px, 8vw, 104px); padding-bottom: 40px; }
.prx-hero h1 { font-size: clamp(34px, 5vw, 64px); line-height: 1.12; letter-spacing: -0.03em; max-width: 15em; margin-bottom: 26px; }
.prx-hero .hl { display: inline; background: var(--forest); color: #fff; padding: .02em .28em .08em; border-radius: 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.prx-checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.prx-checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; font-size: 18px; color: var(--ink); }
.prx-checks svg { width: 22px; height: 22px; flex: none; }
.prx-checks svg circle { fill: var(--cisa-blue); }
.prx-form { max-width: 640px; }
.prx-form label { display: block; font-family: var(--serif); font-weight: 600; font-size: 18px; margin-bottom: 10px; }
.prx-field { display: flex; background: #fff; border: 2px solid var(--blue); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-2); }
.prx-field input, .prx-field select { flex: 1; min-width: 0; border: 0; padding: 0 18px; font: inherit; font-size: 17px; min-height: 58px; background: transparent; color: var(--ink); }
.prx-field input:focus, .prx-field select:focus { outline: none; }
.prx-field:focus-within { box-shadow: 0 0 0 4px rgba(1,146,211,.2), var(--shadow-2); }
.prx-field .btn { border-radius: 0; min-height: 58px; padding: 0 26px; font-size: 17px; }
.prx-form-sub { font-size: 14px; color: var(--ink-2); margin: 10px 0 0; }
.prx-trust { position: relative; display: inline-flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; background: #fff; border-radius: 14px 14px 0 0; padding: 16px 24px; font-size: 15px; color: var(--ink-2); box-shadow: 0 -4px 20px rgba(18,35,58,.06); }
.prx-trust b { color: var(--ink); }
.prx-trust .stars { vertical-align: -2px; }
.prx-main { background: #fff; }
.prx-head h2 { margin-bottom: 4px; }
.pbig-grid { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 18px; margin-top: 26px; }
.pbig { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.pbig header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.pbig h3 { margin: 0; font-size: 22px; }
.pbig-k { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; }
.pbig-v { margin: 2px 0 6px; font-family: var(--serif); font-weight: 700; font-size: clamp(40px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -0.03em; color: var(--forest); }
.pbig-v small { font-size: .42em; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-left: 2px; }
.pbig-v-sm { font-size: 30px; margin-bottom: 12px; }
.pbig-na { font-size: 26px; color: var(--ink-3); }
.pbig-sub { margin: 0; font-size: 15px; color: var(--ink-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-block; font-size: 13px; font-weight: 700; border-radius: 99px; padding: 3px 10px; }
.pill.up { background: #E3F4EA; color: #1F6B43; } .pill.down { background: #FDECE3; color: #A4461A; }
.conf { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.conf-dots { display: inline-flex; gap: 3px; }
.conf-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.conf-dots i.on { background: var(--cisa-blue); }
.gauge { margin-top: auto; padding-top: 22px; }
.g-bar { position: relative; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #BFE3F5, #0192D3 50%, #0A4F7A); }
.g-bar i { position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; transform: translate(-50%, -50%); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.g-ma { background: var(--forest); } .g-dvf { background: var(--orange); }
.g-lbl { display: flex; justify-content: space-between; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.g-lbl span { display: flex; flex-direction: column; } .g-lbl span:nth-child(2) { align-items: center; } .g-lbl span:last-child { align-items: flex-end; }
.g-lbl b { font-size: 15px; color: var(--ink); }
.g-src { margin: 10px 0 0; font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.g-src i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.pbig-side { background: var(--paper); box-shadow: none; }
.pside-cisa { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--ink-2); }
.pbig-side header + .pbig-k ~ .pside-cisa, .pbig-side .g-src + .pside-cisa { margin-top: 18px; }
.pside-cisa b { font-family: var(--serif); font-size: 34px; color: var(--forest); line-height: 1.1; }
.pside-cisa a { color: var(--blue-ink); font-weight: 600; margin-top: 4px; }
.prx-duo { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; align-items: start; }
.prx-duo .chart, .prx-duo .calc { border-radius: 18px; }
.calc h3 { font-size: 22px; margin-bottom: 14px; }
.calc .fl { margin-bottom: 12px; }
.pv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pv { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s var(--ease), transform .2s var(--ease); }
.pv:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.pv-img { position: relative; aspect-ratio: 16 / 10; background: var(--paper-2); }
.pv-img img { width: 100%; height: 100%; object-fit: cover; }
.pv-tag { position: absolute; top: 10px; right: 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 10px; font-size: 13px; font-weight: 600; }
.pv-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 2px; }
.pv-loc { font-size: 14px; color: var(--ink-2); }
.pv-body b { font-family: var(--serif); font-size: 26px; letter-spacing: -0.02em; }
.pv-type { font-size: 14px; color: var(--ink-3); }
.pv-more { background: var(--blue-wash); border-color: #BFE0F2; justify-content: center; align-items: center; text-align: center; gap: 18px; padding: 24px; font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--blue-ink); }
.prx-local { background: var(--paper); }
.prx-local-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.prx-team { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prx-team a { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.prx-team a:hover { border-color: var(--cisa-blue); }
.prx-team .avatar, .av-md { width: 52px !important; height: 52px !important; object-fit: cover; border-radius: 50%; }
.prx-team span { display: flex; flex-direction: column; line-height: 1.3; }
.prx-team small { color: var(--ink-3); font-size: 13px; }
.prx-local-ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.prx-local-img { position: relative; margin: 0; }
.prx-local-img::before { content: ""; position: absolute; right: -14px; bottom: -14px; width: 45%; height: 40%; background: var(--cisa-blue); border-radius: 18px; opacity: .85; }
.prx-local-img img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-2); }
.prx-local-img figcaption { position: relative; font-size: 13px; color: var(--ink-3); margin-top: 22px; }
.prx-cta { background: #fff; }
.prx-cta h2 { margin-bottom: 10px; }
.prx-cta .lede { max-width: 56ch; margin: 0 auto 22px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 18px; }
.prx-cta-sub { margin-top: 18px; color: var(--ink-2); font-size: 15px; }
.prx-faq h2 { margin-bottom: 28px; }
.hl-t { color: var(--cisa-blue); }
.faq-cards { display: grid; gap: 12px; }
.faq-cards details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq-cards summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 17px; }
.faq-cards summary::-webkit-details-marker { display: none; }
.faq-cards summary i { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--cisa-blue); position: relative; }
.faq-cards summary i::before, .faq-cards summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--cisa-blue); transform: translate(-50%, -50%); }
.faq-cards summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .2s var(--ease); }
.faq-cards details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-cards details p { margin: 0; padding: 0 20px 18px; color: var(--ink-2); }
.methode { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 4px 20px; }
.methode summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--blue-ink); }
.methode .prose p { font-size: 15px; }
@media (max-width: 1000px) { .pbig-grid { grid-template-columns: 1fr 1fr; } .pbig-side { grid-column: 1 / -1; } .pv-grid { grid-template-columns: 1fr 1fr; } .prx-duo, .prx-local-in { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .prx-bg::after { background: linear-gradient(180deg, rgba(245,247,250,.92), rgba(245,247,250,.96)); }
  .prx-field { flex-direction: column; } .prx-field .btn { min-height: 52px; }
  .pbig-grid, .pv-grid, .prx-team { grid-template-columns: 1fr; }
  .prx-trust { border-radius: 14px 14px 0 0; padding: 12px 16px; font-size: 14px; gap: 6px 16px; }
  .prx-checks li { font-size: 16px; }
}
@media (min-width: 641px) { .prx-hero .hl { white-space: nowrap; } }
.gauge { margin-top: 24px; }
.pbig-grid { align-items: start; }
.prx-bg img[src^="http"] { background: #DDE6EE; }
.pv-map { aspect-ratio: 16 / 9; overflow: hidden;
  background:
    linear-gradient(var(--rot, 30deg), transparent 47%, rgba(255,255,255,.95) 47%, rgba(255,255,255,.95) 50%, transparent 50%),
    linear-gradient(calc(var(--rot, 30deg) + 70deg), transparent 62%, rgba(255,255,255,.85) 62%, rgba(255,255,255,.85) 64%, transparent 64%),
    linear-gradient(calc(var(--rot, 30deg) + 120deg), transparent 30%, rgba(140,200,230,.75) 30%, rgba(140,200,230,.75) 36%, transparent 36%),
    radial-gradient(circle at 70% 75%, #CFE8D2 0 18%, transparent 19%),
    #E4F1E6; }
.pv-pin { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; border-radius: 50%; transform: translate(-50%, -50%); background: rgba(1,146,211,.18); border: 2px solid rgba(1,146,211,.55); }
.pv-pin::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--cisa-blue); border: 3px solid #fff; transform: translate(-50%, -50%); box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.pv-city { position: absolute; left: 50%; top: calc(50% + 26px); transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--ink); white-space: nowrap; text-shadow: 0 0 3px #fff, 0 0 3px #fff; }
.article h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; }
.article .figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.prx-local-img::before { bottom: 30px; }
.prx-local-img figcaption { margin-top: 12px; }
.prx-ag { color: var(--ink-2); font-size: 15px; margin: -4px 0 14px; }
.prx-team { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
/* Accès aux pages prix : bandeau d'accueil et encarts */
.pe-k { display: inline-block; font: 700 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.prx-band { background: var(--forest); color: #fff; padding: 34px 0; }
.prx-band-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px 48px; align-items: center; }
.prx-band h2 { color: #fff; margin: 6px 0 6px; font-size: clamp(26px, 3vw, 36px); }
.prx-band p { margin: 0; color: #C9D6E3; }
.prx-band .prx-field { border-color: #fff; }
.prx-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px !important; }
.prx-quick a { color: #fff; text-decoration: none; font-size: 14px; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; padding: 5px 12px; }
.prx-quick a:hover { background: rgba(255,255,255,.12); }
.prx-quick b { color: #FFB571; font-weight: 600; }
.prx-encart { display: grid; grid-template-columns: 1fr auto auto; gap: 18px 32px; align-items: center; text-decoration: none; color: var(--ink); background: linear-gradient(120deg, var(--blue-wash), #fff 70%); border: 1px solid #BFE0F2; border-radius: 18px; padding: 22px 26px; transition: box-shadow .2s var(--ease); }
.prx-encart:hover { box-shadow: var(--shadow-2); }
.pe-txt { display: flex; flex-direction: column; gap: 4px; }
.pe-txt b { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -0.02em; }
.pe-sub { color: var(--ink-2); font-size: 15px; }
.pe-vals { display: flex; gap: 22px; }
.pe-vals span { display: flex; flex-direction: column; }
.pe-vals small { color: var(--ink-3); font-size: 13px; }
.pe-vals b { font-family: var(--serif); font-size: 24px; color: var(--forest); white-space: nowrap; }
@media (max-width: 900px) { .prx-band-in, .prx-encart { grid-template-columns: 1fr; } }
.nav a { white-space: nowrap; }
.prx-band { padding-top: 64px; }
@media (max-width: 1240px) and (min-width: 1021px) { .nav { gap: 14px; } .nav a { font-size: 14px; } .head-cta .btn-quiet { display: none; } }

/* ===== V2.6 — inspirations Laforêt / Orpi / Marc Foujols / Barnes ===== */
.topbar { background: var(--forest); color: #C9D6E3; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 34px; }
.topbar b { color: #fff; }
.topbar .stars { vertical-align: -2px; }
.topbar .stars i { width: 12px; height: 12px; }
.tb-sep { margin: 0 6px; opacity: .6; }
.tb-r { display: flex; gap: 18px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.demo-bar + .topbar { border-top: 1px solid rgba(255,255,255,.08); }
@media (max-width: 760px) { .tb-l { display: none; } .topbar-in { justify-content: center; } .tb-r { gap: 14px; } }
.h-em { color: var(--cisa-blue); }
.hero-copy .h-em { color: #fff; background: linear-gradient(transparent 62%, rgba(237,123,24,.85) 62%, rgba(237,123,24,.85) 92%, transparent 92%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-count { font-size: 18px; color: #E3ECF5; max-width: 34em; }
.hero-count b { color: #fff; font-family: var(--serif); font-size: 20px; }
.hero-search.is-est { grid-template-columns: auto 1fr auto; }
.hero-search .s-est input { width: 100%; }
.quick { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px auto 0; width: min(1040px, calc(100% - 32px)); }
.quick a { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 9px 16px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-1); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.quick a:hover { border-color: var(--cisa-blue); transform: translateY(-1px); }
.quick svg { width: 18px; height: 18px; color: var(--cisa-blue); flex: none; }
.card-pm2 { display: block; font-family: var(--sans); font-size: 13px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.seo-links { border-top: 1px solid var(--line); }
.seo-links h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 18px; }
.seo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.seo-grid h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 10px; font-family: var(--sans); font-weight: 700; }
.seo-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.seo-grid a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.seo-grid a:hover { color: var(--blue-ink); text-decoration: underline; }
@media (max-width: 900px) { .seo-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .seo-grid { grid-template-columns: 1fr; } .quick a { font-size: 14px; padding: 8px 12px; } }
.hero-search [hidden] { display: none !important; }
.hero-copy .h-em { background: linear-gradient(transparent 70%, rgba(237,123,24,.8) 70%, rgba(237,123,24,.8) 90%, transparent 90%); }
.topbar a { white-space: nowrap; } @media (max-width: 760px) { .tb-r a:nth-child(2) { display: none; } .topbar { font-size: 13px; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 900px) { .agence-communes .index-communes { columns: 2 !important; } }
/* Conseiller référent (pages prix) */
.ref-card-wrap { padding: 8px 0 26px; }
.ref-card { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; background: linear-gradient(120deg, #fff 55%, var(--blue-wash)); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-1); }
.ref-photo { display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--paper-2); }
.ref-photo img { width: 100%; height: 100%; object-fit: cover; }
.ref-photo .member-ph { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--serif); font-size: 52px; color: var(--forest); }
.ref-txt h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 6px 0 4px; }
.ref-txt h2 a { color: var(--ink); text-decoration: none; }
.ref-role { color: var(--blue-ink); font-weight: 600; margin: 0 0 10px; }
.ref-txt p { max-width: 58ch; }
.ref-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ref-ctas svg { width: 18px; height: 18px; margin-right: 6px; }
@media (max-width: 700px) { .ref-card { grid-template-columns: 110px 1fr; gap: 16px; padding: 16px; } .ref-txt p:not(.ref-role) { display: none; } .ref-ctas { grid-column: 1 / -1; } }
/* Avis Google : 3 agences + défilement des derniers avis */
.rv-agences { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.rv-agence { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; text-decoration: none; color: var(--ink); transition: border-color .2s var(--ease); }
.rv-agence:hover { border-color: var(--cisa-blue); }
.rv-agence img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.rv-agence > span { display: flex; flex-direction: column; gap: 2px; }
.rv-note { font-size: 14px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.rv-agence small { color: var(--blue-ink); font-weight: 600; }
.rv-viewport { overflow: hidden; padding: 4px 0 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.rv-track { display: flex; gap: 18px; width: max-content; padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); }
.rv-dup { display: contents; }
.is-anim .rv-track { padding: 0; animation: rvScroll calc(var(--n) * 7s) linear infinite; }
.is-anim:hover .rv-track, .is-anim:focus-within .rv-track { animation-play-state: paused; }
@keyframes rvScroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
.rv { width: 340px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-1); }
.rv-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rv-ag { font-size: 13px; font-weight: 600; color: var(--blue-ink); text-decoration: none; }
.rv blockquote { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink); flex: 1; }
@media (prefers-reduced-motion: reduce) { .is-anim .rv-track { animation: none; } .rv-viewport { overflow-x: auto; } .rv-dup { display: none; } }
@media (max-width: 860px) { .rv-agences { grid-template-columns: 1fr; } .rv { width: 290px; } }
/* Recherche libre des prix */
.prx-search { position: relative; }
.ps-list { position: absolute; z-index: 30; left: 0; right: 0; margin: 6px 0 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-2); max-width: 640px; }
.ps-list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; color: var(--ink); }
.ps-list li span { color: var(--ink-3); font-size: 14px; }
.ps-list li[aria-selected="true"], .ps-list li:hover { background: var(--blue-wash); }
.ps-result:empty { display: none; }
.ps-result { margin-top: 16px; max-width: 640px; }
.ps-msg { color: var(--ink-2); margin: 0; }
.prx-band .ps-msg { color: #C9D6E3; }
.ps-card { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-1); }
.ps-card h3 { margin: 0 0 12px; font-size: 22px; color: var(--ink); }
.ps-card h3 span { color: var(--ink-3); font-weight: 400; }
.ps-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ps-kpi { background: var(--paper); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; }
.ps-kpi span { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 600; }
.ps-kpi b { font-family: var(--serif); font-size: 28px; color: var(--forest); }
.ps-kpi small { color: var(--ink-2); font-size: 13px; }
.ps-src { font-size: 13px; color: var(--ink-3); margin: 10px 0 0; }
.ps-links { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; margin: 10px 0 0; }
.ps-links a { color: var(--blue-ink); }
.ps-ag { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ps-ag p { flex-basis: 100%; margin: 0; color: var(--ink-2); }
@media (max-width: 520px) { .ps-kpis { grid-template-columns: 1fr; } }

.ref-team{grid-template-columns:1fr}
.ref-team-list{list-style:none;padding:0;margin:12px 0;display:flex;flex-wrap:wrap;gap:10px 18px}
.ref-team-list a{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;font-weight:600}
.ref-team-list img,.ref-team-list .member-ph{width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:top;flex:none;font-size:14px}
.ref-team-list .member-ph{background:var(--paper-2);font-size:14px}
