/* FR Tunc Construction : structure commune aux trois designs.
   Design retenu : « Patrimoine » (réglages en fin de fichier). */

@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

:root {
  --bg: #fff; --bg-alt: #f4f6f9; --surface: #fff;
  --ink: #16233a; --muted: #56637a; --line: #dfe4ec;
  --brand: #0f3d82; --on-brand: #fff; --accent: #1b8a34;
  --radius: 4px; --radius-lg: 4px;
  --font-head: Georgia, serif; --font-body: system-ui, sans-serif;
  --wrap: 1200px; --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--on-brand); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border: 1.5px solid transparent; border-radius: var(--radius); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { filter: brightness(1.12); }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 78px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15.5px; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.header-cta { padding: 11px 18px; font-size: 15px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 9px 14px; font-weight: 600; cursor: pointer; }

@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .brand img { height: 60px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.eyebrow { display: block; font-size: 13.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-head h2, .h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 18.5px; }

/* ---------- Accueil : bandeau ---------- */
.hero-text h1 { font-size: clamp(38px, 5.4vw, 68px); letter-spacing: -.01em; }
.hero-text .lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); margin: 24px 0 34px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.hero-facts dt { font-family: var(--font-head); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.1; }
.hero-facts dd { font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
@media (max-width: 560px) { .hero-facts { grid-template-columns: 1fr; gap: 16px; } .hero-facts div { display: flex; align-items: baseline; gap: 12px; } .hero-facts dd { margin: 0; } }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { background: var(--surface); padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.service svg { width: 40px; height: 40px; color: var(--brand); margin-bottom: 22px; }
.service h3 { font-size: 22px; margin-bottom: 12px; }
.service p { color: var(--muted); font-size: 16px; margin: 0; }
.service ul { margin-top: 16px; font-size: 15px; color: var(--muted); }
.service li { padding-left: 18px; position: relative; margin-top: 6px; }
.service li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--accent); }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services { grid-template-columns: 1fr; } }

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.step { counter-increment: step; position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.step::before { content: "0" counter(step); display: block; font-family: var(--font-head); font-size: 40px; font-weight: 700; color: var(--brand); line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Biens à vendre ---------- */
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.listing-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.listing-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(10, 25, 50, .35); }
.listing-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.listing-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.listing-card:hover .listing-photo img { transform: scale(1.04); }
.tag { position: absolute; left: 14px; top: 14px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius); }
.listing-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.listing-place { font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.listing-body h3 { font-size: 23px; }
.listing-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 15px; }
.listing-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.price { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--brand); }
.more { font-size: 15px; font-weight: 600; }
.listing-card.is-placeholder { border-style: dashed; background: transparent; justify-content: center; padding: 36px 28px; }
.listing-card.is-placeholder:hover { transform: none; box-shadow: none; }
.listing-card.is-placeholder h3 { font-size: 22px; margin-bottom: 10px; }
.listing-card.is-placeholder p { color: var(--muted); font-size: 16px; }
.listing-card.is-placeholder .more { color: var(--brand); }
.section-foot { margin-top: 36px; }

/* ---------- Dirigeant ---------- */
.profile { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.profile-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.profile-photo figcaption { margin-top: 16px; }
.profile-photo strong { display: block; font-family: var(--font-head); font-size: 22px; }
.profile-photo span { color: var(--muted); font-size: 15.5px; }
.profile-body .lead { font-size: 19px; }
.profile-body > p { color: var(--muted); max-width: 40em; }
.profile-body > p.lead { color: var(--ink); }
.timeline { margin-top: 36px; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.timeline time, .timeline .when { font-weight: 700; font-size: 15px; color: var(--brand); padding-top: 2px; }
.timeline h3 { font-family: var(--font-body); font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--muted); font-size: 15.5px; }
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.creds h3 { font-family: var(--font-body); font-size: 13.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.creds li { font-size: 15.5px; color: var(--muted); margin-top: 6px; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } .profile-photo { max-width: 340px; } .creds { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Bandeau « vous vendez » ---------- */
.cta-band { background: var(--brand); color: var(--on-brand); padding-block: clamp(48px, 7vw, 84px); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-in h2 { font-size: clamp(28px, 3.6vw, 42px); max-width: 16em; }
.cta-in p { margin: 14px 0 0; opacity: .85; max-width: 38em; }
.cta-band .btn { background: var(--on-brand); color: var(--brand); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); }
.contact-list { margin-top: 30px; display: grid; gap: 22px; }
.contact-list div { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.contact-list svg { width: 44px; height: 44px; padding: 11px; color: var(--brand); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.contact-list dt { font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { font-size: 18px; font-weight: 600; }
.contact-list dd a { text-decoration: none; }
.contact-list dd a:hover { text-decoration: underline; }
.contact-list dd small { display: block; font-weight: 400; font-size: 15px; color: var(--muted); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; padding: 13px 14px; background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); }
.form textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 14px; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-block: 56px 28px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-logo { background: #fff; display: inline-block; padding: 14px 18px; border-radius: var(--radius-lg); }
.footer-logo img { width: 210px; }
.site-footer h3 { font-family: var(--font-body); font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer li { margin-top: 8px; color: var(--muted); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.legal-line { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Pages intérieures ---------- */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(34px, 4.6vw, 54px); }
.page-head p { color: var(--muted); font-size: 18.5px; margin: 16px 0 0; max-width: 42em; }
.crumbs { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.prose { max-width: 46em; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 22px; }

/* ---------- Fiche annonce ---------- */
.ad-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.ad-head .price { font-size: clamp(30px, 3.6vw, 42px); }
.ad-head .price small { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--muted); }
.gallery { margin-top: 8px; }
.gallery-main { position: relative; aspect-ratio: 16 / 10; background: #0d1117; border-radius: var(--radius-lg); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.gal-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #111; cursor: pointer; display: grid; place-items: center; }
.gal-btn:hover { background: #fff; }
.gal-btn svg { width: 22px; height: 22px; }
.gal-prev { left: 14px; } .gal-next { right: 14px; }
.gal-count { position: absolute; right: 14px; bottom: 14px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 14px; padding: 4px 10px; border-radius: 99px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.thumbs button { flex: none; width: 104px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: none; opacity: .65; }
.thumbs button[aria-current="true"] { border-color: var(--brand); opacity: 1; }
.thumbs button:hover { opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ad-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); margin-top: 48px; align-items: start; }
.keyfacts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.keyfacts div { padding: 20px; border-right: 1px solid var(--line); }
.keyfacts div:last-child { border-right: 0; }
.keyfacts dt { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.keyfacts dd { font-family: var(--font-head); font-size: 24px; font-weight: 700; margin-top: 4px; }
.ad-main h2 { font-size: 27px; margin: 44px 0 16px; }
.ad-main > p { color: var(--muted); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.checks li { padding-left: 28px; position: relative; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.specs { border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 600; text-align: right; }
.dpe { display: flex; flex-wrap: wrap; gap: 28px; }
.dpe-scale { display: flex; gap: 4px; margin-top: 10px; }
.dpe-scale span { width: 34px; height: 34px; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; border-radius: 4px; opacity: .35; }
.dpe-scale span.on { opacity: 1; transform: scale(1.22); margin-inline: 5px; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--ink); }
.dpe h3 { font-family: var(--font-body); font-size: 15px; font-weight: 700; }
.dpe p { font-size: 14.5px; color: var(--muted); margin: 12px 0 0; }
.todo { background: #fff6d6; color: #5c4400; border-radius: 4px; padding: 1px 6px; font-weight: 600; }
.ad-side { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.ad-side h2 { font-size: 22px; margin-bottom: 8px; }
.ad-side p { color: var(--muted); font-size: 15.5px; }
.ad-side .btn { width: 100%; margin-top: 10px; }
.ad-side .seller { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.ad-side .seller img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: top; }
.ad-side .seller span { display: block; color: var(--muted); font-size: 14px; }
@media (max-width: 980px) { .ad-layout { grid-template-columns: 1fr; } .ad-side { position: static; } }
@media (max-width: 640px) { .keyfacts { grid-template-columns: 1fr 1fr; } .keyfacts div:nth-child(2) { border-right: 0; } .keyfacts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .checks { grid-template-columns: 1fr; } .thumbs button { width: 84px; } }

/* Visionneuse plein écran */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 10, 14, .95); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 90vh; object-fit: contain; }
.lightbox .lb-close { position: absolute; top: 16px; right: 16px; transform: none; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Bandeau d'accueil : socle ---------- */
.hero-in { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.hero-media { margin: 0; position: relative; overflow: hidden; }
.hero-media figcaption, .shot figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(10, 14, 20, .72); color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; padding: 5px 10px; border-radius: 99px; }

/* ---------- La société ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-text p { color: var(--muted); max-width: 40em; }
.about-text p.lead { color: var(--ink); font-size: 19.5px; }
.about-points { margin-top: 26px; display: grid; gap: 14px; }
.about-points li { padding-left: 30px; position: relative; }
.about-points li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.about-points strong { display: block; }
.about-points span { color: var(--muted); font-size: 16px; }
.idcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); }
.idcard h3 { font-size: 22px; margin-bottom: 14px; }
.idcard div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.idcard dt { color: var(--muted); flex: none; }
.idcard dd { font-weight: 600; text-align: right; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ---------- Projets ---------- */
.status { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--radius); background: var(--bg-alt); color: var(--ink); border: 1px solid var(--line); }
.status.done { background: var(--accent); border-color: var(--accent); color: #fff; }
.status.live { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.project-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(10, 25, 50, .35); }
.project-card .ph { aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.project-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.project-card .ph .status { position: absolute; left: 14px; top: 14px; }
.project-card .tx { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.project-card h3 { font-size: 22px; }
.project-card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.project-card .more { margin-top: auto; padding-top: 12px; }
@media (max-width: 980px) { .project-cards { grid-template-columns: 1fr; max-width: 560px; } }

.project { padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.project-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.project-top h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 14px 0 6px; }
.project-top .listing-place { display: block; margin-bottom: 20px; }
.project-top p { color: var(--muted); }
.project-top .specs { font-size: 15.5px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.shots.two { grid-template-columns: repeat(2, 1fr); }
.shot { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.shot.wide { grid-column: span 2; aspect-ratio: auto; }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.project .btn { margin-top: 10px; }
@media (max-width: 860px) { .project-top { grid-template-columns: 1fr; } .shots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .shots, .shots.two { grid-template-columns: 1fr; } .shot.wide { grid-column: auto; } }
/* Design 1 « Patrimoine » : sobre et institutionnel. Bleu marine du logo, titres à empattements, angles droits. */
:root {
  --bg: #ffffff; --bg-alt: #f3f5f9; --surface: #ffffff;
  --ink: #14223b; --muted: #55627a; --line: #dde3ec;
  --brand: #0f3d82; --on-brand: #ffffff; --accent: #1b8a34;
  --radius: 2px; --radius-lg: 2px;
  --font-head: "Playfair Display", Georgia, serif; --font-body: "Inter", system-ui, sans-serif;
}
h1, h2 { font-weight: 600; }
.btn { text-transform: uppercase; letter-spacing: .08em; font-size: 13.5px; padding: 16px 26px; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--accent); }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 660px; background: var(--bg-alt); }
.hero-in { order: 1; max-width: none; margin: 0; align-self: center; padding: 72px 56px 72px max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.hero-media { order: 2; }
.hero-text h1 { font-size: clamp(38px, 4.4vw, 60px); }
.hero-facts { border-top: 1px solid var(--line); padding-top: 28px; }
.hero-facts dt { color: var(--brand); }
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: 0; aspect-ratio: 16 / 9; }
  .hero-in { padding: 44px var(--gutter) 56px; }
}

.services { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service { border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 32px; transition: background .25s; }
.service:hover { background: var(--bg-alt); }
.step { border-top-color: var(--brand); }
.profile-photo img { box-shadow: 18px 18px 0 var(--bg-alt), 18px 18px 0 1px var(--line); }
.section-alt .profile-photo img { box-shadow: 18px 18px 0 #fff, 18px 18px 0 1px var(--line); }
.site-footer { background: #0c1f3f; color: #e6ebf4; border-top: 4px solid var(--accent); --muted: #a9b6cc; --line: #23395e; }

/* ---------- Diaporama du bandeau d'accueil ---------- */
.slider { background: #0c1f3f; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.is-on img { animation: drift 7s ease-out both; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.slide figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(10, 14, 20, .72); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; padding: 6px 12px; border-radius: 99px; }
.slider-dots { position: absolute; right: 16px; bottom: 20px; display: flex; gap: 8px; z-index: 2; }
.slider-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 1.5px solid #fff; background: transparent; cursor: pointer; transition: background .2s, transform .2s; }
.slider-dots button[aria-current="true"] { background: #fff; transform: scale(1.25); }

/* ---------- Acheter / vendre ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.duo-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: clamp(28px, 4vw, 48px); background: var(--bg-alt); border: 1px solid var(--line); text-decoration: none; overflow: hidden; transition: background .3s, color .3s, transform .3s, box-shadow .3s; }
.duo-card::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--accent); transition: width .3s; }
.duo-card:nth-child(2) { background: var(--brand); color: #fff; border-color: var(--brand); }
.duo-card:hover, .duo-card:focus-visible { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(10, 25, 50, .5); }
.duo-card:hover::before, .duo-card:focus-visible::before { width: 10px; }
.duo-kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.duo-card:nth-child(2) .duo-kicker { color: #9fe0b0; }
.duo-card h3 { font-size: clamp(24px, 2.6vw, 32px); }
.duo-card p { margin: 0; opacity: .82; }
.duo-card .more { margin-top: 10px; }
.more { display: inline-block; transition: transform .25s; }
a:hover > .more, a:focus-visible > .more, a:hover .more, a:focus-visible .more { transform: translateX(6px); }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* ---------- Cartes : photos qui défilent au survol et au focus ---------- */
.listing-card:focus-visible, .project-card:focus-visible { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(10, 25, 50, .35); }
.listing-card:focus-visible .listing-photo img, .project-card:hover .ph img, .project-card:focus-visible .ph img { transform: scale(1.04); }
.project-card .ph img { transition: transform .5s; }
.listing-photo .swap, .ph .swap { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease, transform .5s; }
.listing-photo .swap.is-on, .ph .swap.is-on { opacity: 1; }
.listing-photo .tag, .ph .status { z-index: 2; }
.photo-bars { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; gap: 5px; z-index: 2; opacity: 0; transition: opacity .3s; }
.is-cycling .photo-bars { opacity: 1; }
.photo-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .45); }
.photo-bars i.on { background: #fff; }
.shot img { transition: transform .6s; }
.shot:hover img { transform: scale(1.05); }
.service svg { transition: transform .3s; }
.service:hover svg { transform: translateY(-4px) scale(1.08); }
.btn-primary:hover, .btn-ghost:hover { transform: translateY(-2px); }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.site-header { transition: box-shadow .3s; }
.site-header.is-stuck { box-shadow: 0 8px 24px -16px rgba(10, 25, 50, .45); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .slide.is-on img { animation: none; } }

/* ---------- Formulaire : champ piège anti-robots et messages d'état ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note.ok { color: var(--accent); }
.form-note.ko { color: #b3261e; }

/* ---------- Sélecteur de langue ---------- */
.nav a.lang { border: 1.5px solid var(--line); border-radius: 2px; padding: 5px 9px; font-size: 13px; font-weight: 700; letter-spacing: .06em; align-self: center; }
.nav a.lang:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 980px) { .nav a.lang { align-self: flex-start; margin-top: 14px; padding: 8px 14px; } }
