@charset "UTF-8";
/* ==========================================================================

   c-claire.fr — « Brique, craie, ardoise »

   Une seule feuille, sans framework. Voir docs/02-concept-et-wireframes.md.

   ========================================================================== */



/* ---------- Fontes (auto-hébergées, sous-ensemble latin/français) -------- */

@font-face {

  font-family: "Newsreader";

  src: url("../fonts/newsreader-display.woff2") format("woff2");

  font-weight: 300 500;

  font-style: normal;

  font-display: swap;

}

@font-face {

  font-family: "Newsreader";

  src: url("../fonts/newsreader-display-italic.woff2") format("woff2");

  font-weight: 300 500;

  font-style: italic;

  font-display: swap;

}

@font-face {

  font-family: "Schibsted Grotesk";

  src: url("../fonts/schibsted-grotesk.woff2") format("woff2");

  font-weight: 400 700;

  font-style: normal;

  font-display: swap;

}

/* Repli métriquement ajusté : limite le décalage de mise en page au chargement */

@font-face {

  font-family: "Newsreader Fallback";

  src: local("Georgia"), local("Times New Roman");

  size-adjust: 92%;

  ascent-override: 98%;

  descent-override: 26%;

}

@font-face {

  font-family: "Schibsted Fallback";

  src: local("Arial"), local("Helvetica");

  size-adjust: 101%;

  ascent-override: 96%;

  descent-override: 24%;

}



/* ---------- Tokens ---------------------------------------------------- */

:root {

  /* Couleurs : matériaux de Romilly + bleu nuit Joya */

  --chalk: #F2EEE6;

  --paper: #FBF9F5;

  --stone: #E7E0D3;

  --line: #D6CDBC;

  --ink: #15182A;

  --ink-2: #22263A;

  --slate: #585E70;

  --brick: #9E4428;

  --brick-light: #E0906F;

  --field-border: #8C8577;

  --on-ink-muted: #A6AAB9;

  --on-ink-line: rgba(242, 238, 230, .16);



  /* Typographie */

  --serif: "Newsreader", "Newsreader Fallback", Georgia, serif;

  --sans: "Schibsted Grotesk", "Schibsted Fallback", Arial, sans-serif;

  --fs-hero: clamp(2.875rem, 0.9rem + 6.6vw, 8rem);

  --fs-h2: clamp(2.25rem, 1.3rem + 3.6vw, 5rem);

  --fs-h3: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);

  --fs-lead: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);

  --fs-body: clamp(1rem, 0.97rem + 0.12vw, 1.0625rem);

  --fs-small: 0.875rem;

  --fs-label: 0.78125rem;



  /* Espacement (base 4 px) */

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px;

  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px; --s-11: 192px;

  --section: clamp(5rem, 3rem + 8vw, 12rem);



  /* Grille */

  --margin: clamp(20px, 5vw, 80px);

  --gutter: clamp(16px, 2vw, 32px);

  --max: 1520px;

  --header-h: 72px;



  /* Mouvement */

  --ease: cubic-bezier(.16, 1, .3, 1);

  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --d-1: 160ms; --d-2: 320ms; --d-3: 640ms; --d-4: 1100ms;

}

@media (min-width: 960px) {

  :root { --header-h: 84px; }

}



/* ---------- Base ------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {

  -webkit-text-size-adjust: 100%;

  text-size-adjust: 100%;

  scroll-padding-top: calc(var(--header-h) + 24px);

}

@media (prefers-reduced-motion: no-preference) {

  html:focus-within { scroll-behavior: smooth; }

}

body {

  margin: 0;

  background: var(--chalk);

  color: var(--ink);

  font-family: var(--sans);

  font-size: var(--fs-body);

  line-height: 1.6;

  font-kerning: normal;

  -webkit-font-smoothing: antialiased;

  -moz-osx-font-smoothing: grayscale;

  text-rendering: optimizeLegibility;

}

img, svg, video, canvas, picture { display: block; max-width: 100%; }

img { height: auto; }

picture img { width: 100%; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }

ul[class], ol[class] { list-style: none; padding: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }

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

button { cursor: pointer; }

address { font-style: normal; }

strong { font-weight: 600; }

::selection { background: var(--brick); color: var(--paper); }

main:focus { outline: none; }

[hidden] { display: none !important; }



:focus-visible {

  outline: 2px solid var(--brick);

  outline-offset: 3px;

  border-radius: 1px;

}

.section--ink :focus-visible, .site-footer :focus-visible, .mobile-menu :focus-visible, .lightbox :focus-visible {

  outline-color: var(--brick-light);

}



.visually-hidden {

  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;

  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;

}

.skip-link {

  position: fixed; left: var(--s-4); top: var(--s-4); z-index: 100;

  background: var(--ink); color: var(--chalk); padding: var(--s-3) var(--s-4);

  transform: translateY(-160%); transition: transform var(--d-2) var(--ease);

}

.skip-link:focus { transform: none; }

mark.todo { background: #FFF1B8; color: #5C4500; padding: 0 .25em; font-size: .92em; }



/* ---------- Mise en page ---------------------------------------------- */

.wrap {

  width: 100%;

  max-width: calc(var(--max) + 2 * var(--margin));

  margin-inline: auto;

  padding-inline: var(--margin);

}

.section { padding-block: var(--section); position: relative; }

.section--ink { background: var(--ink); color: var(--chalk); }

.section--compact { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }

.section--stone { background: var(--stone); }

.section + .section--ink.section--sector { padding-top: 0; }

.grid12 {

  display: grid;

  grid-template-columns: repeat(12, minmax(0, 1fr));

  column-gap: var(--gutter);

}



/* ---------- Typographie ----------------------------------------------- */

.h1, .h2, .h3, .hero__title, .page-hero__title {

  font-family: var(--serif);

  font-weight: 340;

  letter-spacing: -0.02em;

  font-variant-numeric: lining-nums;

  text-wrap: balance;

}

.h2 { font-size: var(--fs-h2); line-height: 1; }

.h3 { font-size: var(--fs-h3); line-height: 1.1; font-weight: 380; letter-spacing: -0.01em; }

.lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 38ch; }

.section--ink .lead { color: var(--chalk); }

.eyebrow {

  display: block;

  font-size: var(--fs-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;

  color: var(--slate); margin-bottom: var(--s-5);

}

.eyebrow--light { color: var(--on-ink-muted); }

.prose { max-width: 66ch; }

.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }

.prose h2 { font-family: var(--serif); font-weight: 380; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.25rem); line-height: 1.15; letter-spacing: -0.01em; margin: 2em 0 .6em; }

.prose h3 { font-size: 1.0625rem; font-weight: 600; margin: 1.6em 0 .4em; }

.prose ul { padding-left: 1.2em; }

.prose li + li { margin-top: .35em; }

.prose a { color: var(--ink); }

.prose a:hover { color: var(--brick); }

.count {

  font-variant-numeric: tabular-nums;

  display: inline-block; min-width: 1.6em; padding: 0 .4em; margin-left: .2em;

  border: 1px solid currentColor; border-radius: 99px; font-size: .8em; line-height: 1.5; text-align: center;

}



/* ---------- Boutons & liens ------------------------------------------- */

.btn {

  --btn-bg: var(--ink); --btn-fg: var(--chalk);

  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);

  min-height: 52px; padding: 0 var(--s-5);

  background: var(--btn-bg); color: var(--btn-fg);

  border: 1px solid var(--btn-bg); border-radius: 2px;

  font-size: .9375rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2;

  text-decoration: none; white-space: nowrap;

  position: relative; overflow: hidden; isolation: isolate;

  transition: color var(--d-2) var(--ease), border-color var(--d-2) var(--ease);

}

.btn::before {

  content: ""; position: absolute; inset: 0; z-index: -1;

  background: var(--brick);

  transform: scaleY(0); transform-origin: bottom;

  transition: transform var(--d-2) var(--ease);

}

.btn:hover::before { transform: scaleY(1); }

.btn:hover { border-color: var(--brick); }

.btn .icon { width: 20px; height: 20px; transition: transform var(--d-2) var(--ease); }

.btn:hover .icon--arrow { transform: translateX(4px); }

.btn--large { min-height: 60px; padding: 0 var(--s-6); font-size: 1rem; }

.btn--small { min-height: 42px; padding: 0 var(--s-4); font-size: .875rem; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }

.btn--ghost::before { background: var(--ink); }

.btn--ghost:hover { color: var(--chalk); border-color: var(--ink); }

.btn--light { --btn-bg: var(--chalk); --btn-fg: var(--ink); }

.btn--light::before { background: var(--brick-light); }

.btn--light:hover { border-color: var(--brick-light); }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }



.link-arrow {

  display: inline-flex; align-items: center; gap: var(--s-2);

  font-weight: 600; font-size: .9375rem; text-decoration: none;

  padding-block: var(--s-2);

  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;

  transition: background-size var(--d-2) var(--ease), color var(--d-1);

}

.link-arrow .icon { width: 20px; height: 20px; transition: transform var(--d-2) var(--ease); }

.link-arrow:hover { color: var(--brick); background-size: 0 1px; background-position: 100% 100%; }

.link-arrow:hover .icon { transform: translateX(4px); }

.link-arrow--light:hover { color: var(--brick-light); }



/* ---------- Header ---------------------------------------------------- */

.site-header {

  position: fixed; inset: 0 0 auto; z-index: 50;

  height: var(--header-h);

  view-transition-name: site-header;

  transition: transform var(--d-3) var(--ease), background-color var(--d-2) linear, box-shadow var(--d-2) linear;

}

.site-header.is-solid { background: rgba(242, 238, 230, .94); box-shadow: 0 1px 0 var(--line); }

@supports (backdrop-filter: blur(1px)) {

  .site-header.is-solid { background: rgba(242, 238, 230, .86); backdrop-filter: saturate(1.2) blur(14px); }

}

.site-header.is-hidden { transform: translateY(-100%); }

.site-header__inner {

  height: 100%; display: flex; align-items: center; gap: var(--s-5);

  max-width: calc(var(--max) + 2 * var(--margin)); margin-inline: auto; padding-inline: var(--margin);

}

.brand { display: inline-flex; align-items: baseline; gap: var(--s-2); text-decoration: none; margin-right: auto; }

.brand__name { font-family: var(--serif); font-size: 1.375rem; font-weight: 400; letter-spacing: -.01em; }

.nav { display: none; }

.nav__list { display: flex; gap: clamp(var(--s-4), 2vw, var(--s-6)); }

.nav__link {

  font-size: .9375rem; font-weight: 500; text-decoration: none; padding-block: var(--s-2);

  background: linear-gradient(var(--brick), var(--brick)) 0 100% / 0 1px no-repeat;

  transition: background-size var(--d-2) var(--ease);

}

.nav__link:hover, .nav__link[aria-current="page"] { background-size: 100% 1px; }

.site-header__actions { display: flex; align-items: center; gap: var(--s-4); }

.header-tel { display: none; align-items: center; gap: var(--s-2); font-size: .9375rem; font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; }

.header-tel .icon { width: 18px; height: 18px; color: var(--brick); }

.header-tel:hover { color: var(--brick); }

.site-header__actions .btn--small { display: none; }

.menu-toggle {

  display: inline-flex; align-items: center; gap: var(--s-3);

  min-height: 44px; padding: 0 0 0 var(--s-3); background: none; border: 0;

  font-size: .9375rem; font-weight: 600;

}

.menu-toggle__lines { display: grid; gap: 6px; width: 24px; }

.menu-toggle__lines span { height: 1.5px; background: currentColor; transition: transform var(--d-2) var(--ease); }

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child { transform: translateY(3.75px) rotate(45deg); }

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.no-js .menu-toggle { display: none; }

.no-js .nav { display: block; overflow-x: auto; }

@media (min-width: 720px) {

  .site-header__actions .btn--small { display: inline-flex; }

}

@media (min-width: 1080px) {

  .nav { display: block; }

  .menu-toggle { display: none; }

}

@media (min-width: 1280px) {

  .header-tel { display: inline-flex; }

}



/* Menu mobile */

.mobile-menu {

  position: fixed; inset: 0; z-index: 45;

  background: var(--ink); color: var(--chalk);

  padding: calc(var(--header-h) + var(--s-6)) var(--margin) var(--s-7);

  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-7);

  overflow-y: auto; overscroll-behavior: contain;

}

.menu-open .site-header { color: var(--chalk); background: transparent; box-shadow: none; backdrop-filter: none; }

.menu-open .site-header .btn--small { --btn-bg: var(--chalk); --btn-fg: var(--ink); }

.menu-open { overflow: hidden; }

.mobile-menu__list { counter-reset: m; }

.mobile-menu__list a {

  display: block; padding-block: .12em; text-decoration: none;

  font-family: var(--serif); font-weight: 340; font-size: clamp(2.5rem, 9vw, 4.5rem); line-height: 1.12; letter-spacing: -.02em;

}

.mobile-menu__list a[aria-current="page"] { font-style: italic; color: var(--brick-light); }

.mobile-menu__list li { opacity: 0; transform: translateY(24px); }

.mobile-menu.is-open .mobile-menu__list li {

  opacity: 1; transform: none;

  transition: opacity var(--d-3) var(--ease), transform var(--d-3) var(--ease);

  transition-delay: calc(60ms + var(--i, 0) * 45ms);

}

.mobile-menu__contact { display: grid; gap: var(--s-2); font-size: 1.0625rem; color: var(--on-ink-muted); }

.mobile-menu__contact a { text-decoration: none; }



/* ---------- Hero accueil ---------------------------------------------- */

.hero {

  display: grid;

  padding-top: var(--header-h);

  max-width: calc(var(--max) + 2 * var(--margin));

  margin-inline: auto;

}

.hero__media { order: -1; position: relative; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--stone); }

.hero__media picture, .hero__img { height: 100%; }

.hero__img { object-fit: cover; object-position: 50% 30%; transform-origin: 50% 60%; }

.hero__caption {

  position: absolute; left: var(--margin); bottom: var(--s-4);

  font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; font-weight: 600;

  color: var(--paper); display: flex; align-items: center; gap: var(--s-3);

}

.hero__caption::before { content: ""; width: 32px; height: 1px; background: currentColor; }

.hero__text { padding: var(--s-7) var(--margin) var(--s-8); display: flex; flex-direction: column; }

.hero__eyebrow { margin-bottom: clamp(var(--s-6), 3.4vw, var(--s-8)); }

.hero__title {

  font-size: var(--fs-hero); line-height: .94; letter-spacing: -.035em; font-weight: 330;

  max-width: 9.5ch; margin-left: -.04em;

}

.hero__lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 40ch; margin-top: var(--s-5); }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-6); margin-top: var(--s-6); }

.byline {

  display: flex; align-items: center; gap: var(--s-4);

  margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--line);

  font-size: var(--fs-small); line-height: 1.5; color: var(--slate);

}

.byline strong { color: var(--ink); font-weight: 600; }

.byline a { text-decoration: none; font-variant-numeric: tabular-nums; }

.byline a:hover { color: var(--brick); }

.byline__photo { width: 48px; flex: none; }

@media (min-width: 960px) {

  .hero {

    grid-template-columns: minmax(0, 1fr) minmax(0, 46vw);

    min-height: min(100svh, 1080px);

    padding-right: 0;

    max-width: none; margin-inline: 0;

  }

  .hero__media { order: 0; aspect-ratio: auto; height: calc(min(100svh, 1080px) - var(--header-h)); }

  .hero__text {

    justify-content: center;

    padding: var(--s-6) var(--s-8) var(--s-6) max(var(--margin), calc((100vw - var(--max)) / 2));

  }

  .hero__caption { left: var(--s-6); bottom: var(--s-6); }

  .byline { margin-top: var(--s-7); }

}

@media (min-width: 1600px) {

  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 44vw); }

}



/* Entrée du hero : CSS pur, n'attend pas le JS (et ne retarde pas le LCP) */

@media (prefers-reduced-motion: no-preference) {

  .hero__eyebrow, .hero__title, .hero__lead, .hero__actions, .byline {

    animation: rise var(--d-4) var(--ease) both;

  }

  .hero__title { animation-delay: 80ms; }

  .hero__lead { animation-delay: 220ms; }

  .hero__actions { animation-delay: 320ms; }

  .byline { animation-delay: 420ms; }

  .hero__img { animation: settle 1800ms var(--ease) both; }

  @supports (animation-timeline: scroll()) {

    .hero__media picture { animation: drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }

  }

}

@keyframes rise { from { opacity: .001; transform: translateY(28px); } }

@keyframes settle { from { transform: scale(1.07); } }

@keyframes drift { to { transform: translateY(8%); } }



/* ---------- En-têtes de section --------------------------------------- */

.section-head { margin-bottom: clamp(var(--s-7), 5vw, var(--s-9)); }

.section-head .h2 { max-width: 13ch; }

.section-head--split {

  max-width: none;

  display: grid; gap: var(--s-6);

}

.section-head--split .h2 { max-width: 14ch; }

.section-head__aside { display: grid; gap: var(--s-5); justify-items: start; align-content: end; }

@media (min-width: 960px) {

  .section-head--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: var(--gutter); }

}



/* ---------- Cartes de biens ------------------------------------------ */

.pcard { position: relative; }

.pcard__link { display: block; text-decoration: none; color: inherit; }

.pcard__media {

  position: relative; overflow: hidden; background: var(--stone);

  aspect-ratio: 4 / 3;

}

.pcard__media img, .pcard__media picture { width: 100%; height: 100%; object-fit: cover; }

.pcard__img { transition: transform 1.2s var(--ease); }

.pcard__link:hover .pcard__img { transform: scale(1.035); }

.pcard__badges { position: absolute; top: var(--s-4); left: var(--s-4); display: flex; gap: var(--s-2); flex-wrap: wrap; }

.badge {

  background: var(--paper); color: var(--ink);

  font-size: .75rem; font-weight: 600; letter-spacing: .02em; line-height: 1;

  padding: 7px 9px 6px;

}

.pcard__hover {

  position: absolute; left: 0; right: 0; bottom: 0;

  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);

  background: var(--ink); color: var(--chalk);

  padding: var(--s-3) var(--s-4); font-size: .875rem; font-weight: 500;

  transform: translate(var(--hx, 0), var(--hy, 101%));

  transition: transform var(--d-3) var(--ease);

}

.pcard__hover em { font-family: var(--serif); font-style: italic; font-size: 1.15em; font-weight: 400; }

.pcard__hover .icon { width: 18px; height: 18px; }

.pcard__link:hover .pcard__hover, .pcard__link:focus-visible .pcard__hover { transform: translate(0, 0); }

.pcard__body {

  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-4);

  padding-top: var(--s-4);

}

.pcard__place {

  grid-row: 1; grid-column: 1 / -1;

  font-size: var(--fs-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate);

  margin-bottom: var(--s-1);

}

.pcard__title { grid-row: 2; grid-column: 1; font-weight: inherit; font-size: inherit; display: grid; gap: var(--s-1); }

.pcard__name { font-family: var(--serif); font-weight: 380; font-size: clamp(1.5rem, 1.25rem + .7vw, 1.875rem); line-height: 1.1; letter-spacing: -.01em; }

.pcard__facts { font-size: .9375rem; color: var(--slate); line-height: 1.45; }

.pcard__price {

  grid-row: 2; grid-column: 2; align-self: start;

  font-family: var(--serif); font-size: clamp(1.375rem, 1.2rem + .5vw, 1.75rem); line-height: 1.15; font-weight: 400;

  font-variant-numeric: lining-nums; white-space: nowrap;

}

.pcard__meta {

  grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4);

  margin-top: var(--s-3); font-size: .8125rem; color: var(--slate);

}

.pcard__fees { grid-column: 1 / -1; font-size: .8125rem; color: var(--slate); margin-top: var(--s-1); }

.dpe-chip { display: inline-flex; align-items: center; gap: 6px; }

.dpe-chip i { width: 10px; height: 10px; display: inline-block; }

.pcard__link:hover .pcard__name { color: var(--brick); }

.pcard--large .pcard__media { aspect-ratio: 5 / 4; }

.pcard--large .pcard__name { font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.5rem); }



/* Sélection accueil */

.featured { display: grid; gap: var(--s-8) var(--gutter); }

@media (min-width: 960px) {

  .featured { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }

  .featured > :first-child { grid-column: 1 / span 7; grid-row: span 2; }

  .featured > :nth-child(2) { grid-column: 9 / span 4; }

  .featured > :nth-child(3) { grid-column: 9 / span 4; }

  .featured > :nth-child(n+2) .pcard__media { aspect-ratio: 4 / 3; }

}

.featured__note { margin-top: var(--s-8); max-width: 52ch; font-size: var(--fs-small); color: var(--slate); display: flex; gap: var(--s-3); }

.featured__note::before { content: ""; flex: none; width: 32px; height: 1px; background: var(--brick); margin-top: .75em; }

.empty-source { display: grid; gap: var(--s-6); justify-items: start; padding: var(--s-8) 0; border-top: 1px solid var(--line); }



/* ---------- Bloc Claire (accueil) ------------------------------------ */

.section--claire { background: var(--stone); padding-bottom: 0; overflow: hidden; }

.claire-block { display: grid; gap: var(--s-7); }

.claire-block__media { align-self: end; max-width: 520px; margin-inline: auto; width: 100%; }

.claire-block__text { padding-bottom: var(--s-9); }

.claire-block__title { position: relative; max-width: 16ch; margin-bottom: var(--s-6); }

.guillemet { color: var(--brick); }

.figure { margin-top: var(--s-7); display: flex; align-items: baseline; gap: var(--s-5); }

.figure dt { font-size: var(--fs-small); color: var(--slate); max-width: 14ch; line-height: 1.4; order: 2; }

.figure dd { font-family: var(--serif); font-size: clamp(3.5rem, 2.4rem + 4vw, 6.5rem); line-height: .9; letter-spacing: -.03em; font-weight: 330; }

.values { margin-top: var(--s-6); display: grid; gap: var(--s-3); max-width: 46ch; }

.values li { padding-left: var(--s-5); position: relative; }

.values li::before { content: ""; position: absolute; left: 0; top: .8em; width: 12px; height: 1px; background: var(--brick); }

.values strong { font-weight: 600; }

.claire-block__text .link-arrow { margin-top: var(--s-6); }

@media (min-width: 960px) {

  .claire-block { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end; }

  .claire-block__media { grid-column: 1 / span 5; max-width: none; margin: 0; }

  .claire-block__text { grid-column: 7 / span 6; align-self: center; padding-block: var(--s-9) var(--s-10); }

}



/* ---------- Romilly (accueil) ---------------------------------------- */

.romilly { display: grid; gap: var(--s-8); align-items: center; }

.romilly__text { display: grid; gap: var(--s-5); justify-items: start; }

.romilly__text .h2 { max-width: 13ch; }

.romilly__quote { font-family: var(--serif); font-style: italic; font-weight: 340; font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem); line-height: 1.25; max-width: 30ch; }

.romilly__quote p::before { content: "« "; color: var(--brick); font-style: normal; }

.romilly__quote p::after { content: " »"; color: var(--brick); font-style: normal; }

@media (min-width: 1024px) { .romilly { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: calc(var(--gutter) * 2.5); } }



/* ---------- Vidéo ---------------------------------------------------- */

.video { margin: 0; }

.video__media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--ink); }

video.video__media { object-fit: cover; }

.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: var(--ink); cursor: pointer; display: block; }

.video__poster picture, .video__poster img { width: 100%; height: 100%; object-fit: cover; }

.video__icon {

  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;

  background: rgba(21, 24, 42, .82); color: var(--paper); display: grid; place-items: center;

  transition: transform var(--d-2) var(--ease), background-color var(--d-2);

}

.video__icon .icon { width: 30px; height: 30px; margin-left: 2px; fill: currentColor; }

.video__poster:hover .video__icon, .video__poster:focus-visible .video__icon { transform: scale(1.08); background: var(--brick); }

.video__duration { position: absolute; right: var(--s-3); bottom: var(--s-3); background: rgba(21, 24, 42, .82); color: var(--paper); font-size: .8125rem; font-weight: 600; padding: 4px 8px; }

.video__caption { margin-top: var(--s-3); font-size: .875rem; color: var(--slate); display: grid; gap: var(--s-2); }

.video__transcript summary { cursor: pointer; width: max-content; color: var(--ink); font-weight: 600; }

.video__transcript div { margin-top: var(--s-3); max-width: 70ch; font-size: .9375rem; color: var(--ink); }

.video__transcript p + p { margin-top: .8em; }

.section--promo { padding-block: 0 var(--section); }

@media (max-width: 600px) { .video__icon { width: 60px; height: 60px; margin: -30px 0 0 -30px; } }



/* ---------- Méthode -------------------------------------------------- */

.steps { display: grid; gap: var(--s-6); counter-reset: s; }

.steps__item { border-top: 1px solid var(--line); padding-top: var(--s-5); }

.steps__num { display: block; font-family: var(--serif); font-style: italic; color: var(--brick); font-size: 1.125rem; margin-bottom: var(--s-6); font-variant-numeric: lining-nums; }

.steps__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.375rem, 1.2rem + .5vw, 1.75rem); line-height: 1.15; margin-bottom: var(--s-3); letter-spacing: -.01em; }

.steps p { color: var(--slate); font-size: .9688rem; line-height: 1.55; }

@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); } }

@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); } }



/* ---------- Estimation (accueil) ------------------------------------- */

.estimate { display: grid; gap: var(--s-8); align-items: center; }

.estimate__text { display: grid; gap: var(--s-6); justify-items: start; }

.estimate__text .h2 { max-width: 11ch; }

@media (min-width: 1024px) {

  .estimate { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: calc(var(--gutter) * 3); }

}



/* Histogramme */

.hist { --bar: #8C8577; --bar-in: var(--brick); --txt: var(--ink); --muted: var(--slate); --rule: var(--line); max-width: 680px; width: 100%; }

.hist--dark { --bar: #6F7488; --bar-in: #C8754F; --txt: var(--chalk); --muted: var(--on-ink-muted); --rule: var(--on-ink-line); }

.hist__caption { display: grid; gap: var(--s-1); margin-bottom: var(--s-7); }

.hist__title { font-weight: 600; font-size: .9375rem; color: var(--txt); }

.hist__sub { font-size: .8125rem; color: var(--muted); }

.hist__plot { position: relative; padding-top: 44px; }

.hist__bars {

  position: relative; height: clamp(150px, 22vw, 220px);

  display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); column-gap: 2px; align-items: end;

  border-bottom: 1px solid var(--rule);

}

.hist__slot { height: 100%; display: flex; align-items: flex-end; cursor: default; position: relative; }

.hist__bar { width: 100%; max-width: 24px; margin-inline: auto; background: var(--bar); border-radius: 4px 4px 0 0; min-height: 0; transition: opacity var(--d-1); }

.hist__bar.is-in { background: var(--bar-in); }

.hist__bars:hover .hist__bar { opacity: .55; }

.hist__bars .hist__slot:hover .hist__bar { opacity: 1; }

.hist__gridline { position: absolute; left: 0; right: 0; border-top: 1px solid var(--rule); pointer-events: none; }

.hist__gridline span { position: absolute; right: 0; bottom: 4px; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.hist__median { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px solid var(--txt); pointer-events: none; }

.hist__median span { position: absolute; bottom: calc(100% + 6px); left: 6px; white-space: nowrap; font-size: .75rem; color: var(--txt); font-weight: 600; }

.hist__iqr { position: absolute; top: 0; height: 18px; border: 1px solid var(--muted); border-bottom: 0; }

.hist__iqr span { position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .75rem; color: var(--txt); }

.hist__axis { position: relative; height: 28px; font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.hist__axis span { position: absolute; top: 8px; transform: translateX(-50%); }

.hist__axis .hist__unit { right: 0; left: auto; transform: none; top: 8px; display: none; }

.hist__tip {

  position: absolute; z-index: 2; pointer-events: none;

  background: var(--paper); color: var(--ink); padding: 6px 10px; font-size: .8125rem; white-space: nowrap;

  transform: translate(-50%, calc(-100% - 10px));

}

.hist__table { margin-top: var(--s-5); font-size: .8125rem; color: var(--muted); }

.hist__table summary { cursor: pointer; width: max-content; }

.hist__table summary:hover { color: var(--txt); }

.hist__table table { margin-top: var(--s-3); border-collapse: collapse; font-variant-numeric: tabular-nums; }

.hist__table td, .hist__table th { padding: 4px 24px 4px 0; text-align: left; border-bottom: 1px solid var(--rule); }

.hist__table th { font-weight: 600; color: var(--txt); }

@media (max-width: 600px) {

  .hist__median span { left: auto; right: 6px; }

}



/* ---------- Secteur & territoire ------------------------------------ */

.section--sector { overflow: hidden; }

.sector { display: grid; gap: var(--s-7); margin-bottom: var(--s-7); }

@media (min-width: 1024px) {

  .sector { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: calc(var(--gutter) * 2); align-items: center; }

}

.sector__list { display: grid; border-top: 1px solid var(--on-ink-line); }

.sector__item > a, .sector__item > span:first-child { display: contents; }

.sector__item {

  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4);

  padding: var(--s-3) 0; border-bottom: 1px solid var(--on-ink-line);

  transition: color var(--d-1), padding var(--d-2) var(--ease);

}

.sector__item a { text-decoration: none; }

.sector__name { font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; }

.sector__meta { font-size: .8125rem; color: var(--on-ink-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

.sector__item.is-active, .sector__item:hover { color: var(--brick-light); padding-left: var(--s-2); }



.territory { --ratio: 1.377; position: relative; width: 100%; }

.territory__stage { position: relative; aspect-ratio: var(--ratio); overflow: hidden; }

.territory__svg, .territory canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.territory canvas { opacity: 0; transition: opacity 900ms var(--ease); }

.territory.is-3d canvas { opacity: 1; }

.territory.is-3d .territory__svg { opacity: 0; transition: opacity 900ms var(--ease); }

.territory__labels { position: absolute; inset: 0; pointer-events: none; }

.tlabel {

  position: absolute; left: calc(var(--u) * 100%); top: calc(var(--v) * 100%); width: 0; height: 0;

  font-size: .8125rem; line-height: 1; pointer-events: auto; white-space: nowrap;

  transition: opacity var(--d-2) var(--ease);

}

.territory.is-3d .tlabel { left: 0; top: 0; transform: translate(var(--x, 0), var(--y, 0)); }

.tlabel__dot { position: absolute; left: 0; top: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 2px var(--ink); transition: transform var(--d-2) var(--ease); }

.tlabel__name { position: absolute; left: 10px; top: 0; transform: translateY(-50%); }

.tlabel--gauche .tlabel__name { left: auto; right: 10px; }

.tlabel--dessus .tlabel__name { left: 0; top: auto; bottom: 9px; transform: translateX(-50%); }

.tlabel--dessous .tlabel__name { left: 0; top: 9px; transform: translateX(-50%); }

.tlabel--haut-gauche .tlabel__name { left: auto; right: 4px; top: auto; bottom: 7px; transform: none; }

.tlabel__count {

  display: inline-block; margin-left: 4px; padding: 2px 5px 1px; font-size: .6875rem; font-weight: 600;

  background: var(--brick-light); color: var(--ink); border-radius: 2px; font-variant-numeric: tabular-nums;

}

.tlabel--centre { font-size: 1rem; font-family: var(--serif); }

.tlabel--centre .tlabel__dot { width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; background: var(--brick-light); }

.tlabel--centre .tlabel__name { font-size: 1.0625rem; }

.tlabel--repere { font-style: italic; opacity: .72; font-family: var(--serif); font-size: .875rem; }

.tlabel--repere .tlabel__dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; box-shadow: none; }

.tlabel.is-active .tlabel__dot { background: var(--brick-light); transform: scale(1.4); }

.tlabel.is-active { color: var(--brick-light); }

.territory__river {

  position: absolute; left: calc(var(--u) * 100%); top: calc(var(--v) * 100%);

  font-family: var(--serif); font-style: italic; font-size: .8125rem; letter-spacing: .08em; color: var(--brick-light);

  transform: translate(-50%, -50%) rotate(-14deg); pointer-events: none;

}

.territory.is-3d .territory__river { opacity: 0; }

.territory__river--aube { transform: translate(-50%, -50%) rotate(4deg); }

.territory__caption { margin-top: var(--s-4); font-size: .75rem; color: var(--on-ink-muted); }

.territory--dark { color: var(--chalk); }

.territory--light { color: var(--ink); }

.territory--light .tlabel__dot { box-shadow: 0 0 0 2px var(--chalk); }

.territory--light .tlabel--centre .tlabel__dot, .territory--light .tlabel.is-highlight .tlabel__dot { background: var(--brick); }

.territory--light .territory__river { color: var(--brick); }

.territory--light .territory__caption { color: var(--slate); }

.territory--light .tlabel__count { background: var(--brick); color: var(--paper); }

.tlabel.is-muted { opacity: .5; }

.tlabel.is-muted .tlabel__name, .territory--light .tlabel--repere .tlabel__name { display: none; }

.territory--light .tlabel.is-highlight .tlabel__name { font-size: 1rem; font-family: var(--serif); }

.tlabel.is-highlight { font-weight: 600; }

@media (max-width: 719px) {

  .tlabel--secteur:not(.is-highlight) .tlabel__name, .tlabel--repere .tlabel__name { display: none; }

  .territory__river { display: none; }

}



/* ---------- Avis ----------------------------------------------------- */

.reviews { display: grid; gap: var(--s-7); }

@media (min-width: 960px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); } }

.review blockquote { font-family: var(--serif); font-size: 1.375rem; line-height: 1.35; }

.review blockquote p::before { content: "« "; color: var(--brick); }

.review blockquote p::after { content: " »"; color: var(--brick); }

.review figcaption { margin-top: var(--s-5); font-size: var(--fs-small); }

.review__source { color: var(--slate); }

.reviews__note { margin-top: var(--s-7); font-size: .8125rem; color: var(--slate); }



/* ---------- Appel final ---------------------------------------------- */

.section--final { border-top: 1px solid var(--line); }

.final { display: grid; gap: var(--s-6); }

.final__title { font-family: var(--serif); font-weight: 330; font-size: clamp(3rem, 1rem + 8vw, 9rem); line-height: .95; letter-spacing: -.035em; max-width: 10ch; }

.final__channels { display: grid; margin-top: var(--s-6); border-top: 1px solid var(--line); }

.final__channels li { display: grid; gap: var(--s-1); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }

.final__label { font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--slate); }

.final__value { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.5rem); line-height: 1.15; text-decoration: none; font-variant-numeric: lining-nums; overflow-wrap: anywhere; }

.final__value:hover { color: var(--brick); }

.final__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-5); }

@media (min-width: 960px) {

  .final__channels { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); }

}



/* ---------- Footer --------------------------------------------------- */

.site-footer { background: var(--ink); color: var(--chalk); padding-block: var(--s-9) var(--s-6); font-size: .9375rem; }

.site-footer a { text-decoration: none; }

.site-footer a:hover { color: var(--brick-light); }

.site-footer__top { display: grid; gap: var(--s-7); padding-bottom: var(--s-8); }

.site-footer__name { font-family: var(--serif); font-size: 2rem; line-height: 1.1; }

.site-footer__role { color: var(--on-ink-muted); margin-top: var(--s-3); max-width: 44ch; font-size: .875rem; }

.site-footer__title { font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--on-ink-muted); margin-bottom: var(--s-4); }

.site-footer ul { list-style: none; padding: 0; }

.site-footer__col ul { display: grid; gap: var(--s-2); }

.site-footer__address { margin-top: var(--s-4); color: var(--on-ink-muted); font-size: .875rem; }

.site-footer__bottom { display: grid; gap: var(--s-3); padding-top: var(--s-5); border-top: 1px solid var(--on-ink-line); font-size: .8125rem; color: var(--on-ink-muted); }

.site-footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }

@media (min-width: 960px) {

  .site-footer__top { grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.3fr)); column-gap: var(--gutter); }

  .site-footer__bottom { grid-template-columns: auto 1fr auto; align-items: center; column-gap: var(--s-6); }

  .site-footer__card { justify-self: center; }

}

@media (max-width: 959px) { .site-footer { padding-bottom: calc(var(--s-9) + env(safe-area-inset-bottom)); } }



/* ---------- Barre d'action mobile ----------------------------------- */

.action-bar {

  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;

  display: grid; grid-template-columns: auto auto 1fr;

  background: var(--paper); box-shadow: 0 -1px 0 var(--line);

  padding-bottom: env(safe-area-inset-bottom);

  transform: translateY(110%); transition: transform var(--d-3) var(--ease);

}

.action-bar.is-visible { transform: none; }

.action-bar__item {

  display: flex; align-items: center; justify-content: center; gap: var(--s-2);

  min-height: 52px; padding: 0 var(--s-4); text-decoration: none; font-size: .875rem; font-weight: 600;

}

.action-bar__item .icon { width: 18px; height: 18px; }

.action-bar__item + .action-bar__item { border-left: 1px solid var(--line); }

.action-bar__item--main { background: var(--ink); color: var(--chalk); justify-content: space-between; }

@media (min-width: 960px) { .action-bar { display: none; } }

.no-js .action-bar { display: none; }



/* ---------- En-tête des pages intérieures --------------------------- */

.page-hero { padding-top: calc(var(--header-h) + clamp(var(--s-7), 6vw, var(--s-10))); padding-bottom: clamp(var(--s-7), 5vw, var(--s-9)); }

.page-hero__title { font-size: clamp(2.75rem, 1rem + 6.4vw, 7.5rem); line-height: .95; letter-spacing: -.035em; font-weight: 330; max-width: 13ch; }

.page-hero__lead { margin-top: var(--s-6); }

.page-hero__grid { display: grid; gap: var(--s-6); }

@media (min-width: 960px) {

  .page-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gutter); align-items: end; }

}

.breadcrumbs { font-size: .8125rem; color: var(--slate); margin-bottom: var(--s-6); }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: 0; }

.breadcrumbs li + li::before { content: "/"; margin-right: var(--s-2); color: var(--line); }

.breadcrumbs a { text-decoration: none; }

.breadcrumbs a:hover { color: var(--brick); }



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

.filters {

  position: sticky; top: 0; z-index: 30;

  background: var(--chalk); border-block: 1px solid var(--line);

  transition: top var(--d-3) var(--ease);

}

.header-visible .filters { top: var(--header-h); }

.filters__inner { display: flex; flex-wrap: wrap; align-items: end; gap: var(--s-4) var(--s-5); padding-block: var(--s-4); }

.filters__group { display: grid; gap: 4px; }

fieldset.filters__group { border: 0; padding: 0; margin: 0; min-width: 0; }

.actions-row { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }

.filters__group label, .filters__legend { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }

.select {

  appearance: none; -webkit-appearance: none;

  min-height: 44px; padding: 0 36px 0 12px; min-width: 9.5rem;

  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2315182A' stroke-width='1.5'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;

  border: 1px solid var(--field-border); border-radius: 2px; font-size: .9375rem;

}

.select:hover { border-color: var(--ink); }

.seg { display: inline-flex; border: 1px solid var(--field-border); border-radius: 2px; background: var(--paper); }

.seg label { position: relative; }

.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }

.seg span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 12px; font-size: .9375rem; }

.seg label + label span { border-left: 1px solid var(--line); }

.seg input:checked + span { background: var(--ink); color: var(--chalk); }

.seg input:focus-visible + span { outline: 2px solid var(--brick); outline-offset: 2px; }

.filters__end { margin-left: auto; display: flex; align-items: center; gap: var(--s-5); }

.filters__count { font-size: .9375rem; color: var(--slate); font-variant-numeric: tabular-nums; }

.filters__count strong { color: var(--ink); }

.filters__reset { background: none; border: 0; padding: 0; font-size: .875rem; text-decoration: underline; text-underline-offset: .2em; color: var(--slate); }

.filters__reset:hover { color: var(--brick); }

.filters__submit { display: inline-flex; }

.js .filters__submit { display: none; }

.filters__toggle { display: none; }

@media (max-width: 959px) {

  .js .filters__toggle {

    display: flex; width: 100%; justify-content: space-between; align-items: center;

    min-height: 52px; background: none; border: 0; padding: 0; font-weight: 600;

  }

  .js .filters__toggle .icon { width: 20px; height: 20px; }

  .js .filters__panel { display: none; }

  .js .filters.is-open .filters__panel { display: flex; }

  .filters__inner { padding-block: var(--s-2); }

  .filters__panel { flex-direction: column; align-items: stretch; width: 100%; gap: var(--s-4); padding-bottom: var(--s-4); }

  .filters__group, .select { width: 100%; }

  .seg { width: 100%; }

  .seg label { flex: 1; }

  .seg span { justify-content: center; width: 100%; }

  .filters__end { margin-left: 0; justify-content: space-between; }

}

@media (min-width: 960px) {

  .filters__panel { display: contents; }

}

.listing { padding-block: var(--s-8) var(--section); }

.listing__grid { display: grid; gap: var(--s-8) var(--gutter); }

@media (min-width: 720px) { .listing__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (min-width: 1100px) {

  .listing__grid { column-gap: calc(var(--gutter) * 2.5); }

  .listing__grid > .pcard:nth-child(2n) { transform: translateY(var(--s-9)); }

  .listing__grid { padding-bottom: var(--s-9); }

}

.listing__grid > .pcard.is-filtered { display: none; }

.listing__empty { display: grid; gap: var(--s-5); justify-items: start; padding: var(--s-8) 0; border-top: 1px solid var(--line); max-width: 52ch; }

.listing__empty .h3 { max-width: 20ch; }

.listing__source { margin-top: var(--s-9); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: .8125rem; color: var(--slate); max-width: 72ch; }



/* ---------- Fiche d'un bien ----------------------------------------- */

.bien-top { padding-top: calc(var(--header-h) + var(--s-5)); }

.gallery { display: grid; gap: var(--s-2); position: relative; }

.gallery__main { position: relative; overflow: hidden; background: var(--stone); aspect-ratio: 4 / 3; cursor: zoom-in; }

.gallery__main img, .gallery__main picture, .gallery__side img, .gallery__side picture { width: 100%; height: 100%; object-fit: cover; }

.gallery__side { display: none; }

.gallery__open {

  position: absolute; right: var(--s-4); bottom: var(--s-4);

  display: inline-flex; align-items: center; gap: var(--s-2);

  background: var(--paper); color: var(--ink); border: 0; min-height: 44px; padding: 0 var(--s-4);

  font-size: .875rem; font-weight: 600;

}

.gallery__open .icon { width: 18px; height: 18px; }

.gallery__open:hover { background: var(--ink); color: var(--chalk); }

@media (max-width: 959px) {

  .gallery__open { top: var(--s-3); right: var(--s-3); bottom: auto; min-height: 40px; padding: 0 var(--s-3); }

  .gallery__media-btns { left: var(--s-3); bottom: var(--s-3); }

  .gallery__media-btns a { min-height: 40px; padding: 0 var(--s-3); }

}

.gallery__media-btns { position: absolute; left: var(--s-4); bottom: var(--s-4); display: flex; gap: var(--s-2); }

.gallery__media-btns a, .gallery__media-btns button {

  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4);

  background: var(--ink); color: var(--chalk); border: 0; font-size: .875rem; font-weight: 600; text-decoration: none;

}

.gallery__media-btns .icon { width: 18px; height: 18px; }

.gallery__media-btns a:hover, .gallery__media-btns button:hover { background: var(--brick); }

@media (min-width: 960px) {

  .gallery { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); height: min(78svh, 760px); }

  .gallery__main { aspect-ratio: auto; height: 100%; }

  .gallery__side { display: grid; grid-template-rows: 1fr 1fr; gap: var(--s-2); height: 100%; }

  .gallery__side a { display: block; overflow: hidden; background: var(--stone); cursor: zoom-in; }

  .gallery__side img { transition: transform 1.2s var(--ease); }

  .gallery__side a:hover img { transform: scale(1.04); }

}

.bien-layout { display: grid; gap: var(--s-8); padding-block: var(--s-8) var(--section); }

@media (min-width: 1024px) {

  .bien-layout { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: calc(var(--gutter) * 2.5); align-items: start; }

}

.bien-head__place { font-size: var(--fs-label); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: center; }

.bien-head__title { font-weight: inherit; }

.bien-head__name { display: block; font-family: var(--serif); font-weight: 340; font-size: clamp(2.5rem, 1.4rem + 3.6vw, 5rem); line-height: 1; letter-spacing: -.025em; text-wrap: balance; }

.bien-head__desc { display: block; margin-top: var(--s-4); font-size: var(--fs-lead); line-height: 1.4; max-width: 40ch; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: var(--s-7); border-top: 1px solid var(--line); }

.facts > div { padding: var(--s-4) var(--s-4) var(--s-4) 0; border-bottom: 1px solid var(--line); }

.facts dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--slate); }

.facts dd { font-family: var(--serif); font-size: clamp(1.375rem, 1.1rem + .8vw, 1.875rem); line-height: 1.2; margin-top: 2px; font-variant-numeric: lining-nums; display: flex; align-items: center; gap: var(--s-2); }

.facts .dpe-chip i { width: 14px; height: 14px; }

@media (min-width: 720px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (min-width: 1200px) { .facts { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.bien-block { margin-top: var(--s-9); }

.bien-block__title { font-family: var(--serif); font-weight: 380; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); line-height: 1.1; letter-spacing: -.01em; margin-bottom: var(--s-5); }

.bien-desc { max-width: 66ch; font-size: 1.0625rem; }

.bien-desc p + p { margin-top: 1em; }

.highlights { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-6); }

.highlights li { border: 1px solid var(--line); padding: 6px 12px; font-size: .875rem; background: var(--paper); }

.spec { display: grid; border-top: 1px solid var(--line); }

@media (min-width: 720px) { .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); } }

.spec > div { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: .9688rem; }

.spec dt { color: var(--slate); }

.spec dd { text-align: right; }

.rooms { width: 100%; border-collapse: collapse; font-size: .9688rem; }

.rooms th, .rooms td { text-align: left; padding: var(--s-3) var(--s-4) var(--s-3) 0; border-bottom: 1px solid var(--line); }

.rooms thead th { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-weight: 600; border-top: 1px solid var(--line); }

.rooms td:last-child, .rooms th:last-child { text-align: right; padding-right: 0; }

.energy { display: grid; gap: var(--s-6); }

.energy__classes { display: flex; flex-wrap: wrap; gap: var(--s-6); }

.energy__class { display: grid; gap: var(--s-2); }

.energy__label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-weight: 600; }

.energy__scale { display: flex; gap: 2px; }

.energy__scale span { width: 30px; height: 34px; display: grid; place-items: center; font-weight: 600; font-size: .875rem; color: rgba(21,24,42,.55); background: var(--stone); }

.energy__scale span.is-current { width: 46px; height: 46px; margin-top: -6px; color: var(--ink); font-size: 1.25rem; box-shadow: inset 0 0 0 2px var(--ink); }

.energy__scale span.is-current.is-dark { color: #fff; box-shadow: inset 0 0 0 2px var(--ink), inset 0 0 0 4px #fff; }

.energy__note { font-size: .9375rem; max-width: 60ch; }

.spaced { margin-top: var(--s-4); }

.choices + .fields { margin-top: var(--s-5); }

.energy__imgs { display: flex; flex-wrap: wrap; gap: var(--s-5); }

.energy__imgs img { width: 220px; background: #fff; }

.legal-box { background: var(--paper); border-left: 2px solid var(--brick); padding: var(--s-5) var(--s-5); font-size: .9375rem; max-width: 72ch; }

.legal-box p + p { margin-top: .75em; }

.legal-box a { color: var(--ink); }

.bien-location { display: grid; gap: var(--s-5); }

@media (min-width: 720px) { .bien-location { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: var(--gutter); } }

.bien-aside { display: grid; gap: var(--s-5); }

@media (min-width: 1024px) { .bien-aside { position: sticky; top: calc(var(--header-h) + var(--s-5)); } }

.aside-card { background: var(--paper); padding: var(--s-6); display: grid; gap: var(--s-4); }

.aside-card__price { font-family: var(--serif); font-size: clamp(2.25rem, 1.8rem + 1.2vw, 3rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: lining-nums; }

.aside-card__fees { font-size: .875rem; color: var(--slate); }

.aside-card .btn { width: 100%; }

.aside-card__agent { display: flex; gap: var(--s-4); align-items: center; padding-top: var(--s-4); border-top: 1px solid var(--line); font-size: .9375rem; line-height: 1.4; }

.aside-card__agent picture { width: 56px; flex: none; }

.aside-card__agent a { text-decoration: none; font-variant-numeric: tabular-nums; }

.aside-card__agent a:hover { color: var(--brick); }

.aside-source { font-size: .8125rem; color: var(--slate); display: grid; gap: var(--s-2); }

.aside-source a { display: inline-flex; align-items: center; gap: 4px; }

.aside-source .icon { width: 14px; height: 14px; }

.bien-contact { scroll-margin-top: calc(var(--header-h) + var(--s-6)); }

.bien-bar {

  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;

  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);

  background: var(--paper); box-shadow: 0 -1px 0 var(--line);

  padding: var(--s-2) var(--margin) calc(var(--s-2) + env(safe-area-inset-bottom));

  transform: translateY(110%); transition: transform var(--d-3) var(--ease);

}

.bien-bar.is-visible { transform: none; }

.bien-bar__price { font-family: var(--serif); font-size: 1.375rem; font-variant-numeric: lining-nums; }

.bien-bar .btn { min-height: 44px; }

@media (min-width: 1024px) { .bien-bar { display: none; } }

.no-js .bien-bar { display: none; }

.embed { position: relative; aspect-ratio: 16 / 9; background: var(--ink); color: var(--chalk); }

.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.embed__facade { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: var(--s-4); padding: var(--s-6); text-align: center; }

.embed__facade p { font-size: .875rem; color: var(--on-ink-muted); max-width: 46ch; }

.embed__facade .btn { --btn-bg: var(--chalk); --btn-fg: var(--ink); }

.embeds { display: grid; gap: var(--s-6); }

@media (min-width: 960px) { .embeds--2 { grid-template-columns: 1fr 1fr; column-gap: var(--gutter); } }

.inactive-note { background: var(--ink); color: var(--chalk); padding: var(--s-5) var(--s-6); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); }

.related { padding-block: var(--section); border-top: 1px solid var(--line); }

.related__grid { display: grid; gap: var(--s-8) var(--gutter); }

@media (min-width: 720px) { .related__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }



/* Visionneuse plein écran */

.lightbox {

  position: fixed; inset: 0; z-index: 90; margin: 0; padding: 0; border: 0;

  width: 100%; height: 100%; max-width: none; max-height: none;

  background: #0E1020; color: var(--chalk);

  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;

}

.lightbox:not([open]) { display: none; }

.lightbox::backdrop { background: #0E1020; }

.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: var(--s-4) var(--margin); font-size: .9375rem; }

.lightbox__count { font-variant-numeric: tabular-nums; }

.lightbox__close { display: inline-flex; align-items: center; gap: var(--s-2); background: none; border: 0; color: inherit; min-height: 44px; font-weight: 600; }

.lightbox__close .icon { width: 22px; height: 22px; }

.lightbox__stage { position: relative; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; }

.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: opacity var(--d-2) var(--ease), transform var(--d-3) var(--ease); }

.lightbox__stage img.is-leaving { opacity: 0; transform: translateX(var(--dir, 0)); }

.lightbox__nav { position: absolute; top: 0; bottom: 0; width: 50%; background: none; border: 0; color: transparent; }

.lightbox__nav--prev { left: 0; }

.lightbox__nav--next { right: 0; }

.lightbox__thumbs { display: flex; gap: 4px; overflow-x: auto; padding: var(--s-3) var(--margin) calc(var(--s-3) + env(safe-area-inset-bottom)); scrollbar-width: thin; scrollbar-color: #3A3E55 transparent; }

.lightbox__thumbs button { flex: none; width: 72px; height: 54px; padding: 0; border: 0; background: #22263A; opacity: .5; transition: opacity var(--d-1); }

.lightbox__thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--brick-light); }

.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.cursor-label {

  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;

  padding: 8px 12px; background: var(--chalk); color: var(--ink); font-size: .8125rem; font-weight: 600;

  transform: translate(-50%, -50%) translate(var(--cx, -100px), var(--cy, -100px));

  opacity: 0; transition: opacity var(--d-1);

}

.cursor-label.is-on { opacity: 1; }

.has-cursor-label { cursor: none; }



/* ---------- Estimation ---------------------------------------------- */

.est-steps { display: grid; gap: var(--s-6); counter-reset: e; }

.est-steps li { border-top: 1px solid var(--line); padding-top: var(--s-5); }

.est-steps__n { display: block; font-family: var(--serif); font-size: clamp(3rem, 2rem + 3vw, 5rem); line-height: 1; font-weight: 330; color: var(--brick); margin-bottom: var(--s-4); }

.est-steps h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; margin-bottom: var(--s-2); }

.est-steps p { color: var(--slate); }

@media (min-width: 720px) { .est-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); } }

@media (min-width: 1100px) { .est-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.criteria { display: grid; gap: var(--s-6) var(--gutter); }

@media (min-width: 720px) { .criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (min-width: 1100px) { .criteria { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.criteria li { padding-top: var(--s-4); border-top: 1px solid var(--on-ink-line); }

.criteria h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: var(--s-2); }

.criteria p { color: var(--on-ink-muted); font-size: .9688rem; }

.market { display: grid; gap: var(--s-8); }

@media (min-width: 1024px) { .market { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: calc(var(--gutter) * 3); align-items: start; } }

@media (min-width: 960px) { .market .facts-band { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.market-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .9375rem; }

.market-table caption { text-align: left; font-weight: 600; margin-bottom: var(--s-3); }

.market-table th, .market-table td { padding: var(--s-3) var(--s-3) var(--s-3) 0; border-bottom: 1px solid var(--line); text-align: right; }

.market-table th:first-child, .market-table td:first-child { text-align: left; }

.market-table thead th { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); font-weight: 600; border-top: 1px solid var(--line); vertical-align: bottom; }

.market-note { margin-top: var(--s-4); font-size: .8125rem; color: var(--slate); max-width: 62ch; }

.faq { border-top: 1px solid var(--line); max-width: 860px; }

.faq details { border-bottom: 1px solid var(--line); }

.faq summary {

  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-5);

  padding: var(--s-5) 0; font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.625rem); line-height: 1.25;

}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.75rem; line-height: 1; color: var(--brick); transition: transform var(--d-2) var(--ease); }

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details p { padding-bottom: var(--s-5); max-width: 62ch; color: var(--slate); }

.form-section { scroll-margin-top: var(--header-h); }

.form-layout { display: grid; gap: var(--s-8); }

@media (min-width: 1024px) { .form-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: calc(var(--gutter) * 3); align-items: start; } }

.form-layout__intro { display: grid; gap: var(--s-5); align-content: start; }

@media (min-width: 1024px) { .form-layout__intro { position: sticky; top: calc(var(--header-h) + var(--s-6)); } }

.form-layout__intro .lead { max-width: 30ch; }

.reassure { display: grid; gap: var(--s-3); font-size: .9375rem; margin-top: var(--s-3); }

.reassure li { display: flex; gap: var(--s-3); }

.reassure .icon { width: 20px; height: 20px; flex: none; color: var(--brick); margin-top: 2px; }



/* ---------- Questionnaire ------------------------------------------- */

.wizard { position: relative; background: var(--paper); padding: clamp(var(--s-5), 4vw, var(--s-8)); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wizard__head { display: flex; align-items: center; gap: var(--s-4); margin-bottom: var(--s-7); }

.wizard__count { font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--slate); white-space: nowrap; }

.wizard__progress { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }

.wizard__bar { position: absolute; inset: 0; background: var(--brick); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform var(--d-3) var(--ease); }

.step { border: 0; margin: 0; padding: 0; min-width: 0; }

.step + .step { margin-top: var(--s-8); padding-top: var(--s-7); border-top: 1px solid var(--line); }

.js .wizard.is-enhanced .step + .step { margin-top: 0; padding-top: 0; border-top: 0; }

.step__title {

  font-family: var(--serif); font-weight: 360; font-size: clamp(1.875rem, 1.4rem + 1.6vw, 2.75rem); line-height: 1.08; letter-spacing: -.015em;

  padding: 0; margin-bottom: var(--s-6); float: left; width: 100%;

}

.step__title:focus { outline: none; }

.step > :not(legend) { clear: both; }

.step__intro { color: var(--slate); margin: calc(var(--s-4) * -1) 0 var(--s-5); }

.wizard.is-enhanced .step { animation: step-in var(--d-3) var(--ease) both; }

.wizard.is-enhanced.is-back .step { animation-name: step-in-back; }

@keyframes step-in { from { opacity: 0; transform: translateX(24px); } }

@keyframes step-in-back { from { opacity: 0; transform: translateX(-24px); } }

.choices { display: grid; gap: var(--s-3); }

.choices--projet { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.choices--type, .choices--delai { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }

.choice { position: relative; display: grid; gap: 2px; padding: var(--s-4) var(--s-5) var(--s-4) var(--s-5); min-height: 64px; align-content: center; border: 1px solid var(--field-border); background: var(--chalk); cursor: pointer; transition: border-color var(--d-1), background-color var(--d-1); }

.choice:hover { border-color: var(--ink); }

.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }

.choice__label { font-weight: 600; font-size: 1rem; padding-right: var(--s-6); }

.choice__hint { font-size: .875rem; color: var(--slate); padding-right: var(--s-5); }

.choice::after {

  content: ""; position: absolute; right: var(--s-4); top: 50%; width: 18px; height: 18px; margin-top: -9px;

  border: 1px solid var(--field-border); border-radius: 50%; background: var(--paper);

  transition: background-color var(--d-1), box-shadow var(--d-1);

}

.choice:has(input:checked) { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }

.choice:has(input:checked)::after { background: var(--ink); box-shadow: inset 0 0 0 4px var(--paper); border-color: var(--ink); }

.choice:has(input:focus-visible) { outline: 2px solid var(--brick); outline-offset: 2px; }

.choice--compact { min-height: 56px; }

.fields { display: grid; gap: var(--s-5) var(--gutter); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

.fields--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }

.field { display: grid; gap: 6px; align-content: start; }

.field--full { grid-column: 1 / -1; }

.field--wide { grid-column: span 2; }

@media (max-width: 600px) { .field--wide { grid-column: 1 / -1; } }

.field label, .subfield legend { font-size: .9375rem; font-weight: 600; }

.field__opt { font-weight: 400; color: var(--slate); font-size: .8125rem; }

.field__opt::before { content: "· "; }

.field input, .field textarea {

  width: 100%; min-height: 52px; padding: 12px 14px;

  background: var(--chalk); border: 1px solid var(--field-border); border-radius: 2px; font-size: 1rem;

  transition: border-color var(--d-1), background-color var(--d-1);

}

.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }

.field input:hover, .field textarea:hover { border-color: var(--ink); }

.field input:focus, .field textarea:focus { border-color: var(--ink); background: var(--paper); outline: 2px solid var(--ink); outline-offset: -1px; }

.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .choices[aria-invalid="true"] .choice { border-color: #B3261E; }

.field__unit { position: relative; }

.field__unit input { padding-right: 48px; }

.field__unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--slate); font-size: .9375rem; pointer-events: none; }

.field__hint { font-size: .8125rem; color: var(--slate); }

.field__error { font-size: .875rem; color: #B3261E; font-weight: 500; display: flex; gap: 6px; }

.field__error::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; flex: none; border-radius: 50%; background: #B3261E; color: #fff; font-size: .75rem; font-weight: 700; margin-top: 1px; }

.subfield { border: 0; padding: 0; margin: var(--s-6) 0 0; min-width: 0; }

.subfield legend { padding: 0; margin-bottom: var(--s-3); }

.pills { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.pill { position: relative; }

.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }

.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--field-border); background: var(--chalk); font-size: .9375rem; transition: background-color var(--d-1), color var(--d-1); }

.pill:hover span { border-color: var(--ink); }

.pill input:checked + span { background: var(--ink); color: var(--chalk); border-color: var(--ink); }

.pill input:focus-visible + span { outline: 2px solid var(--brick); outline-offset: 2px; }

.step .field--full { margin-top: var(--s-5); }

.privacy { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); display: grid; gap: var(--s-3); font-size: .875rem; }

.privacy__text { color: var(--slate); max-width: 64ch; }

.privacy__text a { color: var(--ink); }

.privacy__opt { font-weight: 600; margin-top: var(--s-2); }

.check { display: grid; grid-template-columns: 20px 1fr; gap: var(--s-3); align-items: start; cursor: pointer; max-width: 64ch; color: var(--slate); }

.check input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 1px 0 0; border: 1px solid var(--field-border); background: var(--chalk); border-radius: 2px; display: grid; place-content: center; cursor: pointer; }

.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--chalk); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }

.check input:checked { background: var(--ink); border-color: var(--ink); }

.check input:checked::after { opacity: 1; }

.wizard__nav { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between; margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); }

.wizard__nav .btn { min-height: 56px; }

.wizard__next, .wizard__submit { margin-left: auto; }

.wizard__submit.is-loading { pointer-events: none; }

.wizard__submit.is-loading span::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -2px; animation: spin 700ms linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.wizard__error, .wizard__alert { margin-top: var(--s-5); padding: var(--s-4) var(--s-5); background: #FBEAE8; color: #7A1A13; border-left: 2px solid #B3261E; font-size: .9375rem; }

.wizard__alert { margin: 0 0 var(--s-6); }

.wizard__alert ul { margin-top: var(--s-2); padding-left: 1.2em; }

.wizard__alert a { color: inherit; }

.wizard-done { background: var(--paper); padding: clamp(var(--s-6), 5vw, var(--s-9)); display: grid; gap: var(--s-4); justify-items: start; animation: rise var(--d-4) var(--ease) both; }

.wizard-done:focus { outline: none; }

.wizard-done__mark { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--chalk); display: grid; place-items: center; }

.wizard-done__mark .icon { width: 28px; height: 28px; }

.wizard-done__title { font-family: var(--serif); font-weight: 340; font-size: clamp(2.25rem, 1.6rem + 2vw, 3.5rem); line-height: 1; letter-spacing: -.02em; }

.wizard-done__text { max-width: 46ch; font-size: 1.0625rem; }

.wizard-done__id { font-size: .9375rem; color: var(--slate); }

.wizard-done__id strong { color: var(--ink); font-variant-numeric: tabular-nums; }



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

.claire-hero { padding-top: var(--header-h); background: var(--stone); overflow: hidden; }

.claire-hero__grid { display: grid; gap: var(--s-6); align-items: end; }

.claire-hero__text { padding-block: var(--s-8) var(--s-7); }

.claire-hero__media { max-width: 520px; width: 100%; margin-inline: auto; }

@media (min-width: 960px) {

  .claire-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gutter); min-height: min(92svh, 980px); }

  .claire-hero__text { align-self: center; padding-block: var(--s-10); }

  .claire-hero__media { max-width: none; margin: 0; }

}

.claire-hero .page-hero__title { max-width: 8ch; }

.chapter { display: grid; gap: var(--s-6); padding-block: clamp(var(--s-8), 8vw, var(--s-10)); border-top: 1px solid var(--line); }

.chapter:first-child { border-top: 0; }

.chapter__num { font-family: var(--serif); font-style: italic; color: var(--brick); font-size: 1.125rem; }

.chapter__title { font-family: var(--serif); font-weight: 360; font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); line-height: 1.05; letter-spacing: -.015em; }

.chapter__quote { font-family: var(--serif); font-style: italic; font-weight: 340; font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3.25rem); line-height: 1.15; letter-spacing: -.01em; max-width: 22ch; position: relative; }

.chapter__quote p::before { content: "« "; color: var(--brick); }

.chapter__quote p::after { content: " »"; color: var(--brick); }

.chapter__text { font-size: var(--fs-lead); line-height: 1.55; max-width: 52ch; }

@media (min-width: 960px) {

  .chapter { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

  .chapter__head { grid-column: 1 / span 3; }

  .chapter__body { grid-column: 5 / span 8; display: grid; gap: var(--s-6); }

}

.engagements { display: grid; gap: var(--s-6); }

@media (min-width: 960px) { .engagements { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); } }

.engagements li { border-top: 1px solid var(--on-ink-line); padding-top: var(--s-5); }

.engagements strong { display: block; font-family: var(--serif); font-weight: 380; font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem); line-height: 1.1; margin-bottom: var(--s-3); }

.engagements span { color: var(--on-ink-muted); font-size: 1.0625rem; }

.network { display: grid; gap: var(--s-6); align-items: center; }

@media (min-width: 960px) { .network { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: calc(var(--gutter) * 2); } }

.socials { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.socials a { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 48px; padding: 0 var(--s-5); border: 1px solid var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; transition: background-color var(--d-2), color var(--d-2); }

.socials a:hover { background: var(--ink); color: var(--chalk); }

.qa { display: grid; gap: var(--s-7); max-width: 860px; }

.qa dt { font-family: var(--serif); font-size: 1.5rem; line-height: 1.2; margin-bottom: var(--s-3); }

.qa dd { color: var(--slate); font-size: 1.0625rem; max-width: 62ch; }



/* ---------- Secteur / commune --------------------------------------- */

.communes { border-top: 1px solid var(--line); }

.communes__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2) var(--s-5); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); align-items: baseline; }

.communes__name { font-family: var(--serif); font-size: clamp(1.375rem, 1.2rem + .6vw, 1.875rem); line-height: 1.15; }

.communes__name a { text-decoration: none; }

.communes__name a:hover { color: var(--brick); }

.communes__meta { font-size: .875rem; color: var(--slate); grid-column: 1; }

.communes__biens { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: .875rem; }

.communes__biens a { white-space: nowrap; }

@media (min-width: 960px) {

  .communes__row { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 2fr); }

  .communes__meta { grid-column: 2; grid-row: 1; }

  .communes__biens { grid-column: 3; grid-row: 1; text-align: right; }

}

.facts-band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }

.facts-band > div { padding: var(--s-5) var(--s-4) var(--s-5) 0; border-bottom: 1px solid var(--line); }

.facts-band dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-weight: 600; }

.facts-band dd { font-family: var(--serif); font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.75rem); line-height: 1.1; margin-top: var(--s-1); font-variant-numeric: lining-nums; }

.facts-band small { display: block; font-family: var(--sans); font-size: .8125rem; color: var(--slate); margin-top: 2px; }

@media (min-width: 960px) { .facts-band { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.two-col { display: grid; gap: var(--s-7); }

@media (min-width: 960px) { .two-col { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: calc(var(--gutter) * 2.5); } }



/* ---------- Contact -------------------------------------------------- */

.channels { display: grid; border-top: 1px solid var(--line); }

.channel { display: grid; gap: var(--s-2); padding: var(--s-6) 0; border-bottom: 1px solid var(--line); text-decoration: none; }

.channel__label { font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--slate); display: flex; align-items: center; gap: var(--s-2); }

.channel__label .icon { width: 18px; height: 18px; color: var(--brick); }

.channel__value { font-family: var(--serif); font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.75rem); line-height: 1.1; overflow-wrap: anywhere; font-variant-numeric: lining-nums; }

.channel__note { font-size: .875rem; color: var(--slate); }

a.channel:hover .channel__value { color: var(--brick); }

@media (min-width: 960px) {

  .channels { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); }

  .channel { padding-right: var(--s-5); }

}

.agency { display: grid; gap: var(--s-5); }

@media (min-width: 960px) { .agency { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: calc(var(--gutter) * 2); } }



/* ---------- Photos de Claire (contact, page Claire) ------------------ */

.contact-hero { display: grid; gap: var(--s-7); align-items: end; }

.contact-hero__media { max-width: 420px; }

@media (min-width: 960px) {

  .contact-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: calc(var(--gutter) * 2); }

  .contact-hero__media { max-width: none; }

}

.agency__photo picture, .agency__photo img { width: 100%; }



/* ---------- Pages légales & 404 ------------------------------------- */

.legal-page { padding-bottom: var(--section); }

.legal-page .prose { font-size: 1rem; }

.legal-dl { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); margin-top: var(--s-4); }

.legal-dl > div { display: grid; gap: var(--s-1) var(--s-5); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }

@media (min-width: 720px) { .legal-dl > div { grid-template-columns: 14rem minmax(0, 1fr); } }

.legal-dl dt { color: var(--slate); font-size: .9375rem; }

.legal-table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin-top: var(--s-4); }

.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: var(--s-3) var(--s-4) var(--s-3) 0; border-bottom: 1px solid var(--line); }

.legal-table thead th { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); border-top: 1px solid var(--line); }

.table-scroll { overflow-x: auto; }

.notfound { min-height: 80svh; display: grid; align-content: center; }

.notfound__code { font-family: var(--serif); font-style: italic; color: var(--brick); font-size: 1.25rem; margin-bottom: var(--s-4); }



/* ---------- Apparitions au défilement (JS) -------------------------- */

@media (prefers-reduced-motion: no-preference) {

  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--d-4) var(--ease), transform var(--d-4) var(--ease); transition-delay: var(--delay, 0ms); animation: reveal-failsafe 0s 4s forwards; }

  .js .reveal.is-in { opacity: 1; transform: none; animation: none; }

  .js .reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); animation: reveal-img-failsafe 0s 4s forwards; }

  .js .reveal-img img { transform: scale(1.08); transition: transform 1.8s var(--ease); }

  .js .reveal-img.is-in { clip-path: inset(0 0 0 0); animation: none; }

  .js .reveal-img.is-in img { transform: none; }

}

@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }

@keyframes reveal-img-failsafe { to { clip-path: inset(0 0 0 0); } }



/* ---------- Transitions de page (View Transitions natives) ----------- */

@view-transition { navigation: auto; }

::view-transition-old(root) { animation: 260ms var(--ease-in-out) both vt-out; }

::view-transition-new(root) { animation: 520ms var(--ease) both vt-in; }

::view-transition-group(bien-photo) { animation-duration: 640ms; animation-timing-function: var(--ease); }

::view-transition-old(bien-photo), ::view-transition-new(bien-photo) { height: 100%; object-fit: cover; }

@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }

@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }



@media (prefers-reduced-motion: reduce) {

  @view-transition { navigation: none; }

  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }

}



/* ---------- Impression ---------------------------------------------- */

@media print {

  .site-header, .action-bar, .bien-bar, .mobile-menu, .site-footer, .wizard, .filters, .gallery__open, .gallery__media-btns { display: none !important; }

  body { background: #fff; }

  .page-hero, .bien-top { padding-top: 0; }

}

@media (forced-colors: active) {

  .hist__bar { background: CanvasText; }

  .hist__bar.is-in { background: Highlight; }

  .btn { border: 1px solid ButtonText; }

}

