/* ==========================================================
   Manta Developments — feuille de style
   Palette et typographies reprises de la brochure Kuta Riviera
   ========================================================== */

:root {
  --sable: #E6E1D8;       /* fond principal */
  --sable-2: #DCD6CA;     /* cartes */
  --sable-3: #BDB6AA;     /* filets, textes discrets */
  --encre: #2A2926;       /* anthracite : titres, blocs sombres */
  --texte: #5A554D;       /* texte courant */
  --terre: #A0532F;       /* terracotta : accents */
  --terre-clair: #D9A585; /* accent sur fond sombre */
  --blanc: #FBFAF7;

  --f-titre: "Tenor Sans", "Helvetica Neue", Arial, sans-serif;
  --f-texte: "Karla", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(72px, 11vw, 140px);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sable);
  color: var(--texte);
  font-family: var(--f-texte);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--terre); color: var(--blanc); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-titre);
  font-weight: 400;
  color: var(--encre);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.12;
  margin: 0;
}
h1 { font-size: clamp(1.7rem, 6.8vw, 4.9rem); letter-spacing: .03em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.45rem); }
h3 { font-size: 1.05rem; letter-spacing: .08em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--encre); font-weight: 700; }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-texte);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--terre);
  margin-bottom: 22px;
}
.eyebrow .num { color: var(--terre); opacity: .85; }
.eyebrow .num::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-left: 14px; }
.lead { font-size: 1.15rem; line-height: 1.7; max-width: 60ch; }
.small { font-size: .82rem; line-height: 1.55; color: var(--texte); opacity: .85; }
.note { font-size: .74rem; line-height: 1.55; opacity: .75; }
.label { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--texte); opacity: .8; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font-family: var(--f-texte); font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--encre);
  background: var(--encre); color: var(--sable);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { background: var(--terre); border-color: var(--terre); color: var(--blanc); }
.btn--ghost { background: transparent; color: var(--encre); }
.btn--ghost:hover { background: var(--encre); border-color: var(--encre); color: var(--sable); }
.btn--light { background: var(--sable); color: var(--encre); border-color: var(--sable); }
.btn--light:hover { background: var(--terre); border-color: var(--terre); color: var(--blanc); }
.btn--outline-light { background: transparent; color: var(--sable); border-color: rgba(230,225,216,.6); }
.btn--outline-light:hover { background: var(--sable); color: var(--encre); border-color: var(--sable); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--terre);
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.link:hover { color: var(--encre); }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.header__in { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.header__logo img { height: 34px; width: auto; }
.header__logo .logo-dark { display: none; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav a {
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: var(--sable);
  position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 12px 20px; color: var(--sable); }
.header .nav .btn { background: transparent; border-color: rgba(230,225,216,.6); }
.header .nav .btn:hover { background: var(--terre); border-color: var(--terre); color: var(--blanc); }

.header.is-solid, .header--solid { background: rgba(230, 225, 216, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(42,41,38,.08); }
.header.is-solid .logo-light, .header--solid .logo-light { display: none; }
.header.is-solid .logo-dark, .header--solid .logo-dark { display: block; }
.header.is-solid .nav a, .header--solid .nav a { color: var(--encre); }
.header.is-solid .nav .btn, .header--solid .nav .btn { background: var(--encre); border-color: var(--encre); color: var(--sable); }
.header.is-solid .nav .btn:hover, .header--solid .nav .btn:hover { background: var(--terre); border-color: var(--terre); color: var(--blanc); }
.header.is-hidden { transform: translateY(-100%); }

.burger { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--sable); }
.header.is-solid .burger, .header--solid .burger { color: var(--encre); }
.burger span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s var(--ease), opacity .3s; }

@media (max-width: 900px) {
  .burger { display: block; position: relative; z-index: 60; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 28px;
    background: var(--encre);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav a { color: var(--sable) !important; font-size: .9rem; }
  .nav .btn { margin-top: 12px; background: transparent !important; border-color: rgba(230,225,216,.6) !important; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open .burger { color: var(--sable) !important; }
  body.menu-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2) { opacity: 0; }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  body.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; }
  body.menu-open .header .logo-dark { display: none; }
  body.menu-open .header .logo-light { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--sable); overflow: hidden;
  background: var(--encre);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(42,41,38,.74) 0%, rgba(42,41,38,.42) 48%, rgba(42,41,38,.08) 75%),
    linear-gradient(180deg, rgba(42,41,38,.55) 0%, rgba(42,41,38,.12) 30%, rgba(42,41,38,.22) 55%, rgba(42,41,38,.86) 100%);
}
.hero__content { position: relative; width: 100%; padding-bottom: clamp(48px, 8vh, 96px); padding-top: 140px; }
.hero h1 { color: var(--sable); max-width: 11em; }
.hero .eyebrow { color: var(--terre-clair); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 46ch; margin-top: 26px; color: rgba(230,225,216,.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__facts {
  display: grid; grid-template-columns: repeat(3, auto); gap: 0; justify-content: start;
  margin-top: 56px; border-top: 1px solid rgba(230,225,216,.35); padding-top: 22px; max-width: 640px;
}
.hero__facts div { padding-right: clamp(22px, 4vw, 56px); }
.hero__facts div + div { padding-left: clamp(22px, 4vw, 56px); border-left: 1px solid rgba(230,225,216,.25); }
.hero__facts .label { color: var(--sable-3); opacity: 1; display: block; margin-bottom: 6px; }
.hero__facts strong { white-space: nowrap; font-family: var(--f-titre); font-weight: 400; font-size: 1.35rem; color: var(--sable); letter-spacing: .02em; }
.credit { position: absolute; right: var(--gutter); bottom: 18px; font-size: .66rem; letter-spacing: .06em; color: rgba(230,225,216,.7); }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 46px; background: rgba(230,225,216,.35); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -46px; width: 1px; height: 46px; background: var(--sable); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 46px; } }
@media (max-width: 600px) {
  .hero__facts { grid-template-columns: 1fr 1fr 1fr; }
  .hero__facts div, .hero__facts div + div { padding: 0 10px; }
  .hero__facts div:first-child { padding-left: 0; }
  .hero__facts strong { white-space: nowrap; font-size: 1.05rem; }
  .scroll-cue { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; position: relative; }
.section--dark { background: var(--encre); color: rgba(230,225,216,.82); }
.section--dark h2, .section--dark h3 { color: var(--sable); }
.section--dark .eyebrow { color: var(--terre-clair); }
.section--dark .label { color: var(--sable-3); }
.section--alt { background: var(--sable-2); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.section__head--stack { grid-template-columns: 1fr; align-items: start; }
.section__head p { max-width: 54ch; }
@media (max-width: 860px) { .section__head { grid-template-columns: 1fr; align-items: start; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--wide-media { grid-template-columns: 1.15fr .85fr; }
.split__media { position: relative; }
.split__media img { width: 100%; height: auto; object-fit: cover; }
.split__media .credit { color: rgba(255,255,255,.85); bottom: 12px; right: 14px; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
@media (max-width: 860px) { .split, .split--wide-media { grid-template-columns: 1fr; } }

/* ---------- Statistiques ---------- */
.stats { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); border-top: 1px solid var(--sable-3); }
.stats > div { padding: 26px 24px 0 0; }
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--sable-3); }
.stats .value { white-space: nowrap; font-family: var(--f-titre); font-size: clamp(1.45rem, 2.4vw, 2.2rem); color: var(--encre); line-height: 1.1; letter-spacing: .01em; }
.stats .label { display: block; margin-top: 10px; }
.section--dark .stats { border-color: rgba(230,225,216,.22); }
.section--dark .stats > div + div { border-color: rgba(230,225,216,.22); }
.section--dark .stats .value { color: var(--sable); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 22px 16px 22px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--sable-3); }
  .stats > div:nth-child(2n) { padding-left: 16px !important; border-left: 1px solid var(--sable-3) !important; }
}

/* ---------- Cartes / grilles ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--sable-2); padding: clamp(26px, 3vw, 38px); border-radius: var(--radius); }
.section--alt .card { background: var(--sable); }
.card .num { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: var(--terre); margin-bottom: 18px; }
.card h3 { margin-bottom: 14px; }
.card p { font-size: .95rem; }
.card--dark { background: var(--encre); color: rgba(230,225,216,.82); }
.card--dark h3 { color: var(--sable); }
.card--dark .num { color: var(--terre-clair); }

/* ---------- Projets (accueil) ---------- */
.project { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--encre); color: rgba(230,225,216,.85); text-decoration: none; overflow: hidden; }
.project__media { position: relative; min-height: 460px; overflow: hidden; }
.project__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover .project__media img { transform: scale(1.04); }
.project__body { padding: clamp(32px, 4.5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }
.project__body h3 { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--sable); letter-spacing: .04em; line-height: 1.05; }
.project__tag { display: inline-flex; align-items: center; gap: 10px; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--terre-clair); }
.project__tag::before { content: ""; width: 8px; height: 8px; background: var(--terre); border-radius: 50%; box-shadow: 0 0 0 4px rgba(160,83,47,.25); }
.project__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; border-top: 1px solid rgba(230,225,216,.2); padding-top: 24px; }
.project__specs .label { color: var(--sable-3); display: block; }
.project__specs strong { color: var(--sable); font-family: var(--f-titre); font-weight: 400; font-size: 1.15rem; }
.project--soon { grid-template-columns: 1fr; background: transparent; border: 1px dashed var(--sable-3); color: var(--texte); margin-top: 16px; }
.project--soon .project__body { flex-direction: row; align-items: center; flex-wrap: wrap; }
.project--soon h3 { color: var(--encre); font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
@media (max-width: 900px) {
  .project { grid-template-columns: 1fr; }
  .project__media { min-height: 300px; }
}

/* ---------- Fondateurs ---------- */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.founder { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: start; background: var(--sable-2); padding: 32px; }
.section--alt .founder { background: var(--sable); }
.founder img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; filter: grayscale(.15); }
.founder h3 { font-size: 1.15rem; margin-bottom: 6px; }
.founder .role { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terre); margin-bottom: 12px; display: block; }
.founder p { font-size: .95rem; }
@media (max-width: 860px) { .founders { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .founder { grid-template-columns: 1fr; } }

/* ---------- Comparatif (Bali / Lombok, qualité) ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--sable-3); }
.compare thead th { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--encre); padding-top: 14px; padding-bottom: 14px; }
.compare tbody th { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--texte); width: 22%; }
.compare .is-us { background: var(--encre); color: rgba(230,225,216,.9); border-bottom-color: rgba(230,225,216,.15); }
.compare thead .is-us { color: var(--terre-clair); }
.compare .is-us strong { color: var(--sable); }
@media (max-width: 700px) {
  .compare thead { display: none; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100% !important; }
  .compare tr { margin-bottom: 18px; border-bottom: 1px solid var(--sable-3); }
  .compare tbody th { padding: 12px 0 8px; border: 0; }
  .compare td { padding: 12px 16px; border: 0; }
  .compare td::before { content: attr(data-label); display: block; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; opacity: .7; margin-bottom: 4px; }
}

.vs-media { display: grid; grid-template-columns: 22% 1fr 1fr; gap: 0; margin-bottom: 0; }
.vs-media figure { margin: 0; position: relative; }
.vs-media img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }
.vs-media figcaption { position: absolute; left: 0; bottom: 0; padding: 8px 14px; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; background: var(--sable-2); color: var(--encre); }
.vs-media figure.is-us figcaption { background: var(--encre); color: var(--terre-clair); }
@media (max-width: 700px) { .vs-media { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; } .vs-media > span { display: none; } }

/* ---------- Carte emplacement ---------- */
.location { display: grid; grid-template-columns: 1fr 1fr; background: var(--encre); }
.location__text { padding: var(--section) var(--gutter); display: flex; flex-direction: column; justify-content: center; color: rgba(230,225,216,.82); }
.location__text h2 { color: var(--sable); }
.location__text .eyebrow { color: var(--terre-clair); }
.distances { list-style: none; padding: 0; margin: 36px 0 0; max-width: 460px; }
.distances li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid rgba(230,225,216,.18); font-size: .95rem; }
.distances li span:last-child { color: var(--terre-clair); font-weight: 700; white-space: nowrap; }
.map { position: relative; overflow: hidden; display: flex; align-items: center; background: #0d3d4a; }
.map__frame { position: relative; width: 100%; aspect-ratio: 1332 / 1406; }
.map img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.map__pin { position: absolute; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%; background: var(--terre); color: var(--blanc); display: grid; place-items: center; text-align: center; font-size: .56rem; font-weight: 700; letter-spacing: .12em; line-height: 1.3; box-shadow: 0 0 0 10px rgba(160,83,47,.25); }
.map__pin::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(217,165,133,.8); animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
.map__label { position: absolute; font-size: .72rem; font-weight: 700; color: #fff; letter-spacing: .04em; text-shadow: 0 1px 6px rgba(0,0,0,.6); white-space: nowrap; }
@media (max-width: 960px) {
  .location { grid-template-columns: 1fr; }
  .location__text { padding-top: var(--section); padding-bottom: 48px; }
}

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; cursor: zoom-in; }
.gallery img { width: 100%; aspect-ratio: 881/561; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption, .tiles figcaption { margin-top: 10px; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--encre); }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } }

.banner { position: relative; min-height: 86vh; display: flex; align-items: flex-end; color: var(--sable); overflow: hidden; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(42,41,38,0) 45%, rgba(42,41,38,.75) 100%); }
.banner .wrap { position: relative; z-index: 1; padding-bottom: clamp(40px, 7vh, 80px); }
.banner h2 { color: var(--sable); font-size: clamp(2.4rem, 6vw, 4.6rem); }
.banner p { margin-top: 14px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--sable); }
.banner .credit { z-index: 1; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tiles figure { margin: 0; }
.tiles img { width: 100%; aspect-ratio: 431/600; object-fit: cover; }
.tiles--square img { aspect-ratio: 1/1; }
.section--dark .tiles figcaption { color: var(--sable); }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr 1fr; } }

/* ---------- Villas ---------- */
.villa { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.villa + .villa { margin-top: clamp(72px, 9vw, 120px); }
.villa--reverse { grid-template-columns: 1.1fr .9fr; }
.villa--reverse .villa__plan { order: 2; }
.villa__plan { background: #fff; padding: clamp(16px, 2.5vw, 32px); cursor: zoom-in; position: relative; }
.villa__plan img { width: 100%; height: auto; max-height: 720px; object-fit: contain; margin: 0 auto; }
.villa__plan .zoom { position: absolute; right: 12px; top: 12px; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; background: var(--encre); color: var(--sable); padding: 6px 10px; }
.villa__levels { display: flex; justify-content: space-around; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--texte); margin-bottom: 8px; }
.villa h2 { margin-bottom: 18px; }
.villa__price { margin: 0 0 30px; }
.villa__price .label { display: block; margin-bottom: 4px; }
.villa__price strong { font-family: var(--f-titre); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.7rem); color: var(--terre); letter-spacing: .01em; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.specs div { background: var(--sable-2); padding: 16px 18px; }
.specs .label { display: block; margin-bottom: 6px; font-size: .6rem; }
.specs strong { font-weight: 400; color: var(--encre); font-size: 1rem; }
.income { display: flex; justify-content: space-between; align-items: center; gap: 20px; background: var(--encre); color: var(--sable-3); padding: 24px 28px; margin-top: 12px; }
.income .label { color: var(--sable-3); display: block; }
.income small { font-size: .78rem; }
.income strong { font-family: var(--f-titre); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--sable); white-space: nowrap; }
@media (max-width: 960px) {
  .villa, .villa--reverse { grid-template-columns: 1fr; }
  .villa--reverse .villa__plan { order: 0; }
}
@media (max-width: 520px) { .specs { grid-template-columns: 1fr 1fr; } }

/* ---------- Plan de masse ---------- */
.masterplan { background: #fff; padding: clamp(12px, 2vw, 28px); cursor: zoom-in; }
.availability { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.availability div { background: var(--sable-2); padding: 20px 22px; }
.availability strong { display: block; color: var(--encre); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.availability span { color: var(--terre); font-weight: 700; font-size: .92rem; }
@media (max-width: 700px) { .availability { grid-template-columns: 1fr; } }

/* ---------- Rendements ---------- */
.scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.scenario { background: var(--sable-2); padding: 30px 30px 34px; }
.scenario--main { background: var(--encre); color: rgba(230,225,216,.82); }
.scenario__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--encre); margin-bottom: 22px; }
.scenario--main .scenario__head { border-color: rgba(230,225,216,.4); }
.scenario__head h3 { font-size: .95rem; }
.scenario--main h3 { color: var(--terre-clair); }
.scenario__head span { font-size: .78rem; }
.scenario__row + .scenario__row { margin-top: 24px; }
.scenario__row .label { display: block; font-size: .6rem; }
.scenario--main .label { color: var(--sable-3); }
.scenario__row strong { display: block; font-family: var(--f-titre); font-weight: 400; font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--encre); line-height: 1.15; margin-top: 4px; }
.scenario--main .scenario__row strong { color: var(--sable); }
.scenario__row small { font-size: .82rem; }
.market { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--sable-3); }
.market strong { display: block; font-family: var(--f-titre); font-weight: 400; color: var(--terre); font-size: 1.6rem; }
.market p { font-size: .85rem; margin-top: 6px; }
@media (max-width: 860px) { .scenarios, .market { grid-template-columns: 1fr; } }

.calc { width: 100%; border-collapse: collapse; font-size: .95rem; }
.calc th, .calc td { padding: 13px 14px; border-bottom: 1px solid var(--sable-3); text-align: right; white-space: nowrap; }
.calc th:first-child, .calc td:first-child { text-align: left; white-space: normal; }
.calc thead th { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--encre); }
.calc .sub td { font-weight: 700; color: var(--encre); }
.calc .total td { background: var(--encre); color: var(--sable); font-weight: 700; border: 0; }
.calc .total td:first-child { color: var(--terre-clair); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.calc .neg { color: var(--terre); }
.calc-wrap { overflow-x: auto; }
.extras { background: var(--encre); color: rgba(230,225,216,.85); padding: 32px; }
.extras .label { color: var(--terre-clair); display: block; margin-bottom: 16px; }
.extras ul { list-style: none; margin: 0; padding: 0; }
.extras li { padding: 12px 0; border-bottom: 1px solid rgba(230,225,216,.15); display: flex; gap: 14px; }
.extras li::before { content: "+"; color: var(--terre-clair); }
.calc-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 960px) { .calc-layout { grid-template-columns: 1fr; } }

/* ---------- Listes à puces ---------- */
.checklist { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.checklist li { padding: 13px 0 13px 22px; border-bottom: 1px solid var(--sable-3); position: relative; font-size: .95rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; background: var(--terre); }
@media (max-width: 560px) { .checklist { grid-template-columns: 1fr; } }
.callout { background: var(--encre); color: rgba(230,225,216,.85); padding: 24px 28px; margin-top: 8px; }
.callout .label { color: var(--terre-clair); display: block; margin-bottom: 8px; }
.callout strong { color: var(--sable); }

/* ---------- Acquisition ---------- */
.option { background: var(--sable-2); display: flex; flex-direction: column; }
.option__body { padding: clamp(26px, 3vw, 40px); flex: 1; }
.option dl { margin: 26px 0 0; border-top: 1px solid var(--encre); }
.option dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--sable-3); font-size: .9rem; }
.option dt { opacity: .8; }
.option dd { margin: 0; color: var(--encre); text-align: right; }
.option__foot { background: var(--encre); color: var(--sable-3); padding: 22px clamp(26px, 3vw, 40px); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.option__foot .label { color: var(--sable-3); }
.option__foot strong { font-family: var(--f-titre); font-weight: 400; color: var(--sable); font-size: 2.2rem; }

/* ---------- Parcours ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 44px 1fr auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--sable-3); }
.steps li::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; display: grid; place-items: center; background: var(--encre); color: var(--sable); font-family: var(--f-titre); }
.steps li:last-child::before { background: var(--terre); }
.steps h3 { font-size: .92rem; }
.steps p { font-size: .85rem; margin-top: 2px; }
.steps .pct { font-family: var(--f-titre); color: var(--terre); font-size: 1.4rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--encre); }
.faq details { border-bottom: 1px solid var(--sable-3); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 700; color: var(--encre); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-titre); font-size: 1.6rem; font-weight: 400; color: var(--terre); transition: transform .3s var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 70ch; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 96px); }
.contact__info dl { margin: 36px 0 0; }
.contact__info dl div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(230,225,216,.18); }
.contact__info dt { font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--terre-clair); padding-top: 3px; }
.contact__info dd { margin: 0; color: var(--sable); }
.contact__info a { text-decoration: none; }
.contact__info a:hover { color: var(--terre-clair); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sable-3); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--sable);
  background: transparent; border: 0; border-bottom: 1px solid rgba(230,225,216,.35);
  padding: 10px 0 12px; border-radius: 0; outline: none; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--sable-3) 50%), linear-gradient(135deg, var(--sable-3) 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 6px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: var(--encre); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terre-clair); }
.field input::placeholder, .field textarea::placeholder { color: rgba(230,225,216,.35); }
.form .consent { font-size: .78rem; color: rgba(230,225,216,.6); }
.form .consent label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.form .consent input { margin-top: 4px; accent-color: var(--terre); }
.hidden { position: absolute !important; left: -9999px !important; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.footer { background: var(--encre); color: rgba(230,225,216,.6); padding: 64px 0 36px; border-top: 1px solid rgba(230,225,216,.1); font-size: .85rem; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(230,225,216,.12); }
.footer__logo img { height: 40px; width: auto; }
.footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sable); }
.footer nav a:hover { color: var(--terre-clair); }
.footer__legal { padding-top: 28px; display: grid; grid-template-columns: 1fr auto; gap: 24px; font-size: .74rem; line-height: 1.6; }
.footer__legal p { max-width: 90ch; }
@media (max-width: 700px) { .footer__legal { grid-template-columns: 1fr; } }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(28,27,25,.94); display: grid; place-items: center; padding: 56px 20px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; cursor: zoom-out; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1600px, 100%); max-height: 100%; object-fit: contain; background: #fff; }
.lightbox img.photo { background: transparent; }
.lightbox button { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: var(--sable); font-size: 2.2rem; line-height: 1; cursor: pointer; padding: 8px; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img, .map__pin::after, .scroll-cue::after { animation: none; }
}

/* ---------- Utilitaires ---------- */
.mt-s { margin-top: 18px; } .mt-m { margin-top: 36px; } .mt-l { margin-top: 64px; }
.center { text-align: center; }
.page-simple { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px var(--gutter) 80px; }
.page-simple h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.page-simple p { max-width: 52ch; margin: 0 auto 32px; }

/* ---------- Hero projet (reprend la couverture de la brochure) ---------- */
.hero-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100svh; background: var(--sable); }
.hero-split__text { display: flex; flex-direction: column; justify-content: flex-end; padding: 150px var(--gutter) clamp(48px, 8vh, 88px); padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.hero-split__text h1 { font-size: clamp(3rem, 7vw, 6rem); line-height: 1; }
.hero-split__text .lead { margin-top: 26px; max-width: 40ch; }
.hero-split__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 48px; padding-top: 20px; border-top: 1.5px solid var(--encre); }
.hero-split__facts div { padding-right: clamp(20px, 3vw, 44px); }
.hero-split__facts div + div { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--sable-3); }
.hero-split__facts .label { display: block; margin-bottom: 4px; }
.hero-split__facts strong { white-space: nowrap; font-family: var(--f-titre); font-weight: 400; font-size: 1.3rem; }
.hero-split__media { position: relative; overflow: hidden; }
.hero-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s var(--ease) forwards; transform: scale(1.06); }
.hero-split__media .credit { color: rgba(255,255,255,.85); text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.hero-split .hero__actions { margin-top: 34px; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split__media { min-height: 62vh; order: -1; }
  .hero-split__text { padding-top: 48px; }
}
@media (max-width: 520px) { .hero-split__facts strong { white-space: nowrap; font-size: 1.02rem; } .hero-split__facts div, .hero-split__facts div + div { padding: 0 10px; } .hero-split__facts div:first-child { padding-left: 0; } }
.page-sub-nav { position: sticky; top: 84px; }
.wide-img { width: 100%; aspect-ratio: 1987 / 745; object-fit: cover; }
.sources { font-size: .82rem; }
.sources ol { margin: 20px 0 0; padding-left: 22px; columns: 2; column-gap: 48px; }
.sources li { margin-bottom: 10px; break-inside: avoid; }
.sources summary { cursor: pointer; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--encre); }
@media (max-width: 760px) { .sources ol { columns: 1; } }

.split--cards { grid-template-columns: 1.5fr 1fr; }
@media (max-width: 860px) { .split--cards { grid-template-columns: 1fr; } .split--cards .split__media { position: static !important; } }
.split--gestion { grid-template-columns: 1fr .85fr; }
@media (max-width: 860px) { .split--gestion { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .calc { font-size: .8rem; }
  .calc th, .calc td { padding: 10px 6px; }
  .calc td:first-child { min-width: 120px; }
}
@media (max-width: 600px) {
  .hero__media::after { background: linear-gradient(180deg, rgba(42,41,38,.62) 0%, rgba(42,41,38,.55) 35%, rgba(42,41,38,.68) 60%, rgba(42,41,38,.92) 100%); }
  .hero h1 { letter-spacing: .01em; }
}


/* ==========================================================
   Boutons WhatsApp / e-mail (communs à toutes les pages)
   ========================================================== */
.wa-ico { width: 18px; height: 18px; flex: none; }
.btn--wa { background: var(--terre); border-color: var(--terre); color: var(--blanc); }
.btn--wa:hover { background: var(--encre); border-color: var(--encre); color: var(--sable); }
.section--dark .btn--wa:hover, .kr-hero .btn--wa:hover, .kr-cta .btn--wa:hover { background: var(--sable); border-color: var(--sable); color: var(--encre); }
.btn--lg { padding: 19px 32px; font-size: .8rem; }

/* WhatsApp flottant */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 14px 16px;
  background: var(--terre); color: var(--blanc);
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border-radius: 999px; box-shadow: 0 10px 30px rgba(42,41,38,.28);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s;
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--encre); }
.wa-float .wa-ico { width: 22px; height: 22px; }
@media (max-width: 600px) {
  .wa-float { left: 12px; right: 12px; bottom: 12px; justify-content: center; border-radius: var(--radius); padding: 16px; }
  body.has-wa-float .footer { padding-bottom: 96px; }
}

.btn--wa .wa-ico, .btn .wa-ico { margin-left: -4px; }
.contact__actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; align-self: center; max-width: 440px; width: 100%; justify-self: end; }
.contact__actions .label { color: var(--sable-3); margin-bottom: 6px; }
.contact__actions .btn { justify-content: center; }
.contact__actions .note { margin-top: 10px; color: rgba(230,225,216,.6); }
@media (max-width: 900px) { .contact__actions { justify-self: stretch; max-width: none; } }

/* ---------- Hero : tout le contenu tient dans la hauteur de l'écran ---------- */
.hero__content { padding-top: clamp(92px, 15vh, 140px); padding-bottom: clamp(24px, 6vh, 96px); }
.hero .eyebrow { margin-bottom: clamp(12px, 2.2vh, 22px); }
.hero h1 { font-size: min(clamp(1.7rem, 6.8vw, 4.9rem), 9.5vh); }
.hero__lead { max-width: 56ch; margin-top: clamp(12px, 2.4vh, 26px); }
.hero__actions { margin-top: clamp(18px, 3.4vh, 38px); }
.hero__facts { margin-top: clamp(22px, 4.6vh, 56px); padding-top: clamp(12px, 2vh, 22px); }
@media (max-width: 600px) {
  .hero__lead { font-size: 1rem; line-height: 1.55; }
  .hero__actions { flex-wrap: nowrap; gap: 10px; }
  .hero__actions .btn { flex: 1 1 0; justify-content: center; padding: 14px 10px; font-size: .68rem; letter-spacing: .12em; text-align: center; }
  .hero__actions .btn .arrow { display: none; }
}
@media (max-height: 820px) { .scroll-cue { display: none; } }

/* Lisibilité du texte sur les photos des hauts de page */
.hero__content, .kr-hero__content { text-shadow: 0 1px 14px rgba(28,27,25,.35); }
.hero__content .btn, .kr-hero__content .btn { text-shadow: none; }

/* ---------- Sélecteur de langue ---------- */
.nav .nav__lang { font-size: .7rem; letter-spacing: .14em; padding: 6px 9px; border: 1px solid currentColor; border-radius: var(--radius); opacity: .85; }
.nav .nav__lang::after { display: none; }
.nav .nav__lang:hover { opacity: 1; background: rgba(230,225,216,.12); }
.header.is-solid .nav .nav__lang:hover, .header--solid .nav .nav__lang:hover { background: var(--sable-2); }
@media (max-width: 900px) { .nav .nav__lang { font-size: .8rem; padding: 8px 14px; } }

/* Titres : lignes équilibrées (pas de mot isolé en fin de titre) */
h1, h2 { text-wrap: balance; }
.hero h1:lang(en) { max-width: 13.5em; }
