/* Duhautois Agency — Direction A · Moyenne-fi
   Identité : blanc + sauge #bec5a4 + crème #f1ebd8
   Typo : Cormorant Garamond (titres) + Inter (corps) + Cormorant SC (caps) + JetBrains Mono (meta) */

:root {
  --paper: #ffffff;
  --paper-2: #f5f1e6;   /* crème doux — plus léger, moins jaune */
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-mute: #6f6f6f;      /* assombri pour l'accessibilité (contraste AA sur blanc) */
  --sage: #bec5a4;
  --sage-deep: #9da784;
  --line: rgba(26, 26, 26, .85);
  --line-soft: rgba(26, 26, 26, .18);
  --line-faint: rgba(26, 26, 26, .08);
  --whatsapp: #25D366;
  --pad-x: 56px;
  --section-y: 96px;
  /* Échelle d'arrondis unifiée */
  --r-sm: 4px;
  --r-md: 12px;
  --r-lg: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- Typography helpers ---------- */
.serif { font-family: 'Cormorant Garamond', 'Times New Roman', serif; font-weight: 400; letter-spacing: -0.005em; }
.serif-sc { font-family: 'Cormorant SC', 'Cormorant Garamond', serif; letter-spacing: 0.04em; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
em { font-style: italic; }

.kicker { font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
.eyebrow-line { display: flex; align-items: center; gap: 14px; }
.eyebrow-line::before { content: ''; flex: 0 0 28px; height: 1px; background: var(--ink); }

.h-hero { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 92px; line-height: 0.98; letter-spacing: -0.02em; margin: 0; }
.h-section { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 48px; line-height: 1.05; letter-spacing: -0.01em; margin: 0; }
.h-card { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 26px; line-height: 1.15; letter-spacing: -0.005em; margin: 0; }
.h-small { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 19px; margin: 0; }
.lede { font-size: 17px; line-height: 1.6; color: var(--ink-soft); font-weight: 300; }
.body { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }
.accent { color: var(--sage-deep); }

/* ---------- Layout helpers ---------- */
.section { padding: var(--section-y) var(--pad-x); }
.section--tight { padding: 48px var(--pad-x); }
.wrap { max-width: 1100px; margin: 0 auto; }
.grid { display: grid; }
.flex { display: flex; }
.divider { height: 1px; background: var(--line-soft); border: 0; }
.rule-sage { width: 36px; height: 2px; background: var(--sage-deep); border: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; }
.section-head .kicker { margin-bottom: 14px; }
.bg-cream { background: var(--paper-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-family: 'Inter', sans-serif; font-weight: 500; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--r-sm);
  background: var(--sage); color: var(--ink);
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
  text-decoration: none; text-align: center; will-change: transform;
}
.btn:hover { background: var(--sage-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(26,26,26,0.14); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn .arrow { font-family: serif; font-size: 16px; transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(5px); }
.btn.outline { background: var(--paper-2); border: 1px solid var(--ink); color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
/* Sur un fond crème, le bouton secondaire passe en blanc pour ressortir */
.bg-cream .btn.outline,
section.bg-cream .btn.outline,
.about.bg-cream .btn.outline { background: #fff; }
.bg-cream .btn.outline:hover,
section.bg-cream .btn.outline:hover,
.about.bg-cream .btn.outline:hover { background: var(--ink); color: #fff; }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.ink:hover { background: #000; }
.btn.block { width: 100%; }

/* ---------- Tags ---------- */
.tag {
  display: inline-flex; align-items: center; padding: 5px 12px;
  border: 1px solid var(--line-soft); border-radius: 999px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft);
  background: transparent; cursor: default;
}
.tag.sage { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.tag.cream { background: var(--paper-2); border-color: var(--paper-2); }
button.tag { cursor: pointer; font-family: inherit; }

/* ---------- Image placeholders (only used where no real photo) ---------- */
.ph {
  background-image: repeating-linear-gradient(135deg, transparent 0 9px, rgba(26, 26, 26, .06) 9px 10px);
  background-color: var(--paper-2);
  border: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  border-radius: 18px;
}
.ph::after {
  content: attr(data-label);
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute); background: var(--paper); padding: 6px 12px; border: 1px solid var(--line-soft);
}
.media { background: var(--paper-2); overflow: hidden; position: relative; border-radius: 18px; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.r-4-3 { aspect-ratio: 4/3; }
.r-1-1 { aspect-ratio: 1/1; }
.r-4-5 { aspect-ratio: 4/5; }
.r-16-9 { aspect-ratio: 16/9; }
.r-16-11 { aspect-ratio: 16/11; }
.r-3-4 { aspect-ratio: 3/4; }

/* ---------- Nav (transparente posée sur hero vidéo, scrolle avec la page) ---------- */
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad-x);
  background: transparent;
  position: relative;
  z-index: 40;
}
.nav-bar.is-solid { background: var(--sage); }
/* Pages internes (pas de hero vidéo) : nav fond sage par défaut */
body:not(.has-hero-video):not(.home) .nav-bar { background: var(--sage); }

/* ---------- Page hero (pages internes) ---------- */
.page-hero { padding: 80px var(--pad-x) 64px; text-align: center; max-width: 920px; margin: 0 auto; }
.page-hero .kicker { color: var(--ink-mute); letter-spacing: 0.25em; }
.page-hero h1 { margin-top: 18px; }
.page-hero .lede { margin-top: 20px; }
.nav-bar .logo { display: flex; align-items: center; gap: 14px; }
.nav-bar .logo img { height: 110px; width: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; text-decoration: none; font-weight: 500; position: relative; padding-bottom: 4px; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.22,.61,.36,1); }
.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links .current-menu-item > a::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-actions .btn {
  color: var(--ink);
  background: #fff;
  border: 1px solid #fff;
  border-radius: var(--r-sm);
  padding: 14px 30px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: none;
  font-weight: 500;
  box-shadow: 0 6px 22px rgba(0,0,0,0.18);
}
.nav-actions .btn:hover { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.nav-burger { display: none; background: none; border: none; color: #fff; padding: 8px; cursor: pointer; }

/* Nav posée sur hero vidéo : on remonte le hero derrière la nav */
.has-hero-video .nav-bar,
.home .nav-bar { margin-bottom: -138px; position: relative; z-index: 40; }

/* Mobile drawer */
.nav-drawer { position: fixed; inset: 0; background: var(--sage); z-index: 60; transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; padding: 24px 28px; }
.nav-drawer.open { transform: translateX(0); }
.nav-drawer .drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.nav-drawer .drawer-top img { height: 80px; }
.nav-drawer a { color: #fff; text-decoration: none; font-family: 'Cormorant Garamond', serif; font-size: 32px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.drawer-close { background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; line-height: 1; }

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, var(--sage) 0%, var(--sage-deep) 100%);
  color: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
}
/* Motif décoratif en filigrane (étoile marocaine très subtile) */
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.06) 0, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255,255,255,0.05) 0, transparent 40%);
  pointer-events: none;
}
.footer > * { position: relative; z-index: 1; }
.footer a { color: #fff; text-decoration: none; transition: color .25s ease, opacity .25s ease; }
.footer a:hover { opacity: .8; }

/* En-tête footer : slogan ornemental */
.footer-crest {
  text-align: center;
  padding: 44px var(--pad-x) 30px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.footer-crest .ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.7);
}
.footer-crest .ornament .line { width: 50px; height: 1px; background: rgba(255,255,255,0.45); }
.footer-crest .ornament svg { width: 18px; height: 18px; opacity: 0.85; }
.footer-crest .slogan {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #fff;
  margin: 0;
}
.footer-crest .slogan em { color: rgba(255,255,255,0.85); }
.footer-crest .baseline {
  font-family: 'Cormorant SC', serif;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.55);
  margin-top: 12px;
  text-transform: uppercase;
}

/* Newsletter */
.footer-news {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 30px var(--pad-x);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.footer-news .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.footer-news form {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 480px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  transition: border-color .25s ease, background .25s ease;
}
.footer-news form:focus-within { border-color: #fff; background: rgba(255,255,255,0.12); }
.footer-news input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 14px 22px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
}
.footer-news input::placeholder { color: rgba(255,255,255,0.55); font-style: italic; }
.footer-news button {
  background: #fff;
  color: var(--ink);
  border: none;
  padding: 0 26px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.footer-news button:hover { background: var(--ink); color: #fff; }
.footer-news .privacy { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* Colonnes principales */
.footer-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding: 44px var(--pad-x) 40px;
}
.footer-brand img { height: 130px; margin-bottom: 18px; }
.footer-brand .body { color: rgba(255,255,255,0.85); max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col .kicker {
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.28em;
  margin-bottom: 10px;
  font-size: 10px;
}
.footer-col a, .footer-col span {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
  position: relative;
  display: inline-block;
}
.footer-col a {
  width: max-content;
}
.footer-col a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: #fff;
  transition: width .35s cubic-bezier(.22,.61,.36,1);
}
.footer-col a:hover::after { width: 100%; }

/* Réseaux sociaux : pastilles rondes */
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.5);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background .3s ease, color .3s ease, transform .3s ease, border-color .3s ease;
}
.footer-socials a:hover {
  background: #fff;
  color: var(--sage-deep);
  transform: translateY(-3px);
  border-color: #fff;
}
.footer-socials a::after { display: none; }
.footer-socials svg { width: 16px; height: 16px; }

/* Pied légal */
.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px var(--pad-x) 26px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.footer-legal .mono {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.footer-legal .crafted {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.footer-legal-links {
  display: flex;
  gap: 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .footer-crest .slogan { font-size: 28px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px var(--pad-x) 32px; }
  .footer-news form { max-width: 100%; }
}
@media (max-width: 640px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; text-align: center; }
}

/* ---------- Hero (home) ---------- */
.hero { padding: 72px var(--pad-x) 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero-copy .lede { max-width: 480px; }
.hero-actions { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-badge { position: absolute; bottom: -24px; left: -24px; background: var(--paper-2); padding: 20px 24px; max-width: 240px; }

/* Hero — variante image plein écran */
.hero--video { position: relative; display: block; padding: 0; height: 100vh; height: 100svh; min-height: 640px; max-height: none; overflow: hidden; }
.hero--video .hero-video,
.hero--video .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; z-index: 0; }
.hero--video .hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,18,15,0.32) 0%, rgba(20,18,15,0.14) 42%, rgba(20,18,15,0.58) 100%); }
.hero--video .hero-copy { position: relative; z-index: 2; max-width: 720px; padding: 200px var(--pad-x) 90px; color: var(--paper); height: 100%; justify-content: flex-start; }
.hero--video .hero-copy .kicker,
.hero--video .hero-copy .lede,
.hero--video .hero-copy .h-hero { color: var(--paper); }
.hero--video .hero-copy .lede { color: rgba(255,255,255,0.85); max-width: 520px; }
.hero--video .eyebrow-line::before { background: rgba(255,255,255,0.7); }
/* Hero video : on garde le duo standard du site (sage + crème) */
.hero--video .btn { background: var(--sage); border: 1px solid var(--sage); color: var(--ink); }
.hero--video .btn:hover { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.hero--video .btn.outline { background: var(--paper-2); border: 1px solid var(--ink); color: var(--ink); }
.hero--video .btn.outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero--video .hero-badge { position: absolute; right: var(--pad-x); bottom: 40px; left: auto; z-index: 2; background: rgba(255,255,255,0.92); backdrop-filter: blur(4px); }

/* ---------- Search bar ---------- */
.search-section { padding: 20px var(--pad-x) 60px; }
.search-bar { display: grid; grid-template-columns: repeat(4, 1fr) auto; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 6px 28px rgba(26,26,26,0.06); }
.search-bar > * { padding: 18px 24px; border-right: 1px solid var(--line-faint); display: flex; flex-direction: column; gap: 4px; }
.search-bar select, .search-bar input { border: none; background: transparent; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 14px; color: var(--ink-soft); padding: 0; outline: none; width: 100%; }
.search-bar .k { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; font-family: 'Inter', sans-serif; font-style: normal; }
.search-bar .cta { background: var(--sage); color: var(--ink); border: none; align-items: center; justify-content: center; padding: 0 32px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-family: 'Inter', sans-serif; font-weight: 500; cursor: pointer; flex-direction: row; transition: background .25s ease, color .25s ease; }
.search-bar .cta:hover { background: var(--sage-deep); color: #fff; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; padding: 40px var(--pad-x); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.stat { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; border-left: 1px solid var(--ink); }
.stat .num { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 56px; line-height: 1; letter-spacing: -0.02em; }
.stat .lbl { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- Services (4 col) ---------- */
.cols-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.service-card { display: flex; flex-direction: column; gap: 14px; }
.service-card .media, .service-card .ph { aspect-ratio: 1/1; overflow: hidden; border-radius: var(--r-lg); }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.service-card:hover .media img { transform: scale(1.05); }
.service-card .num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--sage-deep); margin-top: 6px; }
.service-card .more { margin-top: 6px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); text-decoration: none; align-self: flex-start; padding-bottom: 3px; position: relative; }
.service-card .more::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(1); transform-origin: left; transition: transform .3s cubic-bezier(.22,.61,.36,1); }
.service-card .more:hover::after { transform: scaleX(0); transform-origin: right; }
.service-card:hover .more::after { transform: scaleX(1); }

/* ---------- Method / engagements ---------- */
.engagement {
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 28px;
  border-top: 1px solid rgba(26,26,26,0.12);
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  cursor: default;
}
.engagement.is-visible { opacity: 1; transform: translateY(0); }
.engagement:nth-child(1) { transition-delay: 0s; }
.engagement:nth-child(2) { transition-delay: .12s; }
.engagement:nth-child(3) { transition-delay: .24s; }
.engagement:nth-child(4) { transition-delay: .36s; }

/* trait sage qui s'étend au-dessus */
.engagement::before {
  content: '';
  position: absolute; left: 0; top: -1px;
  height: 2px; width: 0;
  background: var(--sage-deep);
  transition: width .8s cubic-bezier(.22,.61,.36,1) .2s;
}
.engagement.is-visible::before { width: 48px; }
.engagement:hover::before { width: 100%; transition-duration: .5s; }

.engagement .icon {
  width: 32px; height: 32px;
  color: var(--sage-deep);
  margin-bottom: 4px;
  transition: transform .4s ease, color .3s ease;
}
.engagement:hover .icon { transform: translateY(-4px); color: var(--ink); }

.engagement .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-mute);
  transition: color .3s ease;
}
.engagement:hover .num { color: var(--sage-deep); }

.engagement .h-card { transition: transform .4s ease; }
.engagement:hover .h-card { transform: translateX(4px); }

/* ---------- Selection (home) ---------- */
.selection { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; }
.feature-meta { margin-top: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.feature-meta .serif { font-size: 32px; }
.mini-list { display: flex; flex-direction: column; gap: 18px; }
.mini-card { display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; }
.mini-card .serif { font-size: 18px; margin-top: 4px; }

/* ---------- About (home) ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about > .media, .about > .ph { aspect-ratio: 4/5; overflow: hidden; position: relative; }
.about > .media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s ease; }
.about > .media:hover img { transform: scale(1.03); }
.about-copy { display: flex; flex-direction: column; gap: 22px; }
.about-quote { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-style: italic; max-width: 480px; }

/* ---------- Testimonials ---------- */
.quote-card {
  position: relative; margin: 0; padding: 44px 44px 38px; background: var(--paper-2);
  border-radius: var(--r-lg); border: 1px solid var(--line-faint); overflow: hidden;
  display: flex; flex-direction: column; gap: 20px;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease;
}
.quote-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(26,26,26,0.08); }
.quote-card .mark {
  position: absolute; top: 14px; right: 26px; z-index: 0;
  font-family: 'Cormorant Garamond', serif; font-size: 140px; line-height: 1;
  color: var(--sage-deep); opacity: 0.16; pointer-events: none;
}
.quote-card blockquote { position: relative; z-index: 1; margin: 0; font-family: 'Cormorant Garamond', serif; font-size: 23px; line-height: 1.45; font-style: italic; }
.quote-author { position: relative; z-index: 1; display: flex; gap: 14px; align-items: center; margin-top: 6px; }
.quote-author .avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: 0 0 auto;
  background: var(--sage); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant SC', 'Cormorant Garamond', serif; font-size: 16px; letter-spacing: .04em;
}

/* ---------- CTA dark ---------- */
/* ---------- Page Conciergerie : blocs ---------- */
/* Reveal générique (pour [data-reveal]) */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }
[data-reveal-delay="5"] { transition-delay: .5s; }

/* Hero services (image latérale) */
.services-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding: 96px var(--pad-x) 64px; max-width: 1400px; margin: 0 auto; }
.services-hero .media { aspect-ratio: 4/3; }
@media (max-width: 960px) { .services-hero { grid-template-columns: 1fr; gap: 32px; padding-top: 60px; } }

/* Grille services (6 cartes) */
.svc-card { display: flex; flex-direction: column; gap: 14px; }
.svc-card .media { aspect-ratio: 4/3; }
.svc-card .media img { transition: transform .6s ease; }
.svc-card:hover .media img { transform: scale(1.04); }
.svc-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; margin: 4px 0 2px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
@media (max-width: 960px) { .cols-3 { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 640px) { .cols-3 { grid-template-columns: 1fr; } }

/* Bénéfices (cartes avec icône) */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.benefit-card {
  background: var(--paper);
  border: 1px solid rgba(26,26,26,0.08);
  border-radius: 18px;
  padding: 32px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(20,18,15,0.08); border-color: var(--sage-deep); }
.benefit-card .icon { width: 36px; height: 36px; color: var(--sage-deep); transition: transform .4s ease; }
.benefit-card:hover .icon { transform: scale(1.08) rotate(-4deg); }
.benefit-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; margin: 0; }
@media (max-width: 960px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .benefit-grid { grid-template-columns: 1fr; } }

/* Process étapes */
.process { display: flex; flex-direction: column; gap: 56px; }
.process-step {
  display: grid;
  grid-template-columns: 96px 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(26,26,26,0.06);
}
.process-step:last-child { border-bottom: none; padding-bottom: 0; }
.process-step .step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 80px; line-height: 1; font-weight: 300;
  color: var(--sage-deep);
  font-style: italic;
}
.process-step .step-content { display: flex; flex-direction: column; gap: 12px; }
.process-step .step-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 400; margin: 0; }
.process-step .media { aspect-ratio: 4/3; }
.process-step:nth-child(even) { grid-template-columns: 1fr 1fr 96px; }
.process-step:nth-child(even) .step-num { order: 3; text-align: right; }
.process-step:nth-child(even) .media { order: 1; }
.process-step:nth-child(even) .step-content { order: 2; }
@media (max-width: 960px) {
  .process-step, .process-step:nth-child(even) { grid-template-columns: 1fr; gap: 20px; }
  .process-step .step-num, .process-step:nth-child(even) .step-num { order: 0; text-align: left; font-size: 60px; }
  .process-step:nth-child(even) .media { order: 0; }
  .process-step:nth-child(even) .step-content { order: 0; }
}

/* Offre */
.offer { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; background: var(--paper-2); color: var(--ink); padding: 80px var(--pad-x); border-radius: 24px; margin: 0 var(--pad-x); }
.offer h2 { color: var(--ink); }
.offer .h-section em { color: var(--sage-deep) !important; }
.offer .kicker { color: var(--ink-mute) !important; }
.offer .price { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 32px; color: var(--sage-deep); margin: 24px 0; }
.offer .hook { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic; color: var(--ink-soft); border-left: 2px solid var(--sage-deep); padding-left: 18px; margin: 18px 0; }
.offer .features { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.offer .features li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; color: var(--ink-soft); }
.offer .features li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--sage-deep); }
.offer .btn { background: var(--sage); border-color: var(--sage); color: var(--ink); margin-top: 16px; }
.offer .btn:hover { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.offer .visual { aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; }
.offer .visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) { .offer { grid-template-columns: 1fr; gap: 32px; padding: 56px 32px; margin: 0 var(--pad-x); } }

/* CTA banner sage */
.cta-band {
  background: var(--sage);
  color: var(--ink);
  text-align: center;
  padding: 72px var(--pad-x);
}
.cta-band h2 { font-family: 'Cormorant Garamond', serif; font-size: 56px; font-weight: 300; margin: 0 0 24px; }
.cta-band h2 em { color: var(--ink); font-style: italic; }
.cta-band .btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta-band .btn:hover { background: #fff; color: var(--ink); }

/* FAQ overrides pour cohérence */
.faq-item.open .sign { transform: rotate(45deg); }
.faq-item .sign { transition: transform .3s ease; display: inline-block; }
.faq-item { transition: background .3s ease; padding: 0 8px; border-radius: 12px; }
.faq-item.open { background: var(--paper-2); }

/* ---------- Estimator / questionnaire vendre ---------- */
.estim-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--pad-x) 80px;
}
.estim-card {
  background: var(--paper);
  border: 1px solid rgba(26,26,26,0.08);
  border-radius: 24px;
  padding: 48px 56px;
  box-shadow: 0 30px 80px rgba(20,18,15,0.06);
}
.estim-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}
.estim-progress .dot {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(26,26,26,0.1);
  position: relative;
  transition: background .4s ease;
}
.estim-progress .dot.is-done { background: var(--sage-deep); }
.estim-progress .dot.is-current { background: var(--sage-deep); }
.estim-progress .dot.is-current::after {
  content: ''; position: absolute; right: -4px; top: -3px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--sage-deep);
}
.estim-step-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.estim-step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 32px;
}
.estim-step-title em { color: var(--sage-deep); font-style: italic; }
.estim-step { display: none; animation: estimFade .4s ease both; }
.estim-step.is-active { display: block; }
@keyframes estimFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.estim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.estim-grid.cols-1 { grid-template-columns: 1fr; }
.estim-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 720px) { .estim-grid, .estim-grid.cols-3 { grid-template-columns: 1fr; } }

.estim-field { display: flex; flex-direction: column; gap: 8px; }
.estim-field .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.estim-field input[type=text],
.estim-field input[type=email],
.estim-field input[type=tel],
.estim-field input[type=number],
.estim-field select,
.estim-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--paper);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.estim-field input:focus,
.estim-field select:focus,
.estim-field textarea:focus {
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 4px rgba(157,167,132,0.15);
}
.estim-field textarea { min-height: 120px; resize: vertical; }

/* Chips radio/checkbox */
.estim-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.estim-chip {
  position: relative;
}
.estim-chip input { position: absolute; opacity: 0; pointer-events: none; }
.estim-chip label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  user-select: none;
  transition: all .25s ease;
}
.estim-chip label:hover { border-color: var(--sage-deep); color: var(--ink); }
.estim-chip input:checked + label {
  background: var(--sage);
  border-color: var(--sage-deep);
  color: var(--ink);
  font-weight: 500;
}
.estim-chip input:checked + label::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--sage-deep);
  position: relative;
}

/* Slider value bubble */
.estim-slider { display: flex; flex-direction: column; gap: 8px; }
.estim-slider .range-top { display: flex; justify-content: space-between; align-items: baseline; }
.estim-slider .value {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  color: var(--sage-deep);
}
.estim-slider input[type=range] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: rgba(26,26,26,0.1);
  border-radius: 4px;
  outline: none;
}
.estim-slider input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  background: var(--sage-deep);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: transform .2s ease;
}
.estim-slider input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.estim-slider input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--sage-deep);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid #fff;
}

/* Navigation steps */
.estim-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(26,26,26,0.08);
  gap: 12px;
  flex-wrap: wrap;
}
.estim-nav .step-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.estim-nav .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.estim-nav .btn-prev {
  background: transparent;
  border: 1px solid var(--line-soft);
  color: var(--ink-soft);
}
.estim-nav .btn-prev:hover { border-color: var(--ink); color: var(--ink); }
.estim-nav .btn-next {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
}
.estim-nav .btn-next:hover { background: var(--sage-deep); border-color: var(--sage-deep); }

/* Success screen */
.estim-success {
  text-align: center;
  padding: 40px 0;
  display: none;
}
.estim-success.is-active { display: block; animation: estimFade .5s ease both; }
.estim-success .check-circle {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--sage);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  animation: pulse 1.6s ease-in-out infinite;
}
.estim-success .check-circle svg { width: 44px; height: 44px; color: var(--ink); }
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(190,197,164,0.5); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 18px rgba(190,197,164,0); }
}
.estim-summary {
  background: var(--paper-2);
  border-radius: 16px;
  padding: 24px 28px;
  margin-top: 28px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.estim-summary dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 8px;
}
.estim-summary dd {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--ink);
}

@media (max-width: 720px) {
  .estim-card { padding: 28px 22px; border-radius: 18px; }
  .estim-step-title { font-size: 26px; }
  .estim-summary { grid-template-columns: 1fr; }
}

/* ---------- Bouton flottant WhatsApp ---------- */
.fab-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(20,18,15,0.25);
  z-index: 70;
  text-decoration: none;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.fab-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--sage);
  animation: fab-pulse 2.2s ease-out infinite;
}
.fab-whatsapp:hover { background: var(--sage-deep); color: #fff; transform: scale(1.08); }
.fab-whatsapp:hover::before { animation-play-state: paused; opacity: 0; }
.fab-whatsapp svg { width: 30px; height: 30px; }
.fab-whatsapp .fab-label {
  position: absolute;
  right: 76px;
  background: var(--ink);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.fab-whatsapp:hover .fab-label { opacity: 1; transform: translateX(0); }
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.55); opacity: 0; }
}
@media (max-width: 720px) {
  .fab-whatsapp { width: 56px; height: 56px; bottom: 18px; right: 18px; }
  .fab-whatsapp svg { width: 26px; height: 26px; }
  .fab-whatsapp .fab-label { display: none; }
}

/* ---------- Marquee défilante (entre sections) ---------- */
.marquee {
  background: transparent;
  border-top: 1px solid rgba(26,26,26,0.08);
  border-bottom: 1px solid rgba(26,26,26,0.08);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 44px;
  white-space: nowrap;
  width: max-content;
  animation: marquee-scroll 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 44px;
}
.marquee-item::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--sage-deep);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: .7;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 960px) {
  .marquee-item { font-size: 16px; gap: 28px; }
  .marquee-track { gap: 28px; animation-duration: 32s; }
  .marquee { padding: 14px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.cta-dark { padding: 120px var(--pad-x); text-align: center; background: var(--paper); color: var(--ink); }
.cta-dark .kicker { color: var(--ink-mute); margin-bottom: 18px; }
.cta-dark .h-hero { font-size: 80px; color: var(--ink); }
.cta-dark .h-hero em { color: var(--sage-deep) !important; }
.cta-dark .actions { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.cta-dark .btn.outline { background: var(--paper-2); border-color: var(--ink); color: var(--ink); }
.cta-dark .btn.outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Listings ---------- */
.listing-head { padding: 48px var(--pad-x) 24px; }
.listing-head .top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.listing-tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line-soft); margin-top: 28px; flex-wrap: wrap; }
.listing-tabs a { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding: 14px 0; color: var(--ink-soft); text-decoration: none; font-weight: 500; border-bottom: 2px solid transparent; }
.listing-tabs a.active { color: var(--ink); border-bottom-color: var(--sage-deep); }
.listing-body { display: grid; grid-template-columns: 280px 1fr; gap: 0; }
.filters { padding: 24px 28px; border-right: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 24px; }
.filter-group { padding-bottom: 18px; border-bottom: 1px solid var(--line-faint); }
.filter-group .kicker { margin-bottom: 12px; color: var(--ink); }
.filter-opt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; color: var(--ink-soft); cursor: pointer; }
.filter-opt input { accent-color: var(--sage-deep); }
.listing-grid-wrap { padding: 24px var(--pad-x) 64px; }
.listing-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.active-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.empty { padding: 64px 0; text-align: center; color: var(--ink-mute); }

/* Property card */
.card-prop { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.card-prop .media, .card-prop .ph { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r-lg); }
.card-prop .media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.card-prop:hover .media img { transform: scale(1.05); }
.card-prop:hover .media { box-shadow: 0 12px 30px rgba(26,26,26,0.12); }
.card-prop .row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card-prop .ref { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-mute); }
.card-prop .specs { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; color: var(--ink-mute); text-transform: uppercase; }
.card-prop .price { font-family: 'Cormorant Garamond', serif; font-size: 24px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-numbers { font-family: 'JetBrains Mono', monospace; padding: 10px 14px; border: 1px solid var(--line-soft); font-size: 12px; text-decoration: none; color: var(--ink); }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Property detail ---------- */
.breadcrumb { padding: 18px var(--pad-x); border-bottom: 1px solid var(--line-faint); }
.breadcrumb .mono { font-size: 10px; letter-spacing: 0.14em; color: var(--ink-mute); text-transform: uppercase; }
.gallery { padding: 24px var(--pad-x); }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: 520px; }
.gallery-grid .g-main { grid-row: span 2; }
.gallery-grid .media, .gallery-grid .ph { height: 100%; cursor: pointer; }
.gallery-more { position: absolute; bottom: 10px; right: 10px; }
.prop-header { padding: 32px var(--pad-x); display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.prop-header .tags { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.prop-header .ref { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; color: var(--ink-mute); margin-top: 12px; }
.prop-specs { display: flex; gap: 36px; margin-top: 28px; flex-wrap: wrap; }
.prop-specs .serif { font-size: 32px; }
.prop-price { text-align: right; }
.prop-price .serif { font-size: 48px; margin-top: 8px; }
.prop-price .mad { font-family: 'Cormorant Garamond', serif; font-style: italic; color: var(--ink-mute); font-size: 18px; }
.prop-body { padding: 24px var(--pad-x) 96px; display: grid; grid-template-columns: 1fr 340px; gap: 48px; }
.prop-main { display: flex; flex-direction: column; gap: 48px; }
.prop-block h2 { margin: 0; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.feature-list div { padding: 10px 0; border-bottom: 1px solid var(--line-faint); font-size: 14px; color: var(--ink-soft); display: flex; gap: 10px; }
.feature-list span { color: var(--sage-deep); }
.prop-aside { align-self: start; position: sticky; top: 90px; }
.agent-card { border: 1px solid var(--ink); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.agent-top { display: flex; gap: 14px; align-items: center; }
.agent-top .avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line-soft); overflow: hidden; }
.agent-card label { display: block; }
.agent-card input, .agent-card textarea { width: 100%; border: 1px solid var(--line-soft); padding: 10px; font-family: inherit; font-size: 13px; outline: none; }
.agent-card input:focus, .agent-card textarea:focus { border-color: var(--ink); }

/* ---------- Steps (conciergerie / vendre) ---------- */
.steps-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.step-card { background: var(--paper); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step-card .num { font-family: 'Cormorant Garamond', serif; font-size: 48px; color: var(--sage-deep); line-height: 1; }
.timeline { position: relative; margin-top: 56px; }
.timeline::before { content: ''; position: absolute; top: 28px; left: 5%; right: 5%; height: 1px; background: var(--line-soft); }
.timeline-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.timeline-step { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.timeline-step .circle { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--ink); background: var(--paper); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; }

/* Prestations cards */
.presta-card { border: 1px solid var(--line-soft); padding: 28px; }
.presta-card .item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-faint); font-size: 14px; color: var(--ink-soft); }
.presta-card .item span { color: var(--sage-deep); }

/* Proposition */
.proposition-box { margin-top: 48px; background: var(--sage); padding: 48px 40px; text-align: center; }
.proposition-box .serif { font-size: 24px; line-height: 1.4; color: var(--ink); margin: 0; }
.presta-ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.presta-ul li { display: flex; gap: 14px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.presta-ul li span { color: var(--sage-deep); font-size: 18px; }

/* ---------- Revenue estimator ---------- */
.estimator { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1200px; margin: 0 auto; }
.estimator-controls { margin-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.estimator-controls .choices { display: flex; gap: 8px; flex-wrap: wrap; }
.estimator-controls input[type=range] { width: 100%; accent-color: var(--sage-deep); }
.estimator-result { background: var(--paper); padding: 48px; border: 1px solid var(--ink); }
.estimator-result .big { font-family: 'Cormorant Garamond', serif; font-size: 64px; line-height: 1; color: var(--sage-deep); text-align: center; }
.estimator-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-soft); text-align: center; }
.estimator-split .serif { font-size: 28px; margin-top: 6px; }

/* ---------- Vendre form ---------- */
.express-form { border: 1px solid var(--ink); padding: 32px; background: var(--paper-2); }
.field { margin-bottom: 16px; }
.field .kicker { margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; height: 42px; border: 1px solid var(--line-soft); background: var(--paper); padding: 0 12px; font-family: inherit; font-size: 14px; outline: none; }
.field textarea { height: 140px; padding: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }

/* ---------- About / agence ---------- */
.about-hero { padding: 72px var(--pad-x) 48px; text-align: center; max-width: 920px; margin: 0 auto; }
.value-card { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 2px solid var(--ink); }
.team-card { display: flex; flex-direction: column; gap: 10px; }
.team-card .media, .team-card .ph { aspect-ratio: 3/4; }
.history-row { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line-faint); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form { border: 1px solid var(--line-soft); padding: 36px; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.info-row { display: grid; grid-template-columns: 140px 1fr; gap: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line-faint); }
.info-row .serif { font-size: 18px; }
.objet-choices { display: flex; gap: 8px; flex-wrap: wrap; }
.objet-choices label { cursor: pointer; }
.objet-choices input { position: absolute; opacity: 0; }
.objet-choices input:checked + .tag { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.form-note { font-size: 13px; color: var(--ink-mute); }
.form-success { background: var(--sage); padding: 16px 20px; margin-bottom: 20px; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-hero { padding: 56px var(--pad-x) 32px; max-width: 960px; margin: 0 auto; text-align: center; }
.faq-list { max-width: 1000px; margin: 0 auto; padding: 32px var(--pad-x) 64px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; background: none; border: none; padding: 22px 4px; cursor: pointer; text-align: left; font-family: inherit; }
.faq-q .h-small { font-size: 20px; }
.faq-q .sign { font-family: 'JetBrains Mono', monospace; font-size: 18px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a .inner { padding: 0 60px 22px 4px; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- WhatsApp FAB ---------- */
.wa-fab { position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .35); text-decoration: none; z-index: 50; }
.wa-fab svg { width: 30px; height: 30px; }

/* ---------- Skip link / a11y ---------- */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-burger { display: block; }
  .nav-bar .logo img { height: 72px !important; }
}

@media (max-width: 960px) {
  :root { --pad-x: 28px; --section-y: 64px; }
  .h-hero { font-size: 56px; }
  .h-section { font-size: 36px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; }
  .hero-badge { left: 16px; bottom: 16px; }
  .hero--video { height: 100vh; height: 100svh; min-height: 560px; max-height: none; }
  .hero--video .hero-copy { padding: 160px var(--pad-x) 70px; }
  .hero--video .hero-badge { right: 16px; bottom: 16px; left: auto; }
  .has-hero-video .nav-bar,
  .home .nav-bar { margin-bottom: -100px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cols-4 { grid-template-columns: 1fr 1fr; }
  .selection, .about, .estimator, .contact-grid, .prop-header, .prop-body { grid-template-columns: 1fr; gap: 28px; }
  .prop-price { text-align: left; }
  .prop-aside { position: static; }
  .listing-body { grid-template-columns: 1fr; }
  .filters { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .listing-grid { grid-template-columns: 1fr 1fr; }
  .search-bar { grid-template-columns: 1fr 1fr; }
  .search-bar .cta { grid-column: span 2; padding: 16px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .gallery-grid .g-main { grid-row: auto; grid-column: span 2; aspect-ratio: 16/10; }
  .gallery-grid .media, .gallery-grid .ph { height: auto; aspect-ratio: 4/3; }
  .steps-4 { grid-template-columns: 1fr 1fr; }
  .timeline::before { display: none; }
  .timeline-row { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-dark .h-hero { font-size: 48px; }
}

@media (max-width: 560px) {
  .h-hero { font-size: 44px; }
  .cols-4, .cols-3, .cols-2, .stats, .listing-grid, .steps-4, .timeline-row, .footer-cols, .feature-list, .search-bar { grid-template-columns: 1fr; }
  .search-bar .cta { grid-column: auto; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .listing-toolbar { flex-direction: column; align-items: flex-start; }
  .mini-card { grid-template-columns: 120px 1fr; }
  .info-row { grid-template-columns: 100px 1fr; }
}

/* ============================================================
   GALERIE FICHE BIEN — grille + lightbox plein écran
   ============================================================ */

/* Bouton "Voir les photos" posé sur la dernière tuile */
.gallery-grid .media { position: relative; }
.gallery-more {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.94); color: var(--ink);
  border: none; border-radius: var(--r-sm); padding: 12px 20px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase; font-weight: 500;
  cursor: pointer; box-shadow: 0 6px 22px rgba(0,0,0,0.22);
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.gallery-more:hover { background: var(--sage-deep); color: #fff; transform: translateY(-1px); }
.gallery-more svg { width: 15px; height: 15px; }
.gallery-grid .media::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.28) 100%);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.gallery-grid .media:hover::after { opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column;
  background: rgba(18,16,13,0.96);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lightbox-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(16px, 4vw, 48px); color: #fff; flex-shrink: 0;
}
.lightbox-counter {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: .2em; color: rgba(255,255,255,0.72);
}
.lightbox-counter b { color: #fff; font-weight: 500; }
.lightbox-close {
  background: none; border: none; color: #fff; cursor: pointer;
  width: 44px; height: 44px; border-radius: 999px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.14); }
.lightbox-close svg { width: 24px; height: 24px; }

.lightbox-stage {
  flex: 1; position: relative; display: flex; align-items: center;
  justify-content: center; padding: 0 clamp(12px, 3vw, 40px); min-height: 0;
}
.lightbox-figure {
  max-width: min(1200px, 92vw); max-height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-figure img {
  max-width: 100%; max-height: 74vh; width: auto; height: auto;
  object-fit: contain; border-radius: 10px; display: block;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: lb-in .35s ease;
}
@keyframes lb-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 999px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; cursor: pointer; display: inline-flex;
  align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.lightbox-nav:hover { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-nav.prev { left: clamp(8px, 2vw, 28px); }
.lightbox-nav.next { right: clamp(8px, 2vw, 28px); }

.lightbox-thumbs {
  display: flex; gap: 10px; justify-content: center; flex-wrap: nowrap;
  overflow-x: auto; padding: 18px clamp(16px, 4vw, 48px) 26px; flex-shrink: 0;
  scrollbar-width: none;
}
.lightbox-thumbs::-webkit-scrollbar { display: none; }
.lightbox-thumb {
  flex: 0 0 auto; width: 92px; height: 62px; border-radius: 7px;
  overflow: hidden; cursor: pointer; opacity: .5; padding: 0; border: none;
  outline: 2px solid transparent; outline-offset: 2px;
  transition: opacity .2s ease, outline-color .2s ease;
}
.lightbox-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox-thumb:hover { opacity: .85; }
.lightbox-thumb.active { opacity: 1; outline-color: var(--sage); }

body.lb-locked { overflow: hidden; }

@media (max-width: 640px) {
  .lightbox-figure img { max-height: 60vh; }
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-thumb { width: 72px; height: 50px; }
}

/* ============================================================
   PASSE DE POLISSAGE — focus clavier, rythme des sections
   ============================================================ */

/* Accessibilité : anneau de focus visible uniquement au clavier */
:focus-visible {
  outline: 2px solid var(--sage-deep);
  outline-offset: 3px;
  border-radius: 2px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

/* Séparateur ornemental (étoile marocaine) entre sections */
.section-sep {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  max-width: 360px; margin: 0 auto; padding: 6px var(--pad-x);
}
.section-sep .line { flex: 1; height: 1px; background: var(--line-soft); }
.section-sep .star { flex: 0 0 auto; width: 22px; height: 22px; color: var(--sage-deep); opacity: .9; }

/* En-tête de section aligné à gauche (variation éditoriale) */
.section-head--left { text-align: left; display: flex; flex-direction: column; align-items: flex-start; max-width: 640px; }
.section-head--left .kicker { display: inline-flex; align-items: center; gap: 14px; }
.section-head--left .kicker::before { content: ''; width: 30px; height: 1px; background: var(--sage-deep); display: inline-block; }

/* Micro-interaction liens de pied de page (soulignement révélé) */
.footer-col a { position: relative; display: inline-block; }
.footer-col a::after {
  content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.footer-col a:hover::after { transform: scaleX(1); }
