/* Identité A « Marine & Or » : une couleur principale (marine) et un accent (or).
   L'or sert aux boutons, filets, pictos et aux textes sur fond marine ; jamais au texte sur fond clair. */
:root {
  --nuit: #1E3229;
  --encre: #2C4A3F;
  --champagne: #AD6140;
  --champagne-deep: #2C4A3F; /* texte d'accent sur fond clair : marine (l'or y serait illisible) */
  --champagne-light: #E4D6B4;
  --lin: #F2ECDF;
  --ivoire: #FBF8F0;
  --blanc: #FBF8F1;
  --ink: #1E3229;
  --muted: #4C6157;
  --line: rgba(44, 74, 63, 0.24);
  --line-light: rgba(228, 214, 180, 0.28);

  --logo: "Italiana", "Didot", "Bodoni 72", Georgia, serif;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
  --waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='14' viewBox='0 0 48 14'%3E%3Cpath d='M0 10 q12 -12 24 0 t24 0' fill='none' stroke='%23C3A063' stroke-width='1.2'/%3E%3C/svg%3E");
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivoire);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 300; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
p { margin: 0; }
em.it, h1 em, h2 em, h3 em { font-style: italic; color: var(--champagne-deep); }
.dark h1 em, .dark h2 em, .dark h3 em, .hero h1 em { color: var(--champagne); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--encre); }
.dark .eyebrow { color: var(--champagne-light); }
.section { padding-block: clamp(72px, 10vw, 140px); }
.dark { background: var(--nuit); color: var(--ivoire); }
.waves-rule { height: 14px; background: var(--waves) repeat-x left center; opacity: 0.9; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  border: 1px solid currentColor; background: none; cursor: pointer;
  font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
/* Boutons avec relief : dégradé léger, reflet en haut, ombre douce, légère élévation au survol */
.btn { transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease), filter 0.3s var(--ease); }
.btn-solid {
  background: linear-gradient(180deg, #2C4A3F 0%, #1E3229 58%, #1E3229 100%); border-color: #1E3229; color: #F6F1E4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 20px -10px rgba(30, 50, 41, 0.6);
}
.btn-solid:hover { filter: brightness(1.12); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 26px -12px rgba(30, 50, 41, 0.7); }
.btn-gold, .btn-rose {
  background: linear-gradient(180deg, #ddc08a 0%, #AD6140 52%, #8E4D31 100%); border-color: #8E4D31; color: #1E3229;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(60, 30, 16, 0.25), 0 8px 20px -10px rgba(120, 88, 36, 0.55);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-gold:hover, .btn-rose:hover { filter: brightness(1.07) saturate(1.05); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(60, 30, 16, 0.25), 0 12px 26px -12px rgba(110, 60, 36, 0.5); }
.btn-light { color: var(--ivoire); border-color: rgba(246, 241, 228, 0.55); background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.btn-light:hover { background: var(--ivoire); color: var(--nuit); border-color: var(--ivoire); }
.btn-ghost { background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.btn-ghost:hover { background: var(--nuit); color: var(--ivoire); border-color: var(--nuit); }
.btn:active { transform: translateY(0); filter: brightness(0.97); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transform: none; transition: none; } }
.btn svg { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid var(--champagne); padding-bottom: 4px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--ivoire);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.solid, body.header-solid .site-header { background: var(--ivoire); color: var(--nuit); box-shadow: 0 1px 0 var(--line); }
.header-inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav-main { display: flex; gap: 30px; font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-main a { padding-block: 6px; border-bottom: 1px solid transparent; }
.nav-main a:hover, .nav-main a[aria-current="page"] { border-color: var(--champagne); }
.logo { font-family: var(--logo); font-size: 30px; letter-spacing: 0.32em; line-height: 1; text-align: center; padding-left: 0.32em; }
.logo small { display: block; font-family: var(--body); font-size: 9px; letter-spacing: 0.42em; margin-top: 6px; opacity: 0.8; }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 18px; font-size: 13px; }
.lang { display: flex; gap: 6px; letter-spacing: 0.1em; }
.lang a[aria-current="true"] { border-bottom: 1px solid var(--champagne); }
.lang span { opacity: 0.5; }
.currency { background: none; border: 1px solid currentColor; border-radius: 999px; padding: 6px 28px 6px 12px; font-size: 12px; letter-spacing: 0.08em; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23C3A063' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; }
.currency option { color: var(--ink); }
.fav-link { position: relative; display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid currentColor; }
.fav-link svg { width: 18px; height: 18px; }
.fav-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--champagne); color: var(--ink); font-size: 11px; font-weight: 500; display: grid; place-items: center; padding: 0 4px; }
.fav-count[data-n="0"] { display: none; }
.header-cta { min-height: 42px; padding: 0 18px; font-size: 12px; }
.burger { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; height: 1px; background: currentColor; margin: 6px 0; }
.mobile-nav { position: fixed; inset: 0; z-index: 60; background: var(--nuit); color: var(--ivoire); padding: calc(var(--header-h) + 24px) var(--gutter) 40px; display: grid; align-content: start; gap: 22px; }
.mobile-nav a { font-family: var(--display); font-size: 36px; font-weight: 300; }
.mobile-nav .close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 22px); right: var(--gutter); background: none; border: 1px solid var(--line-light); color: inherit; border-radius: 50%; width: 42px; height: 42px; cursor: pointer; font-size: 20px; }

/* ---------------- Hero (home) ---------------- */
.hero { position: relative; min-height: min(100svh, 920px); display: grid; align-items: end; color: var(--ivoire); overflow: hidden; background: var(--nuit); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 28, 22, 0.6) 0%, rgba(16, 28, 22, 0.28) 30%, rgba(16, 28, 22, 0.5) 58%, rgba(16, 28, 22, 0.88) 100%); }
.hero-content { position: relative; padding-block: 180px 48px; display: grid; gap: 28px; }
.hero h1 { font-size: clamp(44px, 7.4vw, 112px); line-height: 0.98; max-width: 13ch; }
.hero-sub { max-width: 46ch; font-size: 18px; opacity: 0.92; }
.search {
  margin-top: 16px; background: var(--ivoire); color: var(--ink); border-radius: 999px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: center; padding: 8px 8px 8px 12px; max-width: 900px;
}
.search label { display: grid; padding: 6px 22px; border-right: 1px solid var(--line); min-width: 0; }
.search label:nth-child(3) { border-right: 0; }
.search label span { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--encre); }
.search select { border: 0; background: none; padding: 2px 0; font-size: 16px; cursor: pointer; min-width: 0; width: 100%; }
.search .btn { min-height: 56px; }
.hero-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; border-top: 1px solid var(--line-light); padding-top: 18px; margin-top: 20px; }

/* ---------------- Home sections ---------------- */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro h2 { font-size: clamp(34px, 4.4vw, 64px); line-height: 1.05; }
.intro p { font-size: 18px; color: var(--muted); max-width: 58ch; }
.intro p + p { margin-top: 18px; }
.intro .links { margin-top: 32px; display: flex; gap: 28px; flex-wrap: wrap; }

.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; align-items: stretch; }
.feature-media { position: relative; min-height: 560px; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-media .badge { position: absolute; left: 24px; top: 24px; }
.feature-body { padding: clamp(32px, 5vw, 80px); display: grid; align-content: center; gap: 24px; }
.feature-body h2 { font-size: clamp(38px, 4.6vw, 68px); line-height: 1; }
.feature-body p { opacity: 0.88; max-width: 48ch; }
.stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-light); }
.stat { padding: 18px 0; border-bottom: 1px solid var(--line-light); display: grid; gap: 2px; }
.stat:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line-light); }
.stat:nth-child(even) { padding-left: 20px; }
.stat b { font-family: var(--display); font-weight: 300; font-size: 34px; line-height: 1.1; }
.stat small { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--champagne-light); }

.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.04; max-width: 16ch; }
.sec-head .eyebrow { display: block; margin-bottom: 14px; }

.destinations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dest { position: relative; display: grid; gap: 18px; }
.dest-media { aspect-ratio: 3 / 4; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--lin); position: relative; }
.dest-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dest:hover .dest-media img { transform: scale(1.04); }
.dest-media.soon { display: grid; place-items: center; text-align: center; color: var(--ivoire); }
.dest-media.soon.gold { background: var(--champagne); color: var(--ink); }
.dest-media.soon.encre { background: var(--encre); }
.dest-media.soon .mono { font-family: var(--logo); font-size: 92px; line-height: 1; }
.dest-media.soon .waves-rule { width: 120px; margin: 18px auto 0; }
.dest h3 { font-size: 32px; }
.dest p { color: var(--muted); font-size: 15px; }
.dest .meta { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; letter-spacing: 0.08em; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.pillar { border-top: 1px solid var(--champagne); padding-top: 24px; display: grid; gap: 12px; align-content: start; }
.pillar h3 { font-size: 28px; }
.pillar p { color: var(--muted); }
.dark .pillar p { color: rgba(246, 241, 228, 0.78); }

.band-lin { background: var(--lin); color: var(--ink); }
.alert-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.alert-band h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.05; }
.alert-band .eyebrow { color: var(--ink); }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; min-width: 0; min-height: 52px; border-radius: 999px; border: 1px solid rgba(16, 28, 22, 0.35); background: rgba(255, 253, 249, 0.6); padding: 0 22px; }
.form-note { font-size: 13px; margin-top: 10px; min-height: 1.4em; }

/* ---------------- Villa cards ---------------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 28px; }
.card { display: grid; gap: 16px; align-content: start; min-width: 0; position: relative; }
.card-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--lin); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.6s var(--ease); }
.card-media img + img { position: absolute; inset: 0; opacity: 0; }
.card:hover .card-media img:first-child { transform: scale(1.03); }
.card:hover .card-media img + img { opacity: 1; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--ivoire); color: var(--nuit); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.badge.gold { background: var(--champagne); color: var(--ink); }
.badge.dark { background: var(--nuit); color: var(--ivoire); }
.card-badges { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.heart { position: absolute; right: 14px; top: 14px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(246, 241, 228, 0.92); color: var(--nuit); display: grid; place-items: center; cursor: pointer; transition: transform 0.2s var(--ease); }
.heart:hover { transform: scale(1.06); }
.heart svg { width: 19px; height: 19px; }
.heart[aria-pressed="true"] svg path { fill: var(--champagne); stroke: var(--champagne-deep); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card h3 { font-size: 28px; line-height: 1.1; }
.card .loc { font-size: 14px; color: var(--muted); margin-top: 4px; }
.price { font-family: var(--display); font-weight: 300; font-size: 22px; color: var(--champagne-deep); white-space: nowrap; }
.price small { display: block; font-family: var(--body); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); text-align: right; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); padding-top: 14px; gap: 8px; }
.facts div { display: grid; gap: 2px; min-width: 0; }
.facts b { font-weight: 400; font-size: 15px; white-space: nowrap; }
.facts small { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.card .tags span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--champagne); margin-right: 8px; vertical-align: 2px; }
.card a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cards.list { grid-template-columns: 1fr; gap: 28px; }
.cards.list .card { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.cards.list .card-media { aspect-ratio: 16 / 10; }
.cards.list .card-body { display: grid; gap: 16px; }
.card-body { display: grid; gap: 16px; }

/* ---------------- Catalogue ---------------- */
.page-head { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); padding-bottom: 36px; display: grid; gap: 16px; }
.page-head h1 { font-size: clamp(44px, 6vw, 88px); line-height: 1; }
.page-head p { color: var(--muted); max-width: 60ch; font-size: 17px; }
.crumbs { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--nuit); }

.filterbar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 20; background: var(--ivoire); border-block: 1px solid var(--line); }
.filterbar-inner { display: flex; align-items: center; gap: 10px; padding-block: 14px; overflow-x: auto; scrollbar-width: none; }
.filterbar-inner::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--blanc); cursor: pointer; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.chip:hover { border-color: var(--nuit); }
.chip[aria-pressed="true"] { background: var(--nuit); color: var(--ivoire); border-color: var(--nuit); }
.chip .cnt { font-size: 12px; opacity: 0.7; }
.fsel { flex: none; height: 40px; padding: 0 34px 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230D1B2E' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; cursor: pointer; font-size: 14px; }
.fsel.on { border-color: var(--nuit); box-shadow: inset 0 0 0 1px var(--nuit); }
.vsep { flex: none; width: 1px; height: 26px; background: var(--line); margin-inline: 4px; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; }
.results-bar .count { font-family: var(--display); font-size: 24px; font-weight: 300; }
.results-tools { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.view-toggle button { border: 0; background: none; border-radius: 999px; height: 34px; padding: 0 14px; cursor: pointer; font-size: 13px; }
.view-toggle button[aria-pressed="true"] { background: var(--nuit); color: var(--ivoire); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.active-filters button { height: 32px; border-radius: 999px; border: 0; background: var(--lin); padding: 0 12px; font-size: 13px; cursor: pointer; }
.active-filters button::after { content: " ×"; color: var(--champagne-deep); }
.active-filters .clear { background: none; text-decoration: underline; text-underline-offset: 3px; }
.active-filters .clear::after { content: ""; }
.empty { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; background: var(--blanc); }
.empty .mono { font-family: var(--logo); font-size: 110px; line-height: 0.8; color: var(--champagne); }
.empty h2 { font-size: clamp(28px, 3vw, 40px); }
.empty p { color: var(--muted); margin-block: 10px 20px; max-width: 54ch; }

/* drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(16, 28, 22, 0.5); }
.drawer { position: fixed; z-index: 71; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--ivoire); display: grid; grid-template-rows: auto 1fr auto; padding-top: env(safe-area-inset-top, 0px); }
.drawer header, .drawer footer { padding: 22px 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.drawer footer { border-top: 1px solid var(--line); border-bottom: 0; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
.drawer h2 { font-size: 30px; }
.drawer .body { overflow-y: auto; padding: 8px 28px 28px; }
.fgroup { padding-block: 22px; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.fgroup legend, .fgroup > .lbl { font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--encre); padding: 0; margin-bottom: 4px; }
fieldset.fgroup { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding-inline: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { height: 40px; min-width: 52px; border-radius: 999px; border: 1px solid var(--line); background: var(--blanc); cursor: pointer; padding: 0 14px; }
.seg button[aria-pressed="true"] { background: var(--nuit); border-color: var(--nuit); color: var(--ivoire); }
.range2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.range2 select, .drawer select { width: 100%; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--blanc); padding: 0 12px; }
.checks { display: grid; gap: 10px; }
.checks label { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.checks input { width: 20px; height: 20px; accent-color: var(--nuit); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 20px; }

/* ---------------- Villa page ---------------- */
body.page-villa { --header-h: 76px; }
.gallery { padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: min(76vh, 720px); min-height: 420px; }
.gallery-grid button { position: relative; padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: var(--lin); border-radius: 6px; }
.gallery-grid button:first-child { grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-grid button:hover img { transform: scale(1.025); }
.gallery-actions { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.gallery-wrap { position: relative; }
.gallery-actions .badge { height: 38px; padding: 0 16px; cursor: pointer; border: 0; }

.v-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; padding-block: 44px 32px; border-bottom: 1px solid var(--line); }
.v-head h1 { font-size: clamp(42px, 5.6vw, 84px); line-height: 1; margin-top: 14px; }
.v-head .loc { margin-top: 14px; color: var(--muted); font-size: 17px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.v-head .ref { font-size: 12px; letter-spacing: 0.14em; color: var(--muted); }
.v-price { text-align: right; display: grid; gap: 6px; justify-items: end; }
.v-price .amount { font-family: var(--display); font-weight: 300; font-size: clamp(32px, 3.6vw, 52px); color: var(--champagne-deep); line-height: 1; }
.v-price small { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.v-actions { display: flex; gap: 8px; margin-top: 8px; }
.v-actions button { height: 40px; border-radius: 999px; border: 1px solid var(--line); background: none; padding: 0 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.v-actions button svg { width: 16px; height: 16px; }
.v-actions button[aria-pressed="true"] svg path { fill: var(--champagne); stroke: var(--champagne-deep); }

.keyfacts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.keyfacts div { padding: 26px 18px 26px 0; display: grid; gap: 6px; align-content: start; }
.keyfacts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.keyfacts svg { width: 22px; height: 22px; color: var(--champagne); }
.keyfacts b { font-family: var(--display); font-weight: 300; font-size: 32px; line-height: 1; }
.keyfacts small { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.v-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.v-main > section { padding-block: 56px; border-bottom: 1px solid var(--line); }
.v-main > section:last-child { border-bottom: 0; }
.v-main h2 { font-size: clamp(30px, 3vw, 44px); line-height: 1.08; margin-bottom: 22px; }
.v-main .eyebrow { display: block; margin-bottom: 12px; }
.lead { font-size: 19px; line-height: 1.6; max-width: 62ch; }
.v-main p + p { margin-top: 14px; }
.v-main p { max-width: 66ch; }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin-top: 28px; }
.spec dl { margin: 0; }
.row { display: flex; justify-content: space-between; gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--line); font-size: 15px; }
.row dt { color: var(--muted); }
.row dd { margin: 0; text-align: right; }
.tbc { color: var(--champagne-deep); font-style: italic; }
.rooms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.rooms span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; background: var(--blanc); }
.tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.tabs button { height: 40px; border-radius: 999px; border: 1px solid var(--line); background: none; padding: 0 18px; cursor: pointer; font-size: 14px; }
.tabs button[aria-selected="true"] { background: var(--nuit); color: var(--ivoire); border-color: var(--nuit); }
.plan-box { background: var(--blanc); border-radius: var(--radius); border: 1px solid var(--line); padding: 16px; }
.plan-box img { width: 100%; height: auto; cursor: zoom-in; }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.mosaic button { padding: 0; border: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--lin); }
.mosaic button.wide { grid-column: span 2; aspect-ratio: auto; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { display: none; }
.amen { list-style: none; margin: 24px 0 0; padding: 0; columns: 2; column-gap: 48px; }
.amen li { break-inside: avoid; padding-block: 11px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; }
.amen li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--champagne); transform: translateY(-2px); }

.sub-h { font-size: 24px; margin-top: 36px; }
.pictos { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pictos li { background: var(--blanc); border: 1px solid var(--line); border-radius: 12px; padding: 16px 14px; display: grid; gap: 10px; align-content: start; font-size: 14px; line-height: 1.35; }
.pictos svg { width: 30px; height: 30px; color: var(--nuit); }
.pictos li:first-child svg, .pictos li:nth-child(2) svg { color: var(--champagne-deep); }
.dist dt { display: flex; align-items: center; gap: 12px; }
.dist dt svg { width: 20px; height: 20px; flex: none; color: var(--champagne); }
.plots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.plot { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 2px; font-size: 12px; color: var(--muted); background: transparent; text-align: left; }
.plot b { font-family: var(--display); font-weight: 300; font-size: 24px; color: var(--ink); line-height: 1.1; }
.plot.avail { background: var(--blanc); color: var(--ink); }
.plot.avail:hover { border-color: var(--nuit); }
.plot.current { background: var(--nuit); color: var(--ivoire); border-color: var(--nuit); }
.plot.current b { color: var(--ivoire); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--muted); margin-top: 16px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; border: 1px solid var(--line); margin-right: 8px; vertical-align: -1px; }
.legend i.a { background: var(--blanc); }
.legend i.c { background: var(--nuit); border-color: var(--nuit); }

.timeline { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding-top: 34px; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 1px; background: var(--champagne); }
.step { position: relative; display: grid; gap: 4px; align-content: start; }
.step::before { content: ""; position: absolute; top: -30px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ivoire); border: 1.5px solid var(--nuit); }
.step:last-child::before { background: var(--champagne); border-color: var(--champagne-deep); }
.step b { font-family: var(--display); font-weight: 300; font-size: 34px; line-height: 1; }
.step span { font-size: 14px; }
.step small { font-size: 12px; color: var(--muted); }

.loc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.loc-grid img { border-radius: var(--radius); cursor: zoom-in; }
.dist { margin: 0; }
.dist .row dd { white-space: nowrap; }

.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.doc { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; background: var(--blanc); text-align: left; cursor: pointer; }
.doc:hover { border-color: var(--nuit); }
.doc svg { width: 26px; height: 26px; color: var(--champagne); }
.doc b { font-weight: 500; }
.doc small { color: var(--muted); font-size: 13px; }

.agent { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 24px); margin-top: 56px; background: var(--nuit); color: var(--ivoire); border-radius: 18px; padding: 28px; display: grid; gap: 18px; }
.agent .who { display: flex; gap: 14px; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--champagne); color: var(--ink); display: grid; place-items: center; font-family: var(--logo); font-size: 28px; flex: none; }
.agent .who b { font-weight: 500; display: block; }
.agent .who small { color: var(--champagne-light); font-size: 13px; }
.agent h3 { font-size: 28px; line-height: 1.1; }
.agent form { display: grid; gap: 10px; }
.agent input, .agent select, .agent textarea { width: 100%; min-height: 46px; border-radius: 10px; border: 1px solid var(--line-light); background: rgba(246, 241, 228, 0.06); color: var(--ivoire); padding: 10px 14px; font: inherit; font-size: 15px; }
.agent textarea { min-height: 84px; resize: vertical; }
.agent input::placeholder, .agent textarea::placeholder { color: rgba(246, 241, 228, 0.55); }
.agent select option { color: var(--ink); }
.agent .btn { width: 100%; }
.agent .alt { display: grid; grid-template-columns: 1fr; gap: 8px; }
.agent .alt .btn { min-height: 44px; font-size: 12px; padding: 0 12px; }
.agent .fine { font-size: 12px; color: rgba(246, 241, 228, 0.65); }
.form-ok { font-size: 13px; color: var(--champagne-light); min-height: 1.3em; }

.mobile-bar { display: none; }

/* ---------------- Lightbox ---------------- */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(16, 28, 22, 0.96); color: var(--ivoire); display: grid; grid-template-rows: auto 1fr auto; padding: calc(env(safe-area-inset-top, 0px) + 16px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 16px); }
.lightbox header { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.lightbox .stage { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 0; }
.lightbox .stage img { max-height: calc(100svh - 170px); margin-inline: auto; object-fit: contain; border-radius: 4px; }
.lightbox button { background: none; border: 1px solid var(--line-light); color: inherit; border-radius: 50%; width: 48px; height: 48px; cursor: pointer; font-size: 20px; }
.lightbox figcaption { text-align: center; font-family: var(--display); font-size: 20px; font-weight: 300; padding-top: 12px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--nuit); color: var(--ivoire); padding-block: 80px 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-grid h4 { font-family: var(--body); font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--champagne-light); margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot-grid a:hover { color: var(--champagne); }
.foot-brand .logo { text-align: left; padding-left: 0; font-size: 34px; }
.foot-brand p { margin-top: 20px; max-width: 34ch; opacity: 0.8; }
.foot-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; opacity: 0.75; }
.demo-note { background: var(--lin); color: var(--ink); font-size: 13px; text-align: center; padding: 10px var(--gutter); }

/* ---------------- Reveal ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise 1s var(--ease) both; }
  .reveal.d1 { animation-delay: 0.12s; }
  .reveal.d2 { animation-delay: 0.24s; }
  .reveal.d3 { animation-delay: 0.36s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .hero-media img { animation: drift 18s ease-out both; }
  @keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .nav-main { display: none; }
  .burger { display: block; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .logo { text-align: left; font-size: 24px; }
  .header-cta { display: none; }
  .lang > a:not([href]), .lang > span:nth-of-type(n + 2) { display: none; }
  .lang { font-size: 12px; gap: 5px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-layout { grid-template-columns: 1fr; }
  .agent { position: static; margin-top: 0; }
  .keyfacts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .keyfacts div:nth-child(4) { padding-left: 0; border-left: 0; }
  .keyfacts div:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .search { grid-template-columns: 1fr; border-radius: 22px; padding: 10px; }
  .search label { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 14px; }
  .search label:nth-child(3) { border-bottom: 0; }
  .intro, .feature, .alert-band, .loc-grid { grid-template-columns: 1fr; }
  .feature-media { min-height: 360px; }
  .destinations, .pillars { grid-template-columns: 1fr; }
  .dest-media { aspect-ratio: 4 / 3; border-radius: 200px 200px 0 0; }
  .cards.list .card { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 70vh; min-height: 380px; }
  .gallery-grid button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery-grid button:nth-child(n + 4) { display: none; }
  .v-head { grid-template-columns: 1fr; }
  .v-price { text-align: left; justify-items: start; }
  .spec { grid-template-columns: 1fr; }
  .amen { columns: 1; }
  .plots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .docs { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .empty { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; background: var(--ivoire); border-top: 1px solid var(--line); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px)); justify-content: space-between; align-items: center; gap: 12px; }
  .mobile-bar .price { font-size: 22px; }
  body.page-villa { padding-bottom: 84px; }
}
@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .cards { grid-template-columns: 1fr; }
  .currency { display: none; }
  .keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .keyfacts div:nth-child(n) { padding-left: 0; border-left: 0; padding-right: 8px; }
  .keyfacts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .keyfacts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .plots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
  .stat b { font-size: 28px; }
}

/* ---------------- Acheter / Louer ---------------- */
.mode-switch { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--blanc); gap: 2px; }
.mode-switch a, .mode-switch button { border: 0; background: none; cursor: pointer; height: 38px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.mode-switch [aria-current="page"], .mode-switch [aria-pressed="true"] { background: var(--nuit); color: var(--ivoire); }
.hero .mode-switch { background: rgba(246, 241, 228, 0.14); border-color: var(--line-light); justify-self: start; }
.hero .mode-switch button { color: var(--ivoire); }
.hero .mode-switch [aria-pressed="true"] { background: var(--ivoire); color: var(--nuit); }
.rent-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.rent-form { background: var(--blanc); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; }
.rent-form h2 { font-size: clamp(28px, 3vw, 40px); }
.rent-form .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rent-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--encre); min-width: 0; }
.rent-form input, .rent-form select { width: 100%; min-height: 48px; border-radius: 10px; border: 1px solid var(--line); background: var(--ivoire); padding: 0 14px; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.owners { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.owners h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.05; }
.owners p { opacity: 0.85; max-width: 52ch; margin-top: 14px; }
#off-market .owners { grid-template-columns: minmax(0, 1fr); }
.img-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 50, 41, 0.55) 0%, rgba(30, 50, 41, 0.3) 60%, rgba(30, 50, 41, 0.2) 100%); pointer-events: none; }
@media (max-width: 820px) { .rent-intro, .owners { grid-template-columns: 1fr; } .rent-form .grid2 { grid-template-columns: 1fr; } }
.page-head .mode-switch { justify-self: start; }

/* ---------------- PA Real Estate : logo, double prix, rail ---------------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-align: left; padding-left: 0; letter-spacing: 0; font-family: var(--body); justify-self: center; }
.logo img { width: 52px; height: auto; }
.logo-txt { display: grid; gap: 2px; }
.logo-txt b { font-weight: 600; font-size: 19px; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.1; }
.logo-txt small { font-family: var(--display); font-style: italic; font-size: 14px; letter-spacing: 0.02em; margin: 0; opacity: 0.85; text-transform: none; }
.foot-brand .logo img { width: 64px; }
.lang a:not([href]) { opacity: 0.55; cursor: default; }
.price { display: grid; justify-items: end; gap: 1px; }
.price .p-main { line-height: 1.1; }
.price .p-usd { font-family: var(--body); font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.v-usd { font-size: 14px; color: var(--muted); }
.stat-price { display: grid; gap: 2px; }
.stat-price .p-usd { font-family: var(--body); font-size: 13px; color: var(--champagne-light); }
.rail-wrap { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-bottom: 12px; }
.cards.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); grid-template-columns: none; gap: 28px; }
.cards.rail .card { scroll-snap-align: start; }
.soon-line { margin-top: 40px; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--encre); text-align: center; }
.fdate { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--blanc); font-size: 13px; color: var(--muted); }
.fdate input { border: 0; background: none; font-size: 14px; color: var(--ink); }
input.on-dark { background: rgba(246, 241, 228, 0.08); border-color: var(--line-light); color: var(--ivoire); }
input.on-dark::placeholder { color: rgba(246, 241, 228, 0.55); }
.page-head .mode-switch + h1 { margin-top: 4px; }
@media (max-width: 1100px) { .logo { justify-self: start; } }
@media (max-width: 600px) { .logo img { width: 40px; } .logo-txt b { font-size: 15px; } .logo-txt small { font-size: 12px; } .cards.rail { grid-auto-columns: 82vw; } }
.cards.rail .card-head { flex-direction: column; align-items: flex-start; gap: 6px; }
.cards.rail .price { justify-items: start; }
.cards.rail .price small { text-align: left; }

/* ---------------- Arguments ---------------- */
.hero-proofs { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.hero-proofs li { display: inline-flex; align-items: center; gap: 10px; }
.hero-proofs li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--champagne); }
.why { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.why li { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.why li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.why b { font-family: var(--display); font-weight: 300; font-size: 24px; line-height: 1.15; }
.why b::before { content: ""; display: block; width: 28px; height: 1px; background: var(--champagne); margin-bottom: 14px; }
.why span { color: var(--muted); font-size: 15px; }
.island { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.island-media { aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; }
.island-media img { width: 100%; height: 100%; object-fit: cover; }
.island-body { display: grid; gap: 22px; }
.island-body h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.04; }
.island-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; }
.island-list li { padding-block: 18px; border-top: 1px solid var(--line-light); display: grid; gap: 4px; }
.island-list b { font-weight: 500; font-size: 17px; color: var(--champagne-light); }
.island-list span { opacity: 0.85; }
@media (max-width: 900px) {
  .why { grid-template-columns: 1fr 1fr; }
  .why li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .why li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .island { grid-template-columns: 1fr; }
  .island-media { aspect-ratio: 4 / 3; border-radius: 240px 240px 0 0; }
}
@media (max-width: 560px) {
  .why { grid-template-columns: 1fr; }
  .why li:nth-child(even) { padding-left: 0; border-left: 0; }
  .hero-proofs { font-size: 12px; gap: 8px 20px; }
}

/* ---------------- Formulaires de demande ---------------- */
.lead-form { display: grid; gap: 16px; }
.lf-field { display: grid; gap: 6px; min-width: 0; border: 0; margin: 0; padding: 0; }
.lf-field > label, .lf-field > legend, .lf-label { font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--encre); padding: 0; }
.lead-form input:not([type=radio]):not([type=checkbox]), .lead-form select, .lead-form textarea { width: 100%; min-height: 48px; border-radius: 10px; border: 1px solid var(--line); background: var(--blanc); padding: 10px 14px; font: inherit; font-size: 15px; color: var(--ink); }
.lead-form textarea { min-height: 88px; resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 3px rgba(198, 168, 103, 0.35); }
.chips > div { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--blanc); font-size: 14px; cursor: pointer; text-transform: none; letter-spacing: 0; color: var(--ink); }
.chips input:checked + span { background: var(--nuit); border-color: var(--nuit); color: var(--ivoire); }
.chips input:focus-visible + span { outline: 2px solid var(--champagne); outline-offset: 2px; }
.phone-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px; }
.lf-consent label { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--muted); cursor: pointer; }
.lf-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--nuit); flex: none; }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-err { font-size: 13px; color: #a03a2c; min-height: 0; }
.lf-err:empty { display: none; }
.has-err input, .has-err select { border-color: #a03a2c !important; }
.has-err .chips span, .chips.has-err span { border-color: #d9a49a; }
.lf-global-err { margin: 0; color: #a03a2c; font-size: 14px; }
.lf-global-err:empty { display: none; }
.lf-thanks { display: grid; gap: 12px; outline: none; }
.lf-thanks h3 { font-size: 30px; }
/* fiche villa : carte de contact sombre */
.agent .lead-form > .lf-field > label, .agent .lead-form > .lf-field > legend, .agent .lf-label { color: var(--champagne-light); }
.agent .chips span { background: rgba(246, 241, 228, 0.06); border-color: var(--line-light); color: var(--ivoire); }
.agent .chips input:checked + span { background: var(--ivoire); color: var(--nuit); border-color: var(--ivoire); }
.agent .lead-form input:not([type=radio]):not([type=checkbox]), .agent .lead-form select, .agent .lead-form textarea { background: rgba(246, 241, 228, 0.06); border-color: var(--line-light); color: var(--ivoire); }
.agent .lead-form select option { color: var(--ink); }
.agent .lf-consent label { color: rgba(246, 241, 228, 0.75); }
.agent .lf-err, .agent .lf-global-err { color: #f0b3a6; }
.agent .lf-thanks .eyebrow { color: var(--champagne-light); }
/* fenêtre */
.lead-modal { position: fixed; inset: 0; z-index: 95; background: rgba(16, 28, 22, 0.6); display: grid; place-items: center; padding: calc(env(safe-area-inset-top, 0px) + 16px) 16px calc(env(safe-area-inset-bottom, 0px) + 16px); overflow-y: auto; }
.lm-box { position: relative; width: min(620px, 100%); background: var(--ivoire); border-radius: 20px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; max-height: 100%; overflow-y: auto; }
.lm-box h2 { font-size: clamp(28px, 3.4vw, 40px); }
.lm-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--blanc); cursor: pointer; font-size: 20px; }
.lm-progress { height: 3px; background: var(--lin); border-radius: 2px; overflow: hidden; }
.lm-progress span { display: block; height: 100%; width: 50%; background: var(--champagne); transition: width 0.4s var(--ease); }
.lm-step { display: grid; gap: 18px; }
.lm-actions { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.lm-next { justify-self: start; }
@media (max-width: 520px) { .phone-group { grid-template-columns: 1fr; } }

.agent, #plans { scroll-margin-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 16px); }

/* ---------------- Recherche d'accueil et raccourcis ---------------- */
.search { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; max-width: 760px; }
.search label:nth-child(2) { border-right: 0; }
.shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.shortcuts span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--champagne-light); margin-right: 4px; }
.shortcuts a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-light); background: rgba(16, 28, 22, 0.35); color: var(--ivoire); font-size: 13px; letter-spacing: 0.04em; backdrop-filter: blur(6px); transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.shortcuts a:hover { background: var(--ivoire); color: var(--nuit); }

/* ---------------- Filtres du catalogue ---------------- */
.chip-strong { font-weight: 500; }
.chip-strong.on { border-color: var(--nuit); box-shadow: inset 0 0 0 1px var(--nuit); }
.range-out { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.range-out b { font-family: var(--display); font-weight: 400; font-size: 22px; }
.range-out small { font-size: 13px; color: var(--muted); }
.dual-range { position: relative; height: 32px; }
.dr-track { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: linear-gradient(to right, var(--lin) var(--lo), var(--nuit) var(--lo), var(--nuit) var(--hi), var(--lin) var(--hi)); }
.dual-range input[type=range] { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; height: 32px; }
.dual-range input[type=range]::-webkit-slider-runnable-track { background: none; height: 32px; }
.dual-range input[type=range]::-moz-range-track { background: none; }
.dual-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 24px; height: 24px; margin-top: 4px; border-radius: 50%; background: var(--blanc); border: 2px solid var(--nuit); box-shadow: 0 1px 4px rgba(16, 28, 22, 0.25); cursor: grab; }
.dual-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--blanc); border: 2px solid var(--nuit); cursor: grab; }
.dual-range input[type=range]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--champagne); outline-offset: 2px; }
.range-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.drawer .seg { gap: 6px; }
.drawer .seg button { min-width: 0; font-size: 14px; }
@media (max-width: 820px) {
  .search { grid-template-columns: 1fr; }
  .search label:nth-child(2) { border-bottom: 0; }
  .shortcuts span { width: 100%; }
}

.fav-shared { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: var(--radius); background: var(--lin); }
.fav-shared p { margin: 0; }

/* Hero : texte plus lisible sur la photo (voile renforcé côté texte, doré lumineux, ombre douce) */
.hero-media::after { background: linear-gradient(90deg, rgba(16, 28, 22, 0.62) 0%, rgba(16, 28, 22, 0.25) 55%, rgba(16, 28, 22, 0) 80%), linear-gradient(180deg, rgba(16, 28, 22, 0.55) 0%, rgba(16, 28, 22, 0.2) 30%, rgba(16, 28, 22, 0.45) 60%, rgba(16, 28, 22, 0.85) 100%); }
.hero h1, .hero-sub, .hero .eyebrow { text-shadow: 0 2px 22px rgba(16, 28, 22, 0.45); }
.hero h1 em { color: var(--champagne-light); }
.hero .eyebrow { color: var(--champagne-light) !important; }

/* Italiques dorés sur fond clair : trait un peu plus épais pour rester lisibles */
h1 em, h2 em, h3 em { font-weight: 400; }
.dark h1 em, .dark h2 em, .dark h3 em, .hero h1 em { font-weight: 300; }

/* Identité A : petit filet or au-dessus des titres de section */
.sec-head .eyebrow::before, .intro .eyebrow::before, .page-head .crumbs + .mode-switch ~ h1::before { content: ""; display: block; width: 34px; height: 2px; background: var(--champagne); margin-bottom: 12px; }
.sec-head .eyebrow { display: block; }
/* Pastilles actives et onglets : même relief discret que les boutons marine */
.chip[aria-pressed="true"], .mode-switch [aria-current="page"], .mode-switch [aria-pressed="true"]:not(.hero *), .view-toggle button[aria-pressed="true"], .seg button[aria-pressed="true"] { background: linear-gradient(180deg, #2C4A3F, #1E3229); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
/* Logo : version claire sur photo et fond marine */
.logo .mk-light { display: none; }
body:not(.header-solid) .site-header:not(.solid) .logo .mk-dark, .site-footer .logo .mk-dark { display: none; }
body:not(.header-solid) .site-header:not(.solid) .logo .mk-light, .site-footer .logo .mk-light { display: block; }

/* =====================================================================
   FICHE BIEN « ÉDITORIALE » (vx-) : ouverture plein écran, chapitres
   texte + grandes images, prestations illustrées, film, art de vivre.
   Construite sur les variables de couleur : suit l'identité choisie.
   ===================================================================== */
body.page-villa .site-header { transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.vx { --vx-pad: clamp(72px, 9vw, 140px); }
.vx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Ouverture */
.vx-hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--nuit); isolation: isolate; }
.vx-hero-media { position: absolute; inset: 0; z-index: -2; }
.vx-hero-media video, .vx-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.vx-hero-media img { animation: vx-zoom 24s var(--ease) both; }
@keyframes vx-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.vx-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 28, 22, 0.55) 0%, rgba(16, 28, 22, 0) 26%, rgba(16, 28, 22, 0) 46%, rgba(16, 28, 22, 0.78) 100%); }
.vx-hero-inner { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 40px; align-items: end; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(36px, 6vh, 72px); }
.vx-hero .crumbs, .vx-hero .crumbs a { color: rgba(255, 255, 255, 0.82); }
.vx-kicker { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 18px; }
.vx-kicker span { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.4); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; backdrop-filter: blur(6px); background: rgba(255, 255, 255, 0.08); }
.vx-hero h1 { font-size: clamp(48px, 8.2vw, 128px); line-height: 0.95; letter-spacing: -0.03em; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.vx-hero h1 small { display: block; font-family: var(--body); font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; opacity: 0.9; }
.vx-tagline { margin-top: 20px; max-width: 46ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: rgba(255, 255, 255, 0.9); }
.vx-card { background: rgba(10, 18, 28, 0.42); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-radius: 20px; padding: 24px; display: grid; gap: 18px; }
.vx-card .lbl { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.vx-card .amount { font-family: var(--display); font-weight: 300; font-size: clamp(34px, 3.2vw, 44px); line-height: 1; }
.vx-card .alt { font-size: 13px; color: rgba(255, 255, 255, 0.75); margin-top: 6px; }
.vx-card-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 16px; }
.vx-card-facts div { display: grid; gap: 4px; }
.vx-card-facts div + div { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, 0.2); }
.vx-card-facts b { font-family: var(--display); font-weight: 300; font-size: 24px; line-height: 1; }
.vx-card-facts small { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.vx-card .btn { width: 100%; }
.vx-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vx-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.06); color: #fff; font: 500 12px var(--body); letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; padding: 0 14px; transition: background 0.3s var(--ease); }
.vx-ghost:hover { background: rgba(255, 255, 255, 0.18); }
.vx-ghost svg { width: 18px; height: 18px; }
.vx-scroll { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 22px; height: 36px; border: 1.5px solid rgba(255, 255, 255, 0.6); border-radius: 12px; }
.vx-scroll::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: vx-scroll 2s infinite; }
@keyframes vx-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Barre de sections */
.vx-nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h)); z-index: 30; background: color-mix(in srgb, var(--ivoire) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.vx-nav .wrap { display: flex; align-items: center; gap: 20px; min-height: 58px; }
.vx-nav nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.vx-nav nav::-webkit-scrollbar { display: none; }
.vx-nav nav a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 13px; color: var(--muted); text-decoration: none; transition: background 0.25s, color 0.25s; }
.vx-nav nav a:hover { color: var(--nuit); }
.vx-nav nav a[aria-current="true"] { background: var(--nuit); color: var(--ivoire); }
.vx-nav .vx-nav-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.vx-nav .vx-nav-cta b { font-family: var(--display); font-weight: 400; font-size: 20px; white-space: nowrap; }
.vx-nav .btn { min-height: 40px; padding: 0 18px; font-size: 12px; }

/* Chiffres clés */
.vx-facts { background: var(--lin); }
.vx-facts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.vx-facts div.f { padding: 34px 22px; display: grid; gap: 8px; align-content: start; border-left: 1px solid var(--line); }
.vx-facts div.f:first-child { border-left: 0; padding-left: 0; }
.vx-facts svg { width: 24px; height: 24px; color: var(--encre); }
.vx-facts b { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 3vw, 44px); line-height: 1; }
.vx-facts small { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* Manifeste */
.vx-intro { padding-block: var(--vx-pad) calc(var(--vx-pad) * 0.6); text-align: center; }
.vx-intro .eyebrow { display: inline-block; }
.vx-intro h2 { font-size: clamp(34px, 4.4vw, 68px); line-height: 1.05; max-width: 20ch; margin: 22px auto 0; }
.vx-intro p { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.65; max-width: 60ch; margin: 28px auto 0; color: var(--ink); }
.vx-intro .vx-actions { display: flex; justify-content: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.vx-pill { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--blanc); color: var(--nuit); font: 500 13px var(--body); cursor: pointer; text-decoration: none; }
.vx-pill svg { width: 18px; height: 18px; }
.vx-pill[aria-pressed="true"] svg path { fill: currentColor; }
.vx-ref { display: block; margin-top: 16px; font-size: 12px; letter-spacing: 0.16em; color: var(--muted); }

/* Chapitres */
.vx-ch { padding-block: calc(var(--vx-pad) * 0.5); }
.vx-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.vx-split.rev { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.vx-split.rev .vx-media { order: 2; }
.vx-media { position: relative; }
.vx-media button { display: block; width: 100%; padding: 0; border: 0; background: var(--lin); border-radius: 18px; overflow: hidden; cursor: zoom-in; }
.vx-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.vx-media button:hover img { transform: scale(1.03); }
.vx-media .main { aspect-ratio: 4 / 5; }
.vx-media .main.land { aspect-ratio: 4 / 3; }
.vx-media .inset { position: absolute; width: 46%; aspect-ratio: 4 / 3; right: -6%; bottom: -10%; border: 6px solid var(--ivoire); box-shadow: 0 24px 60px rgba(10, 20, 30, 0.22); }
.vx-split.rev .vx-media .inset { right: auto; left: -6%; }
.vx-cap { margin-top: 12px; font-size: 13px; color: var(--muted); }
.vx-text .eyebrow { display: block; }
.vx-text h2 { font-size: clamp(32px, 3.6vw, 54px); line-height: 1.06; margin-top: 18px; }
.vx-text p { margin-top: 20px; font-size: 17px; line-height: 1.75; color: var(--ink); max-width: 52ch; }
.vx-text .vx-num { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.vx-text .vx-num div { display: grid; gap: 4px; }
.vx-text .vx-num b { font-family: var(--display); font-weight: 300; font-size: 38px; line-height: 1; color: var(--nuit); }
.vx-text .vx-num small { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.vx-full { position: relative; height: min(88vh, 860px); min-height: 460px; overflow: hidden; color: #fff; display: grid; align-items: end; margin-block: calc(var(--vx-pad) * 0.5); }
.vx-full > button { position: absolute; inset: 0; padding: 0; border: 0; cursor: zoom-in; background: var(--nuit); }
.vx-full > button img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.vx-full::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 28, 22, 0) 40%, rgba(16, 28, 22, 0.7) 100%); pointer-events: none; }
.vx-full .wrap { position: relative; z-index: 1; padding-bottom: clamp(36px, 6vw, 80px); pointer-events: none; }
.vx-full h2 { font-size: clamp(34px, 4.8vw, 76px); line-height: 1.02; max-width: 18ch; color: #fff; }
.vx-full p { margin-top: 16px; max-width: 52ch; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.9); }
.vx-full .eyebrow { color: rgba(255, 255, 255, 0.85); }

.vx-quote { text-align: center; padding-block: calc(var(--vx-pad) * 0.7); }
.vx-quote blockquote { margin: 0 auto; max-width: 24ch; font-family: var(--display); font-weight: 300; font-style: italic; font-size: clamp(30px, 3.8vw, 58px); line-height: 1.15; color: var(--nuit); }
.vx-quote blockquote::before { content: "“"; display: block; font-size: 1.6em; line-height: 0.6; color: var(--champagne); font-style: normal; }
.vx-quote cite { display: block; margin-top: 22px; font-style: normal; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

.vx-duo { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; align-items: end; }
.vx-duo.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.vx-duo .vx-media .main { aspect-ratio: 3 / 2; }
.vx-duo .vx-media:nth-child(2) .main { aspect-ratio: 4 / 5; }
.vx-duo.rev .vx-media:nth-child(1) .main { aspect-ratio: 4 / 5; }
.vx-duo.rev .vx-media:nth-child(2) .main { aspect-ratio: 3 / 2; }
.vx-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 36px; }
.vx-head h2 { font-size: clamp(32px, 3.6vw, 54px); line-height: 1.06; margin-top: 16px; }
.vx-head p { font-size: 17px; line-height: 1.7; color: var(--ink); max-width: 54ch; }
.vx-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vx-trio .vx-media .main { aspect-ratio: 3 / 4; }
.vx-trio .vx-media:nth-child(2) { transform: translateY(40px); }

/* Prestations illustrées */
.vx-feat { padding-block: var(--vx-pad); background: var(--blanc); }
.vx-feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.vx-fc { display: grid; gap: 14px; align-content: start; }
.vx-fc button { position: relative; padding: 0; border: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--lin); }
.vx-fc img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.vx-fc button:hover img { transform: scale(1.04); }
.vx-fc .chip { position: absolute; left: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ivoire); color: var(--nuit); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); }
.vx-fc .chip svg { width: 22px; height: 22px; }
.vx-fc h3 { font-size: 24px; line-height: 1.15; }
.vx-fc p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }
.vx-feat .pictos { margin-top: 56px; }
.vx-feat .spec { margin-top: 48px; }

/* Galerie */
.vx-gal { padding-block: var(--vx-pad); }
.vx-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 250px); gap: 10px; }
.vx-bento button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--lin); position: relative; }
.vx-bento img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.vx-bento button:hover img { transform: scale(1.04); }
.vx-bento button:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.vx-bento button:nth-child(4) { grid-row: span 2; }
.vx-bento button:nth-child(7) { grid-column: span 2; }
.vx-bento .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(16, 28, 22, 0.5); color: #fff; font: 500 13px var(--body); letter-spacing: 0.16em; text-transform: uppercase; }

/* Film */
.vx-film { background: var(--nuit); color: var(--ivoire); padding-block: var(--vx-pad); }
.vx-film .eyebrow { color: var(--champagne-light, var(--champagne)); }
.vx-film h2 { color: var(--ivoire); font-size: clamp(32px, 3.6vw, 54px); margin-top: 16px; }
.vx-film p { color: rgba(246, 241, 228, 0.8); max-width: 56ch; margin-top: 14px; line-height: 1.7; }
.vx-player { position: relative; margin-top: 36px; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.vx-player video { width: 100%; height: 100%; display: block; object-fit: cover; }
.vx-player .play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; cursor: pointer; background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35)); color: #fff; }
.vx-player .play span { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.6); backdrop-filter: blur(8px); transition: transform 0.4s var(--ease), background 0.4s; }
.vx-player .play:hover span { transform: scale(1.06); background: rgba(255, 255, 255, 0.28); }
.vx-player .play svg { width: 34px; height: 34px; margin-left: 4px; }
.vx-player .len { position: absolute; left: 20px; bottom: 18px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }

/* Art de vivre */
.vx-life { padding-block: var(--vx-pad); background: var(--lin); overflow: hidden; }
.vx-rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 26vw, 360px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.vx-rail article { scroll-snap-align: start; display: grid; gap: 12px; align-content: start; }
.vx-rail button { padding: 0; border: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; cursor: zoom-in; background: var(--ivoire); }
.vx-rail img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.vx-rail button:hover img { transform: scale(1.04); }
.vx-rail h3 { font-size: 22px; }
.vx-rail p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.vx-rail-ctrl { display: flex; gap: 8px; }
.vx-rail-ctrl button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--blanc); cursor: pointer; display: grid; place-items: center; }
.vx-rail-ctrl svg { width: 18px; height: 18px; }
.vx-rail-ctrl button:first-child svg { transform: rotate(180deg); }
.vx-loc { margin-top: 64px; }

/* Sections classiques réutilisées dans la fiche */
.vx-sec { padding-block: calc(var(--vx-pad) * 0.7); }
.vx-sec h2 { font-size: clamp(30px, 3.2vw, 48px); margin-top: 14px; margin-bottom: 24px; }

/* Questions fréquentes */
.vx-faq details { border-top: 1px solid var(--line); }
.vx-faq details:last-child { border-bottom: 1px solid var(--line); }
.vx-faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--display); font-size: 22px; font-weight: 300; }
.vx-faq summary::-webkit-details-marker { display: none; }
.vx-faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 28px; font-weight: 200; transition: transform 0.3s var(--ease); }
.vx-faq details[open] summary::after { transform: rotate(45deg); }
.vx-faq details p { margin: 0 0 24px; max-width: 70ch; line-height: 1.7; color: var(--ink); }

/* Contact final */
.vx-contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); min-height: 720px; background: var(--nuit); }
.vx-contact-media { position: relative; overflow: hidden; }
.vx-contact-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vx-contact-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16, 28, 22, 0.7), rgba(16, 28, 22, 0) 55%); }
.vx-contact-media .q { position: absolute; left: clamp(24px, 4vw, 56px); right: clamp(24px, 4vw, 56px); bottom: clamp(24px, 4vw, 56px); z-index: 1; color: #fff; font-family: var(--display); font-weight: 300; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.15; }
.vx-contact .agent { position: static; margin: 0; border-radius: 0; padding: clamp(28px, 4vw, 64px); align-content: center; }

/* Apparition au défilement */
.vx-rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.vx-rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .vx-rv { opacity: 1; transform: none; transition: none; }
  .vx-hero-media img { animation: none; }
  .vx-scroll::after { animation: none; }
}

@media (max-width: 1100px) {
  .vx-hero-inner { grid-template-columns: 1fr; }
  .vx-card { max-width: 520px; }
  .vx-feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vx-nav .vx-nav-cta b { display: none; }
}
@media (max-width: 820px) {
  .vx-split, .vx-split.rev, .vx-duo, .vx-duo.rev, .vx-head, .vx-contact { grid-template-columns: 1fr; }
  .vx-split.rev .vx-media { order: 0; }
  .vx-media .inset { display: none; }
  .vx-media .main { aspect-ratio: 4 / 3; }
  .vx-trio { grid-template-columns: 1fr 1fr; }
  .vx-trio .vx-media:nth-child(2) { transform: none; }
  .vx-trio .vx-media:nth-child(3) { grid-column: span 2; }
  .vx-trio .vx-media:nth-child(3) .main { aspect-ratio: 3 / 2; }
  .vx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .vx-bento button:nth-child(n) { grid-column: auto; grid-row: auto; }
  .vx-bento button:nth-child(1) { grid-column: span 2; }
  .vx-facts div.f { padding: 22px 14px; }
  .vx-facts div.f:nth-child(odd) { border-left: 0; padding-left: 0; }
  .vx-facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vx-facts div.f { border-top: 1px solid var(--line); }
  .vx-contact-media { min-height: 340px; }
  .vx-nav .btn { display: none; }
}
@media (max-width: 600px) {
  .vx-hero { min-height: 92svh; }
  .vx-card-facts b { font-size: 20px; }
  .vx-feat-grid { grid-template-columns: 1fr; }
  .vx-full { height: 70vh; }
  .vx-scroll { display: none; }
}
.vx-hero h1 em { color: var(--champagne-light, #fff); }
.vx-bento { grid-auto-flow: dense; }
.vx-full::after { background: linear-gradient(180deg, rgba(16, 28, 22, 0.1) 0%, rgba(16, 28, 22, 0.28) 45%, rgba(16, 28, 22, 0.82) 100%); }
.vx-full h2, .vx-full p { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.vx-full h2 em { color: #fff; }

/* ===== Identité forêt et cuivre (appliquée le 23/10/2026) : mêmes modules et boutons, nouvelles couleurs et polices. Ancienne identité : dossier andamare-site-marine-or-backup. ===== */
:root{--serif:"Instrument Serif",Georgia,serif;--grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");color-scheme:light}
h1,h2,h3,h4{font-family:var(--display);font-weight:700;letter-spacing:-.04em;line-height:1.02}
em.it,h1 em,h2 em,h3 em,h4 em{font-family:var(--serif);font-style:italic;font-weight:400;letter-spacing:-.01em;color:var(--champagne-deep);font-size:1.06em}
.dark h1 em,.dark h2 em,.dark h3 em,.hero h1 em,.feature h2 em{color:var(--champagne-light)}
.logo-txt b{font-family:var(--body);font-weight:700;letter-spacing:.16em}
.logo-txt small{font-family:var(--serif);font-style:italic;font-size:15px}
.btn-solid,.btn-gold,.btn-rose{background:var(--champagne);border-color:var(--champagne);color:#fff;box-shadow:none}
.btn-solid:hover,.btn-gold:hover,.btn-rose:hover{filter:brightness(1.1);transform:none;box-shadow:none}
.btn-light{background:transparent;border-color:rgba(228,214,180,.55);color:#fff;box-shadow:none}
.btn-light:hover{background:var(--ivoire);color:var(--nuit);border-color:var(--ivoire)}
.badge.gold{background:var(--champagne);color:#fff}
.dark{background-color:#2C4A3F;background-image:var(--grain)}
.site-footer{background-color:#1E3229;background-image:var(--grain)}
.band-lin{background:var(--lin)}
.eyebrow{color:var(--encre)}
.dark .eyebrow,.hero .eyebrow{color:var(--champagne-light)}
.fav-count{color:#fff}
.card div>small{letter-spacing:.05em;font-size:9.5px}
.stat b{white-space:nowrap;font-size:clamp(22px,2.4vw,32px)}

/* ===== Navigation du site : logo à gauche, menu au centre, outils à droite ===== */
.header-inner { grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav tools"; gap: 24px; }
.header-inner .logo { grid-area: logo; justify-self: start; text-align: left; }
.header-inner .nav-main { grid-area: nav; justify-self: center; }
.header-inner .header-tools { grid-area: tools; }
.header-inner .burger { grid-area: burger; display: none; justify-self: end; }
@media (max-width: 1100px) {
  .header-inner { grid-template-columns: 1fr auto auto; grid-template-areas: "logo tools burger"; gap: 12px; }
  .header-inner .burger { display: block; }
}

/* ===== Biens à la une : sous le hero, avec marges et flèches (plus de barre de défilement) ===== */
.featured-top { padding-top: clamp(18px, 2.4vw, 36px); }
.sec-tools { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: flex-end; }
.rail-ctl { display: flex; gap: 10px; }
.rail-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--nuit); display: grid; place-items: center; cursor: pointer; padding: 0; transition: background 0.25s, color 0.25s, border-color 0.25s, opacity 0.25s; }
.rail-btn svg { width: 20px; height: 20px; }
.rail-btn:hover:not(:disabled) { background: var(--nuit); color: var(--ivoire); border-color: var(--nuit); }
.rail-btn:disabled { opacity: 0.3; cursor: default; }
.rail-btn:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.rail-wrap { scrollbar-width: none; -ms-overflow-style: none; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); padding-bottom: 4px; }
.rail-wrap::-webkit-scrollbar { display: none; }
@media (max-width: 600px) { .sec-tools { justify-content: space-between; width: 100%; } }

/* ===== Pourquoi Phuket : montage de photos avec petit interstice ===== */
.island-media.island-mosaic { aspect-ratio: 5 / 4.4; border-radius: 0; overflow: visible; display: grid; gap: 10px; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1fr 1fr; }
.island-mosaic figure { margin: 0; overflow: hidden; border-radius: 6px; min-height: 0; }
.island-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.island-mosaic .m-a { grid-column: 1 / 6; grid-row: 1 / 3; }
.island-mosaic .m-b { grid-column: 6 / 13; grid-row: 1 / 2; }
.island-mosaic .m-c { grid-column: 6 / 10; grid-row: 2 / 3; }
.island-mosaic .m-d { grid-column: 10 / 13; grid-row: 2 / 3; }
@media (max-width: 1100px) { .island-media.island-mosaic { aspect-ratio: 4 / 3.4; border-radius: 0; } }
/* ===== Off market : photo de villa sous un voile vert foncé ===== */
#off-market { background: linear-gradient(90deg, rgba(30, 50, 41, 0.9) 0%, rgba(30, 50, 41, 0.66) 55%, rgba(30, 50, 41, 0.5) 100%), url("../img/biens/layan-villa-12a/pool-swim.webp") center / cover no-repeat; }

/* ===== Hero tenant dans une seule vue (ordinateur et mobile) : tailles liées à la hauteur de l'écran ===== */
.hero { min-height: 100vh; min-height: 100svh; }
.hero-content { padding-block: clamp(88px, 14svh, 168px) clamp(16px, 3.4svh, 40px); gap: clamp(10px, 2.2svh, 26px); }
.hero h1 { font-size: clamp(34px, min(7.4vw, 10.2svh), 104px); }
.hero-sub { font-size: clamp(14.5px, 2.1svh, 18px); }
.hero .mode-switch button { height: clamp(32px, 4.6svh, 38px); }
.search .btn { min-height: clamp(46px, 6.4svh, 56px); }
.search label { padding-block: clamp(2px, 0.8svh, 6px); }
.shortcuts { gap: 6px 8px; }
.shortcuts a { min-height: clamp(30px, 4.2svh, 36px); }
.hero-proofs { margin-top: clamp(0px, 1svh, 12px); padding-top: clamp(8px, 1.6svh, 18px); font-size: clamp(11px, 1.6svh, 13px); }
@media (max-height: 780px) { .hero-proofs { display: none; } }
@media (max-width: 600px) { .hero-proofs { display: none; } .hero-content { padding-inline: var(--gutter); } }
@media (max-height: 640px) { .hero-sub { display: none; } }
@media (max-height: 560px) { .shortcuts { display: none; } }
/* Hero mobile : recherche compacte, raccourcis sur une seule ligne défilante, texte réduit pour tenir dans l'écran */
@media (max-width: 600px) {
  .hero-sub { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; }
  .search { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 0; padding: 8px; }
  .search label { padding: 4px 12px; border-right: 0; border-bottom: 0; }
  .search label:first-child { border-right: 1px solid var(--line); }
  .search .btn { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .shortcuts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .shortcuts::-webkit-scrollbar { display: none; }
  .shortcuts span { width: auto; flex: none; margin-right: 2px; }
  .shortcuts a { flex: none; white-space: nowrap; }
}
@media (max-width: 600px) and (max-height: 760px) { .hero-sub { display: none; } }
@media (max-width: 600px) { .search select { font-size: 15px; } }

/* ===== Pictogrammes des points forts ===== */
.why b::before { display: none; }
.why-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); color: var(--champagne); margin-bottom: 8px; }
.why-ico svg { width: 24px; height: 24px; }

/* ===== Carrousels : flèches à gauche et à droite, sans barre de défilement, défilement automatique lent ===== */
.car { position: relative; }
.car-btn { position: absolute; top: var(--car-y, 40%); transform: translateY(-50%); z-index: 3; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--ivoire); color: var(--nuit); display: grid; place-items: center; cursor: pointer; padding: 0; transition: opacity 0.25s, background 0.25s, color 0.25s, border-color 0.25s; }
.car-btn svg { width: 20px; height: 20px; }
.car-prev { left: clamp(8px, 1.4vw, 22px); }
.car-prev svg { transform: scaleX(-1); }
.car-next { right: clamp(8px, 1.4vw, 22px); }
.car-btn:hover:not(:disabled) { background: var(--champagne); color: #fff; border-color: var(--champagne); }
.car-btn:disabled { opacity: 0; pointer-events: none; }
.car-btn:focus-visible, .car-pause:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.car-pause { display: grid; place-items: center; width: 38px; height: 38px; margin: 14px auto 0; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--nuit); cursor: pointer; padding: 0; }
.car-pause svg { width: 16px; height: 16px; }
.car-pause:hover { background: var(--nuit); color: var(--ivoire); }
.dark .car-pause { color: var(--ivoire); border-color: var(--line-light); }
.vx-rail { scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 0; }
.vx-rail::-webkit-scrollbar { display: none; }
.vx-rail-ctrl { display: none; }
@media (max-width: 600px) { .car-btn { width: 42px; height: 42px; } .car-btn svg { width: 17px; height: 17px; } }

/* ===== Page contact, confirmation, confidentialité, bandeau cookies ===== */
.contact-wrap { padding-bottom: 110px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-box { display: grid; gap: 18px; background: var(--blanc); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 4vw, 40px); }
.contact-aside { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-aside h2 { font-size: clamp(28px, 3.4vw, 40px); }
.contact-points { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.contact-points li { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-points b { font-weight: 600; }
.contact-points span, .contact-note { color: var(--muted); font-size: 15px; }
.contact-note a, .legal a, .contact-points a { color: var(--nuit); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-aside { position: static; } }
.thanks-page { padding-block: calc(var(--header-h) + clamp(48px, 9vw, 110px)) clamp(80px, 12vw, 160px); display: grid; gap: 22px; max-width: 760px; justify-items: start; }
.thanks-page h1 { font-size: clamp(40px, 6vw, 78px); }
.thanks-page p { font-size: 18px; color: var(--muted); max-width: 56ch; }
.thanks-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.legal { display: grid; gap: 14px; max-width: 760px; padding-bottom: 110px; }
.legal h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 18px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.linklike { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.foot-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cookie-bar { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 880px; margin-inline: auto; background: var(--nuit); color: var(--ivoire); border: 1px solid var(--line-light); border-radius: 18px; padding: 18px 22px; display: flex; gap: 18px 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: 14px; max-width: 58ch; }
.cookie-bar a { color: var(--champagne-light); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { min-height: 44px; padding-inline: 22px; }
.cookie-actions .btn-ghost { color: var(--ivoire); border-color: var(--line-light); }

/* ===== Le projet : chiffres et sous-titres lisibles sur fond clair (vert de l'identité) ===== */
.vx-sec .stat-row { border-top-color: var(--line); }
.vx-sec .stat { border-bottom-color: var(--line); }
.vx-sec .stat:nth-child(odd) { border-right-color: var(--line); }
.vx-sec .stat small { color: var(--encre); font-weight: 600; }
.pj-brief { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; margin: 0 0 36px; }
.pj-brief h3 { font-family: var(--display); font-weight: 500; font-size: 18px; margin: 0 0 6px; color: var(--encre); }
.pj-brief p, .pj-backers p { margin: 0; line-height: 1.7; color: var(--muted); }
.pj-backers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; margin: 8px 0 8px; }
.pj-backers b { display: block; font-family: var(--display); font-weight: 400; font-size: 24px; margin-bottom: 6px; color: var(--encre); }
.pj-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 28px; }

/* ===== Carte de Phuket ===== */
.pmap { position: relative; width: 100%; max-width: 480px; margin-inline: auto; border-radius: var(--radius); background: var(--encre); overflow: hidden; }
.pmap svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pm-land { fill: var(--ivoire); stroke: var(--champagne-light); stroke-width: 1.2; stroke-linejoin: round; }
.pmap svg circle { fill: var(--encre); opacity: .55; }
.pmap svg text { font: 500 12.5px var(--body); fill: var(--champagne-light); letter-spacing: .02em; }
.pm-pin { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 4px; border: 0; background: none; padding: 0; cursor: default; color: var(--ivoire); font: inherit; }
.pm-pin i { font-style: normal; display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border-radius: 999px; background: var(--champagne); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 0 0 5px rgba(173, 97, 64, .28), 0 4px 10px rgba(0, 0, 0, .3); }
.pm-pin i:empty { min-width: 18px; height: 18px; padding: 0; }
.pm-pin span { position: absolute; top: 50%; right: 100%; transform: translateY(-50%); margin-right: 8px; white-space: nowrap; background: var(--ivoire); color: var(--nuit); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
button.pm-pin { cursor: pointer; }
button.pm-pin:hover i, button.pm-pin.on i { background: var(--ivoire); color: var(--encre); box-shadow: 0 0 0 5px rgba(251, 248, 240, .45), 0 4px 10px rgba(0, 0, 0, .3); }
button.pm-pin.on span { background: var(--nuit); color: var(--ivoire); }
.pm-note, .pinbar .hint { font-size: 13px; color: var(--muted); }
.pm-note { margin: 12px 0 0; }
.pinbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; min-height: 28px; }
.pinbar span:not(.hint) { font-weight: 600; color: var(--encre); }
.vx-pmap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin: 0; }
.vx-pmap .pmap { margin: 0; }
.vx-pmap p { line-height: 1.7; max-width: 52ch; }

/* Catalogue : vue carte */
.mapsplit .mapcol { display: none; }
.mapsplit.on { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.mapsplit.on .mapcol { display: block; position: sticky; top: calc(var(--header-h) + 72px); }
.mapsplit.on .pmap { max-height: calc(100vh - var(--header-h) - 180px); width: auto; max-width: 100%; margin-inline: 0; }
.mapsplit.on .cards.list .card { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 20px; }
@media (max-width: 900px) {
  .mapsplit.on { grid-template-columns: 1fr; }
  .mapsplit.on .mapcol { position: static; }
  .mapsplit.on .pmap { max-height: 62vh; margin-inline: auto; }
  .mapsplit.on .cards.list .card { grid-template-columns: 1fr; }
  .vx-pmap, .pj-brief, .pj-backers { grid-template-columns: 1fr; }
}

/* ===== Fenêtre de partage ===== */
.sd-back { position: fixed; inset: 0; z-index: 120; background: rgba(16, 28, 22, .72); display: grid; place-items: center; padding: 20px; }
.sd { position: relative; background: var(--ivoire); color: var(--ink); border-radius: 20px; padding: 36px 32px 28px; width: min(520px, 100%); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.sd h2 { font-family: var(--display); font-weight: 300; font-size: 28px; margin: 0 0 10px; }
.sd p { margin: 0 0 18px; line-height: 1.6; }
.sd-x { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: none; font-size: 26px; cursor: pointer; color: var(--ink); }
.sd-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.sd-row input { height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 14px; color: var(--ink); min-width: 0; }
.sd-ok { margin: 12px 0 0; min-height: 1.4em; color: var(--encre); font-weight: 600; }
.sd .sd-hint { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
@media (max-width: 520px) { .sd-row { grid-template-columns: 1fr; } }

.pmap svg text.on-land { fill: var(--encre); font-weight: 600; }
.pmap svg circle { fill: var(--champagne-light); opacity: .9; }
.pmap svg circle.on-land { fill: var(--encre); }

/* Google Maps */
.gmap { width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--lin); }
.mapsplit.on .gmap { height: calc(100vh - var(--header-h) - 180px) !important; min-height: 420px; }
@media (max-width: 900px) { .mapsplit.on .gmap { height: 62vh !important; min-height: 320px; } }

/* ===== Ajustements mobile et accueil (retours du 27 octobre) ===== */
/* Pied de page : deux colonnes sur mobile (Acheter | Louer, Propriétaires | Contact) */
.foot-owner { margin-top: 28px; }
@media (max-width: 600px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-rent { display: contents; }
  .foot-owner { margin-top: 0; }
  .foot-grid ul { font-size: 14px; }
  .foot-grid a, .foot-grid li { overflow-wrap: anywhere; }
}
/* Biens à la une sur mobile : une seule fiche visible, centrée */
@media (max-width: 600px) {
  .rail-wrap { padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .cards.rail { grid-auto-columns: 100%; gap: var(--gutter); }
  .cards.rail .card { scroll-snap-align: start; scroll-snap-stop: always; }
}
/* Pictogrammes des cartes « ce que la maison vous offre » : centrés dans le rond */
.vx-fc .chip { padding: 0; gap: 0; border: 0; height: 44px; }
/* Fiches à la une alignées : titre sur deux lignes, prix et équivalent sur une seule ligne */
.cards.rail .card-head h3 { min-height: 2.2em; }
.cards.rail .card .loc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cards.rail .price { display: flex; align-items: baseline; flex-wrap: nowrap; gap: 8px; height: 32px; }
.cards.rail .price .p-usd::before { content: "("; }
.cards.rail .price .p-usd::after { content: ")"; }
.cards.rail .price .p-usd:empty::before, .cards.rail .price .p-usd:empty::after { content: none; }
/* Plus de bouton lecture/pause sous les carrousels, et un écart normal avant la section suivante */
.car-pause { display: none !important; }
.featured-top { padding-bottom: clamp(16px, 2vw, 24px); }
.featured-top + .section { padding-top: clamp(40px, 5vw, 72px); }
/* Pourquoi Phuket : le montage prend la hauteur du texte */
@media (min-width: 821px) {
  .island { align-items: stretch; }
  .island-media.island-mosaic { aspect-ratio: auto; min-height: 460px; }
}
.island-mosaic .m-a img { object-position: 38% 50%; }
.island-mosaic .m-d img { object-position: 12% 35%; }

/* Hero de l'accueil sur mobile : bloc centré verticalement, texte aligné à gauche */
@media (max-width: 600px) {
  .hero { align-items: center; }
  .hero-content { padding-block: 96px 40px; }
}

/* ===== Accueil : Owner's Rep et Property Management en vedette, puces cliquables ===== */
.tiles { list-style: none; margin: clamp(16px, 2vw, 28px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.tile { position: relative; display: grid; gap: 8px; align-content: start; height: 100%; padding: 26px 24px 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--blanc); transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.tile .why-ico { margin-bottom: 6px; transition: background .35s, color .35s, border-color .35s; }
.tile b { font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.15; }
.tile span { color: var(--muted); font-size: 14.5px; line-height: 1.55; transition: color .35s; }
.tile-go { position: absolute; top: 24px; right: 22px; width: 18px; height: 18px; color: var(--champagne); opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s var(--ease); }
.tile-go svg { width: 100%; height: 100%; }
.tile:hover { background: var(--nuit); color: var(--ivoire); border-color: var(--nuit); transform: translateY(-4px); }
.tile:hover span { color: rgba(246, 241, 228, .82); }
.tile:hover .why-ico { color: var(--champagne-light); border-color: var(--line-light); }
.tile:hover .tile-go { opacity: 1; transform: none; color: var(--champagne-light); }
.tile:focus-visible, .ocard:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.pillars-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pillars-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiles, .pillars-4 { grid-template-columns: 1fr; } .tile-go { opacity: 1; transform: none; } }

/* Onglets « J'achète / Je loue / Je vends » et leurs arguments */
.adv-tabs { display: inline-flex; gap: 6px; padding: 5px; margin-top: clamp(36px, 4vw, 56px); border: 1px solid var(--line); border-radius: 999px; background: var(--blanc); }
.adv-tab { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: none; cursor: pointer; font: inherit; font-size: 15px; color: var(--ink); transition: background .3s var(--ease), color .3s; }
.adv-tab svg { width: 20px; height: 20px; flex: none; }
.adv-tab:hover { background: var(--lin); }
.adv-tab[aria-selected="true"] { background: linear-gradient(180deg, #2C4A3F, #1E3229); color: var(--ivoire); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); }
.adv-tab:focus-visible { outline: 2px solid var(--champagne); outline-offset: 2px; }
.adv-panel { margin-top: 22px; }
@keyframes advIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .adv-panel:not([hidden]) li { animation: advIn .55s var(--ease) both; }
  .adv-panel:not([hidden]) li:nth-child(2) { animation-delay: .07s; }
  .adv-panel:not([hidden]) li:nth-child(3) { animation-delay: .14s; }
  .adv-panel:not([hidden]) li:nth-child(4) { animation-delay: .21s; }
}
@media (max-width: 600px) { .adv-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; } .adv-tab { padding: 0 8px; gap: 6px; font-size: 14px; } .adv-tab svg { width: 17px; height: 17px; } }

/* Propriétaires : trois blocs cliquables, sans photo */
.sec-lead { margin: 14px 0 0; color: var(--muted); max-width: 52ch; }
.ocards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); margin-top: clamp(32px, 4vw, 56px); }
.ocard { display: grid; align-content: start; gap: 14px; padding: clamp(26px, 2.6vw, 38px); border: 1px solid var(--line); border-radius: 24px; background: var(--lin); transition: background .4s var(--ease), color .4s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease), border-color .4s; }
.ocard-top { display: flex; align-items: center; justify-content: space-between; }
.ocard-num { font-family: var(--display); font-weight: 300; font-size: 52px; line-height: 1; color: rgba(44, 74, 63, .22); transition: color .4s; }
.ocard-name { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--encre); transition: color .4s; }
.ocard h3 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; }
.ocard p { margin: 0; line-height: 1.6; color: var(--muted); transition: color .4s; }
.ocard ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.ocard li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: baseline; }
.ocard li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--champagne); transform: translateY(-1px); }
.ocard-cta { justify-self: start; margin-top: 14px; }
.ocard:hover { background: var(--nuit); color: var(--ivoire); border-color: var(--nuit); transform: translateY(-6px); box-shadow: 0 26px 56px rgba(16, 28, 22, .25); }
.ocard:hover p { color: rgba(246, 241, 228, .82); }
.ocard:hover .ocard-name { color: var(--champagne-light); }
.ocard:hover .ocard-num { color: rgba(228, 214, 180, .4); }
.ocard:hover .why-ico { color: var(--champagne-light); border-color: var(--line-light); }
.ocard:hover .ocard-cta { border-bottom-color: var(--champagne-light); }
.ocard:hover .ocard-cta svg { transform: translateX(6px); }
@media (max-width: 1000px) { .ocards { grid-template-columns: 1fr; } }

.nl-legal { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); max-width: 52ch; }
.nl-legal a { text-decoration: underline; text-underline-offset: 3px; }

/* Bandeau off market : inscription par e-mail */
.om-form { margin-top: 28px; max-width: 520px; display: grid; gap: 10px; }
.om-row { display: flex; gap: 10px; flex-wrap: wrap; }
.om-row input { flex: 1 1 220px; min-width: 0; height: 52px; padding: 0 20px; border: 1px solid var(--line-light); border-radius: 999px; background: rgba(251, 248, 240, .96); color: var(--ink); font: inherit; font-size: 16px; }
.om-form .nl-legal, .om-form .form-note { color: rgba(246, 241, 228, .82); margin: 0; }
.om-form .nl-legal a { color: inherit; }

/* Confirmation d'inscription */
.sd-ok-box { text-align: center; display: grid; justify-items: center; gap: 4px; padding-top: 40px; }
.sd-check { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--encre); color: #fff; margin-bottom: 14px; box-shadow: 0 0 0 10px rgba(44, 74, 63, .12); animation: sdPop .5s var(--ease) both; }
.sd-check svg { width: 38px; height: 38px; }
@keyframes sdPop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.sd-ok-box h2 { font-size: 30px; margin: 0 0 6px; }
.sd-ok-box p { margin: 0 0 12px; max-width: 34ch; }
.sd-ok-box .sd-hint { font-size: 14px; color: var(--muted); max-width: 40ch; }
.sd-ok-box .btn { margin-top: 10px; min-width: 160px; }
@media (prefers-reduced-motion: reduce) { .sd-check { animation: none; } }

.ts-holder { display: flex; justify-content: center; }
.ts-holder.on { margin-top: 14px; }

/* Fiche d'un bien : la carte occupe environ la moitié de l'écran */
.vx-locsec { padding-block: clamp(48px, 6vw, 96px); }
.vx-pmap-text h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; margin: 14px 0 18px; }
.vx-pmap-text .btn { margin-top: 22px; }
.vx-pmap .gmap { border-radius: 20px; }
@media (max-width: 900px) { .vx-pmap .gmap { height: 56vh !important; min-height: 320px; } }

/* Vidéo YouTube (chargée au clic) et crédit */
.vx-player { position: relative; }
.vx-player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: inherit; }
.vx-player #vx-yt-poster { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: inherit; }
.vx-credit { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.vx-credit a { text-decoration: underline; text-underline-offset: 3px; }
.vx-nomap { grid-template-columns: 1fr; }

/* Lecteur YouTube épuré : pas de contrôles, pas de bandeau titre/chaîne (rognés), pas de sous-titres */
.vx-player.is-yt { overflow: hidden; aspect-ratio: 16 / 9; }
.vx-player.is-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.vx-player.is-yt iframe { pointer-events: none; }
.yt-stop { position: absolute; right: 16px; bottom: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(251, 248, 240, .5); background: rgba(30, 50, 41, .55); color: var(--ivoire); display: grid; place-items: center; cursor: pointer; padding: 0; backdrop-filter: blur(6px); transition: background .3s; }
.yt-stop:hover { background: var(--champagne); }
.yt-stop svg { width: 16px; height: 16px; }
.yt-cover { position: absolute; inset: 0; z-index: 1; background-size: cover; background-position: center; display: grid; place-items: center; transition: opacity .6s ease; pointer-events: none; }
.yt-cover.gone { opacity: 0; }
.yt-cover span { width: 38px; height: 38px; border-radius: 50%; border: 3px solid rgba(251, 248, 240, .35); border-top-color: var(--ivoire); animation: ytspin .9s linear infinite; }
@keyframes ytspin { to { transform: rotate(360deg); } }
.vx-player.is-yt.needs-tap iframe { pointer-events: auto; }

/* Contenu écrit dans le HTML pour les moteurs de recherche ; le JavaScript le remplace à l'ouverture de la page */
.seo-static { padding-block: 24px; }
.page-villa .seo-static { padding-block: 120px 80px; }
.seo-static h1 { margin-block: 12px 16px; }
.seo-static ul { padding-left: 1.2em; }
.seo-static .seo-facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.seo-static .seo-list li { margin-block: 8px; }

/* ===== Page « Travaux · Owner's Representative » (or-) : ouverture photo, trois situations, étapes, rôles, passerelle vers la vente ===== */
.or-hero { position: relative; min-height: min(86svh, 820px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--nuit); isolation: isolate; }
.or-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.or-hero-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 50, 41, 0.62) 0%, rgba(30, 50, 41, 0.55) 40%, rgba(30, 50, 41, 0.94) 100%); }
.or-hero-in { padding-top: calc(var(--header-h) + 56px); padding-bottom: clamp(40px, 6vw, 80px); display: grid; gap: 18px; justify-items: start; }
.or-hero .crumbs, .or-hero .crumbs a { color: rgba(255, 255, 255, 0.82); }
.or-hero .eyebrow { color: var(--champagne-light); }
.or-hero h1 { font-size: clamp(40px, 6.2vw, 92px); line-height: 1; max-width: 16ch; color: #fff; }
.or-hero h1 em { color: var(--champagne-light); }
.or-lead { max-width: 58ch; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: rgba(255, 255, 255, 0.92); }
.or-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.or-proofs { list-style: none; margin: 28px 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 18px 44px; border-top: 1px solid rgba(228, 214, 180, 0.4); }
.or-proofs li { display: grid; gap: 2px; max-width: 24ch; }
.or-proofs b { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; color: var(--champagne-light); }
.or-proofs span { font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, 0.85); }

.or-sits { display: grid; gap: clamp(20px, 3vw, 36px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.or-sit { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: var(--ivoire); border: 1px solid var(--line); }
.or-sit-img { aspect-ratio: 4 / 3; overflow: hidden; }
.or-sit-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.or-sit:hover .or-sit-img img { transform: scale(1.05); }
.or-sit-body { padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 12px; align-content: start; }
.or-sit-body h3 { font-size: clamp(24px, 2.2vw, 32px); }
.or-sit-body p { color: var(--muted); line-height: 1.65; }
.or-risk { padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.or-risk b { color: var(--champagne); font-weight: 600; }

.or-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 980px; }
.or-step { display: grid; grid-template-columns: clamp(64px, 9vw, 120px) 1fr; gap: clamp(16px, 3vw, 36px); padding: clamp(22px, 3vw, 36px) 0; border-top: 1px solid var(--line); }
.or-step:last-child { border-bottom: 1px solid var(--line); }
.or-num { font-family: var(--serif, "Instrument Serif", Georgia, serif); font-style: italic; font-size: clamp(54px, 7vw, 96px); line-height: 0.9; color: var(--champagne); }
.or-step h3 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 10px; }
.or-step p { color: var(--muted); line-height: 1.65; max-width: 62ch; }
.or-chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.or-chips li { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--encre); background: var(--ivoire); }

.or-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.or-table { width: 100%; min-width: 720px; border-collapse: collapse; background: var(--ivoire); }
.or-table th, .or-table td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.5; }
.or-table thead th { font-family: var(--display); font-weight: 600; font-size: 16px; background: var(--lin); }
.or-table thead th:last-child, .or-table tbody td:last-child { background: var(--encre); color: var(--ivoire); border-bottom-color: rgba(228, 214, 180, 0.25); }
.or-table tbody th { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; white-space: nowrap; }
.or-table tr:last-child th, .or-table tr:last-child td { border-bottom: 0; }
.or-note { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 70ch; }

.or-links { display: grid; gap: clamp(18px, 2.4vw, 32px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.or-link { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: rgba(251, 248, 240, 0.06); border: 1px solid rgba(228, 214, 180, 0.28); transition: transform 0.5s var(--ease), border-color 0.3s; }
.or-link:hover { transform: translateY(-4px); border-color: var(--champagne-light); }
.or-link-img { aspect-ratio: 16 / 11; overflow: hidden; display: block; }
.or-link-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.or-link:hover .or-link-img img { transform: scale(1.06); }
.or-link-body { padding: clamp(20px, 2.2vw, 30px); display: grid; gap: 12px; align-content: start; }
.or-link-body h3 { font-size: clamp(24px, 2.2vw, 30px); color: #fff; }
.or-link-body p { color: rgba(246, 241, 228, 0.82); line-height: 1.6; }
.or-link-body .link-arrow { color: var(--champagne-light); }
.or-team { margin-top: 28px; font-size: 14px; color: rgba(246, 241, 228, 0.8); }
.or-team a { color: var(--champagne-light); border-bottom: 1px solid currentColor; }

.or-split { display: grid; gap: clamp(32px, 5vw, 72px); grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
.or-not { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--lin); border-left: 3px solid var(--champagne); display: grid; gap: 14px; }
.or-not h2 { font-size: clamp(26px, 2.6vw, 36px); }
.or-not p { color: var(--muted); line-height: 1.7; }
.or-faq h2 { font-size: clamp(28px, 3vw, 44px); margin: 14px 0 22px; }
.or-faq summary { font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; }

@media (max-width: 900px) {
  .or-sits, .or-links { grid-template-columns: 1fr; }
  .or-split { grid-template-columns: 1fr; }
  .or-not { position: static; }
  .or-hero { min-height: 92svh; }
  .or-hero-in { padding-top: calc(var(--header-h) + 28px); justify-items: start; text-align: left; }
  .or-proofs { gap: 16px 28px; }
  .or-step { grid-template-columns: 52px 1fr; }
}

.dark .sec-lead { color: rgba(246, 241, 228, 0.86); }

@media (max-width: 700px) {
  .or-table-wrap { border: 0; overflow: visible; }
  .or-table { min-width: 0; background: transparent; }
  .or-table thead { display: none; }
  .or-table, .or-table tbody, .or-table tr, .or-table th, .or-table td { display: block; }
  .or-table tbody tr { margin-bottom: 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ivoire); }
  .or-table tbody th { padding: 16px 18px 6px; white-space: normal; border-bottom: 0; }
  .or-table td { padding: 8px 18px 14px; border-bottom: 0; }
  .or-table td::before { content: attr(data-label); display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .or-table tbody td:last-child { background: var(--encre); color: var(--ivoire); padding-top: 12px; }
  .or-table tbody td:last-child::before { color: var(--champagne-light); }
}

.or-pac { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: clamp(28px, 4vw, 48px); padding: clamp(18px, 2.4vw, 28px) clamp(20px, 3vw, 36px); border-radius: var(--radius); background: var(--lin); border: 1px solid var(--line); }
.or-pac p { margin: 0; max-width: 62ch; line-height: 1.6; color: var(--ink); }
.or-pac .btn svg { width: 16px; height: 16px; margin-left: 8px; vertical-align: -3px; }
.or-pac-dark { background: rgba(251, 248, 240, 0.08); border-color: rgba(228, 214, 180, 0.3); }
.or-pac-dark p { color: rgba(246, 241, 228, 0.9); }
.or-hero .or-cta .btn svg { width: 16px; height: 16px; margin-left: 8px; vertical-align: -3px; }
.or-faq .or-pac { flex-direction: column; align-items: flex-start; }
@media (max-width: 700px) { .or-pac { flex-direction: column; align-items: flex-start; } .or-pac .btn { width: 100%; justify-content: center; text-align: center; } }

/* Boutons vers le site de l'équipe : seuls, bien espacés */
.or-btnrow { margin-top: clamp(40px, 5vw, 64px); display: flex; }
.or-btnrow .btn svg { width: 16px; height: 16px; margin-left: 8px; vertical-align: -3px; }
.or-faq .or-btnrow { margin-top: 36px; }
@media (max-width: 700px) { .or-btnrow .btn { width: 100%; justify-content: center; text-align: center; } }

/* Espacement des boutons : bien détachés de ce qui précède */
.or-btnrow { margin-top: clamp(56px, 7vw, 96px); }
.or-links + .or-btnrow { justify-content: center; }
.or-faq .or-btnrow { margin-top: 56px; }

/* Boutons : même écart que celui entre le titre de section et son contenu (48 px) */
.or-btnrow, .or-faq .or-btnrow { margin-top: 48px; }

/* Titres plus riches en mots-clés : un peu plus larges que le gabarit standard */
.or .sec-head h2 { max-width: 24ch; }
.or-hero h1 { max-width: 20ch; }

/* Ouverture plus compacte : titre, boutons et chiffres clés visibles sans défiler sur un écran d'ordinateur portable */
.or-hero { min-height: min(100svh, 760px); }
.or-hero-in { padding-top: calc(var(--header-h) + 24px); padding-bottom: clamp(24px, 3.5vw, 48px); gap: 14px; }
.or-hero h1 { font-size: clamp(36px, 4.6vw, 66px); max-width: 24ch; }
.or-lead { font-size: clamp(15px, 1.25vw, 17px); line-height: 1.55; max-width: 64ch; }
.or-cta { margin-top: 2px; }
.or-proofs { margin-top: 14px; padding-top: 16px; gap: 12px 40px; }
.or-proofs b { font-size: clamp(24px, 2.4vw, 32px); }
@media (max-width: 900px) { .or-hero { min-height: 92svh; } .or-hero-in { padding-top: calc(var(--header-h) + 28px); } .or-hero h1 { font-size: clamp(34px, 9vw, 46px); } }

/* ===== Page « Property management » (pm-) : problème, solution, preuve, conciergerie ===== */
.pm-cards { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pm-card { padding: clamp(20px, 2.2vw, 28px); border-radius: var(--radius); background: var(--ivoire); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.pm-card h3 { font-size: clamp(20px, 1.8vw, 24px); }
.pm-card p { color: var(--muted); line-height: 1.6; font-size: 15px; }
.pm-twins { display: grid; gap: clamp(16px, 2vw, 24px); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(20px, 2.4vw, 32px); }
.pm-twin { padding: 22px 28px; border-radius: var(--radius); background: var(--lin); border-left: 3px solid var(--champagne); display: grid; gap: 6px; }
.pm-twin b { font-family: var(--display); font-size: 20px; font-weight: 600; }
.pm-twin span { color: var(--muted); line-height: 1.55; }
.pm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pm-list li { position: relative; padding-left: 22px; color: var(--muted); line-height: 1.55; }
.pm-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 1px; background: var(--champagne); box-shadow: 0 0 0 0.5px var(--champagne); }
.pm-band-old { }
.pm-band h3 { font-size: clamp(24px, 2.4vw, 34px); color: #fff; }
.pm-band p { color: rgba(246, 241, 228, 0.88); max-width: 62ch; line-height: 1.6; }

.pm-proof { display: grid; gap: clamp(20px, 3vw, 40px); grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: stretch; margin-bottom: clamp(48px, 6vw, 88px); }
.pm-report { border-radius: var(--radius); background: var(--ivoire); border: 1px solid var(--line); box-shadow: 0 24px 48px -28px rgba(30, 50, 41, 0.35); overflow: hidden; }
.pm-report-head { padding: 18px 24px; background: var(--encre); color: #fff; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.pm-report-head b { font-family: var(--display); font-size: 18px; font-weight: 600; }
.pm-report-head span { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--champagne-light); }
.pm-report ul { list-style: none; margin: 0; padding: 0; }
.pm-report li { display: grid; grid-template-columns: minmax(96px, 0.35fr) 1fr; gap: 16px; padding: 16px 24px; border-top: 1px solid var(--line); align-items: baseline; }
.pm-report li:first-child { border-top: 0; }
.pm-report li b { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--champagne); font-weight: 600; }
.pm-report li span { color: var(--ink); line-height: 1.5; }
.pm-commit { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--lin); display: grid; gap: 14px; align-content: start; }
.pm-commit h3 { font-size: clamp(22px, 2.2vw, 30px); }
.pm-commit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pm-commit li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; line-height: 1.5; }
.pm-commit li i { color: var(--champagne); display: grid; }
.pm-commit li svg { width: 22px; height: 22px; }
.pm-exp { margin: 8px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); line-height: 1.6; }
.pm-split { margin-bottom: 0; }
.pm-split .or-faq h2 { margin-top: 0; }

.pm-tiles { display: grid; gap: clamp(14px, 1.8vw, 22px); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pm-tile { padding: clamp(18px, 2vw, 26px); border-radius: var(--radius); background: var(--ivoire); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; transition: transform 0.4s var(--ease), border-color 0.3s; }
.pm-tile:hover { transform: translateY(-3px); border-color: var(--champagne); }
.pm-tile h3 { font-size: 19px; line-height: 1.2; }
.pm-tile p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.or-links.pm-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 1100px) { .pm-cards, .pm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .pm-proof, .pm-twins, .or-links.pm-two { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pm-cards, .pm-tiles { grid-template-columns: 1fr; } .pm-report li { grid-template-columns: 1fr; gap: 4px; } }
.vx-faq details p + p { margin-top: -8px; }
.vx-faq details strong { font-weight: 600; color: var(--ink); }

/* ===== Property management : situations, onglets de services, frise, bandeau ===== */
.pm-twinrows { display: grid; gap: clamp(36px, 5vw, 72px); }
.pm-twinrow { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.pm-twinrow:first-child { border-top: 0; padding-top: 0; }
.pm-twinrow.is-rev .pm-twin-head { order: 2; }
.pm-twin-head { display: grid; gap: 14px; }
.pm-twin-head h3 { font-size: clamp(30px, 3.4vw, 50px); }
.pm-twin-head p { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 36ch; }
.pm-twin-body p { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.75; color: var(--ink); max-width: 56ch; }
.pm-twinrow.is-rev .pm-twin-body { justify-self: end; }

.pm-tabs { display: grid; grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.pm-tablist { display: grid; gap: 10px; position: sticky; top: calc(var(--header-h) + 24px); }
.pm-tablist button { display: flex; align-items: center; gap: 16px; text-align: left; padding: 20px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ivoire); color: var(--ink); font-family: var(--display); font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.pm-tablist button:hover { border-color: var(--champagne); transform: translateX(3px); }
.pm-tablist button[aria-selected="true"] { background: var(--encre); color: #fff; border-color: var(--encre); }
.pm-tablist button:focus-visible { outline: 2px solid var(--champagne); outline-offset: 2px; }
.pm-tab-num { font-family: var(--serif, "Instrument Serif", Georgia, serif); font-style: italic; font-weight: 400; font-size: 28px; line-height: 1; color: var(--champagne); }
.pm-tablist button[aria-selected="true"] .pm-tab-num { color: var(--champagne-light); }
.pm-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 2.6vw, 36px); border-radius: var(--radius); overflow: hidden; background: var(--ivoire); border: 1px solid var(--line); }
.pm-panel[hidden] { display: none; }
.pm-panel-img { min-height: 360px; }
.pm-panel-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-panel-body { padding: clamp(22px, 2.6vw, 38px) clamp(22px, 2.6vw, 38px) clamp(22px, 2.6vw, 38px) 0; display: grid; gap: 18px; align-content: center; }
.pm-panel-body h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; }
.pm-panel.is-in { animation: pmFade 0.45s var(--ease); }
@keyframes pmFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pm-common { margin: 24px 0 0; font-size: 15px; color: var(--muted); max-width: 70ch; }
.pm-band { margin-top: clamp(28px, 3.4vw, 44px); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--encre); color: var(--ivoire); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.pm-band > div { display: grid; gap: 8px; }
.pm-band .btn svg { width: 16px; height: 16px; margin-left: 8px; vertical-align: -3px; }

.pm-conc-head h2 { margin-bottom: 14px; }
.pm-conc-p { color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; max-width: 62ch; }

.pm-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); position: relative; }
.pm-timeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 22px; height: 1px; background: var(--champagne); opacity: 0.6; }
.pm-tl-step { position: relative; display: grid; gap: 8px; justify-items: start; padding-top: 0; }
.pm-tl-dot { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ivoire); border: 1px solid var(--champagne); color: var(--champagne); font-family: var(--display); font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.pm-tl-step h3 { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.2; }
.pm-tl-step p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

@media (max-width: 1000px) { .pm-tabs { grid-template-columns: 1fr; } .pm-tablist { position: static; grid-auto-flow: column; grid-auto-columns: 1fr; overflow-x: auto; gap: 8px; padding-bottom: 4px; } .pm-tablist button { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; font-size: 16px; white-space: normal; } .pm-tablist button:hover { transform: none; } }
@media (max-width: 800px) {
  .pm-twinrow { grid-template-columns: 1fr; gap: 14px; }
  .pm-twinrow.is-rev .pm-twin-head { order: 0; }
  .pm-twinrow.is-rev .pm-twin-body { justify-self: start; }
  .pm-panel { grid-template-columns: 1fr; gap: 0; }
  .pm-panel-img { min-height: 220px; aspect-ratio: 16 / 10; }
  .pm-panel-body { padding: 22px; }
  .pm-timeline { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
  .pm-timeline::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; }
  .pm-tl-step { grid-template-columns: 44px 1fr; column-gap: 18px; padding-bottom: 22px; justify-items: start; }
  .pm-tl-dot { grid-row: 1 / span 2; margin-bottom: 0; }
  .pm-band .btn { width: 100%; justify-content: center; }
}

/* Situations illustrées : photo + texte, en alternance */
.pm-twinrow { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; }
.pm-twinrow.is-rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.pm-twinrow.is-rev .pm-twin-img { order: 2; }
.pm-twin-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.2; }
.pm-twin-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.pm-twinrow:hover .pm-twin-img img { transform: scale(1.04); }
.pm-twin-text { display: grid; gap: 18px; align-content: center; }
.pm-twinrow.is-rev .pm-twin-body { justify-self: start; }
.pm-twinrow.is-rev .pm-twin-head, .pm-twinrow.is-rev .pm-twin-body { order: 0; }
@media (max-width: 800px) { .pm-twinrow, .pm-twinrow.is-rev { grid-template-columns: 1fr; } .pm-twinrow.is-rev .pm-twin-img { order: 0; } .pm-twin-img { aspect-ratio: 16 / 10; } }

/* ===== Méga-menu « Propriétaires » (survol) ===== */
.nav-main { align-items: center; }
.nav-item { display: flex; align-items: center; height: var(--header-h); }
.nav-item > a { padding-block: 6px; border-bottom: 1px solid transparent; }
.nav-item.has-mega > a[aria-expanded="true"], .nav-item.has-mega:hover > a { border-color: var(--champagne); }
.mega { position: fixed; left: 50%; top: var(--header-h); width: min(1040px, 94vw); transform: translateX(-50%) translateY(8px); opacity: 0; visibility: hidden; pointer-events: none;
  background: var(--ivoire); color: var(--ink); border-radius: 0 0 24px 24px; padding: clamp(20px, 2.4vw, 32px); box-shadow: 0 34px 70px -24px rgba(16, 28, 22, 0.45), 0 0 0 1px var(--line);
  text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 400; transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); transition-delay: 0s; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.nav-main .mega a { padding: 0; border: 0; text-transform: none; letter-spacing: 0; }
.mega-card { display: grid; gap: 8px; align-content: start; border-radius: 16px; padding: 10px 10px 16px; transition: background 0.3s, transform 0.4s var(--ease); }
.mega-card:hover, .mega-card:focus-visible { background: var(--lin); transform: translateY(-3px); }
.mega-img { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; margin-bottom: 6px; }
.mega-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.mega-card:hover .mega-img img { transform: scale(1.05); }
.mega-title { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; padding-inline: 4px; }
.mega-desc { color: var(--muted); line-height: 1.5; font-size: 14.5px; padding-inline: 4px; }
.mega-go { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--champagne); font-weight: 600; padding-inline: 4px; margin-top: 4px; }
.mega-go svg, .mega-all svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.mega-card:hover .mega-go svg, .mega-all:hover svg { transform: translateX(5px); }
.nav-main .mega .mega-all { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--encre); font-weight: 600; }
.mobile-nav a.sub { font-size: 24px; opacity: 0.85; padding-left: 20px; }
@media (max-width: 900px) { .mega { display: none; } }

/* Menu mobile : titres plus petits, sélecteur de langue en bas, bien visible */
.mobile-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; overflow-y: auto; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); }
.mobile-nav a { font-size: 26px; line-height: 1.2; }
.mobile-nav a.sub { font-size: 18px; opacity: 0.85; padding-left: 18px; margin-top: -4px; }
.mobile-nav .m-lang { margin-top: auto; padding-top: 28px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid var(--line-light); }
.mobile-nav .m-lang a, .mobile-nav .m-lang .is-cur { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px; border: 1px solid var(--line-light); font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.mobile-nav .m-lang .is-cur { background: var(--ivoire); color: var(--nuit); border-color: var(--ivoire); }
.mobile-nav .m-lang a:hover { border-color: var(--champagne-light); }

.mega-grid { margin-bottom: 0; }
.mega { padding-bottom: clamp(14px, 1.6vw, 22px); }

/* Tableau « Qui fait quoi » : tableau sur ordinateur, une carte par rôle sur mobile (plus lisible) */
.or-roles { display: none; }
@media (max-width: 700px) {
  .or-table-wrap { display: none; }
  .or-roles { display: grid; gap: 16px; }
  .or-role { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivoire); padding: 22px 20px; display: grid; gap: 14px; }
  .or-role h3 { font-size: 20px; line-height: 1.2; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
  .or-role dl { margin: 0; display: grid; gap: 14px; }
  .or-role dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .or-role dd { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); }
  .or-role.is-us { background: var(--encre); border-color: var(--encre); color: var(--ivoire); }
  .or-role.is-us h3 { color: #fff; border-color: rgba(228, 214, 180, 0.35); }
  .or-role.is-us dt { color: var(--champagne-light); }
  .or-role.is-us dd { color: var(--ivoire); }
}

/* Mobile : les colonnes de la FAQ ne doivent pas élargir la page */
@media (max-width: 900px) {
  .or-split { grid-template-columns: minmax(0, 1fr); }
  .or-split > *, .or-faq details, .or-faq summary { min-width: 0; }
  .or-faq summary, .or-faq details p, .or-not p { overflow-wrap: anywhere; }
}

/* Page Acheter : guide d'achat et FAQ sous la liste (référencement) */
.vs-seo { background: var(--lin); padding-block: clamp(56px, 7vw, 100px); }
.vs-seo > .wrap > h2 { font-size: clamp(30px, 3.4vw, 50px); margin-bottom: clamp(28px, 3.6vw, 48px); max-width: 24ch; }
.vs-grid { display: grid; gap: clamp(22px, 3vw, 44px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vs-block { display: grid; gap: 14px; align-content: start; }
.vs-block h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; }
.vs-block p, .vs-block li { color: var(--muted); line-height: 1.65; }
.vs-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vs-links li { padding-left: 16px; position: relative; }
.vs-links li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 7px; height: 1px; background: var(--champagne); }
.vs-seo a:not(.btn) { color: var(--encre); border-bottom: 1px solid var(--champagne); }
.vs-faq { margin-top: clamp(44px, 5vw, 72px); max-width: 880px; }
.vs-faq h2 { font-size: clamp(26px, 2.8vw, 40px); margin-bottom: 22px; }
.vs-faq summary { font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; }
@media (max-width: 900px) { .vs-grid { grid-template-columns: minmax(0, 1fr); } .vs-seo * { min-width: 0; overflow-wrap: anywhere; } }

/* Catalogue général : choix de la destination (les pages Phuket, Côte d'Azur et Monaco viennent s'y ajouter) */
.vs-dest { background: var(--ivoire); }
.vs-destgrid { display: grid; gap: clamp(16px, 2.4vw, 32px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vs-destcard { display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2.8vw, 40px); border-radius: var(--radius); background: var(--lin); border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s; }
.vs-destcard:hover { transform: translateY(-4px); border-color: var(--champagne); background: var(--ivoire); }
.vs-destcard h3 { font-size: clamp(26px, 2.6vw, 38px); }
.vs-destcard p { color: var(--muted); line-height: 1.6; max-width: 48ch; }
.vs-seo .vs-destcard { border-bottom: 1px solid var(--line); }
@media (max-width: 800px) { .vs-destgrid { grid-template-columns: minmax(0, 1fr); } }
.pm-twin-body p + p { margin-top: 14px; }
.vs-faqsec { padding-block: clamp(48px, 6vw, 88px); }

/* Rangée « Localisation » : bien visible sous les filtres du catalogue (Toutes, Phuket, Monaco, France) */
.destbar { display: flex; align-items: center; gap: 10px; padding-block: 0 14px; overflow-x: auto; scrollbar-width: none; }
.destbar::-webkit-scrollbar { display: none; }
.destbar .dlabel { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-right: 6px; white-space: nowrap; }
.destbar .chip { padding: 9px 18px; font-size: 14px; }
.destbar .chip[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--champagne); }

/* Page de lieu : onglets « Acheter pas à pas » (texte dans les panneaux) */
.pm-panel-body p { color: var(--muted); line-height: 1.7; margin: 0; }
.pm-panel-body p + p { margin-top: 12px; }

/* Page résidence */
.card-badges a.badge { text-decoration: none; transition: background .2s, color .2s; }
.card-badges a.badge:hover { background: var(--cuivre, #AD6140); color: #fff; }
.vx-hero h1 small a { color: inherit; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.5); }
.vx-hero h1 small a:hover { text-decoration-color: #fff; }
.vx-hero .crumbs span:last-child { opacity: .8; }
body.page-residence .vx-hero h1 { font-size: clamp(44px, 7.4vw, 112px); }

/* Cartes alignées : titre, filet et chiffres sont sur les mêmes lignes d'une carte à l'autre */
@supports (grid-template-rows: subgrid) {
  .cards:not(.rail):not(.list) { row-gap: 16px; }
  .cards:not(.rail):not(.list) > .card { grid-row: span 4; grid-template-rows: subgrid; row-gap: 16px; }
  .cards:not(.rail):not(.list) > .card > .card-body { display: contents; }
  .cards:not(.rail):not(.list) > .card .tags { margin-bottom: 40px; align-content: start; }
}

/* Accueil : les trois adresses tiennent à l'écran sans défiler sur ordinateur */
@media (min-width: 901px) {
  #adresses.section { padding-block: clamp(40px, 6svh, 72px); }
  #adresses .sec-head { margin-bottom: clamp(18px, 3svh, 32px); }
  #adresses .dest-media { aspect-ratio: auto; height: clamp(200px, 34svh, 340px); }
  #adresses .dest { gap: 12px; }
  #adresses .dest h3 { font-size: 28px; }
  #adresses .dest p { font-size: 14px; line-height: 1.5; }
}

/* Accueil, « Le bon bien » : titre plus petit, texte centré face au titre, section assez basse pour tenir à l'écran sur ordinateur */
@media (min-width: 901px) {
  #avantages.section { padding-block: clamp(36px, 5svh, 64px); }
  #avantages .intro { align-items: center; gap: clamp(28px, 4vw, 72px); }
  #avantages .intro h2 { font-size: clamp(28px, 3.1vw, 46px); line-height: 1.08; }
  #avantages .intro p { font-size: 17px; line-height: 1.55; }
  #avantages .intro p + p { margin-top: 12px; }
  #avantages .intro .links { margin-top: 20px; }
  #avantages .adv-tabs { margin-top: clamp(20px, 3svh, 32px); }
  #avantages .adv-tab { height: 44px; }
  #avantages .adv-panel { margin-top: 16px; }
}

/* Ordinateur : chaque section de l'accueil tient dans la hauteur de l'écran, sans défiler */
@media (min-width: 901px) {
  body[data-page="home"] .section { padding-block: clamp(32px, 5svh, 60px); }
  body[data-page="home"] .sec-head { margin-bottom: clamp(16px, 2.6svh, 28px); }
  body[data-page="home"] .cards:not(.rail) .card-media,
  body[data-page="home"] .cards.rail .card-media { aspect-ratio: auto; height: clamp(190px, 32svh, 320px); }
  body[data-page="home"] .cards .card-body { gap: 10px; }
  body[data-page="home"] .cards .card h3 { font-size: 24px; }
  body[data-page="home"] .island-media.island-mosaic { aspect-ratio: auto; height: clamp(280px, 54svh, 500px); }
  body[data-page="home"] .island-list li { padding-block: 12px; }
}
@media (min-width: 901px) {
  body[data-page="home"] .sec-head h2 { font-size: clamp(30px, 3.3vw, 48px); line-height: 1.06; }
  body[data-page="home"] .ocards { margin-top: clamp(16px, 2.4svh, 28px); }
  body[data-page="home"] .ocard { padding: clamp(18px, 2.2svh, 26px) clamp(20px, 1.8vw, 28px); gap: 8px; }
  body[data-page="home"] .ocard h3 { font-size: clamp(20px, 1.7vw, 24px); }
  body[data-page="home"] .ocard p { font-size: 15px; line-height: 1.5; }
  body[data-page="home"] .ocard ul { font-size: 14px; gap: 5px; margin-top: 2px; }
  body[data-page="home"] .ocard-num { font-size: 38px; }
  body[data-page="home"] .ocard-cta { margin-top: 6px; }
}

/* Ordinateur, toutes les pages : les images et les espaces suivent la hauteur de l'écran (svh), pour qu'une section se lise sans défiler */
@media (min-width: 901px) {
  .vx { --vx-pad: clamp(40px, 7svh, 88px); }
  .section { padding-block: clamp(36px, 6svh, 76px); }
  .cards:not(.list):not(.rail) .card-media { aspect-ratio: auto; height: clamp(210px, 36svh, 360px); }
  .pm-twin-img { aspect-ratio: auto; height: clamp(220px, 40svh, 380px); }
  .or-sit-img { aspect-ratio: auto; height: clamp(150px, 24svh, 230px); }
  .or-link-img { aspect-ratio: auto; height: clamp(140px, 22svh, 220px); }
  .vx-media .main { aspect-ratio: auto; height: clamp(300px, 56svh, 560px); }
  .vx-media .main.land { height: clamp(260px, 46svh, 460px); }
  .vx-duo .vx-media .main, .vx-duo .vx-media:nth-child(2) .main, .vx-duo.rev .vx-media:nth-child(1) .main, .vx-duo.rev .vx-media:nth-child(2) .main { aspect-ratio: auto; height: clamp(240px, 44svh, 440px); }
  .vx-trio .vx-media .main { aspect-ratio: auto; height: clamp(240px, 44svh, 440px); }
  .vx-rail button { aspect-ratio: auto; height: clamp(220px, 40svh, 400px); }
}
@media (min-width: 901px) {
  .vx-bento { grid-auto-rows: clamp(110px, 17svh, 190px); }
  .vx-contact-media, .vx-contact { min-height: 0; }
  .loc-grid img { max-height: clamp(260px, 44svh, 440px); width: 100%; object-fit: cover; }
}
