/* =========================================================
   Clé Darna — Experts en immobilier (Marrakech)
   Palette : vert #22372b (30%) · doré #bea452 (70%) · fond blanc
   ========================================================= */

:root {
  --green: #22372b;
  --green-2: #2e4a3a;
  --green-3: #1a2b21;
  --gold: #bea452;
  --gold-dark: #a38a3d;
  --gold-soft: #f6f1e2;
  --gold-line: #e8dcb5;
  --bg: #ffffff;
  --bg-soft: #fbf9f4;
  --text: #1f2a24;
  --muted: #6b746f;
  --border: #eee8d8;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(34, 55, 43, .08);
  --shadow-lg: 0 20px 50px rgba(34, 55, 43, .14);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 15px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }
.gold { color: var(--gold); }
.text-center { text-align: center; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--green); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { color: var(--muted); margin-top: 8px; max-width: 560px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--gold); }

.link-arrow { color: var(--gold-dark); font-weight: 600; font-size: .9rem; display: inline-flex; gap: 8px; align-items: center; transition: gap .3s; }
.link-arrow:hover { gap: 14px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px; border: 2px solid transparent;
  font-weight: 600; font-size: .92rem; cursor: pointer;
  transition: all .3s var(--ease); white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-gold { background: var(--gold); color: var(--white); box-shadow: 0 8px 20px rgba(190, 164, 82, .35); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-2); transform: translateY(-2px); }
.btn-outline { border-color: var(--gold); color: var(--green); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--green); }

/* ---------- Top bar ---------- */
.topbar { background: var(--green); color: rgba(255,255,255,.85); font-size: .8rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 16px; }
.topbar-info { display: flex; gap: 24px; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 8px; }
.topbar i { color: var(--gold); }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a:hover { color: var(--gold); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(34,55,43,.08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 20px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 72px; height: 72px; border-radius: 8px; flex-shrink: 0;
  background: #0d0b10 url("../images/logo-cle-darna.png") no-repeat;
  background-size: contain; background-position: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.18), inset 0 0 0 1px rgba(190,164,82,.35);
}
.logo-text strong { display: block; font-family: var(--serif); font-size: 1.55rem; color: var(--green); line-height: 1; }
.logo-text strong em { font-style: normal; color: var(--gold); }
.logo-text small { display: block; font-size: .68rem; color: var(--muted); letter-spacing: .06em; margin-top: 4px; white-space: nowrap; }
.logo { flex-shrink: 0; }

.nav { display: flex; gap: 28px; }
.nav a { position: relative; font-size: .92rem; font-weight: 500; color: var(--green); padding: 6px 0; transition: color .3s; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--gold-dark); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav .nav-mobile-only { display: none; }

/* Sous-menus Louer / Acheter */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link i { font-size: .62rem; margin-left: 4px; transition: transform .3s; }
.has-sub:hover .nav-link i, .has-sub.open .nav-link i { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 16px); left: -18px; min-width: 240px; z-index: 50;
  background: var(--white); border-radius: 12px; border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease);
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; } /* pont pour le survol */
.has-sub:hover .submenu, .has-sub.open .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav .submenu a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px;
  font-size: .88rem; color: var(--green);
}
.nav .submenu a::after { display: none; }
.submenu a i {
  width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--gold-soft); color: var(--gold-dark); font-size: .85rem; transition: .3s;
}
.nav .submenu a:hover { background: var(--bg-soft); color: var(--gold-dark); padding-left: 16px; }
.submenu a:hover i { background: var(--green); color: var(--gold); }
.submenu a:first-child { border-bottom: 1px dashed var(--border); border-radius: 8px 8px 0 0; margin-bottom: 4px; font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .88rem; color: var(--green); white-space: nowrap; }
/* Le numéro est déjà affiché dans la barre du haut : ici on garde seulement l'icône */
.nav-phone span { display: none; }
.nav-phone i { transition: .3s; }
.nav-phone:hover i { background: var(--gold); color: var(--white); }
.nav-phone i {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-dark);
}

.burger { display: none; width: 44px; height: 44px; border: none; background: var(--gold-soft); border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--green); transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (accueil) ---------- */
.hero {
  position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden;
  background: var(--green-3); color: var(--white); padding: 90px 0 150px;
}
/* Image de fond avec zoom lent */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("https://images.unsplash.com/photo-1613490493576-7fde63acd811?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat;
  animation: kenburns 24s ease-in-out infinite alternate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(26,43,33,.92) 0%, rgba(34,55,43,.72) 45%, rgba(34,55,43,.15) 100%);
}
.hero .container { position: relative; z-index: 2; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translateX(-2%); } }

/* Apparition du texte du hero au chargement */
.fade-up { opacity: 0; animation: fadeUp .9s var(--ease) forwards; }
.hero-badge.fade-up { animation-delay: .1s; }
.hero p.fade-up { animation-delay: 1.3s; }
.hero-btns.fade-up { animation-delay: 1.6s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* Titres animés mot par mot */
.anim-title .w {
  display: inline-block; opacity: 0; transform: translateY(45px) rotate(3deg);
  animation: wordUp .9s var(--ease) forwards;
}
@keyframes wordUp { to { opacity: 1; transform: none; } }

/* Reflet doré qui passe sur le mot mis en valeur */
.hero h1 .hl, .page-hero h1 .hl {
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold) 40%, #f3e3a8 50%, var(--gold) 60%, var(--gold) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-right: .08em;
}
.anim-title .w.shine { animation: wordUp .9s var(--ease) forwards, shine 4s linear 2s infinite; }
@keyframes shine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.hero-content { max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(190,164,82,.6);
  padding: 8px 18px; border-radius: 50px; font-size: .82rem; margin-bottom: 24px;
  backdrop-filter: blur(6px);
}
.hero-badge i { color: var(--gold); }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 .hl { color: var(--gold); font-style: italic; }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,.85); margin-bottom: 32px; max-width: 540px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Audience : +2 600 visiteurs / mois */
.hero-audience {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 34px; padding: 14px 22px 14px 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(190,164,82,.55); border-radius: 18px;
  backdrop-filter: blur(8px);
}
.hero-audience.fade-up { animation-delay: 1.9s; }
.ha-icon {
  position: relative; width: 50px; height: 50px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 50%; background: var(--gold); color: var(--green); font-size: 1.15rem;
}
.ha-icon::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold);
  animation: pulse 2s ease-out infinite;
}
.ha-text strong { display: block; font-size: 1.05rem; color: var(--white); }
.ha-text strong span { color: var(--gold); font-size: 1.5rem; font-family: var(--serif); margin-right: 4px; }
.ha-text > span { font-size: .8rem; color: rgba(255,255,255,.75); }
.ha-bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-left: 6px; }
.ha-bars i {
  width: 6px; border-radius: 3px; background: linear-gradient(var(--gold), rgba(190,164,82,.35));
  transform-origin: bottom; transform: scaleY(0); animation: barGrow .8s var(--ease) forwards;
}
.ha-bars i:nth-child(1) { height: 30%; animation-delay: 2.2s; }
.ha-bars i:nth-child(2) { height: 45%; animation-delay: 2.35s; }
.ha-bars i:nth-child(3) { height: 60%; animation-delay: 2.5s; }
.ha-bars i:nth-child(4) { height: 78%; animation-delay: 2.65s; }
.ha-bars i:nth-child(5) { height: 100%; animation-delay: 2.8s; }
@keyframes barGrow { to { transform: scaleY(1); } }

/* Barre de recherche */
.search-wrap { position: relative; z-index: 5; margin-top: -80px; }
.search-box {
  background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 14px; border-top: 4px solid var(--gold);
}
.search-tabs { display: flex; gap: 6px; padding: 4px 6px 14px; }
.search-tab {
  border: none; background: transparent; padding: 8px 20px; border-radius: 50px;
  font-weight: 600; font-size: .88rem; color: var(--muted); cursor: pointer; transition: .3s;
}
.search-tab.active { background: var(--green); color: var(--white); }
.search-form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 10px; align-items: stretch; }
.search-field {
  display: flex; align-items: center; gap: 14px; padding: 12px 18px;
  border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--border);
}
.search-field > i { color: var(--gold); font-size: 1.15rem; }
.search-field label { display: block; font-size: .75rem; font-weight: 600; color: var(--green); }
.search-field select, .search-field input {
  border: none; background: transparent; outline: none; width: 100%;
  font-size: .85rem; color: var(--muted); cursor: pointer; padding: 2px 0;
}
.search-field > div { flex: 1; min-width: 0; }
.search-form .btn { border-radius: 12px; padding: 0 34px; }

/* ---------- Catégories ---------- */
.categories { padding: 60px 0 20px; }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 16px; text-align: center; transition: all .35s var(--ease);
}
.cat-card i {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px;
  font-size: 1.5rem; color: var(--gold); background: var(--gold-soft); transition: .35s;
}
.cat-card h4 { font-family: var(--sans); font-size: .98rem; font-weight: 600; }
.cat-card span { font-size: .8rem; color: var(--muted); }
.cat-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.cat-card:hover i { background: var(--green); color: var(--gold); }

/* ---------- Cartes biens ---------- */
.prop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prop-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.prop-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all .35s var(--ease); display: flex; flex-direction: column;
}
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-line); }
.prop-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prop-card:hover .prop-img img { transform: scale(1.07); }
.prop-badge {
  position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 6px;
  font-size: .74rem; font-weight: 600; color: var(--white); background: var(--green);
}
.prop-badge.rent { background: var(--gold); }
.prop-fav {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.95); color: var(--green); cursor: pointer;
  display: grid; place-items: center; transition: .3s;
}
.prop-fav:hover, .prop-fav.active { color: #c0392b; transform: scale(1.1); }
.prop-cat {
  position: absolute; bottom: 12px; left: 14px; font-size: .72rem; color: var(--white);
  background: rgba(34,55,43,.75); padding: 4px 10px; border-radius: 4px; backdrop-filter: blur(4px);
}
.prop-body { padding: 18px 18px 16px; flex: 1; display: flex; flex-direction: column; }
.prop-price { font-size: 1.12rem; font-weight: 700; color: var(--gold-dark); }
.prop-price small { font-size: .78rem; color: var(--muted); font-weight: 500; }
.prop-title { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--green); margin: 4px 0 12px; }
.prop-specs { display: flex; gap: 16px; font-size: .8rem; color: var(--muted); padding-bottom: 12px; border-bottom: 1px dashed var(--border); flex-wrap: wrap; }
.prop-specs span { display: inline-flex; align-items: center; gap: 6px; }
.prop-specs i { color: var(--gold); }
.prop-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; margin-top: auto; gap: 8px; }
.prop-loc { font-size: .8rem; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.prop-loc i { color: var(--gold); }
.prop-foot .prop-loc { min-width: 0; line-height: 1.3; }
.prop-more {
  font-size: .78rem; font-weight: 600; color: var(--green); display: inline-flex; gap: 6px; align-items: center;
  padding: 7px 14px; border-radius: 50px; background: var(--gold-soft); transition: .3s; white-space: nowrap; flex-shrink: 0;
}
.prop-more i { font-size: .7rem; color: var(--gold-dark); transition: transform .3s; }
.prop-more:hover { background: var(--green); color: var(--white); }
.prop-more:hover i { color: var(--gold); transform: translateX(3px); }

/* ---------- Carrousel des biens (défilement lent gauche → droite) ---------- */
.marquee {
  overflow: hidden; padding: 10px 0 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: slideRight 170s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .prop-card { width: 290px; flex-shrink: 0; margin-right: 24px; }
.marquee-track .prop-card:hover { transform: translateY(-6px); }
@keyframes slideRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.testi-track { animation-duration: 190s; }
.testi-track .testi { width: 340px; flex-shrink: 0; margin-right: 24px; display: flex; flex-direction: column; }
.testi-track .testi .prop-loc { margin-top: auto; padding-top: 14px; }
.marquee-hint { text-align: center; font-size: .8rem; color: var(--muted); }
.marquee-hint i { color: var(--gold); margin-right: 6px; }

/* ---------- Section agent / partenaire ---------- */
.agent { background: var(--bg-soft); position: relative; overflow: hidden; }
.agent-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; }
.agent-img { position: relative; }
.agent-img img { border-radius: 20px; aspect-ratio: 4/4.6; object-fit: cover; object-position: center 20%; width: 100%; box-shadow: var(--shadow-lg); }
.agent-img::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 2px solid var(--gold);
  border-radius: 20px; z-index: -1;
}
.agent-quote {
  position: absolute; left: -20px; bottom: 36px; background: var(--green); color: var(--white);
  padding: 18px 24px; border-radius: 14px; max-width: 280px; box-shadow: var(--shadow-lg);
  font-family: var(--serif); font-style: italic; font-size: 1.02rem; border-left: 4px solid var(--gold);
}
.agent-quote i { color: var(--gold); margin-right: 6px; }

/* Variante avec le logo (image carrée sur fond sombre) */
.agent-img.brand-img img, .split-img.brand-img img { aspect-ratio: 1 / 1; background: #0d0b10; }
.brand-img .agent-quote { left: auto; right: -20px; bottom: -40px; }
.split-img.brand-img .exp-badge { right: auto; left: -20px; }
.split-img.portrait-img img { aspect-ratio: 4 / 4.8; object-position: center 20%; }

/* Présentation du fondateur */
.founder-card {
  display: flex; align-items: center; gap: 16px; margin: 22px 0 6px; padding: 16px 20px;
  background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 12px;
}
.founder-card .initials {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--green); color: var(--gold); font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
}
img.initials { object-fit: cover; object-position: center 25%; border: 2px solid var(--gold); }
.founder-card strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--green); }
.founder-card span { font-size: .82rem; color: var(--gold-dark); font-weight: 500; }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold-dark); margin: 4px 0 24px; }
.agent-text p { color: var(--muted); margin: 18px 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 34px; }
.stat {
  display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--white);
  border-radius: 12px; border: 1px solid var(--border);
}
.stat i {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: var(--gold-soft); color: var(--gold-dark); font-size: 1.1rem;
}
.stat strong { display: block; font-size: 1.35rem; color: var(--green); line-height: 1.1; }
.stat span { font-size: .75rem; color: var(--muted); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Pourquoi nous ---------- */
.why { background: var(--green); color: var(--white); position: relative; overflow: hidden; }
.why::after {
  content: "\f015"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute;
  right: -40px; bottom: -80px; font-size: 22rem; color: rgba(190,164,82,.06);
}
.why h2 { color: var(--white); }
.why .section-head p { color: rgba(255,255,255,.7); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 1; }
.why-item {
  padding: 30px 24px; border-radius: var(--radius); background: rgba(255,255,255,.04);
  border: 1px solid rgba(190,164,82,.25); transition: .35s var(--ease);
}
.why-item:hover { background: rgba(190,164,82,.1); transform: translateY(-6px); border-color: var(--gold); }
.why-item i {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--gold); color: var(--green); font-size: 1.35rem;
}
.why-item h4 { color: var(--white); font-family: var(--sans); font-size: 1.02rem; font-weight: 600; margin-bottom: 8px; }
.why-item p { font-size: .86rem; color: rgba(255,255,255,.7); }

/* ---------- Témoignages ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; position: relative; transition: .35s var(--ease);
}
.testi:hover { box-shadow: var(--shadow); border-color: var(--gold-line); }
.testi::before {
  content: "\201C"; position: absolute; top: 6px; right: 22px; font-family: var(--serif);
  font-size: 5rem; color: var(--gold); opacity: .3; line-height: 1;
}
.testi-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.testi-avatar {
  width: 54px; height: 54px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%;
  background: var(--gold-soft); border: 2px solid var(--gold); color: var(--gold-dark); font-size: 1.3rem;
}
.testi-head strong { display: block; color: var(--green); }
.stars { color: var(--gold); font-size: .8rem; letter-spacing: 2px; }
.testi p { color: var(--muted); font-size: .9rem; font-style: italic; }
.testi .prop-loc { margin-top: 14px; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(90deg, rgba(26,43,33,.95), rgba(34,55,43,.85)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=70") center/cover;
  color: var(--white); padding: 56px 0;
}
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-text { display: flex; align-items: center; gap: 22px; }
.cta-text > i {
  width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  border: 2px solid var(--gold); color: var(--gold); font-size: 1.6rem;
}
.cta h3 { color: var(--white); font-size: 1.6rem; }
.cta p { color: rgba(255,255,255,.75); }

/* ---------- Footer ---------- */
.footer { background: var(--green-3); color: rgba(255,255,255,.7); padding: 70px 0 0; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer .logo-icon { color: var(--white); }
.footer .logo-text strong { color: var(--white); }
.footer .logo-text small { color: rgba(255,255,255,.6); }
.footer-about p { margin: 18px 0 22px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(190,164,82,.5); color: var(--gold); transition: .3s;
}
.socials a:hover { background: var(--gold); color: var(--green); }
.footer h4 { color: var(--white); font-family: var(--sans); font-size: 1rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { transition: .3s; display: inline-flex; gap: 8px; align-items: center; }
.footer-links a::before { content: "\203A"; color: var(--gold); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact i { color: var(--gold); margin-top: 4px; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .8rem;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Boutons flottants ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: var(--white); display: grid; place-items: center; font-size: 1.9rem;
  box-shadow: 0 10px 25px rgba(37,211,102,.45); transition: transform .3s;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: pulse 2s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float span {
  position: absolute; right: 72px; background: var(--white); color: var(--green); font-size: .82rem; font-weight: 600;
  padding: 8px 14px; border-radius: 8px; white-space: nowrap; box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transform: translateX(10px); transition: .3s;
}
.wa-float:hover span { opacity: 1; transform: translateX(0); }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

.to-top {
  position: fixed; right: 30px; bottom: 96px; z-index: 199; width: 44px; height: 44px; border-radius: 50%;
  border: none; background: var(--gold); color: var(--white); cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--green); }

/* ---------- Bannière pages internes ---------- */
.page-hero {
  position: relative; padding: 110px 0 90px; color: var(--white); text-align: center;
  background-size: cover; background-position: center;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,43,33,.88), rgba(34,55,43,.75)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero h1 .hl { color: var(--gold); font-style: italic; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 620px; margin: 0 auto 20px; }
.breadcrumb { display: inline-flex; gap: 10px; font-size: .85rem; background: rgba(255,255,255,.1); padding: 8px 18px; border-radius: 50px; border: 1px solid rgba(190,164,82,.4); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ---------- Filtres (Louer / Acheter) ---------- */
.filters {
  background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--gold);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px;
  display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 12px; margin-top: -60px; position: relative; z-index: 5;
}
.filters .search-field { padding: 10px 16px; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin: 40px 0 24px; flex-wrap: wrap; gap: 12px; }
.results-bar p { color: var(--muted); }
.results-bar strong { color: var(--green); }
.empty {
  grid-column: 1 / -1; text-align: center; padding: 60px 20px; background: var(--bg-soft);
  border-radius: var(--radius); border: 1px dashed var(--gold-line); color: var(--muted);
}
.empty i { font-size: 2.4rem; color: var(--gold); margin-bottom: 14px; }

/* ---------- Blocs split (image + texte) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img { position: relative; }
.split-img img { border-radius: 20px; width: 100%; aspect-ratio: 5/4; object-fit: cover; box-shadow: var(--shadow-lg); }
.split-img .exp-badge {
  position: absolute; right: -20px; bottom: -20px; background: var(--gold); color: var(--white);
  padding: 22px 26px; border-radius: 16px; text-align: center; box-shadow: var(--shadow-lg);
}
.exp-badge strong { display: block; font-family: var(--serif); font-size: 2.3rem; line-height: 1; }
.exp-badge span { font-size: .8rem; }
.split-text p { color: var(--muted); margin: 16px 0; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 30px; }
.check-list li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--green); font-size: .9rem; }
.check-list i { color: var(--gold); }

/* ---------- Services (Construction) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; transition: .35s var(--ease); position: relative; overflow: hidden;
}
.service::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--gold); transition: width .4s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service:hover::after { width: 100%; }
.service i {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--gold-soft); color: var(--gold-dark); font-size: 1.5rem; transition: .35s;
}
.service:hover i { background: var(--green); color: var(--gold); }
.service h3 { margin-bottom: 10px; }
.service p { color: var(--muted); font-size: .9rem; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; position: relative; padding: 0 10px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 38px; left: calc(50% + 48px); width: calc(100% - 96px);
  border-top: 2px dashed var(--gold-line);
}
.step-num {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--gold); color: var(--gold-dark); font-size: 1.5rem; position: relative;
}
.step-num::after {
  counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: -6px; right: -6px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--white);
  font-size: .72rem; font-weight: 700; display: grid; place-items: center;
}
.step h4 { font-family: var(--sans); font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: .86rem; color: var(--muted); }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; color: var(--white); font-weight: 600;
  background: linear-gradient(transparent, rgba(26,43,33,.9));
}
.gallery figcaption small { display: block; color: var(--gold); font-weight: 500; font-size: .78rem; }

/* ---------- Valeurs / équipe (À propos) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value {
  padding: 36px 30px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border);
  text-align: center; transition: .35s var(--ease);
}
.value:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-4px); }
.value i { font-size: 2rem; color: var(--gold); margin-bottom: 16px; }
.value h3 { margin-bottom: 10px; }
.value p { color: var(--muted); font-size: .9rem; }

.counters { background: var(--green); padding: 60px 0; }
.counters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.counter strong { display: block; font-family: var(--serif); font-size: 2.8rem; color: var(--gold); line-height: 1.1; }
.counter span { color: rgba(255,255,255,.8); font-size: .9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--border); transition: .3s;
}
.contact-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.contact-card i {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0;
  background: var(--green); color: var(--gold); font-size: 1.25rem;
}
.contact-card h4 { font-family: var(--sans); font-size: .95rem; margin-bottom: 2px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: .9rem; }
.contact-card a:hover { color: var(--gold-dark); }

.form-box { background: var(--white); border: 1px solid var(--border); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-box h3 { font-size: 1.6rem; margin-bottom: 6px; }
.form-box > p { color: var(--muted); margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--green); }
.form-group input, .form-group select, .form-group textarea {
  padding: 13px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-soft);
  outline: none; transition: .3s; font-size: .9rem;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(190,164,82,.15); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 12px; display: flex; gap: 8px; align-items: center; }
.form-note i { color: #25d366; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); height: 420px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2); }

/* ---------- Image sticky (accueil) ----------
   --p va de 0 à 1 pendant le défilement (réglé par js/main.js) :
   l'image part d'une carte arrondie au centre et s'étend jusqu'aux bords de l'écran. */
.sticky-show { --p: 0; --hdr: 82px; --inset-top: 24%; position: relative; height: 170vh; background: var(--white); }
/* Collé juste sous l'en-tête pour que le titre ne soit jamais caché */
.sticky-inner {
  position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr));
  overflow: hidden; display: grid; place-items: center;
}
.sticky-media {
  position: absolute; inset: 0;
  clip-path: inset(calc((1 - var(--p)) * var(--inset-top)) calc((1 - var(--p)) * 22%) calc((1 - var(--p)) * 8%) round calc((1 - var(--p)) * 28px));
  will-change: clip-path;
}
.sticky-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.3 - var(--p) * .3)); will-change: transform;
}
.sticky-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,43,33,.25), rgba(26,43,33,.85));
  opacity: calc(var(--p) * 1.1);
}
/* Titre qui descend avec le défilement : noir au-dessus de l'image → doré au centre.
   --title-shift et --title-color sont calculés par js/main.js */
.move-title {
  font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.1; margin: 6px 0 16px; white-space: nowrap;
  color: var(--title-color, var(--gold));
  transform: translateY(calc(var(--title-shift, 0px) * (1 - var(--p))));
  text-shadow: 0 4px 24px rgba(0,0,0, calc(var(--p) * .45));
  will-change: transform;
}
.move-title em { font-style: italic; }

.sticky-overlay { position: relative; z-index: 1; text-align: center; color: var(--white); max-width: min(900px, 92vw); }
.sticky-overlay p { max-width: 600px; margin-left: auto; margin-right: auto; }
/* Le texte sur l'image apparaît à la fin de l'agrandissement */
.sticky-overlay .late {
  opacity: clamp(0, calc((var(--p) - .55) * 3), 1);
  transform: translateY(calc((1 - clamp(0, calc((var(--p) - .55) * 3), 1)) * 30px));
}
.sticky-overlay .eyebrow { color: var(--gold); }
.sticky-overlay .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--gold); }
.sticky-overlay p { color: rgba(255,255,255,.88); font-size: 1.05rem; margin-bottom: 28px; }

@media (max-width: 640px) {
  .sticky-show { height: 150vh; }
  .sticky-show { --hdr: 72px; --inset-top: 26%; }
  .sticky-overlay { max-width: 88vw; }
  .move-title { white-space: normal; font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .sticky-media { clip-path: inset(calc((1 - var(--p)) * var(--inset-top)) calc((1 - var(--p)) * 6%) calc((1 - var(--p)) * 12%) round calc((1 - var(--p)) * 20px)); }
}
@media (prefers-reduced-motion: reduce) {
  .sticky-show { --p: 1 !important; height: auto; }
  .sticky-inner { position: relative; height: 80vh; }
}

/* ---------- Carte cliquable ---------- */
.prop-link { display: block; width: 100%; height: 100%; }
.prop-view {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -30%); opacity: 0;
  background: rgba(255,255,255,.95); color: var(--green); padding: 9px 18px; border-radius: 50px;
  font-size: .82rem; font-weight: 600; display: inline-flex; gap: 8px; align-items: center;
  transition: .35s var(--ease); pointer-events: none; white-space: nowrap;
}
.prop-view i { color: var(--gold); }
.prop-card:hover .prop-view { opacity: 1; transform: translate(-50%, -50%); }
.prop-title a:hover { color: var(--gold-dark); }

/* ---------- Page détail d'un bien ---------- */
.pd-head { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 22px 0; }
.pd-head .breadcrumb { background: none; border: none; padding: 0; color: var(--muted); flex-wrap: wrap; }
.pd-head .breadcrumb span { color: var(--gold-dark); }
.pd-head .breadcrumb a:hover { color: var(--gold-dark); }

.pd-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 34px; align-items: start; }
.pd-main { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--bg-soft); box-shadow: var(--shadow); }
.pd-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.pd-main img.switching { opacity: 0; }
.pd-main .prop-badge { top: 18px; left: 18px; font-size: .82rem; padding: 6px 14px; }
.pd-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.92); color: var(--green); cursor: pointer; box-shadow: var(--shadow); transition: .3s;
}
.pd-nav:hover { background: var(--gold); color: var(--white); }
.pd-nav.prev { left: 16px; }
.pd-nav.next { right: 16px; }
.pd-counter {
  position: absolute; right: 16px; bottom: 16px; background: rgba(26,43,33,.8); color: var(--white);
  font-size: .8rem; padding: 6px 12px; border-radius: 50px; display: inline-flex; gap: 8px; align-items: center;
}
/* 4 miniatures visibles ; au-delà, la bande défile horizontalement */
.pd-thumbs {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 4); gap: 12px; margin-top: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 4px;
}
.pd-thumb { scroll-snap-align: start; }
.pd-thumb {
  border: 2px solid transparent; border-radius: 12px; overflow: hidden; padding: 0; cursor: pointer;
  aspect-ratio: 4 / 3; opacity: .65; transition: .3s; background: none;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover, .pd-thumb.active { opacity: 1; border-color: var(--gold); }

.pd-box {
  position: sticky; top: 104px; background: var(--white); border: 1px solid var(--border);
  border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.pd-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.pd-ref { font-size: .76rem; font-weight: 600; letter-spacing: .08em; color: var(--gold-dark); background: var(--gold-soft); padding: 5px 12px; border-radius: 50px; }
.pd-fav { position: static; border: 1px solid var(--border); }
.pd-title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.pd-price { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--gold-dark); margin: 16px 0 20px; line-height: 1.1; }
.pd-price span { font-family: var(--sans); font-size: .95rem; color: var(--muted); font-weight: 500; }
.pd-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 22px; }
.pd-specs div {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--border);
}
.pd-specs i { grid-row: span 2; color: var(--gold); font-size: 1.1rem; }
.pd-specs strong { color: var(--green); font-size: .95rem; line-height: 1.2; }
.pd-specs span { font-size: .74rem; color: var(--muted); }
.pd-btn { width: 100%; padding: 16px; font-size: .98rem; }
.pd-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.pd-btns .btn { padding: 12px 10px; }
.pd-share {
  width: 100%; margin-top: 14px; border: none; background: none; color: var(--muted); font-size: .85rem; cursor: pointer;
  display: inline-flex; gap: 8px; justify-content: center; align-items: center; transition: color .3s;
}
.pd-share:hover { color: var(--gold-dark); }
.pd-agent { display: flex; gap: 14px; align-items: center; margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--border); }
.pd-agent img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: center 25%; border: 2px solid var(--gold); }
.pd-agent strong { display: block; color: var(--green); font-family: var(--serif); }
.pd-agent span { font-size: .78rem; color: var(--muted); }

.pd-info { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }

/* Liste des équipements (3 colonnes, lecture de haut en bas comme un catalogue) */
.features { column-count: 3; column-gap: 30px; }
.features li {
  display: flex; align-items: center; gap: 14px; padding: 11px 0; break-inside: avoid;
  color: var(--green); font-size: .95rem;
}
.features i {
  width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px;
  background: var(--gold-soft); color: var(--green); font-size: 1.15rem; transition: .3s;
}
.features li:hover i { background: var(--green); color: var(--gold); }
.pd-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.pd-card h2 { font-size: 1.4rem; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--gold-soft); }
.pd-card > p { color: var(--muted); }
.pd-card .check-list { margin: 0; }
.pd-card > p + p { margin-top: 12px; }
.pd-subtitle { font-size: 1.1rem; color: var(--green); margin: 24px 0 12px; }
.pd-card > .pd-note {
  display: flex; align-items: center; gap: 10px; margin-top: 24px; padding: 14px 18px; border-radius: 12px;
  background: var(--gold-soft); color: var(--green); font-weight: 600;
}
.pd-note i { color: var(--gold); }
.pd-map { grid-column: 1 / -1; }
.pd-map .map { height: 340px; margin-top: 14px; }

@media (max-width: 960px) {
  .pd-grid, .pd-info { grid-template-columns: 1fr; }
  .pd-box { position: static; }
}
@media (max-width: 640px) {
  .pd-thumbs { gap: 8px; }
  .pd-box, .pd-card { padding: 20px; }
  .pd-nav { width: 38px; height: 38px; }
  .features { column-count: 2; column-gap: 14px; }
  .features li { font-size: .86rem; gap: 10px; }
  .features i { width: 36px; height: 36px; font-size: 1rem; }
}

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero::after, .marquee-track, .anim-title .w, .anim-title .w.shine, .fade-up,
  .ha-bars i, .ha-icon::after { animation: none !important; opacity: 1; transform: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .nav-actions .btn { display: none; }
}
@media (max-width: 1100px) {
  .prop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .topbar-info span:nth-child(2) { display: none; }
  .nav {
    position: fixed; top: 82px; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0;
    padding: 10px 20px 24px; box-shadow: var(--shadow-lg); border-top: 3px solid var(--gold);
    transform: translateY(-120%); transition: transform .4s var(--ease); z-index: -1; max-height: calc(100vh - 82px); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav a::after { display: none; }
  .nav .nav-mobile-only { display: flex; margin-top: 16px; border: none; color: var(--white); }
  .nav-item { flex-direction: column; align-items: stretch; }
  .nav-link { display: flex; justify-content: space-between; align-items: center; }
  .has-sub:hover .nav-link i { transform: none; }
  .has-sub.open .nav-link i { transform: rotate(180deg); }
  .submenu {
    position: static; min-width: 0; box-shadow: none; border-top: none; border-radius: 0; padding: 4px 0 8px 12px;
    opacity: 1; visibility: visible; transform: none; display: none; background: var(--bg-soft);
  }
  .submenu::before { display: none; }
  .has-sub:hover .submenu { display: none; }
  .has-sub.open .submenu { display: block; }
  .nav .submenu a { border-bottom: none; padding: 10px 8px; }
  .burger { display: flex; }
  .nav-actions .btn { display: none; }
  .search-form, .filters { grid-template-columns: 1fr 1fr; }
  .search-form .btn, .filters .btn { grid-column: 1 / -1; padding: 16px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .prop-grid, .prop-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .agent-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .agent-img, .split-img { max-width: 520px; margin: 0 auto; width: 100%; }
  .why-grid, .steps, .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .testi-grid, .service-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .nav-wrap { height: 72px; }
  .nav { top: 72px; max-height: calc(100vh - 72px); }
  .nav-phone { display: none; }
  .logo-mark { width: 62px; height: 62px; }
  .logo-text strong { font-size: 1.3rem; }
  .hero { min-height: auto; padding: 70px 0 130px; }
  .search-form, .filters { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid .cat-card:last-child { grid-column: 1 / -1; }
  .prop-grid, .prop-grid.cols-3, .testi-grid, .service-grid, .values, .why-grid, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .agent-quote { left: 10px; right: 10px; bottom: 16px; max-width: none; }
  .brand-img .agent-quote { position: static; margin-top: 16px; }
  .marquee-track .prop-card { width: 260px; margin-right: 16px; }
  .testi-track .testi { width: 280px; margin-right: 16px; padding: 22px; }
  .agent-img::before, .split-img .exp-badge { display: none; }
  .check-list, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery figure:nth-child(1) { grid-column: auto; grid-row: auto; }
  .cta-text { flex-direction: column; align-items: flex-start; }
  .form-box { padding: 24px 18px; }
  .page-hero { padding: 80px 0 90px; }
}

/* =========================================================
   Blog (blog.html, blog/*.html — générés par tools/build-blog.js)
   ========================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-tag {
  position: absolute; top: 14px; left: 14px; background: var(--green); color: var(--gold);
  font-size: .72rem; font-weight: 600; padding: 5px 12px; border-radius: 30px; letter-spacing: .03em;
}
.blog-tag.static { position: static; display: inline-block; margin-bottom: 14px; }
.blog-card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.blog-card-body h3 { font-size: 1.12rem; line-height: 1.35; }
.blog-card-body h3 a:hover { color: var(--gold-dark); }
.blog-card-body p { color: var(--muted); font-size: .88rem; flex: 1; }
.blog-meta { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8rem; color: var(--muted); }
.blog-meta i { color: var(--gold); margin-right: 6px; }

/* Article */
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.blog-article-head h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 14px; }
.blog-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin: 26px 0 30px; }
.blog-content { font-size: 1rem; line-height: 1.8; color: var(--text); }
.blog-content h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 42px 0 14px; scroll-margin-top: 110px; }
.blog-content h3 { font-size: 1.12rem; margin: 24px 0 8px; }
.blog-content p { margin-bottom: 14px; }
.blog-content ul, .blog-content ol { margin: 0 0 18px 22px; display: grid; gap: 8px; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li::marker { color: var(--gold-dark); }
.blog-content a { color: var(--gold-dark); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.blog-content a.btn { text-decoration: none; }
.blog-lead { font-size: 1.1rem; color: var(--green); border-left: 3px solid var(--gold); padding-left: 18px; }
.blog-toc { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin: 26px 0; }
.blog-toc strong { font-family: var(--serif); color: var(--green); font-size: 1.1rem; }
.blog-toc ol { margin: 10px 0 0 20px; gap: 4px; font-size: .92rem; }
.blog-toc a { text-decoration: none; color: var(--green); font-weight: 400; }
.blog-toc a:hover { color: var(--gold-dark); }
.blog-faq { display: grid; gap: 10px; }
.blog-faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--white); }
.blog-faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--green); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.blog-faq summary::-webkit-details-marker { display: none; }
.blog-faq summary::after { content: "+"; color: var(--gold-dark); font-size: 1.3rem; line-height: 1; }
.blog-faq details[open] summary::after { content: "−"; }
.blog-faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }
.blog-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 40px; padding: 26px 28px; border-radius: var(--radius); background: var(--green); color: var(--white);
}
.blog-cta h3 { color: var(--gold); margin: 0 0 4px; }
.blog-cta p { color: rgba(255,255,255,.8); margin: 0; }

/* Colonne latérale */
.blog-aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.blog-aside-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; }
.blog-aside-card h3 { font-size: 1.1rem; }
.blog-aside-card p { color: var(--muted); font-size: .88rem; }
.blog-aside-card .btn { justify-content: center; }
.blog-aside-list { display: grid; gap: 12px; }
.blog-aside-list a { color: var(--green); font-size: .9rem; font-weight: 500; line-height: 1.4; display: block; }
.blog-aside-list a:hover { color: var(--gold-dark); }

@media (max-width: 960px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-aside { position: static; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-cta { padding: 22px 20px; }
}
