/* votrefuturemaison.com — 300, rue Damien-Masson, Saint-Eustache
   Concept : « une journée dans la maison ». Le fond passe de la lumière du matin
   à la soirée au fil du défilement. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-var.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #d0103a;
  --red-dk: #a90c2f;
  --ink: #1b2630;
  --dusk: #1d2834;
  --sage: #6f8478;
  --oak: #a8744a;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gut: clamp(20px, 5vw, 64px);
  --max: 1280px;
  --sec: clamp(88px, 11vw, 168px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --radius: 6px;

  /* tons de la journée */
  --bg: #e8eef0;
  --fg: var(--ink);
  --muted: #4b5a65;
  --line: rgba(27, 38, 48, .14);
  --surface: rgba(255, 255, 255, .62);
  --accent-text: #b80d33;
}
body[data-tone="dawn"],
body[data-tone="morning"] { --bg: #e8eef0; }
body[data-tone="noon"] { --bg: #f4f4f0; }
body[data-tone="afternoon"] { --bg: #f4ece1; }
body[data-tone="golden"] { --bg: #f1e3d1; }
body[data-tone="evening"] {
  --bg: #1d2834;
  --fg: #eef1ee;
  --muted: #aab6be;
  --line: rgba(238, 241, 238, .16);
  --surface: rgba(255, 255, 255, .06);
  --accent-text: #ff8fa6;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--fg);
  background-color: var(--bg);
  transition: background-color 1.1s ease, color .8s ease;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; max-width: 64ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 600; }
figure { margin: 0; }
abbr[title] { text-decoration: none; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--red); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: 4px; text-decoration: none;
}
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- type ---------- */
.h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 1.25rem + 3.2vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -.018em;
  max-width: 17ch;
  margin-bottom: .55em;
  text-wrap: balance;
}
.h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; margin: 0 0 .5em; }
.h-small { font-size: 1rem; font-weight: 600; letter-spacing: .01em; margin: 2.2em 0 .9em; }
.lead { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); line-height: 1.55; max-width: 52ch; }
.small { font-size: .875rem; color: var(--muted); margin-top: 1.2em; }
.muted { color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .8em 1.35em; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, color .3s, box-shadow .3s;
}
.btn .ico { width: 1.15em; height: 1.15em; flex: none; }
.btn--lg { padding: 1.05em 1.75em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 14px 30px -14px rgba(208, 16, 58, .75); }
.btn--red::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--red:hover { background: var(--red-dk); transform: translateY(-2px); }
.btn--red:hover::after { transform: translateX(120%); }
.btn--glass { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.btn--ink { background: var(--fg); color: var(--bg); }
.btn--ink:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .5); }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--line:hover { background: var(--fg); color: var(--bg); }
.link-btn {
  display: inline-flex; align-items: center; gap: .5em; padding: .3em 0; border: 0; background: none;
  font-weight: 600; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px;
}
.link-btn .ico { width: 1.1em; height: 1.1em; }
.text-link { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; }
.text-link .ico, .direct-links .ico, .map-dir .ico { width: .95em; height: .95em; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; color: #fff;
  transition: background-color .5s, color .5s, box-shadow .5s, transform .5s var(--ease);
}
.top.is-solid {
  color: var(--fg);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.top.is-hidden { transform: translateY(-100%); }
.top-in {
  display: flex; align-items: center; gap: 24px;
  max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; padding: 14px var(--gut); min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.2rem; letter-spacing: -.01em; white-space: nowrap; }
.mark { width: 30px; height: 30px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 24px; }
.nav ul a { text-decoration: none; font-size: .95rem; font-weight: 500; position: relative; padding: 6px 0; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav ul a:hover::after, .nav ul a.is-on::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: .65em 1.15em; font-size: .92rem; }
.lang { font-weight: 600; font-size: .9rem; text-decoration: none; padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; opacity: .85; }
.lang:hover { opacity: 1; }
.menu-btn { display: none; align-items: center; gap: 8px; border: 0; background: none; padding: 8px 0; font-weight: 600; }
.menu-btn .ico { width: 22px; height: 22px; }

@media (max-width: 1100px) {
  .nav ul { gap: 18px; }
  .nav ul a { font-size: .9rem; }
}
@media (max-width: 560px) {
  .top-in { gap: 14px; min-height: 60px; padding-top: 10px; padding-bottom: 10px; }
  .brand { font-size: 1.02rem; gap: 8px; }
  .mark { width: 26px; height: 26px; }
  .menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lang { padding: 4px 9px; font-size: .82rem; }
}
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .lang { margin-left: auto; }
  .nav {
    position: fixed; inset: 0; z-index: -1; margin: 0; padding: 96px var(--gut) 40px;
    flex-direction: column; align-items: flex-start; gap: 32px;
    background: var(--dusk); color: #fff;
    clip-path: circle(0 at calc(100% - 40px) 34px);
    transition: clip-path .7s var(--ease-io), visibility 0s linear .7s; visibility: hidden;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 40px) 34px); visibility: visible; transition: clip-path .7s var(--ease-io), visibility 0s; }
  .nav ul { flex-direction: column; gap: 6px; }
  .nav ul a { font-family: var(--serif); font-size: 2rem; }
  .menu-open .top { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1100px;
  background: var(--dusk); color: #fff; overflow: hidden; isolation: isolate;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%);
  animation: houseOpen 1.5s var(--ease-io) .55s both;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-out .55s both; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(14, 20, 27, .6) 0%, rgba(14, 20, 27, 0) 20%),
    linear-gradient(to right, rgba(14, 20, 27, .62) 0%, rgba(14, 20, 27, .25) 45%, rgba(14, 20, 27, 0) 70%),
    linear-gradient(to top, rgba(14, 20, 27, .94) 0%, rgba(14, 20, 27, .7) 35%, rgba(14, 20, 27, .2) 70%, rgba(14, 20, 27, 0) 85%);
  animation: fadeIn 1s ease 1.4s both;
}
.hero-outline { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; animation: outline 1.9s ease both; }
.hero-outline polygon { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linejoin: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw .85s ease .05s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes houseOpen {
  0% { clip-path: polygon(50% 25%, 62% 39%, 62% 71%, 38% 71%, 38% 39%); opacity: 0; }
  20% { clip-path: polygon(50% 25%, 62% 39%, 62% 71%, 38% 71%, 38% 39%); opacity: 1; }
  100% { clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%); opacity: 1; }
}
@keyframes outline { 0%, 55% { opacity: 1; } 100% { opacity: 0; } }
@keyframes kenburns { from { transform: scale(1.22); } to { transform: scale(1.03); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (orientation: portrait) {
  @keyframes houseOpen {
    0% { clip-path: polygon(50% 30%, 74% 43%, 74% 64%, 26% 64%, 26% 43%); opacity: 0; }
    20% { clip-path: polygon(50% 30%, 74% 43%, 74% 64%, 26% 64%, 26% 43%); opacity: 1; }
    100% { clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 0%); opacity: 1; }
  }
}

.hero-in {
  position: absolute; text-shadow: 0 1px 18px rgba(10, 15, 20, .35); left: 0; right: 0; bottom: 0;
  max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto;
  padding: 0 var(--gut) clamp(76px, 10vh, 112px);
}
.line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line > span { display: inline-block; animation: rise 1s var(--ease) both; animation-delay: var(--dl, 1.7s); }
@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
.hero-kicker { margin: 0 0 1.2em; font-size: .95rem; font-weight: 500; opacity: .92; display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; }
.hero-kicker::before { content: ""; width: 34px; height: 2px; margin-top: .7em; background: var(--red); flex: none; animation: grow .8s var(--ease) 1.6s both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
.hero-kicker .line > span { --dl: 1.65s; }
.hero-title { display: block; }
.hero-a { display: block; font-family: var(--sans); font-size: clamp(1rem, .9rem + .5vw, 1.3rem); font-weight: 600; letter-spacing: .01em; margin-bottom: .55em; }
.hero-a .line > span { --dl: 1.75s; }
.hero-b { display: block; font-family: var(--serif); font-size: clamp(3.1rem, 1.2rem + 7.6vw, 8.6rem); line-height: .93; letter-spacing: -.03em; }
.hero-b .line { white-space: nowrap; }
.hero-b .line:nth-child(1) > span { --dl: 1.85s; }
.hero-b .line:nth-child(2) > span { --dl: 1.97s; }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-top: clamp(22px, 3vh, 36px); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 0; font-weight: 500; animation: fadeUp .9s var(--ease) 2.3s both; }
.hero-facts li { padding: 0 18px; border-left: 1px solid rgba(255, 255, 255, .35); }
.hero-facts li:first-child { padding-left: 0; border-left: 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-price { text-align: right; animation: fadeUp .9s var(--ease) 2.1s both; }
.hero-price-label { margin: 0 0 .1em; font-size: .9rem; opacity: .85; }
.price { margin: 0; font-family: var(--serif); font-size: clamp(2.3rem, 1.6rem + 2.6vw, 4rem); line-height: 1; letter-spacing: -.01em; max-width: none; }
.odo { display: inline-flex; align-items: flex-start; font-variant-numeric: lining-nums tabular-nums; }
.odo-d { display: inline-block; height: 1em; overflow: hidden; }
.odo-col { display: flex; flex-direction: column; transform: translateY(calc((10 + var(--d)) * -1em)); animation: odo 1.7s var(--ease) both; animation-delay: calc(1.95s + var(--i) * .05s); }
.odo-col > span { display: block; height: 1em; line-height: 1; }
.odo-sp { display: inline-block; width: .22em; }
.odo-s { display: inline-block; line-height: 1; }
@keyframes odo { from { transform: translateY(0); } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 4vh, 40px); animation: fadeUp .9s var(--ease) 2.45s both; }
.hero-cue {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: .8rem; text-decoration: none; opacity: .75; animation: fadeIn 1s ease 3s both;
}
.hero-cue .ico { width: 18px; height: 18px; animation: bob 2.2s ease-in-out 3.2s infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
@media (max-width: 760px) {
  .hero { min-height: 600px; }
  .hero-row { flex-direction: column; align-items: flex-start; }
  .hero-price { text-align: left; }
  .hero-facts { font-size: .92rem; }
  .hero-facts li { padding: 0 12px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-cue { display: none; }
  .hero-in { padding-bottom: 92px; }
}
@media (max-width: 560px) {
  .hero-b { font-size: 11.3vw; }
  .hero-facts { gap: 4px 18px; }
  .hero-facts li { border: 0; padding: 0; }
}

/* ---------- faits ---------- */
.facts { padding: clamp(40px, 6vw, 72px) 0; }
.facts-in { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 0; margin-bottom: 0; }
.fact { padding: 6px 20px 6px 22px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact dt { display: flex; flex-direction: column; }
.fact-n { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 1.6vw, 2.9rem); line-height: 1.05; font-variant-numeric: lining-nums tabular-nums; }
.fact-l { font-weight: 600; font-size: .98rem; margin-top: .25em; }
.fact dd { margin: .2em 0 0; color: var(--muted); font-size: .88rem; line-height: 1.45; }
@media (max-width: 1080px) {
  .facts-in { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .fact:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .facts-in { grid-template-columns: repeat(2, 1fr); }
  .fact { padding-left: 16px; }
  .fact:nth-child(3n + 1) { border-left: 1px solid var(--line); padding-left: 16px; }
  .fact:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
}

/* ---------- intro ---------- */
.intro { padding: var(--sec) 0; }
.intro-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; align-items: start; }
.intro-text { grid-column: 1 / span 6; }
.intro-art { grid-column: 8 / span 5; position: relative; min-height: 760px; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.ticks .ico { width: 20px; height: 20px; flex: none; color: var(--red); margin-top: 1px; }
.intro-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 2.4em; padding-top: 1.6em; border-top: 1px solid var(--line); }
.intro-meta p { margin: 0; }
.meta-k { color: var(--muted); margin-right: .3em; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.badge .ico { width: 20px; height: 20px; color: var(--red); }
.ia { position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(20, 30, 40, .45); }
.ia img { width: 100%; height: 100%; object-fit: cover; }
.ia-1 { top: 0; left: -8%; width: 78%; aspect-ratio: 4 / 5; }
.ia-2 { top: 34%; right: -6%; width: 58%; aspect-ratio: 4 / 3; z-index: 2; }
.ia-3 { bottom: 0; left: 6%; width: 46%; aspect-ratio: 1; z-index: 1; }
.quote {
  position: absolute; right: -6%; bottom: 6%; z-index: 3; margin: 0; max-width: 250px;
  background: var(--red); color: #fff; padding: 22px 24px 20px; border-radius: var(--radius);
  box-shadow: 0 24px 40px -20px rgba(208, 16, 58, .7);
}
.quote p { font-family: var(--serif); font-size: 1.55rem; line-height: 1.1; margin: 0 0 .5em; }
.quote footer { font-size: .82rem; opacity: .9; }
@media (max-width: 980px) {
  .intro-text, .intro-art { grid-column: 1 / -1; }
  .intro-art { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
  .ia, .quote { position: relative; inset: auto; width: auto; transform: none !important; }
  .ia-1 { grid-row: span 2; aspect-ratio: auto; height: 100%; }
  .ia-2, .ia-3 { aspect-ratio: 4 / 3; }
  .quote { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 560px) { .ticks { grid-template-columns: 1fr; } }

/* révélation des photos : rideau */
/* (le rideau est sur l'image : l'IntersectionObserver de Chrome tient compte du clip-path de la cible) */
.js .wipe img { clip-path: inset(100% 0 0 0); transform: scale(1.25); transition: clip-path 1.3s var(--ease-io) var(--wd, 0s), transform 1.8s var(--ease) var(--wd, 0s); }
.js .wipe.is-in img { clip-path: inset(0 0 0 0); transform: scale(1); }
.js .ia { transition: box-shadow 1s ease .8s; }
.js .ia:not(.is-in) { box-shadow: none; }
.ia-2 { --wd: .15s; }
.ia-3 { --wd: .3s; }
.js .quote { opacity: 0; transform: translateY(30px) rotate(-3deg); transition: opacity .8s ease .6s, transform 1s var(--ease) .6s; }
.js .quote.is-in { opacity: 1; transform: rotate(-2deg); }

/* ---------- visite guidée ---------- */
.tour { position: relative; padding: var(--sec) 0 calc(var(--sec) * .6); }
.tour-head { padding: 0 var(--gut); max-width: calc(var(--max) + var(--gut) * 2); margin: 0 auto; }
.tour-sub { color: var(--muted); }
.only-pin { display: none; }
.pin .only-pin { display: inline; }
.pin .only-swipe { display: none; }
.tour-map { display: flex; align-items: center; gap: 24px; margin: 24px 0 18px; }
.dia { width: 210px; flex: none; color: var(--fg); overflow: visible; }
.dia-line { fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .5; transition: stroke .5s, opacity .5s; vector-effect: non-scaling-stroke; }
.dia-thin { stroke-width: 1; opacity: .3; }
.dia-fill { fill: transparent; stroke: none; transition: fill .6s; }
.dia-z.is-on .dia-fill { fill: rgba(208, 16, 58, .16); }
.dia-z.is-on .dia-line { stroke: var(--red); opacity: 1; }
.tour-zones { display: grid; gap: 4px; font-size: .95rem; }
.tour-zones li { display: flex; align-items: center; gap: 10px; color: var(--muted); transition: color .4s; }
.tour-zones li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; transition: background .4s, transform .4s; }
.tour-zones li.is-on { color: var(--fg); font-weight: 600; }
.tour-zones li.is-on::before { background: var(--red); box-shadow: none; transform: scale(1.3); }
.tour-count { font-family: var(--serif); font-size: 1.3rem; margin: 0 0 10px; font-variant-numeric: lining-nums tabular-nums; }
.tour-bar { height: 2px; background: var(--line); width: 100%; max-width: 280px; overflow: hidden; }
.tour-bar span { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, .1)); transition: transform .15s linear; }

.tour-view { margin-top: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.tour-view::-webkit-scrollbar { display: none; }
.tour-track { display: flex; gap: 16px; width: max-content; padding: 0 var(--gut) 8px; }
.room { width: min(84vw, 560px); scroll-snap-align: center; flex: none; }
.room-fig { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: rgba(27, 38, 48, .08); }
.room-fig img { width: 100%; height: 100%; object-fit: cover; }
.room-cap { padding: 18px 2px 0; }
.room-zone { margin: 0 0 .2em; font-size: .88rem; font-weight: 600; color: var(--accent-text); }
.room-name { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); line-height: 1.1; margin: 0 0 .35em; }
.room-cap p:last-child { color: var(--muted); max-width: 46ch; margin: 0; }
.room--end { display: flex; align-items: center; }
.room-end { padding: 32px 8px; }
.room-end p { color: var(--muted); max-width: 32ch; }

.pin .tour { padding: 0; }
.pin .tour-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(300px, 30%) minmax(0, 1fr); align-items: center;
}
.pin .tour-head { margin: 0; padding: 60px 24px 0 max(var(--gut), calc((100vw - var(--max)) / 2)); align-self: center; }
.pin .tour-head .h2 { font-size: clamp(2rem, .8rem + 1.9vw, 2.9rem); }
.pin .tour-map { flex-direction: column; align-items: flex-start; }
.pin .dia { width: min(240px, 100%); }
.pin .tour-view { min-width: 0; margin: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%); mask-image: linear-gradient(to right, transparent 0, #000 5%); height: 100%; display: flex; align-items: center; padding-top: 50px; }
.pin .tour-track { gap: 4vw; padding: 0 6vw 0 3vw; will-change: transform; }
.pin .room { width: min(52vw, calc((100svh - 260px) * 1.5)); }
.pin .room-fig img { width: 112%; max-width: none; margin-left: -6%; transform: translate3d(var(--px, 0), 0, 0); }
.pin .room--end { width: min(32vw, 420px); }
.pin .room { opacity: .45; transition: opacity .5s; }
.pin .room.is-on { opacity: 1; }
@media (max-width: 899px) {
  .tour-map { gap: 16px; }
  .dia { width: 150px; }
}

/* ---------- galerie ---------- */
.gallery { padding: var(--sec) 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: 28px; }
.sec-head .h2 { margin: 0; }
.sec-head p { color: var(--muted); margin: 0; justify-self: end; max-width: 42ch; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } .sec-head p { justify-self: start; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  border: 0; border-radius: 999px; padding: .55em 1em; font-size: .92rem; font-weight: 600;
  background: transparent; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s, box-shadow .3s;
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); box-shadow: none; }
.chip-n { opacity: .6; font-weight: 500; margin-left: .2em; font-variant-numeric: tabular-nums; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); grid-auto-rows: 190px; grid-auto-flow: dense; gap: 10px; }
.tile--big { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile[hidden] { display: none; }
.tile.is-pop { animation: pop .6s var(--ease) both; animation-delay: var(--pd, 0s); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
.tile-btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: rgba(27, 38, 48, .08); }
.tile-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; }
.tile-btn:hover img, .tile-btn:focus-visible img { transform: scale(1.07); }
.tile-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; text-align: left;
  color: #fff; font-size: .88rem; font-weight: 600;
  background: linear-gradient(to top, rgba(10, 16, 22, .75), transparent);
  transform: translateY(100%); transition: transform .45s var(--ease);
}
.tile-btn:hover .tile-cap, .tile-btn:focus-visible .tile-cap { transform: none; }
@media (hover: none) { .tile-cap { transform: none; padding-top: 20px; font-size: .8rem; } }
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; gap: 6px; }
}

/* visionneuse */
.lb {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(11, 16, 21, .97); color: #fff; overflow: hidden;
}
.lb::backdrop { background: rgba(11, 16, 21, .6); }
.lb[open] { animation: fadeIn .35s ease both; }
.lb-stage { position: absolute; inset: 64px 84px 76px; display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.lb-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 3px; user-select: none; -webkit-user-drag: none; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.lb-img.is-swap { animation: lbIn .45s var(--ease) both; }
@keyframes lbIn { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 40px)); } }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 20px; margin: 0 auto; text-align: center; font-size: .95rem; max-width: none; }
.lb-n { opacity: .65; margin-left: .6em; font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .3s, transform .3s var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-btn .ico { width: 24px; height: 24px; }
.lb-btn:focus-visible { outline-color: #fff; }
.lb-close { top: 14px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lb-next:hover { transform: translateY(-50%) translateX(3px); }
@media (max-width: 760px) {
  .lb-stage { inset: 64px 8px 120px; }
  .lb-prev, .lb-next { top: auto; bottom: 58px; transform: none; }
  .lb-prev:hover, .lb-next:hover { transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .lb-cap { bottom: 16px; }
}

/* ---------- quartier ---------- */
.hood { padding: var(--sec) 0; }
.hood-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; align-items: center; }
.hood-text { grid-column: 1 / span 5; }
.map { grid-column: 7 / span 6; position: relative; }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.services li { display: flex; align-items: center; gap: 12px; line-height: 1.3; }
.services .ico { width: 40px; height: 40px; padding: 9px; border-radius: 50%; flex: none; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); background: var(--surface); }
.map-face, .map iframe { aspect-ratio: 4 / 3.4; width: 100%; border-radius: var(--radius); overflow: hidden; border: 0; display: block; }
.map-face { position: relative; display: grid; place-items: center; align-content: center; gap: 16px; background: #dfe6e3; color: var(--ink); box-shadow: 0 30px 60px -36px rgba(20, 30, 40, .5); }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-road { fill: none; stroke: #fff; stroke-width: 7; opacity: .85; }
.map-river { fill: none; stroke: #b9cdd6; stroke-width: 26; }
.map-block { fill: #cfd8d4; }
.map-pin { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; }
.map-pin .ico { width: 44px; height: 44px; color: #fff; fill: var(--red); stroke: #fff; filter: drop-shadow(0 8px 10px rgba(208, 16, 58, .45)); animation: pinBob 2.4s ease-in-out infinite; }
.map-pin > span { background: #fff; padding: 4px 10px; border-radius: 999px; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .3); }
@keyframes pinBob { 50% { transform: translateY(-6px); } }
.map-face .btn { position: relative; }
.map-face .btn--ink { background: var(--ink); color: #fff; }
.map-note { position: relative; font-size: .8rem; color: #4b5a65; margin: 0; text-align: center; padding: 0 20px; }
.map-dir { display: inline-flex; align-items: center; gap: .4em; margin-top: 14px; font-weight: 600; }
@media (max-width: 980px) {
  .hood-text, .map { grid-column: 1 / -1; }
}
@media (max-width: 460px) { .services { grid-template-columns: 1fr; } }

/* ---------- financement ---------- */
.fin { padding: var(--sec) 0; }
.fin-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; align-items: start; }
.fin-text { grid-column: 1 / span 5; }
.calc { grid-column: 7 / span 6; }
.data { margin: 0; }
.data div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.data dt { color: var(--muted); }
.data dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.calc { background: var(--surface); border-radius: 10px; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(20, 30, 40, .55), inset 0 0 0 1px var(--line); }
.calc-out { background: var(--dusk); color: #fff; padding: 28px 32px 24px; position: relative; overflow: hidden; }
.calc-out::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(208, 16, 58, .5), transparent 70%); }
.calc-k { margin: 0 0 4px; font-size: .92rem; opacity: .85; }
.calc-big { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.calc-big span { font-family: var(--sans); font-size: 1rem; opacity: .8; }
.calc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; position: relative; z-index: 1; }
.calc-split dt { font-size: .82rem; opacity: .75; }
.calc-split dd { margin: 2px 0 0; font-weight: 600; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.calc-in { padding: 26px 32px 6px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; font-size: .92rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 6px; font-weight: 500; font-size: 1rem;
  background: rgba(255, 255, 255, .75); border: 1px solid var(--line); color: var(--ink);
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(208, 16, 58, .18); }
.field label output { font-weight: 600; margin-left: .3em; }
.field label output.muted { font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hint { font-size: .82rem; font-weight: 500; color: var(--muted); margin: 0; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; padding: 0; border: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--red) var(--fill, 20%), rgba(27, 38, 48, .18) var(--fill, 20%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(27, 38, 48, .18); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--red); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--red); box-shadow: 0 4px 10px -2px rgba(208, 16, 58, .5); transition: transform .2s; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.calc-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.calc-mini dt { font-size: .82rem; color: var(--muted); }
.calc-mini dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc-note { padding: 14px 32px 26px; margin: 0; font-size: .78rem; color: var(--muted); line-height: 1.5; max-width: none; }
.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: translateY(-3px); opacity: .7; } }
@media (max-width: 980px) {
  .fin-text, .calc { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .calc-in, .calc-out { padding-left: 20px; padding-right: 20px; }
  .calc-note { padding: 14px 20px 22px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { padding: var(--sec) 0 calc(var(--sec) * .7); }
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; align-items: start; }
.faq-grid > .h2 { grid-column: 1 / span 4; position: sticky; top: 110px; }
.faq-list { grid-column: 6 / span 7; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: rgba(208, 16, 58, .12); }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq-a p { color: var(--muted); padding-bottom: 22px; margin: 0; }
@media (max-width: 980px) {
  .faq-grid > .h2, .faq-list { grid-column: 1 / -1; position: static; }
}

/* ---------- Catherine ---------- */
.cath { padding: calc(var(--sec) * .5) 0 var(--sec); }
.cath-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; align-items: center; }
.cath-photo { grid-column: 1 / span 5; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: rgba(27, 38, 48, .08); position: relative; }
.cath-photo img { width: 100%; height: 100%; object-fit: cover; }
.cath-text { grid-column: 7 / span 6; }
.cath-name { font-family: var(--serif); font-size: 1.6rem; margin: 0; }
.cath-role { color: var(--muted); margin-bottom: 1.4em; }
.cath-award { display: flex; align-items: center; gap: 16px; margin: 1.6em 0; padding: 14px 18px 14px 14px; border-radius: 10px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); width: fit-content; }
.cath-award img { width: 64px; height: 80px; border-radius: 8px; object-fit: cover; }
.cath-award p { margin: 0; font-weight: 600; }
.cath-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.cath-links { margin-top: 1.6em; }
.cath-links a { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; }
.pd-logo { height: 30px; width: auto; }
@media (max-width: 980px) {
  .cath-photo { grid-column: 1 / -1; max-width: 460px; }
  .cath-text { grid-column: 1 / -1; }
}

/* ---------- évaluation vendeurs ---------- */
.eval { padding: 0 0 var(--sec); }
.eval-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; align-items: center; padding-top: var(--sec); background: linear-gradient(var(--line), var(--line)) var(--gut) 0 / calc(100% - var(--gut) * 2) 1px no-repeat; }
.eval-text { grid-column: 1 / span 6; }
.eval-text .btn { margin-top: .6em; }
.sereni { grid-column: 8 / span 5; padding: 32px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.sereni-ic { margin: 0 0 14px; }
.sereni-ic .ico { width: 48px; height: 48px; padding: 11px; border-radius: 50%; color: #fff; background: var(--red); }
.sereni .ticks { grid-template-columns: 1fr; margin: 1em 0 1.4em; }
@media (max-width: 980px) { .eval-text, .sereni { grid-column: 1 / -1; } }

/* ---------- contact ---------- */
.contact { padding: var(--sec) 0; }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; align-items: start; }
.contact-text { grid-column: 1 / span 5; }
.form { grid-column: 7 / span 6; }
.direct { margin-top: 2em; }
.direct-big { display: inline-flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); text-decoration: none; line-height: 1.1; }
.direct-big .ico { width: .8em; height: .8em; color: var(--accent-text); }
.direct-big:hover span { text-decoration: underline; text-decoration-thickness: 2px; }
.direct-mail { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 500; }
.direct-mail .ico { width: 20px; height: 20px; }
.direct-links { margin-top: 1.8em; display: grid; gap: 10px; }
.direct-links a { display: inline-flex; align-items: center; gap: .4em; }
.form { background: var(--surface); padding: clamp(22px, 3vw, 36px); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.form .field input, .form .field select, .form .field textarea { background: rgba(255, 255, 255, .95); }
.form-err { background: rgba(208, 16, 58, .18); border-left: 3px solid var(--red); padding: 12px 14px; border-radius: 4px; max-width: none; }
.seg { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { font-size: .92rem; font-weight: 600; margin-bottom: 8px; padding: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: .6em 1.05em; border-radius: 999px; font-size: .92rem; font-weight: 600; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, color .3s, box-shadow .3s; }
.seg label:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.seg input:checked + label { background: var(--red); color: #fff; box-shadow: none; }
.seg input:focus-visible + label { outline: 2px solid var(--fg); outline-offset: 3px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.f-full { grid-column: 1 / -1; }
.field abbr { color: var(--accent-text); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--red); }
.if-eval { display: none; }
.form:has(#objet-evaluation:checked) .if-eval { display: grid; }
.form:has(#objet-evaluation:checked) .if-visit, .form:has(#objet-question:checked) .if-visit { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .small a { color: inherit; }
@media (max-width: 980px) { .contact-text, .form { grid-column: 1 / -1; } }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } }

/* ---------- pied de page ---------- */
.foot { padding: 72px 0 48px; border-top: 1px solid var(--line); font-size: .92rem; }
body.home .foot { background: var(--dusk); color: #e6eae7; --line: rgba(238, 241, 238, .16); --muted: #a9b5bd; }
.foot-grid { display: grid; grid-template-columns: 1.1fr .9fr 1.6fr; gap: 40px; }
.foot-addr { margin: 18px 0 10px; color: var(--muted); }
.foot-h { font-size: .92rem; font-weight: 600; margin-bottom: 12px; }
.foot-col ul { display: grid; gap: 6px; }
.foot-col a { text-decoration: none; }
.foot-col a:hover { text-decoration: underline; }
.foot-legal p { color: var(--muted); font-size: .85rem; line-height: 1.55; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--fg); text-decoration: underline; }
body.home .foot-links a { color: #fff; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-legal { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* barre mobile */
.bar { display: none; }
@media (max-width: 760px) {
  .bar {
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 40;
    display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 6px; border-radius: 999px;
    background: rgba(20, 28, 36, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6);
    transform: translateY(150%); transition: transform .5s var(--ease);
  }
  .bar.is-on { transform: none; }
  .bar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; }
  .bar .ico { width: 18px; height: 18px; }
  .bar-main { background: var(--red); }
  body.home .foot { padding-bottom: 120px; }
}

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 60; transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  pointer-events: none; transition: opacity .35s, transform .35s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- pages secondaires ---------- */
body.sub { background: #f4f4f0; }
.sub-main { padding: 140px 0 100px; }
.sub-wrap { max-width: 980px; }
.sub-wrap .h3 { margin-top: 1.6em; }
.sub-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.sub-fig { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: rgba(27, 38, 48, .08); clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%); }
.sub-fig img { width: 100%; height: 100%; object-fit: cover; }
.sub-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
@media (max-width: 760px) { .sub-hero { grid-template-columns: 1fr; } .sub-fig { max-width: 320px; } }

@media (max-width: 980px) {
  .intro-grid, .hood-grid, .fin-grid, .faq-grid, .cath-grid, .eval-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-outline { display: none; }
  .js .wipe img { clip-path: none; transform: none; }
  .js .quote { opacity: 1; transform: none; }
}

@media print {
  .top, .bar, .hero-cue, .filters, .lb, .map, .toast, .form, .menu-btn { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
  .hero { height: auto; min-height: 0; color: #000; background: none; }
  .hero-media, .hero-shade, .hero-outline { display: none; }
  .hero-in { position: static; }
}
