/* ==========================================================================
   Résidence Mosa — feuille de style du site public
   Palette : bordeaux #7B1E2D · vieux rose #CFA2A6 · pierre champagne #E7DED2 · taupe pruné #5A4B52
   ========================================================================== */

:root {
  --bordeaux: #7B1E2D;
  --bordeaux-dark: #5C1522;
  --bordeaux-deep: #431019;
  --rose: #CFA2A6;
  --rose-light: #EBD8DA;
  --champagne: #E7DED2;
  --champagne-light: #F2ECE4;
  --cream: #F8F4EF;
  --taupe: #5A4B52;
  --taupe-dark: #3A2F35;
  --ink: #2A2226;
  --muted: #74676C;
  --line: rgba(90, 75, 82, 0.18);
  --line-strong: rgba(90, 75, 82, 0.32);
  --white: #ffffff;
  --ok: #3E6B4F;
  --warn: #B8862B;
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Jost', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --container: 1180px;
  --radius: 6px;
  --shadow: 0 12px 34px rgba(42, 34, 38, 0.09);
  --shadow-sm: 0 4px 14px rgba(42, 34, 38, 0.07);
  --header-h: 84px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
body.has-lightbox, body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; height: 100%; }
a { color: var(--bordeaux); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bordeaux-dark); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 500; line-height: 1.12; color: var(--taupe-dark); margin: 0 0 .6em; letter-spacing: -0.005em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
strong { font-weight: 500; }
:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 780px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--bordeaux); color: #fff; padding: .6rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }

.kicker {
  font-family: var(--font-sans); font-weight: 500; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--bordeaux); margin: 0 0 .9rem;
}
.kicker--light { color: var(--rose); }
.section { padding: 5.5rem 0; }
.section--alt { background: var(--champagne-light); }
.section--tight { padding-top: 2.5rem; }
.section__title { font-size: clamp(2rem, 3.4vw, 2.85rem); margin-bottom: .5em; }
.section__lead { color: var(--muted); max-width: 52ch; margin-bottom: 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.75rem; }
.section__head .section__title { margin-bottom: .35em; }
.section__head > a { flex: none; margin-bottom: .35rem; }
.prose h2 { font-size: 1.9rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.45rem; margin-top: 1.5em; margin-bottom: .5em; color: var(--bordeaux); }
.prose h4 { font-size: 1.2rem; margin-top: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose li { position: relative; padding-left: 1.4em; margin-bottom: .3em; }
.prose li::before { content: ''; position: absolute; left: .1em; top: .72em; width: .45em; height: .45em; border-radius: 50%; background: var(--rose); }
.prose--legal { font-size: 1rem; }
.prose--legal h3 { font-size: 1.35rem; }
.legal-updated { color: var(--muted); font-size: .9rem; margin-top: 3rem; }
.notice { border-left: 3px solid var(--bordeaux); background: var(--champagne-light); padding: .9rem 1.2rem; font-weight: 400; }
.empty { text-align: center; color: var(--muted); padding: 3rem 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: .15rem; }

/* --------------------------------------------------------------- boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border: 1px solid var(--bordeaux); border-radius: 3px;
  font-family: var(--font-sans); font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
  background: var(--bordeaux); color: #fff; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  text-align: center;
}
.btn:hover { background: var(--bordeaux-dark); border-color: var(--bordeaux-dark); color: #fff; transform: translateY(-1px); }
.btn-primary { background: var(--bordeaux); }
.btn-light { background: var(--cream); border-color: var(--cream); color: var(--bordeaux); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--bordeaux-dark); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--taupe); }
.btn-ghost:hover { background: var(--champagne); border-color: var(--champagne); color: var(--taupe-dark); }
.btn-sm { padding: .55rem 1rem; font-size: .72rem; }
.btn-lg { padding: 1.05rem 2rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------- en-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 244, 239, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(42, 34, 38, 0.08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--header-h); transition: height .25s; }
.site-header.is-scrolled .site-header__inner { height: 68px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { height: 60px; width: auto; transition: height .25s; }
.site-header.is-scrolled .brand__logo { height: 48px; }
.site-nav { display: flex; align-items: center; gap: 2.1rem; }
.site-nav a { font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe-dark); padding: .35rem 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--bordeaux); border-bottom-color: var(--bordeaux); }
.site-nav__cta { border: 1px solid var(--bordeaux) !important; border-radius: 3px; padding: .6rem 1.1rem !important; color: var(--bordeaux) !important; }
.site-nav__cta:hover { background: var(--bordeaux); color: #fff !important; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 8px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle__bar { display: block; width: 26px; height: 2px; background: var(--bordeaux); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: clamp(600px, 88vh, 920px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bordeaux-deep); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: saturate(1.08) contrast(1.04); animation: hero-zoom 14s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__media img { animation: none; } }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(38, 12, 19, .86) 0%, rgba(38, 12, 19, .62) 38%, rgba(38, 12, 19, .18) 72%, rgba(38, 12, 19, .05) 100%),
    linear-gradient(to top, rgba(38, 12, 19, .96) 0%, rgba(38, 12, 19, .55) 40%, rgba(38, 12, 19, .1) 75%, rgba(38, 12, 19, 0) 100%);
}
.hero__mark { position: absolute; right: 5vw; bottom: -6%; width: clamp(220px, 26vw, 420px); height: auto; opacity: .12; z-index: 0; pointer-events: none; }
.hero__content { position: relative; z-index: 1; padding-bottom: 6.5rem; padding-top: 8rem; }
.hero__panel { max-width: 820px; padding-left: 2rem; border-left: 4px solid var(--rose); }
.hero__panel .kicker { margin-bottom: 1.2rem; letter-spacing: .32em; font-size: .78rem; color: var(--rose); text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.hero__title { font-size: clamp(2.9rem, 6.4vw, 5.4rem); font-weight: 600; line-height: 1.02; color: #fff; margin-bottom: .32em; text-wrap: balance; text-shadow: 0 3px 28px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .35); }
.hero__lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); font-weight: 300; color: rgba(255, 255, 255, .92); max-width: 48ch; margin-bottom: 2.2rem; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.hero__lead strong { font-weight: 500; color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero .btn-light { box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.hero .btn-outline-light { border-color: rgba(255, 255, 255, .85); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.hero__scroll { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 1; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 14px; display: flex; justify-content: center; padding-top: 6px; }
.hero__scroll span { width: 4px; height: 8px; border-radius: 2px; background: var(--rose); animation: hero-scroll 1.8s ease-in-out infinite; }
@keyframes hero-scroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__scroll span { animation: none; } }

/* ------------------------------------------------------------------ intro */
.intro__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 5rem; align-items: center; }
.intro__text .prose { font-size: 1.1rem; }
.figures { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.figures li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .3rem; }
.figures strong { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 500; line-height: 1; color: var(--bordeaux); }
.figures span { font-size: .9rem; color: var(--muted); }
.figures--stack { grid-template-columns: 1fr; }

/* ----------------------------------------------------------- constructeur */
/* bande compacte (accueil) */
.builder-band-section { padding-top: 0; }
.builder-band { display: grid; grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: 2.5rem; padding: 2rem 2.5rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--bordeaux); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.builder-band__logo img { width: 200px; height: auto; display: block; }
.builder-band__text .kicker { margin-bottom: .4rem; }
.builder-band__title { font-size: 1.7rem; margin: 0 0 .3rem; }
.builder-band__tagline { margin: 0; color: var(--muted); font-size: .98rem; }
.builder-band__points { list-style: none; padding: 0 0 0 2rem; margin: 0; display: grid; grid-template-columns: 1fr; gap: .45rem; font-size: .92rem; font-weight: 400; color: var(--taupe-dark); border-left: 1px solid var(--line); }
.builder-band__points li { display: flex; align-items: center; gap: .55rem; }
.builder-band__points svg { flex: none; color: var(--bordeaux); }
.builder-band__actions { display: flex; flex-direction: column; gap: .6rem; }
.builder-band__actions .btn { white-space: nowrap; }
/* présentation complète (page projet) */
.builder { background: var(--champagne-light); }
.builder__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; }
.builder__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 2.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.builder__brand img { width: 100%; max-width: 280px; height: auto; }
.builder__name { font-family: var(--font-serif); font-size: 2.4rem; font-weight: 600; line-height: 1.05; color: var(--bordeaux); }
.builder__tagline { color: var(--muted); margin: 0; }
.builder__points { list-style: none; padding: 0; margin: .4rem 0 .6rem; display: flex; flex-direction: column; gap: .5rem; font-weight: 400; color: var(--taupe-dark); }
.builder__points li { display: flex; align-items: center; gap: .6rem; }
.builder__points svg { flex: none; color: var(--bordeaux); }
.builder .prose { font-size: 1.08rem; }
.builder-card { display: flex; flex-direction: column; gap: .75rem; padding: 1.4rem 1.6rem; background: var(--champagne-light); border: 1px solid var(--line); border-radius: var(--radius); color: var(--taupe-dark); font-size: .92rem; line-height: 1.5; transition: box-shadow .2s, transform .2s; }
.builder-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--taupe-dark); }
.builder-card img { width: 150px; height: auto; }
.builder-card__name { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; color: var(--bordeaux); }
.site-footer__builder { margin: 1.4rem 0 .4rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); }
.site-footer__builder-link { display: inline-block; font-family: var(--font-serif); font-size: 1.5rem; color: var(--cream); }
.site-footer__builder-link img { width: 170px; height: auto; }

/* ----------------------------------------------------------------- cartes */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* toute la carte est cliquable : le lien du titre est étendu sur la carte */
.card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card:focus-within { box-shadow: 0 0 0 3px rgba(123, 30, 45, .25), var(--shadow); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--champagne-light); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__placeholder { display: flex; align-items: center; justify-content: center; height: 100%; opacity: .45; }
.card--vendu .card__media img { filter: grayscale(.7) brightness(.85); }
.card__body { padding: 1.5rem 1.5rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card__kicker { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin: 0; }
.card__title { font-size: 1.6rem; margin: 0; }
.card__title a { color: var(--taupe-dark); }
.card__title a:hover { color: var(--bordeaux); }
.card__subtitle { color: var(--muted); font-size: .95rem; margin: 0; }
.card__facts { list-style: none; padding: 0; margin: .5rem 0 .9rem; display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .9rem; font-weight: 400; color: var(--taupe); }
.card__facts li + li::before { content: '·'; margin-right: .9rem; color: var(--rose); }
.card__footer { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); }
.card__price { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; color: var(--bordeaux); line-height: 1.1; }
.card__price--label { font-family: var(--font-sans); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); }
.card__more {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; flex: none;
  padding: .6rem 1rem .6rem 1.1rem; border-radius: 3px; background: var(--bordeaux); color: #fff;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; line-height: 1;
  transition: background .2s, transform .2s;
}
.card__more svg { transition: transform .2s; }
.card__more:hover, .card__more:focus-visible { background: var(--bordeaux-dark); color: #fff; }
.card__more:hover svg { transform: translateX(3px); }

.badge {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  background: var(--badge, var(--bordeaux)); color: #fff; padding: .4rem .75rem; border-radius: 2px;
  font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 3px 10px rgba(0,0,0,.15);
}
.badge--inline, .status--inline { position: static; display: inline-block; }
.status { position: absolute; top: .9rem; right: .9rem; z-index: 2; padding: .4rem .75rem; border-radius: 2px; font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--taupe-dark); }
.status--option { background: var(--warn); }
.status--vendu { background: var(--taupe-dark); }
.status--disponible { background: var(--ok); }

/* ------------------------------------------------------------- situation */
.situation { background: var(--champagne); }
.situation__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.situation__list li::before { background: var(--bordeaux); }
.situation__address { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-weight: 400; color: var(--taupe-dark); margin-top: 1.5rem; }
.situation__address svg { color: var(--bordeaux); flex: none; }
.situation__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.situation__map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; }

/* -------------------------------------------------------------- galeries */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 1rem; }
.mosaic__item { display: block; overflow: hidden; border-radius: var(--radius); background: var(--champagne); }
.mosaic__item--wide { grid-column: span 2; grid-row: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mosaic__item:hover img { transform: scale(1.04); }

.chantier__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.chantier__item { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.chantier__item a { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.chantier__item img { width: 100%; height: 100%; object-fit: cover; }
.chantier__item figcaption { padding: .9rem 1rem; display: flex; flex-direction: column; gap: .15rem; font-size: .92rem; }
.chantier__item time { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--bordeaux); }

/* -------------------------------------------------------- bande contact */
.contact-band { background: linear-gradient(135deg, var(--bordeaux) 0%, var(--bordeaux-deep) 100%); color: var(--rose-light); }
.contact-band .section__title { color: var(--cream); }
.contact-band__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact-band__text > p { font-size: 1.1rem; max-width: 46ch; }
.contact-band .seller { margin-top: 2rem; }
.contact-band .seller__lines a { color: var(--cream); }
.contact-band .seller__lines a:hover { color: #fff; }
.contact-band .seller__lines svg { color: var(--rose); }

.seller { display: flex; flex-direction: column; gap: 1rem; }
.seller__head { display: flex; align-items: center; gap: 1rem; }
.seller__photo { flex: none; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; border: 3px solid var(--champagne); box-shadow: var(--shadow-sm); background: var(--champagne-light); }
.seller__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.contact-band .seller__photo { border-color: var(--rose); box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.seller__who { margin: 0; font-size: 1.05rem; line-height: 1.4; }
.seller__who strong { font-weight: 500; color: var(--taupe-dark); }
.contact-band .seller__who strong { color: #fff; }
.seller__phone {
  display: inline-flex; align-items: center; gap: .75rem; align-self: flex-start;
  padding: .6rem 1.15rem .6rem 1rem; border-radius: 4px; background: var(--bordeaux); color: #fff;
  font-family: var(--font-sans); font-weight: 500; font-size: 1.12rem; letter-spacing: .02em; line-height: 1.15;
  box-shadow: 0 6px 18px rgba(123, 30, 45, .25); transition: background .2s, transform .2s;
}
.seller__phone:hover { background: var(--bordeaux-dark); color: #fff; transform: translateY(-1px); }
.seller__phone svg { flex: none; }
.seller__phone-text { display: flex; flex-direction: column; }
.seller__phone-text small { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; opacity: .85; margin-bottom: .1rem; }
.contact-band .seller__phone { background: var(--cream); color: var(--bordeaux); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.contact-band .seller__phone:hover { background: #fff; color: var(--bordeaux-dark); }
.seller__lines { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; font-weight: 400; font-size: .97rem; }
.seller__lines li { display: flex; align-items: flex-start; gap: .65rem; line-height: 1.45; }
.seller__lines svg { flex: none; color: var(--bordeaux); margin-top: .2rem; }
.seller__lines a { word-break: break-word; }

/* --------------------------------------------------------------- formulaire */
.contact-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); position: relative; }
.contact-card__title { font-size: 1.75rem; margin-bottom: .2em; }
.contact-card__head p { color: var(--muted); margin-bottom: 1.5rem; }
.crm-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--taupe); }
.field label span { color: var(--bordeaux); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; border: 1px solid var(--line-strong); border-radius: 3px; background: #fff;
  font: inherit; font-weight: 400; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bordeaux); box-shadow: 0 0 0 3px rgba(123, 30, 45, .12); }
.field .is-invalid { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
.field textarea { resize: vertical; min-height: 110px; }
.field--check { flex-direction: row; align-items: flex-start; gap: .7rem; margin: 1.1rem 0 1.3rem; }
.field--check label { text-transform: none; letter-spacing: 0; font-weight: 300; font-size: .9rem; color: var(--muted); }
.field--check input { width: 18px; height: 18px; margin-top: .2rem; flex: none; accent-color: var(--bordeaux); }
.crm-form__hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.crm-form__error { color: #B3261E; font-weight: 400; margin: 0 0 1rem; }
.crm-form__loading { display: none; }
.crm-form.is-loading .crm-form__label { display: none; }
.crm-form.is-loading .crm-form__loading { display: inline; }
.crm-form.is-loading .crm-form__submit { opacity: .75; cursor: progress; }
.crm-form__success { text-align: center; padding: 2rem 1rem; color: var(--taupe-dark); }
.crm-form__success svg { color: var(--ok); margin: 0 auto 1rem; display: block; }
.crm-form__success h3 { font-size: 1.8rem; }

/* ------------------------------------------------------------- en-têtes */
.page-head { padding: 3.5rem 0 2rem; }
.page-head__title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 22ch; margin-bottom: .4em; text-wrap: balance; }
.page-head__intro { max-width: 62ch; font-size: 1.1rem; }
.page-head__count { font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.page-head--image { position: relative; padding: 0; min-height: clamp(380px, 52vh, 560px); display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.page-head__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--taupe-dark); }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; }
.page-head__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43, 20, 26, .9), rgba(43, 20, 26, .2)); }
.page-head__content { padding-top: 7rem; padding-bottom: 3.5rem; }
.page-head--image .page-head__title { color: var(--cream); }
.page-head--image .breadcrumb a, .page-head--image .breadcrumb li { color: var(--rose-light); }

.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8rem; letter-spacing: .04em; color: var(--muted); }
.breadcrumb li + li::before { content: '›'; margin-right: .4rem; color: var(--rose); }
.breadcrumb a { color: var(--taupe); }
.breadcrumb a:hover { color: var(--bordeaux); }

/* ---------------------------------------------------------- page projet */
.project__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; }
.project__text { font-size: 1.1rem; }
.project__aside { position: sticky; top: calc(var(--header-h) + 1rem); }
.project__cta { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }

/* ------------------------------------------------------------ page contact */
.contact-page__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact-page__side { display: flex; flex-direction: column; gap: 1.5rem; }
.seller-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.seller-card .kicker { margin-bottom: .6rem; }

/* -------------------------------------------------------------- fiche bien */
.property { padding-top: 2.5rem; --aside-col: calc((100% - 1rem) / 3); }
/* en-tête, galerie et contenu partagent la même colonne de droite pour un alignement parfait */
.property__head { display: grid; grid-template-columns: minmax(0, 1fr) var(--aside-col); column-gap: 1rem; row-gap: 1.5rem; align-items: start; margin-bottom: 2rem; }
.property__intro { padding-right: 2rem; }
.property__title { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: .25em; }
.property__subtitle { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.property__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.property__pricebox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; box-shadow: var(--shadow-sm); }
.property__pricebox .btn { width: 100%; font-size: .74rem; letter-spacing: .1em; padding-left: .9rem; padding-right: .9rem; }
.property__price { font-family: var(--font-serif); font-size: 2.2rem; font-weight: 600; color: var(--bordeaux); line-height: 1; margin-bottom: .35rem; }

.gallery { display: grid; grid-template-columns: minmax(0, 1fr) var(--aside-col); gap: 1rem; margin-bottom: 3rem; }
.gallery__main { display: block; border-radius: var(--radius); overflow: hidden; background: var(--champagne); aspect-ratio: 3 / 2; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
/* les vignettes remplissent exactement la hauteur de la grande image */
.gallery__thumbs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; min-height: 0; contain: size; }
.gallery__thumbs--1, .gallery__thumbs--2 { grid-template-columns: 1fr; }
.gallery__thumbs--1 { grid-template-rows: 1fr; }
.gallery__thumbs a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--champagne); height: 100%; min-height: 0; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__thumbs a:hover img { transform: scale(1.05); }
.gallery__more::after { content: attr(data-more); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(43, 20, 26, .55); color: #fff; font-family: var(--font-serif); font-size: 2rem; }

.property__grid { display: grid; grid-template-columns: minmax(0, 1fr) var(--aside-col); column-gap: 1rem; align-items: start; margin-bottom: 4rem; }
.property__content { padding-right: 3rem; min-width: 0; }
.property__aside { position: sticky; top: calc(var(--header-h) + 1rem); display: flex; flex-direction: column; gap: 1.5rem; }
.features { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.features li { background: var(--champagne-light); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .95rem .4rem .8rem; font-size: .85rem; font-weight: 400; color: var(--taupe-dark); display: inline-flex; align-items: center; gap: .45rem; }
.features li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--bordeaux); }
.property__description { font-size: 1.08rem; }
.facts-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.facts-card__title { font-size: 1.5rem; margin-bottom: .8em; }
.facts { margin: 0 0 1.2rem; }
.facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; text-align: right; color: var(--taupe-dark); }

.plans { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.plans__title { font-size: 1.9rem; margin-bottom: .2em; }
.plans__note { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.plans__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.25rem; }
.plans__item { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.plans__item a { display: flex; align-items: center; justify-content: center; height: 260px; padding: .75rem; background: #fff; }
.plans__item img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.plans__item figcaption { padding: .7rem .9rem; font-size: .85rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--taupe); border-top: 1px solid var(--line); text-align: center; }

/* --------------------------------------------------------------- pied de page */
.site-footer { background: var(--taupe-dark); color: var(--champagne); padding: 4.5rem 0 2rem; margin-top: 0; font-size: .95rem; }
.site-footer a { color: var(--rose-light); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer__brand img { width: 170px; }
.site-footer__title { font-size: 1.25rem; color: var(--cream); margin-bottom: .8em; }
.site-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .45rem; }
.site-footer__bottom { padding-top: 1.5rem; font-size: .82rem; color: rgba(231, 222, 210, .7); }
.site-footer__bottom p { margin: 0; }
.site-footer .btn-light { background: transparent; border-color: var(--rose); color: var(--rose-light); }
.site-footer .btn-light:hover { background: var(--rose); color: var(--taupe-dark); }

/* ------------------------------------------------------------------ erreur */
.error-page { text-align: center; padding: 6rem 0; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }

/* ---------------------------------------------------------------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(26, 15, 18, .94); padding: 3rem; }
.lightbox.is-open { display: flex; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.lightbox__figure img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #fff; }
.lightbox__figure figcaption { color: var(--champagne); font-size: .95rem; text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; border: 0; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; font-size: 2rem; line-height: 1; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.2); }
.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox--single .lightbox__nav, .lightbox--single .lightbox__counter { display: none; }
.lightbox__counter { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); color: var(--rose); font-size: .8rem; letter-spacing: .14em; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .intro__grid, .situation__grid, .contact-band__grid, .project__grid, .contact-page__grid, .builder__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .builder-band { grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem 2rem; padding: 1.75rem; }
  .builder-band__points { grid-column: 1 / -1; padding-left: 0; border-left: 0; grid-template-columns: 1fr 1fr; }
  .builder-band__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .property__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .property__content { padding-right: 0; }
  .property__aside, .project__aside { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .site-nav { gap: 1.4rem; }
}
@media (max-width: 760px) {
  :root { --header-h: 70px; }
  .section { padding: 3.75rem 0; }
  .builder-band { grid-template-columns: 1fr; padding: 1.5rem; }
  .builder-band__logo img { width: 160px; }
  .builder-band__points { grid-template-columns: 1fr; }
  .builder-band__actions .btn { width: auto; }
  .builder__brand { padding: 1.6rem; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 1.75rem; }
  .nav-toggle { display: flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line) !important; font-size: .9rem; }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line) !important; }
  .site-nav__cta { margin-top: 1rem; text-align: center; border-radius: 3px; border: 1px solid var(--bordeaux) !important; }
  .site-header.is-scrolled .site-header__inner { height: var(--header-h); }
  .brand__logo, .site-header.is-scrolled .brand__logo { height: 44px; }
  .hero { min-height: 82vh; }
  .hero__content { padding-bottom: 4.5rem; padding-top: 6rem; }
  .hero__panel { padding-left: 1.1rem; border-left-width: 3px; }
  .hero__lead { font-size: 1.05rem; }
  .hero__mark { display: none; }
  .hero__scroll { display: none; }
  .figures { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .figures li { padding: 1.1rem 1rem; }
  .figures strong { font-size: 2rem; }
  .cards { grid-template-columns: 1fr; gap: 1.5rem; }
  .crm-form__grid { grid-template-columns: 1fr; }
  .contact-card { padding: 1.5rem; }
  .property__head { grid-template-columns: 1fr; gap: 1.25rem; }
  .property__intro { padding-right: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__main { aspect-ratio: 4 / 3; }
  .gallery__thumbs, .gallery__thumbs--1, .gallery__thumbs--2 { grid-template-columns: repeat(4, 1fr); grid-template-rows: auto; gap: .5rem; contain: none; }
  .gallery__thumbs a { aspect-ratio: 4 / 3; height: auto; }
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .mosaic__item--wide { grid-column: span 1; grid-row: span 1; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .lightbox { padding: 1rem; }
  .lightbox__close { top: .6rem; right: .6rem; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lightbox__prev { left: .5rem; }
  .lightbox__next { right: .5rem; }
  .page-head--image { min-height: 42vh; }
  .plans__grid { grid-template-columns: repeat(2, 1fr); }
  .plans__item a { height: 220px; }
}
@media (max-width: 420px) {
  .figures { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-columns: repeat(2, 1fr); }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; }
}
@media print {
  .site-header, .site-footer, .contact-band, .nav-toggle, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
}
