/* =====================================================================
   DELTA-IMMO — feuille de style principale
   Design system : palette, typographie, composants partagés
   ===================================================================== */

:root {
  /* Palette */
  --ink: #0e0f12;
  --ink-2: #16181d;
  --ink-3: #23262d;
  --ivory: #f7f3ec;
  --ivory-2: #efe9dd;
  --ivory-3: #e4dccc;
  --paper: #fffdf9;
  --gold: #c6a86a;
  --gold-2: #a98b4f;
  --gold-soft: rgba(198, 168, 106, 0.18);
  --muted: #6d6a63;
  --muted-2: #9a968d;
  --line: rgba(14, 15, 18, 0.12);
  --line-light: rgba(247, 243, 236, 0.18);
  --success: #2f7a52;
  --error: #b43c3c;

  /* Typographie */
  --font-serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Échelle fluide */
  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-base: clamp(1rem, 0.95rem + 0.2vw, 1.08rem);
  --fs-lg: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  --fs-h3: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.2vw, 3.4rem);
  --fs-h1: clamp(2.6rem, 1.6rem + 4.4vw, 5.6rem);
  --fs-display: clamp(3rem, 1.5rem + 6vw, 7rem);

  /* Espacements */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --section: clamp(4rem, 3rem + 5vw, 8rem);

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --header-h: 84px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-soft: 0 20px 50px -20px rgba(14, 15, 18, 0.25);
  --shadow-card: 0 30px 60px -30px rgba(14, 15, 18, 0.35);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

main { flex: 1 0 auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
address { font-style: normal; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------------
   Utilitaires
   --------------------------------------------------------------------- */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.container--narrow { --container: 820px; }
.container--wide { --container: 1440px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--dark { background: var(--ink); color: var(--ivory); }
.section--paper { background: var(--paper); }
.section--ivory-2 { background: var(--ivory-2); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-2);
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus { top: var(--space-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}
.section--dark .eyebrow { color: var(--gold); }

.title-xl { font-size: var(--fs-h1); }
.title-lg { font-size: var(--fs-h2); }
.title-md { font-size: var(--fs-h3); }

.title-lg em,
.title-xl em,
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-2);
}
.section--dark .title-lg em { color: var(--gold); }

.lead {
  font-size: var(--fs-lg);
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
}
.section--dark .lead { color: rgba(247, 243, 236, 0.78); }

.section-head {
  display: grid;
  gap: var(--space-2);
  max-width: 48rem;
  margin-bottom: var(--space-5);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head--split {
  max-width: none;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: var(--space-4);
}
.section-head--split > :first-child { max-width: 48rem; display: grid; gap: var(--space-2); }
@media (max-width: 700px) {
  .section-head--split { grid-template-columns: 1fr; gap: var(--space-3); }
  .eyebrow { letter-spacing: 0.2em; }
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 0.35rem;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.text-link:hover::after { transform: scaleX(0.35); transform-origin: left; }
.text-link svg { width: 1.1em; height: 1.1em; transition: transform 0.35s var(--ease-out); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------------
   Boutons
   --------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.9rem 2rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--ivory);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
}
.btn::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -70%;
  width: 45%;
  height: 140%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left 0.8s var(--ease-in-out);
}
.btn:hover::after,
.btn:focus-visible::after { left: 130%; }
.btn:hover::before,
.btn:focus-visible::before { transform: translateY(0); }
.btn:hover,
.btn:focus-visible { color: var(--ink); border-color: var(--gold); }
.btn:active { transform: translateY(1px); }

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn--gold::before { background: var(--ivory); }
.btn--gold:hover,
.btn--gold:focus-visible { border-color: var(--ivory); }

.btn--ghost {
  background: transparent;
  border-color: rgba(247, 243, 236, 0.55);
  color: var(--ivory);
}
.btn--ghost::before { background: var(--ivory); }
.btn--ghost:hover,
.btn--ghost:focus-visible { color: var(--ink); border-color: var(--ivory); }

.btn--outline {
  background: transparent;
  color: var(--ink);
}
.btn--outline::before { background: var(--ink); }
.btn--outline:hover,
.btn--outline:focus-visible { color: var(--ivory); border-color: var(--ink); }

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* ---------------------------------------------------------------------
   En-tête & navigation
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  background: rgba(247, 243, 236, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), color 0.4s;
}

.site-header--transparent {
  position: fixed;
  left: 0; right: 0;
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: var(--ivory);
}
.site-header--transparent.is-scrolled {
  background: rgba(247, 243, 236, 0.9);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  color: var(--ink);
  box-shadow: 0 10px 30px -20px rgba(14, 15, 18, 0.3);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand__mark {
  width: 2rem;
  height: 2rem;
  color: var(--gold);
  transition: transform 0.5s var(--ease-out);
}
.brand:hover .brand__mark { transform: translateY(-2px); }
.brand__name span { color: var(--gold); }

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}
.site-nav__list a {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.site-nav__list a:hover::after,
.site-nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.site-nav__cta { min-height: 2.75rem; padding: 0.6rem 1.4rem; }

.nav-toggle {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  z-index: 600;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 1.2rem;
  height: 1.5px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform 0.35s var(--ease-out), opacity 0.25s, top 0.35s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: calc(50% - 5px); }
.nav-toggle span:nth-child(2) { top: 50%; }
.nav-toggle span:nth-child(3) { top: calc(50% + 5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 50%; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 50%; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: block; }
  .site-nav__cta { display: none; }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 550;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-4);
    padding: var(--space-6) var(--gutter) var(--space-5);
    background: var(--ink);
    color: var(--ivory);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out), visibility 0s 0.45s;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out), visibility 0s;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-width: 520px;
  }
  .site-nav__list li {
    width: 100%;
    border-bottom: 1px solid var(--line-light);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s var(--ease-out), transform 0.5s var(--ease-out);
  }
  .site-nav.is-open li { opacity: 1; transform: none; }
  .site-nav.is-open li:nth-child(1) { transition-delay: 0.08s; }
  .site-nav.is-open li:nth-child(2) { transition-delay: 0.14s; }
  .site-nav.is-open li:nth-child(3) { transition-delay: 0.2s; }
  .site-nav.is-open li:nth-child(4) { transition-delay: 0.26s; }
  .site-nav__list a {
    display: block;
    padding: 1.1rem 0;
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
  }
  .site-nav__list a::after { height: 2px; }
  .site-nav__cta {
    display: inline-flex;
    width: 100%;
    max-width: 520px;
  }
  body.nav-open .site-header,
  body.nav-open .site-header--transparent { color: var(--ivory); }
}

/* ---------------------------------------------------------------------
   En-tête de page (pages intérieures)
   --------------------------------------------------------------------- */
.page-header {
  position: relative;
  padding: calc(var(--space-6) * 0.9) 0 var(--space-5);
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--gold-soft), transparent 60%),
    linear-gradient(180deg, var(--paper), var(--ivory));
  z-index: -1;
}
.page-header__inner {
  display: grid;
  gap: var(--space-3);
  max-width: 52rem;
}
.page-header h1 { font-size: var(--fs-h1); }

/* ---------------------------------------------------------------------
   Cartes de biens
   --------------------------------------------------------------------- */
.properties {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.property {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), opacity 0.4s;
}
.property:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

.property__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ivory-3);
}
.property__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter 0.6s;
}
.property:hover .property__media img { transform: scale(1.06); }
.property__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 15, 18, 0) 55%, rgba(14, 15, 18, 0.35));
  opacity: 0;
  transition: opacity 0.5s;
}
.property:hover .property__media::after { opacity: 1; }

.property__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.4rem 0.75rem;
  background: rgba(247, 243, 236, 0.92);
  color: var(--ink);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
}
.property__zoom {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  background: rgba(14, 15, 18, 0.7);
  color: var(--ivory);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out);
}
.property__zoom svg { width: 1rem; height: 1rem; }
.property:hover .property__zoom,
.property:focus-within .property__zoom { opacity: 1; transform: none; }

.property__body {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem 1.6rem;
}
.property__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.property__title {
  font-size: 1.45rem;
  font-weight: 500;
}
.property__price {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-2);
  white-space: nowrap;
}
.property__location {
  font-size: var(--fs-sm);
  color: var(--muted);
  letter-spacing: 0.04em;
}
.property__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin-top: 0.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--muted);
}
.property__specs li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.property__specs li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------------------------------------------------------------------
   Bandeau d'appel à l'action
   --------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding-block: var(--section);
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50rem 30rem at 10% 110%, rgba(198, 168, 106, 0.22), transparent 60%),
    radial-gradient(40rem 24rem at 95% -20%, rgba(198, 168, 106, 0.14), transparent 60%);
}
.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
.cta-band h2 { font-size: var(--fs-h2); }
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: flex-end;
}
@media (max-width: 800px) {
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
}

/* ---------------------------------------------------------------------
   Pied de page
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--ink-2);
  color: rgba(247, 243, 236, 0.78);
  border-top: 1px solid var(--line-light);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--space-5) var(--space-4);
  padding-block: var(--space-6) var(--space-5);
}
.site-footer .brand { color: var(--ivory); }
.site-footer__tagline {
  margin-top: 1.25rem;
  max-width: 34ch;
  font-size: var(--fs-sm);
  line-height: 1.7;
}
.site-footer h3 {
  margin-bottom: 1.25rem;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.site-footer__links { display: grid; gap: 0.6rem; font-size: var(--fs-sm); }
.site-footer__links a { transition: color 0.3s; }
.site-footer__links a:hover { color: var(--ivory); }
.site-footer address { display: grid; gap: 0.6rem; font-size: var(--fs-sm); line-height: 1.6; }
.site-footer address a:hover { color: var(--ivory); }

.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}
.socials a:hover { border-color: var(--gold); background: rgba(198, 168, 106, 0.12); transform: translateY(-2px); }
.socials img { width: 1.05rem; height: 1.05rem; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-light);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: rgba(247, 243, 236, 0.5);
}
.site-footer__bottom a:hover { color: var(--ivory); }

@media (max-width: 1000px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ---------------------------------------------------------------------
   Animations d'apparition
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  translate: 0 28px;
  filter: blur(6px);
  transition:
    opacity 0.9s var(--ease-out),
    translate 1s var(--ease-out),
    scale 1s var(--ease-out),
    filter 0.9s var(--ease-out),
    clip-path 1.1s var(--ease-in-out);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; translate: 0 0; scale: 1; filter: none; clip-path: inset(0 0 0 0); }
.reveal--left { translate: -32px 0; }
.reveal--scale { scale: 0.96; }
.reveal--clip { clip-path: inset(0 0 100% 0); translate: 0 0; filter: none; }

.split-words .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.split-words .word > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i) * 0.07s + 0.15s);
}
.split-words.is-visible .word > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .split-words .word > span { opacity: 1; transform: none; translate: none; scale: none; filter: none; clip-path: none; }
  .marquee__track { animation: none; }
  body { animation: none; }
}

/* ---------------------------------------------------------------------
   Pages simples (merci, 404)
   --------------------------------------------------------------------- */
.simple-page {
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--section);
  min-height: 60vh;
}
.simple-page__inner { display: grid; gap: var(--space-3); justify-items: center; max-width: 42rem; }
.simple-page .eyebrow { justify-content: center; }
.simple-page h1 { font-size: var(--fs-h1); }
.simple-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin-top: var(--space-2); }

/* ---------------------------------------------------------------------
   Texte éditorial (mentions légales)
   --------------------------------------------------------------------- */
.prose { display: grid; gap: 1.25rem; max-width: 70ch; }
.prose h2 { font-size: var(--fs-h3); margin-top: var(--space-3); }
.prose p, .prose li { color: var(--muted); font-weight: 300; }
.prose ul { display: grid; gap: 0.4rem; padding-left: 1.2rem; list-style: disc; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-2); }

/* ---------------------------------------------------------------------
   Effets : progression, retour en haut, curseur, défilement, transitions
   --------------------------------------------------------------------- */
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
body { animation: page-in 0.7s var(--ease-out) backwards; }
body.is-leaving { opacity: 0; transition: opacity 0.3s ease; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 700;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

.back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 400;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(247, 243, 236, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  translate: 0 12px;
  transition: opacity 0.4s, translate 0.5s var(--ease-out), visibility 0s 0.4s, transform 0.4s var(--ease-out), background 0.3s, color 0.3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.back-to-top:hover { background: var(--ink); color: var(--ivory); }
.back-to-top svg { width: 1.1rem; height: 1.1rem; }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .cursor.is-hidden { opacity: 0; }
  .cursor__ring,
  .cursor__dot {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    will-change: transform;
  }
  .cursor__dot {
    width: 5px;
    height: 5px;
    background: var(--gold);
  }
  .cursor__ring {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(198, 168, 106, 0.9);
    transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), background 0.35s, border-color 0.35s, opacity 0.3s;
  }
  .cursor.is-hover .cursor__ring { width: 52px; height: 52px; background: rgba(198, 168, 106, 0.12); }
  .cursor.is-media .cursor__ring { width: 64px; height: 64px; background: rgba(198, 168, 106, 0.18); border-color: transparent; }
  .cursor.is-down .cursor__ring { width: 24px; height: 24px; }
  .property, .service, .pillar, .contact-card, .step { transform-style: preserve-3d; }
}

.marquee {
  overflow: hidden;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  white-space: nowrap;
}
.marquee i {
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Halo lumineux suivant la souris sur les cartes sombres et claires */
.service, .pillar { position: relative; overflow: hidden; }
.service::after, .pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(198, 168, 106, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s;
}
.service:hover::after, .pillar:hover::after { opacity: 1; }
