/* ==========================================================================
   MAGNUM IMMOBILIÈRE — style.css
   Design system : noir profond, blanc cassé, or subtil.
   Polices : Fraunces (display) + Manrope (texte / UI).
   ========================================================================== */

/* ---------- 1. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; background: none; border: none; }
ul, ol { list-style: none; }
sup { font-size: 0.6em; }

/* ---------- 2. VARIABLES ---------- */
:root {
  /* couleurs */
  --bg: #0a0a0a;
  --bg-alt: #121110;
  --bg-elevated: #17150f;
  --white: #f7f5f0;
  --white-dim: #cbc7be;
  --muted: #8c8880;
  --line: rgba(247, 245, 240, 0.08);
  --line-strong: rgba(247, 245, 240, 0.16);
  --gold: #c9a24b;
  --gold-bright: #e6c778;
  --gold-deep: #7c611f;
  --gold-tint: rgba(201, 162, 75, 0.12);

  /* typographie */
  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;

  /* layout */
  --container-max: 1440px;
  --side: 24px;
  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 24px;

  /* transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-slow: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px)  { :root { --side: 56px; } }
@media (min-width: 1024px) { :root { --side: 100px; } }
@media (min-width: 1440px) { :root { --side: 160px; } }

/* ---------- 3. BASE ---------- */
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--side);
}
.container-half { max-width: 620px; }

section { position: relative; }
section[id] { scroll-margin-top: 90px; }

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.h2 em, .hero__title .i { font-style: italic; font-weight: 400; color: var(--gold-bright); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.lead { font-size: 1.15rem; color: var(--white-dim); max-width: 60ch; }

p { color: var(--white-dim); }
p + p { margin-top: 20px; }

.section-head { padding-block-start: clamp(5rem, 10vw, 9rem); padding-block-end: clamp(3rem, 6vw, 5rem); }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head__note { color: var(--muted); font-size: 0.9rem; max-width: 30ch; text-align: right; }

section > .container:first-child,
section .section-head { }

/* rythme vertical générique des sections */
.agence, .expertises, .programmes, .residences, .appartements, .maisons,
.spotlight, .localisation, .comparatif, .engagements, .temoignages,
.methode, .investisseurs, .locaux, .faq, .contact {
  padding-block: clamp(4rem, 9vw, 8rem);
}

/* ---------- 4. BOUTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
  white-space: nowrap;
}
.btn--gold { background: var(--gold); color: #16130a; }
.btn--gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }
.btn--small { padding: 11px 22px; font-size: 0.75rem; }
.btn--full { width: 100%; margin-top: 8px; }

/* ---------- 5. CURSEUR (desktop uniquement) ---------- */
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px;
  border-radius: 50%; background: var(--gold);
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.25s var(--ease);
  opacity: 0; mix-blend-mode: difference;
}
@media (hover: hover) and (pointer: fine) { .cursor-dot { opacity: 1; } }
.cursor-dot.is-active { width: 34px; height: 34px; background: var(--gold-bright); }

/* ---------- 6. LIGNE D'OR — signature scroll index ---------- */
.gold-thread {
  position: fixed; right: 36px; top: 50%; transform: translateY(-50%);
  z-index: 90; display: none;
}
@media (min-width: 1200px) { .gold-thread { display: block; } }
.gold-thread__track { position: absolute; left: 3px; top: 0; width: 1px; height: 100%; background: var(--line); }
.gold-thread__progress { width: 1px; background: var(--gold); height: 0%; transition: height 0.15s linear; }
.gold-thread__ticks { display: flex; flex-direction: column; gap: 26px; }
.gold-thread__ticks li { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.tick-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); transition: all 0.35s var(--ease); flex-shrink: 0; }
.tick-label {
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); opacity: 0; transform: translateX(-6px);
  transition: all 0.35s var(--ease); white-space: nowrap;
}
.gold-thread__ticks li:hover .tick-label { opacity: 1; transform: translateX(0); }
.gold-thread__ticks li.is-active .tick-dot { background: var(--gold); box-shadow: 0 0 0 4px var(--gold-tint); }
.gold-thread__ticks li.is-active .tick-label { opacity: 1; transform: translateX(0); color: var(--gold-bright); }

/* ---------- 7. HEADER ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.35);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), padding 0.5s var(--ease);
  padding-block: 22px;
}
.site-header.is-scrolled { background: rgba(10, 10, 10, 0.78); border-color: var(--line); padding-block: 14px; }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__mark { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; letter-spacing: 0.03em; }
.brand__sub { font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }

.main-nav { display: none; }
@media (min-width: 1024px) { .main-nav { display: block; } }
.main-nav__list { display: flex; align-items: center; gap: 38px; }
.main-nav__link {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.01em; color: var(--white-dim);
  position: relative; padding-block: 4px; transition: color 0.3s var(--ease);
}
.main-nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--gold);
  transition: width 0.35s var(--ease);
}
.main-nav__link:hover { color: var(--white); }
.main-nav__link:hover::after { width: 100%; }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%) translateY(-6px);
  background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: 10px; min-width: 190px; display: flex; flex-direction: column;
  opacity: 0; pointer-events: none; transition: all 0.3s var(--ease);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}
.has-dropdown:hover .dropdown { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown a { padding: 10px 14px; border-radius: var(--radius-s); font-size: 0.85rem; color: var(--white-dim); transition: all 0.25s var(--ease); }
.dropdown a:hover { background: var(--gold-tint); color: var(--gold-bright); }

.header__cta { display: none; }
@media (min-width: 1024px) { .header__cta { display: inline-flex; } }

.burger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 30px; height: 22px; cursor: pointer; z-index: 200;
}
@media (min-width: 1024px) { .burger { display: none; } }
.burger span { display: block; width: 100%; height: 1px; background: var(--white); transition: all 0.4s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 8. MENU MOBILE ---------- */
.mobile-menu {
  position: fixed; inset: 0; background: var(--bg); z-index: 150;
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--side);
  opacity: 0; visibility: hidden; transform: translateY(-14px);
  transition: all 0.5s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu__list li { border-bottom: 1px solid var(--line); }
.mobile-menu__list a {
  display: block; padding: 20px 0; font-family: var(--font-display); font-size: clamp(1.6rem, 6vw, 2.4rem); font-style: italic;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.mobile-menu__list a:hover { color: var(--gold-bright); padding-left: 10px; }
.mobile-menu__footer { display: flex; flex-direction: column; gap: 6px; margin-top: 48px; color: var(--muted); font-size: 0.85rem; }

/* ---------- 9. HERO ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: heroZoom 16s var(--ease-slow) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 30%, rgba(10,10,10,0.55) 65%, rgba(10,10,10,0.95) 100%);
}

.hero__content { padding-block-end: 64px; padding-block-start: 180px; }
.hero__eyebrow { color: var(--gold-bright); }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.8rem, 8vw, 6.4rem); line-height: 0.98; letter-spacing: -0.02em;
  margin-block: 10px 28px;
}
.reveal-line { display: block; overflow: hidden; }
.reveal-line span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-slow); }
.hero.is-loaded .reveal-line span { transform: translateY(0); }
.hero.is-loaded .reveal-line:nth-child(2) span { transition-delay: 0.08s; }
.hero.is-loaded .reveal-line:nth-child(3) span { transition-delay: 0.16s; }

.hero__desc { max-width: 46ch; font-size: 1.05rem; }
.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 36px; }

.hero__stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px;
  padding-block: 40px; border-top: 1px solid var(--line);
}
@media (min-width: 768px) { .hero__stats { grid-template-columns: repeat(4, 1fr); } }
.hero__stat { display: flex; flex-direction: column; gap: 4px; }
.hero__stat-num { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--gold-bright); }
.hero__stat-label { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.02em; }

.hero__scrollcue {
  position: absolute; bottom: 200px; right: var(--side); display: none; flex-direction: column; align-items: center; gap: 12px;
  color: var(--muted); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
}
@media (min-width: 1024px) { .hero__scrollcue { display: flex; } }
.scrollcue__line { width: 1px; height: 60px; background: var(--line-strong); position: relative; overflow: hidden; }
.scrollcue__line i { position: absolute; top: -60px; left: 0; width: 100%; height: 60px; background: var(--gold); animation: scrollcue 2.2s ease-in-out infinite; }
@keyframes scrollcue { 50% { top: 60px; } 100% { top: 60px; } }

/* ---------- 10. AGENCE ---------- */
.agence__grid {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
@media (min-width: 900px) {
  .agence__grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .agence__sticky { position: sticky; top: 140px; grid-column: 1; grid-row: 1 / span 2; }
  .agence__body { grid-column: 2; grid-row: 1; }
  .agence__image { grid-column: 2; grid-row: 2; margin-top: 8px; }
}
.fact-list { margin-top: 44px; display: flex; flex-direction: column; gap: 28px; }
.fact-list li { display: flex; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.fact-list__num { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }
.fact-list strong { display: block; margin-bottom: 6px; font-size: 1.02rem; }
.agence__image { border-radius: var(--radius-l); overflow: hidden; position: relative; }
.agence__image img { aspect-ratio: 4/5; object-fit: cover; }
.agence__image-caption {
  position: absolute; bottom: 20px; left: 20px; font-size: 0.78rem; color: var(--white);
  background: rgba(10,10,10,0.55); backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 999px;
}

/* ---------- 11. EXPERTISES (rows alternées) ---------- */
.expertise-row {
  display: grid; grid-template-columns: 1fr; align-items: center;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .expertise-row { grid-template-columns: 1fr 1fr; } }
.expertise-row__img { overflow: hidden; }
.expertise-row__img img { aspect-ratio: 16/11; object-fit: cover; transition: transform 1.2s var(--ease-slow); }
.expertise-row:hover .expertise-row__img img { transform: scale(1.06); }
.expertise-row__text { padding: clamp(36px, 6vw, 80px) var(--side); }
.expertise-row--reverse { direction: rtl; }
.expertise-row--reverse .expertise-row__text { direction: ltr; }
.expertise-row__index { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.expertise-row__text h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 400; margin: 14px 0 16px; }
.expertise-row__text p { max-width: 46ch; }

/* ---------- 12. PROGRAMMES NEUFS — scroll horizontal ---------- */
.programmes__track {
  display: flex; gap: 24px; overflow-x: auto; padding-inline: var(--side); padding-block-end: 8px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.programmes__track::-webkit-scrollbar { display: none; }
.programme-card {
  flex: 0 0 clamp(280px, 32vw, 380px); scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden;
  background: var(--bg-alt); transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.programme-card:hover { transform: translateY(-8px); border-color: var(--gold-deep); }
.programme-card__img { aspect-ratio: 4/5; overflow: hidden; }
.programme-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-slow); }
.programme-card:hover .programme-card__img img { transform: scale(1.08); }
.programme-card__body { padding: 26px; }
.programme-card__tag { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.programme-card__body h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; margin: 12px 0 4px; }
.programme-card__body p { color: var(--muted); font-size: 0.9rem; }
.programme-card__price { display: block; margin-top: 16px; font-weight: 700; color: var(--white); }

.programmes__progress { max-width: 200px; margin: 32px auto 0; height: 1px; background: var(--line); }
.programmes__progress-bar { height: 100%; width: 20%; background: var(--gold); transition: transform 0.2s linear; transform-origin: left; }

/* ---------- 13. RÉSIDENCES — bento ---------- */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; } }
.bento__item { position: relative; border-radius: var(--radius-m); overflow: hidden; grid-column: span 2; grid-row: span 1; }
@media (min-width: 900px) {
  .bento__item--large { grid-column: span 2; grid-row: span 2; }
}
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-slow); }
.bento__item:hover img { transform: scale(1.08); }
.bento__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.85) 100%);
}
.bento__overlay h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
.bento__overlay p { font-size: 0.8rem; color: var(--white-dim); margin-top: 2px; }

/* ---------- 14. APPARTEMENTS — listing ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-pill {
  padding: 9px 20px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.8rem; color: var(--white-dim);
  transition: all 0.3s var(--ease); cursor: pointer;
}
.filter-pill:hover { border-color: var(--gold); color: var(--gold-bright); }
.filter-pill.is-active { background: var(--gold); border-color: var(--gold); color: #16130a; font-weight: 600; }

.listing { margin-top: 40px; border-top: 1px solid var(--line); }
.listing__row {
  display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 18px;
  padding-block: 20px; border-bottom: 1px solid var(--line); transition: opacity 0.3s var(--ease), background 0.3s var(--ease);
}
.listing__row:hover { background: rgba(255,255,255,0.02); }
.listing__row.is-hidden { display: none; }
.listing__img { width: 72px; height: 72px; border-radius: var(--radius-s); overflow: hidden; }
.listing__img img { width: 100%; height: 100%; object-fit: cover; }
.listing__title h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; }
.listing__title span { font-size: 0.82rem; color: var(--muted); }
.listing__meta { display: none; gap: 20px; font-size: 0.82rem; color: var(--white-dim); grid-column: 3; }
.listing__price { font-weight: 700; grid-column: 4; white-space: nowrap; }
.listing__cta { font-size: 0.8rem; color: var(--gold); grid-column: 5; white-space: nowrap; transition: color 0.3s var(--ease); }
.listing__cta:hover { color: var(--gold-bright); }
@media (min-width: 700px) {
  .listing__row { grid-template-columns: 72px 1.4fr 1.2fr auto auto; }
  .listing__meta { display: flex; }
}

/* ---------- 15. MAISONS — spreads ---------- */
.maison-spread {
  display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line);
}
@media (min-width: 900px) { .maison-spread { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.maison-spread__img { aspect-ratio: 16/10; overflow: hidden; }
.maison-spread__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-slow); }
.maison-spread:hover .maison-spread__img img { transform: scale(1.05); }
.maison-spread__text { padding: clamp(32px, 5vw, 72px) var(--side); }
.maison-spread--reverse { direction: rtl; }
.maison-spread--reverse .maison-spread__text { direction: ltr; }
.maison-spread__loc { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.maison-spread__text h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 12px 0 18px; }
.maison-spread__text p { max-width: 48ch; }
.maison-spread__meta { display: flex; gap: 18px; margin-top: 24px; font-size: 0.82rem; color: var(--white-dim); }
.maison-spread__meta span { padding-left: 14px; border-left: 1px solid var(--line-strong); }
.maison-spread__meta span:first-child { padding-left: 0; border-left: none; }
.maison-spread__price { display: block; margin-top: 24px; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-bright); }

/* ---------- 16. SPOTLIGHT — carrousel ---------- */
.spotlight__stage { position: relative; }
.spotlight__slides { position: relative; height: clamp(420px, 62vw, 680px); }
.spotlight__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.9s var(--ease-slow);
}
.spotlight__slide.is-active { opacity: 1; visibility: visible; }
.spotlight__slide img { width: 100%; height: 100%; object-fit: cover; }
.spotlight__slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.1) 45%);
}
.spotlight__info { position: absolute; left: 0; right: 0; bottom: 48px; z-index: 2; }
.spotlight__ref { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-bright); }
.spotlight__info h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 3rem); margin: 10px 0 10px; }
.spotlight__info p { max-width: 46ch; }
.spotlight__price { display: inline-block; margin-top: 16px; font-weight: 700; font-size: 1.15rem; }

.spotlight__controls { display: flex; align-items: center; justify-content: center; gap: 24px; padding-block: 28px; }
.spotlight__arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); cursor: pointer;
  transition: all 0.3s var(--ease);
}
.spotlight__arrow:hover { border-color: var(--gold); color: var(--gold-bright); background: var(--gold-tint); }
.spotlight__dots { display: flex; gap: 10px; }
.spotlight__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); cursor: pointer; transition: all 0.3s var(--ease); }
.spotlight__dots span.is-active { background: var(--gold); width: 22px; border-radius: 3px; }

/* ---------- 17. LOCALISATION ---------- */
.city-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .city-grid { grid-template-columns: repeat(3, 1fr); } }
.city-card { background: var(--bg); padding: 40px 32px; transition: background 0.4s var(--ease); }
.city-card:hover { background: var(--bg-alt); }
.city-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin-bottom: 8px; }
.city-card p { color: var(--muted); font-size: 0.85rem; }
.city-card__stats { display: flex; gap: 16px; margin-top: 22px; font-size: 0.82rem; }
.city-card__stats span { color: var(--gold-bright); font-weight: 600; }

/* ---------- 18. COMPARATIF ---------- */
.comparatif__table { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
@media (min-width: 800px) { .comparatif__table { grid-template-columns: 1fr 1fr; } }
.comparatif__col { background: var(--bg-alt); padding: clamp(28px, 4vw, 48px); }
.comparatif__col--us { background: linear-gradient(160deg, var(--bg-elevated), var(--bg-alt)); }
.comparatif__col h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin-bottom: 24px; }
.comparatif__col--us h3 { color: var(--gold-bright); }
.comparatif__col li { padding-block: 14px; border-top: 1px solid var(--line); color: var(--white-dim); font-size: 0.95rem; }
.comparatif__col--them li { padding-left: 22px; position: relative; }
.comparatif__col--them li::before { content: '–'; position: absolute; left: 0; color: var(--muted); }
.comparatif__col--us li { padding-left: 22px; position: relative; color: var(--white); }
.comparatif__col--us li::before { content: '+'; position: absolute; left: 0; color: var(--gold); }

/* ---------- 19. ENGAGEMENTS — masonry ---------- */
.engagements__masonry { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (min-width: 900px) { .engagements__masonry { grid-template-columns: repeat(3, 1fr); } }
.engagement-card {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 30px;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.engagement-card:hover { border-color: var(--gold-deep); transform: translateY(-4px); }
.engagement-card--tall { padding-block: 46px; }
@media (min-width: 900px) { .engagement-card--tall { grid-row: span 1; } }
.engagement-card__num { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.2rem; }
.engagement-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; margin: 14px 0 10px; }
.engagement-card p { font-size: 0.9rem; }

/* ---------- 20. STATS BAND ---------- */
.stats-band { background: var(--bg-alt); border-block: 1px solid var(--line); }
.stats-band__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; padding-block: 64px; }
@media (min-width: 900px) { .stats-band__grid { grid-template-columns: repeat(4, 1fr); } }
.stat-block { text-align: center; }
.stat-block__num { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--gold-bright); }
.stat-block__label { font-size: 0.85rem; color: var(--muted); margin-top: 8px; display: block; }

/* ---------- 21. TÉMOIGNAGES ---------- */
.temoignages__slider { max-width: 820px; margin-inline: auto; padding-inline: var(--side); text-align: center; position: relative; min-height: 280px; }
.temoignages__track { position: relative; }
.temoignage-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease); }
.temoignage-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.temoignage-slide blockquote {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.4; color: var(--white);
}
.temoignage-slide figcaption { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 32px; }
.temoignage-slide__avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--gold-tint); color: var(--gold-bright);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700;
}
.temoignage-slide figcaption div { text-align: left; }
.temoignage-slide figcaption strong { display: block; font-size: 0.92rem; }
.temoignage-slide figcaption span { font-size: 0.78rem; color: var(--muted); }
.temoignages__dots { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.temoignages__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); cursor: pointer; transition: all 0.3s var(--ease); }
.temoignages__dots span.is-active { background: var(--gold); width: 22px; border-radius: 3px; }

/* ---------- 22. MÉTHODE — timeline ---------- */
.timeline { position: relative; margin-top: 24px; }
.timeline::before { content: ''; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.timeline__step { display: flex; gap: 28px; padding-block: 30px; position: relative; }
.timeline__num {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-style: italic;
  color: var(--gold); background: var(--bg); position: relative; z-index: 1;
  transition: all 0.4s var(--ease);
}
.timeline__step:hover .timeline__num { border-color: var(--gold); background: var(--gold-tint); }
.timeline__content h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin-bottom: 8px; }
.timeline__content p { max-width: 56ch; }

/* ---------- 23. INVESTISSEURS ---------- */
.investisseurs { background: var(--bg-alt); }
.investisseurs__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 950px) { .investisseurs__grid { grid-template-columns: 1.2fr 0.8fr; align-items: center; } }
.invest-types { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); margin-block: 36px; border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
@media (min-width: 600px) { .invest-types { grid-template-columns: 1fr 1fr; } }
.invest-type { background: var(--bg); padding: 22px 26px; }
.invest-type h4 { font-family: var(--font-display); font-weight: 400; color: var(--gold-bright); font-size: 1.05rem; margin-bottom: 6px; }
.invest-type p { font-size: 0.85rem; }
.investisseurs__panel { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.invest-metric { background: var(--bg-elevated); padding: 32px; }
.invest-metric span { display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-bright); margin-bottom: 8px; }
.invest-metric p { font-size: 0.88rem; }

/* ---------- 24. LOCAUX PROFESSIONNELS ---------- */
.locaux__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .locaux__grid { grid-template-columns: repeat(2, 1fr); } }
.local-card { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 30px; transition: all 0.4s var(--ease); }
.local-card:hover { border-color: var(--gold-deep); background: var(--bg-alt); }
.local-card__type { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.local-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin: 12px 0 6px; }
.local-card p { font-size: 0.88rem; }
.local-card__price { display: block; margin-top: 18px; font-weight: 700; }

/* ---------- 25. FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }
.faq__head { position: sticky; top: 140px; }
.faq__head a { color: var(--gold); border-bottom: 1px solid var(--gold-deep); }
.accordion__item { border-top: 1px solid var(--line); }
.accordion__item:last-child { border-bottom: 1px solid var(--line); }
.accordion__trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding-block: 22px; text-align: left; font-size: 1rem; font-weight: 500; cursor: pointer;
}
.accordion__icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.accordion__icon::before, .accordion__icon::after {
  content: ''; position: absolute; background: var(--gold); top: 50%; left: 50%; transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease);
}
.accordion__icon::before { width: 16px; height: 1px; }
.accordion__icon::after { width: 1px; height: 16px; }
.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.accordion__item.is-open .accordion__panel { max-height: 240px; }
.accordion__panel p { padding-bottom: 24px; max-width: 60ch; }

/* ---------- 26. CONTACT ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
@media (min-width: 950px) { .contact__grid { grid-template-columns: 1.1fr 0.9fr; } }
.contact-form { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.contact-form__row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 520px) { .contact-form__row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.03em; }
.field input, .field select, .field textarea {
  border: 1px solid var(--line-strong); border-radius: var(--radius-s); padding: 13px 16px; background: var(--bg-alt);
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.contact-form__confirm { color: var(--gold-bright); font-size: 0.88rem; min-height: 1.4em; }

.contact__map { border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 16/9; filter: grayscale(0.4) brightness(0.7); }
.office-list { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.office-list li { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.9rem; flex-wrap: wrap; }
.office-list li span { color: var(--muted); }
.office-list__contact { display: flex; flex-direction: column; gap: 6px; margin-top: 24px; font-weight: 600; color: var(--gold-bright); }

/* ---------- 27. FOOTER ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-block-start: clamp(4rem, 8vw, 7rem); }
.footer__top { display: grid; grid-template-columns: 1fr; gap: 44px; padding-block-end: 56px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 1.1fr; } }
.footer__brand p { margin-top: 16px; font-size: 0.88rem; max-width: 30ch; }
.footer__brand .brand__sub { display: block; margin-top: 6px; }
.footer__social { display: flex; gap: 16px; margin-top: 24px; }
.footer__social a { font-size: 0.8rem; color: var(--white-dim); border-bottom: 1px solid transparent; transition: all 0.3s var(--ease); }
.footer__social a:hover { color: var(--gold-bright); border-color: var(--gold-deep); }
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__col h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.footer__col a, .footer__col span { font-size: 0.9rem; color: var(--white-dim); transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--gold-bright); }
.footer__newsletter p { font-size: 0.88rem; margin-top: 8px; }
.newsletter-form { display: flex; margin-top: 18px; border-bottom: 1px solid var(--line-strong); padding-bottom: 10px; }
.newsletter-form input { flex: 1; font-size: 0.9rem; }
.newsletter-form button { color: var(--gold); font-size: 1.1rem; transition: transform 0.3s var(--ease); }
.newsletter-form button:hover { transform: translateX(4px); }
.newsletter-form__confirm { font-size: 0.8rem; color: var(--gold-bright); margin-top: 10px; min-height: 1.2em; }

.footer__bottom {
  display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: space-between;
  padding-block: 26px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted);
}
@media (min-width: 700px) { .footer__bottom { flex-direction: row; } }
.footer__legal { display: flex; gap: 22px; }
.footer__legal a:hover { color: var(--gold-bright); }

/* ---------- 28. FAB ---------- */
.fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 80;
  width: 84px; height: 84px; border-radius: 50%; background: var(--gold); color: #16130a;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 0.72rem; font-weight: 700; line-height: 1.25;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.9);
  transition: all 0.4s var(--ease);
  box-shadow: 0 14px 34px rgba(201, 162, 75, 0.28);
}
.fab.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.fab:hover { transform: translateY(-4px) scale(1.04); }
@media (max-width: 640px) { .fab { display: none; } }

/* ---------- 29. REVEAL ON SCROLL ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-slow), transform 0.9s var(--ease-slow); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 30. ACCESSIBILITÉ / FOCUS ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold-bright); outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero__img { transform: scale(1); }
}
