/* =============================================================================
   Royal Property — France Market Entry · PROTOTYPE styles
   Visual direction: clean single sans (Inter) + restrained gold accent, as on
   mainstream FR/EU real-estate sites (Century 21, Engel & Völkers, Green-Acres).
   STATUS: prototype_draft / not_for_production · FR copy: draft_needs_localization_qa
   ============================================================================= */
/* Inter — self-hosted (variable woff2), no external request for RGPD/privacy. */
@font-face {
  font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('../fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* Manrope — self-hosted (variable woff2), sans-serif premium pour les titres. */
@font-face {
  font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 400 800;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 400 800;
  src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope'; font-style: normal; font-display: swap; font-weight: 400 800;
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  /* Palette — warm espresso ink, brand gold accent, cream backgrounds */
  --rp-ink: #221d16;           /* warm near-black (text + dark UI) */
  --rp-ink-soft: #5a5246;      /* body text */
  --rp-muted: #938975;         /* warm muted */
  --rp-line: #e9e1d3;          /* warm hairline */
  --rp-bg: #ffffff;
  --rp-bg-alt: #f7f2e9;        /* cream */
  --rp-bg-tint: #f2ebdd;       /* warm hero tint */
  --rp-dark: #221d16;          /* espresso (dark sections) */
  --rp-accent: #b18a52;        /* brand gold */
  --rp-accent-ink: #8a6a38;    /* deeper gold (links/text on light) */
  --rp-accent-soft: #f2e9d6;   /* light gold tint */
  --rp-warn-bg: #fff6e6;
  --rp-warn-ink: #8a5a00;
  --rp-warn-line: #f0d9a8;
  --rp-flag-bg: #fdecec;
  --rp-flag-ink: #9a2a2a;

  /* Type — Inter (texte/UI) + Manrope (titres & grands éléments) : 100% sans-serif, premium.
     NB : --rp-serif est conservé comme nom de variable mais pointe désormais vers le sans
     d'affichage (pas d'empattements), utilisé par les titres, prix, grands chiffres. */
  --rp-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --rp-serif: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Shape */
  --rp-radius: 14px;
  --rp-radius-sm: 9px;
  --rp-radius-pill: 999px;
  --rp-shadow: 0 1px 2px rgba(34, 29, 22, .05), 0 10px 30px rgba(34, 29, 22, .07);
  --rp-shadow-lg: 0 18px 50px rgba(34, 29, 22, .16);

  /* Layout */
  --rp-maxw: 1180px;
  --rp-gap: 28px;
}

* { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-size: 106.25%; /* base ~17px : typographie plus grande, premium */
}

body {
  margin: 0;
  font-family: var(--rp-font);
  color: var(--rp-ink);
  background: var(--rp-bg);
  line-height: 1.55;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--rp-serif); line-height: 1.1; letter-spacing: -.022em; margin: 0 0 .4em; color: var(--rp-ink); font-weight: 700; }
h1 { font-size: clamp(2.5rem, 4.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--rp-ink-soft); }
a { color: var(--rp-accent-ink); }

.rp-wrap { max-width: var(--rp-maxw); margin: 0 auto; padding: 0 22px; }
.rp-section { padding: 140px 0; }
.rp-section--alt { background: var(--rp-bg-alt); }
.rp-eyebrow {
  text-transform: uppercase; letter-spacing: .1em; font-size: .74rem;
  font-weight: 700; color: var(--rp-accent-ink); margin: 0 0 .7em;
}
.rp-lead { font-size: 1.08rem; line-height: 1.6; max-width: 62ch; }
.rp-center { text-align: center; margin-left: auto; margin-right: auto; }

/* ----- Draft-copy marker (visualises draft_needs_localization_qa) --------- */
[data-draft] { position: relative; }

/* ----- Buttons ------------------------------------------------------------ */
.rp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 600; cursor: pointer;
  padding: .8em 1.3em; border-radius: var(--rp-radius-pill);
  border: 1px solid transparent; text-decoration: none; transition: .16s ease;
  line-height: 1.1;
}
.rp-btn { letter-spacing: .01em; }
.rp-btn--primary { background: var(--rp-ink); color: #fff; }
.rp-btn--primary:hover { background: #3a3225; }
.rp-btn--ghost { background: transparent; color: var(--rp-ink); border-color: var(--rp-ink); }
.rp-btn--ghost:hover { background: var(--rp-ink); color: #fff; }
.rp-btn--soft { background: var(--rp-accent-soft); color: var(--rp-accent-ink); }
.rp-btn--soft:hover { background: #e8d9bd; }
.rp-btn--sm { padding: .6em 1em; font-size: .9rem; }
.rp-btn--full { width: 100%; }
.rp-btn:disabled { opacity: .55; cursor: not-allowed; }

/* ----- Header ------------------------------------------------------------- */
.rp-header {
  position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--rp-line);
}
.rp-header__bar { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.rp-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.rp-logo__img { height: 42px; width: auto; display: block; }
.rp-logo__sub { padding-left: 12px; border-left: 1px solid var(--rp-line); font-size: .66rem; font-weight: 600; color: var(--rp-muted); text-transform: uppercase; letter-spacing: .12em; line-height: 1.25; }
.rp-header__right { display: flex; align-items: center; gap: 16px; }
.rp-nav { display: flex; align-items: center; gap: 22px; }
.rp-nav a { color: var(--rp-ink-soft); text-decoration: none; font-size: .92rem; font-weight: 500; }
.rp-nav a:hover { color: var(--rp-accent-ink); }

/* Language switcher (FR/RU/EN) — dropdown opened on click */
.rp-langsel { position: relative; flex: none; }
.rp-langsel__trigger {
  display: inline-flex; align-items: center; gap: 7px; font: inherit; font-weight: 700;
  font-size: .82rem; cursor: pointer; background: #fff; color: var(--rp-ink);
  border: 1px solid var(--rp-line); border-radius: var(--rp-radius-pill);
  padding: .46em .8em; line-height: 1; transition: .14s ease;
}
.rp-langsel__trigger:hover { border-color: var(--rp-accent); color: var(--rp-accent-ink); }
.rp-langsel__flag { font-size: 1.05em; line-height: 1; }
.rp-langsel__caret { font-size: .65em; color: var(--rp-muted); transition: transform .15s ease; }
.rp-langsel__trigger[aria-expanded="true"] .rp-langsel__caret { transform: rotate(180deg); }
.rp-langsel__trigger:focus-visible { outline: 3px solid var(--rp-accent-soft); outline-offset: 1px; }

.rp-langsel__menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px; margin: 0;
  padding: 6px; list-style: none; background: #fff; border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-sm); box-shadow: var(--rp-shadow-lg); z-index: 60;
  opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .14s ease, transform .14s ease;
}
.rp-langsel__menu[data-open="true"] { opacity: 1; transform: translateY(0); pointer-events: auto; }
.rp-langsel__menu li { margin: 0; }
.rp-langsel .rp-lang {
  display: flex; width: 100%; align-items: center; gap: 10px;
  font: inherit; font-weight: 600; text-align: left; cursor: pointer; color: var(--rp-ink-soft);
  background: transparent; border: 0; border-radius: 9px; padding: .58em .7em; transition: .12s ease;
}
.rp-lang__flag { font-size: 1.05em; line-height: 1; flex: none; }
.rp-langsel .rp-lang:hover { background: var(--rp-bg-alt); color: var(--rp-accent-ink); }
.rp-langsel .rp-lang:focus-visible { outline: 3px solid var(--rp-accent-soft); outline-offset: -1px; }
.rp-langsel .rp-lang[aria-selected="true"] { color: var(--rp-accent-ink); background: var(--rp-accent-soft); }
.rp-lang__code { margin-left: auto; font-size: .74rem; font-weight: 700; color: var(--rp-muted); letter-spacing: .04em; }
.rp-langsel .rp-lang[aria-selected="true"] .rp-lang__code { color: var(--rp-accent-ink); }

/* ----- Hero --------------------------------------------------------------- */
.rp-hero { background: radial-gradient(58% 72% at 88% 4%, rgba(177, 138, 82, .20), transparent 62%), linear-gradient(180deg, var(--rp-bg-tint), #fff 82%); padding: 60px 0 52px; }
.rp-hero__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.rp-hero__copy { max-width: 64ch; }
.rp-hero h1 { color: var(--rp-ink); }
.rp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Trust strip under hero (Wise-style, sobre) — non-numeric signals */
.rp-trustbar { border-top: 1px solid var(--rp-line); border-bottom: 1px solid var(--rp-line); background: var(--rp-bg-alt); }
.rp-trustbar__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 0; padding: 24px; }
.rp-trustbar__item { font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--rp-ink-soft); font-weight: 600; }
.rp-trustbar__item:not(:last-child)::after { content: "·"; margin: 0 20px; color: var(--rp-muted); }
.rp-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.rp-field label { font-size: .76rem; font-weight: 600; color: var(--rp-muted); text-transform: uppercase; letter-spacing: .06em; }
.rp-field select, .rp-field input, .rp-input {
  font: inherit; padding: .68em .8em; border-radius: var(--rp-radius-sm);
  border: 1px solid var(--rp-line); background: #fff; color: var(--rp-ink);
  appearance: none; -webkit-appearance: none;
  min-width: 0;
  width: 100%;
}
.rp-field input::placeholder, .rp-input::placeholder, textarea::placeholder {
  color: #B7AFA4; opacity: 1; font-weight: 400;
}
.rp-field select:focus, .rp-field input:focus, .rp-input:focus,
textarea:focus, .rp-btn:focus-visible, .rp-faq__q:focus-visible {
  outline: 3px solid var(--rp-accent-soft); outline-offset: 1px; border-color: var(--rp-accent);
}
.rp-search__note { font-size: .78rem; color: var(--rp-muted); margin: 0; }
.rp-count { font-size: .9rem; color: var(--rp-muted); }
.rp-count strong { color: var(--rp-ink); }

/* ----- Object grid + cards ----------------------------------------------- */
.rp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--rp-gap); }
.rp-card {
  background: #fff; border: 1px solid var(--rp-line); border-radius: var(--rp-radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.rp-card:hover { box-shadow: var(--rp-shadow-lg); transform: translateY(-2px); border-color: var(--rp-accent); }
.rp-card__media {
  position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center;
  color: #fff; font-weight: 600; letter-spacing: .02em;
}
.rp-card__media[data-market="pattaya"] { background: linear-gradient(135deg, #6f5a3c, #b18a52); }
.rp-card__media[data-market="phuket"]  { background: linear-gradient(135deg, #574e3c, #a98a55); }
.rp-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.25, 1, .5, 1); }
.rp-card:hover .rp-card__img { transform: scale(1.05); }
.rp-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,0) 40%, rgba(0,0,0,.22)); z-index: 1; }
/* Badges « verre dépoli » (glassmorphism) */
.rp-card__glass {
  position: absolute; z-index: 2; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.45); color: #1C1917;
  font-size: .76rem; font-weight: 600; padding: .4em .75em; border-radius: var(--rp-radius-pill);
}
.rp-card__glass--loc { top: 12px; left: 12px; }
.rp-card__glass--type { bottom: 12px; right: 12px; }
.rp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rp-tag { font-size: .74rem; font-weight: 600; color: var(--rp-accent-ink); background: var(--rp-accent-soft); border-radius: var(--rp-radius-pill); padding: .34em .7em; }
.rp-card__body { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.rp-card__name { margin: 0; font-size: 1.08rem; }
.rp-card__sep { display: block; height: 2px; width: 30px; background: var(--rp-accent); border-radius: 1px; transition: width .4s cubic-bezier(.25, 1, .5, 1); }
.rp-card:hover .rp-card__sep, .rp-card--clickable:focus-visible .rp-card__sep { width: 100%; }
.rp-card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.rp-card__priceval { font-family: var(--rp-serif); font-size: 1.3rem; color: #9C7A1F; }
.rp-card__specs { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.rp-card__spec { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--rp-ink-soft); white-space: nowrap; }
.rp-card__spec svg { color: var(--rp-accent); flex: none; }
.rp-card__price .rp-from { font-size: .78rem; color: var(--rp-muted); }
/* EUR primary (≈, indicative) + THB exact on its own line */
.rp-card__pricethb { flex-basis: 100%; font-size: .82rem; font-weight: 500; color: var(--rp-ink-soft); margin-top: 1px; }
.rp-quick__price .rp-from { font-size: .82rem; color: var(--rp-muted); }
.rp-quick__eur { font-family: var(--rp-serif); font-size: 1.35rem; color: #9C7A1F; }
.rp-quick__thb { font-size: .9rem; font-weight: 500; color: var(--rp-ink-soft); white-space: nowrap; }
.rp-quick__thb::before { content: "·"; margin: 0 .55ch; color: var(--rp-muted); font-weight: 400; }
.rp-quick__usp { margin: 8px 0 0; font-size: .92rem; font-weight: 500; color: var(--rp-ink-soft); line-height: 1.45; }
.rp-object__price .rp-price-thb { font-size: .82em; font-weight: 500; color: var(--rp-ink-soft); white-space: nowrap; }
/* Object page: units & prices table + amenities (enriched from royal-property.pro) */
.rp-object__h { font-size: 1.15rem; margin: 30px 0 12px; }
.rp-unittable { width: 100%; border-collapse: collapse; font-size: .92rem; }
.rp-unittable th, .rp-unittable td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rp-line); vertical-align: top; }
.rp-unittable th { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--rp-muted); font-weight: 700; }
.rp-unittable td:last-child, .rp-unittable th:last-child { text-align: right; white-space: nowrap; color: var(--rp-ink); font-weight: 600; }
.rp-unittable__thb { color: var(--rp-ink-soft); font-weight: 500; font-size: .86em; }
.rp-amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.rp-amenities li { position: relative; padding-left: 20px; font-size: .92rem; color: var(--rp-ink-soft); }
.rp-amenities li::before { content: "✓"; position: absolute; left: 0; color: var(--rp-accent); font-weight: 700; }
@media (max-width: 560px) {
  .rp-amenities { grid-template-columns: 1fr; }
  .rp-unittable { font-size: .84rem; }
  .rp-unittable th, .rp-unittable td { padding: 8px 8px; }
  .rp-unittable th:last-child, .rp-unittable td:last-child { white-space: normal; }
  .rp-unittable__thb { display: block; font-size: .82em; }
}
.rp-card__caution { font-size: .76rem; color: var(--rp-muted); margin: 0; border-top: 1px dashed var(--rp-line); padding-top: 10px; }

.rp-empty {
  grid-column: 1 / -1; text-align: center; padding: 48px 20px; border: 1px dashed var(--rp-line);
  border-radius: var(--rp-radius); background: var(--rp-bg-alt); color: var(--rp-muted);
}
.rp-empty h3 { color: var(--rp-ink); }

/* ----- FAQ ---------------------------------------------------------------- */
.rp-faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; margin: 0 auto; }
.rp-faq__item { border: 1px solid var(--rp-line); border-radius: var(--rp-radius-sm); background: #fff; overflow: hidden; }
.rp-faq__q {
  width: 100%; text-align: left; font: inherit; font-weight: 600; color: var(--rp-ink);
  background: #fff; border: 0; cursor: pointer; padding: 16px 18px;
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.rp-faq__q::after { content: "+"; font-size: 1.3rem; color: var(--rp-accent); transition: transform .2s; }
.rp-faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.rp-faq__a { padding: 0 18px; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; }
.rp-faq__a[data-open="true"] { padding: 0 18px 18px; max-height: 420px; }
.rp-faq__a p { font-size: .92rem; margin: 0; }

/* ----- Final CTA band ----------------------------------------------------- */
.rp-band { background: radial-gradient(80% 130% at 100% 0%, rgba(177, 138, 82, .28), transparent 55%), linear-gradient(135deg, #2a2319, #14110c); color: #fff; border-radius: var(--rp-radius); padding: 44px; text-align: center; }
.rp-band h2 { color: #fff; }
.rp-band p { color: #c9d7e4; max-width: 56ch; margin-left: auto; margin-right: auto; }

/* Contact — multi-channel chips (Juslaws-inspired, prototype: open the mock modal) */
.rp-channels { margin-top: 28px; }
.rp-channels__row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.rp-chan { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.05); color: #fff; font-family: inherit; font-size: .92rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.rp-chan:hover { background: rgba(255,255,255,.12); border-color: var(--rp-accent); }
.rp-chan svg { width: 18px; height: 18px; color: currentColor; flex: none; }
.rp-chan--primary { background: var(--rp-accent); border-color: var(--rp-accent); color: #1c1509; }
.rp-chan--primary:hover { background: #c79a5e; border-color: #c79a5e; }
.rp-chan--primary svg { color: #1c1509; }
.rp-channels__note { display: block; margin-top: 14px; font-size: .82rem; color: #bfae8c; }
.rp-band .rp-btn--primary { background: var(--rp-accent); color: var(--rp-ink); }
.rp-band .rp-btn--primary:hover { background: #c79f64; }
.rp-band .rp-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.rp-band .rp-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* ----- Footer ------------------------------------------------------------- */
.rp-footer { border-top: 1px solid var(--rp-line); padding: 32px 0; color: var(--rp-muted); font-size: .85rem; }
.rp-footer__grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ----- Modal -------------------------------------------------------------- */
.rp-modal { position: fixed; inset: 0; z-index: 80; display: none; }
.rp-modal[data-open="true"] { display: block; }
.rp-modal__overlay { position: absolute; inset: 0; background: rgba(11,31,51,.55); backdrop-filter: blur(2px); }
.rp-modal__dialog {
  position: relative; background: #fff; max-width: 560px; width: calc(100% - 32px);
  margin: 5vh auto; border-radius: var(--rp-radius); box-shadow: var(--rp-shadow-lg);
  max-height: 90vh; overflow: auto;
}
.rp-modal__head { padding: 22px 24px 6px; }
.rp-modal__head h3 { margin: 0 0 4px; }
.rp-modal__head p { font-size: .88rem; margin: 0; }
.rp-modal__head .rp-modal__tag { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--rp-accent-ink); margin: 0 0 8px; display: inline-block; background: var(--rp-accent-soft); border-radius: 999px; padding: 4px 11px; }
.rp-modal__close { position: absolute; top: 14px; right: 16px; background: var(--rp-bg-alt); border: 0; width: 34px; height: 34px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; color: var(--rp-ink-soft); }
.rp-modal__close:hover { background: #e7ecf1; }
.rp-form { padding: 12px 24px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rp-form .rp-field { gap: 5px; }
.rp-form .rp-col-2 { grid-column: 1 / -1; }
.rp-form textarea { font: inherit; padding: .68em .8em; border-radius: var(--rp-radius-sm); border: 1px solid var(--rp-line); resize: vertical; min-height: 64px; }
.rp-form__foot { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.rp-consent { font-size: .78rem; color: var(--rp-muted); display: flex; gap: 8px; align-items: flex-start; }

/* Mock success / payload preview */
.rp-success { padding: 24px; display: none; }
.rp-success[data-open="true"] { display: block; }
.rp-success__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--rp-accent-soft); color: var(--rp-accent-ink); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 12px; }
/* ----- Hero (two-column desktop : copy + Thailand photo) ------------------- */
@media (min-width: 781px) { .rp-hero__grid { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; } }
/* Mobile : la photo devient une sous-couche (background) derrière le texte */
@media (max-width: 780px) {
  /* `body .rp-hero` : spécificité > `.rp-hero` du thème, donc cette sous-couche
     mobile (responsive, indépendante du thème) gagne dans les 2 thèmes et survit au rollback */
  body .rp-hero { background: linear-gradient(180deg, rgba(250,248,245,.82), rgba(250,248,245,.92)), url("../img/brand/hero-thailand.jpg") center / cover no-repeat; }
  .rp-hero__media { display: none; }
  .rp-hero h1 { font-size: clamp(1.9rem, 8vw, 2.5rem); }
}
.rp-hero__copy { text-align: left; }
.rp-hero__media { position: relative; }
.rp-hero__media img { width: 100%; height: 100%; max-height: 540px; object-fit: cover; border-radius: var(--rp-radius); box-shadow: var(--rp-shadow-lg); display: block; }

/* ----- Clickable card + show more ----------------------------------------- */
.rp-card--clickable { cursor: pointer; }
.rp-card--clickable:focus-visible { outline: 3px solid var(--rp-accent-soft); outline-offset: 2px; }
.rp-card__more { margin-top: auto; font-size: .86rem; font-weight: 600; color: var(--rp-accent-ink); }
.rp-listing__more { display: flex; justify-content: center; margin-top: 26px; }

/* ----- Quick-view modal --------------------------------------------------- */
.rp-modal__dialog.rp-quick { max-width: 720px; }
.rp-quick__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.rp-quick__body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.rp-quick__price { font-size: 1.2rem; font-weight: 700; color: var(--rp-ink); margin: 0; }
.rp-quick__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.rp-btn--lg { padding: .95em 1.6em; font-size: 1.02rem; }
.rp-btn--disabled { opacity: .6; cursor: default; pointer-events: none; }
.rp-eyebrow--light { color: #d8c39a; }
.rp-lionel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-marks { list-style: none; padding: 0; margin: 4px 0 20px; display: flex; flex-direction: column; gap: 10px; }
.rp-marks li { display: flex; gap: 10px; align-items: flex-start; color: var(--rp-ink-soft); }
.rp-marks__tick { color: var(--rp-accent); font-weight: 800; flex: none; }


/* Split — text + thematic line illustration */
.rp-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; align-items: center; }
.rp-split--rev { grid-template-columns: 1.2fr .8fr; }
.rp-split__illus { display: flex; justify-content: center; }
.rp-illus { display: block; width: 100%; max-width: 300px; height: auto; }

/* ----- Video block -------------------------------------------------------- */
.rp-video { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.rp-video__frame { aspect-ratio: 16 / 9; border-radius: var(--rp-radius); background: linear-gradient(135deg, #2a2319, #14110c); display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; box-shadow: var(--rp-shadow); overflow: hidden; }
.rp-video__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.rp-video__play { width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 1.3rem; color: #fff; }
.rp-video__ph { font-size: .85rem; color: #9fb3c6; }

/* ----- Block responsive --------------------------------------------------- */
@media (max-width: 900px) {
  .rp-video { grid-template-columns: 1fr; }
  .rp-split, .rp-split--rev { grid-template-columns: 1fr; gap: 28px; }
  .rp-split__illus { max-width: 300px; margin: 0 auto; }
}

/* ----- Object page (biens/*.html) ----------------------------------------- */
.rp-object { padding: 28px 20px 64px; }
.rp-crumbs { font-size: .85rem; color: var(--rp-muted); margin: 0 0 18px; }
.rp-crumbs a { color: var(--rp-accent-ink); text-decoration: none; }
.rp-crumbs a:hover { text-decoration: underline; }
.rp-crumbs span { margin: 0 3px; }
.rp-object__head { margin: 0 0 22px; }
.rp-object__head h1 { margin: .1em 0 .3em; }
/* gallery (left) + sticky info/CTA aside (right, first screen) + details below */
.rp-object__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px 32px; align-items: start; grid-template-areas: "gallery aside" "content aside"; }
.rp-object__gallery { grid-area: gallery; }
.rp-object__main { width: 100%; height: auto; border-radius: var(--rp-radius); box-shadow: var(--rp-shadow-lg); display: block; }
.rp-object__content { grid-area: content; max-width: 760px; }
.rp-object__aside { grid-area: aside; position: sticky; top: 88px; background: #fff; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); padding: 24px; box-shadow: var(--rp-shadow); }
.rp-object__price { font-size: 1.5rem; font-weight: 700; color: var(--rp-ink); margin: 0 0 6px; }
.rp-object__usp { color: var(--rp-ink-soft); font-size: .95rem; line-height: 1.5; margin: 0 0 18px; }
.rp-object__quickfacts { list-style: none; padding: 0; margin: 0 0 20px; }
.rp-object__quickfacts li { display: flex; justify-content: space-between; gap: 14px; font-size: .92rem; padding: 9px 0; border-bottom: 1px solid var(--rp-line); }
.rp-object__quickfacts b { color: var(--rp-muted); font-weight: 600; }
.rp-object__quickfacts span { text-align: right; color: var(--rp-ink); }
.rp-object__cta { display: flex; flex-direction: column; gap: 10px; }
.rp-object__cta .rp-btn { width: 100%; justify-content: center; }
.rp-object__minicaution { font-size: .76rem; color: var(--rp-muted); margin: 14px 0 0; }
.rp-object__sec { margin: 0 0 30px; }
.rp-object__h--first { margin-top: 4px; }
.rp-object__facts { list-style: none; padding: 0; margin: 0; }
.rp-object__facts li { display: grid; grid-template-columns: 160px 1fr; gap: 10px; font-size: .92rem; color: var(--rp-ink-soft); border-bottom: 1px solid var(--rp-line); padding: 9px 0; }
.rp-object__facts b { color: var(--rp-muted); font-weight: 600; }
@media (max-width: 860px) {
  .rp-object__layout { grid-template-columns: 1fr; grid-template-areas: "gallery" "aside" "content"; gap: 18px; }
  .rp-object__aside { position: static; }
  .rp-object__content { max-width: none; }
  .rp-object__facts li { grid-template-columns: 130px 1fr; }
}
/* gallery: main + thumbnail strip + counter (lightbox on click) */
.rp-gal__main { position: relative; }
.rp-gal__main img { width: 100%; height: auto; border-radius: var(--rp-radius); box-shadow: var(--rp-shadow-lg); display: block; cursor: zoom-in; }
.rp-gal__count { position: absolute; right: 12px; bottom: 12px; background: rgba(20,28,22,.72); color: #fff; font-size: .78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.rp-gal__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.rp-gal__thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 16 / 10; }
.rp-gal__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-gal__thumb.is-active { border-color: var(--rp-accent); }
.rp-gal__thumb:focus-visible { outline: 3px solid var(--rp-accent-soft); }
/* francophone contact card in the aside */
.rp-object__contact { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rp-line); }
.rp-object__contact-person { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.rp-object__contact-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; flex: none; }
.rp-object__contact-id { display: flex; flex-direction: column; line-height: 1.3; }
.rp-object__contact-id b { color: var(--rp-ink); font-size: .98rem; }
.rp-object__contact-id span { color: var(--rp-muted); font-size: .82rem; }
.rp-object__contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rp-chan2 { font-size: .85rem; font-weight: 600; color: var(--rp-accent-ink); background: var(--rp-accent-soft); border-radius: 999px; padding: 9px 13px; text-decoration: none; text-align: center; }
.rp-object__contact-links .rp-chan2:last-child { grid-column: 1 / -1; }
.rp-chan2:hover { background: var(--rp-accent); color: #fff; }
/* similar objects */
.rp-object__sec--wide { max-width: none; }
.rp-simgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rp-simcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.rp-simcard:hover { box-shadow: var(--rp-shadow-lg); transform: translateY(-2px); }
.rp-simcard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.rp-simcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rp-simcard__n { font-weight: 600; color: var(--rp-ink); padding: 12px 14px 2px; }
.rp-simcard__p { color: #9C7A1F; font-weight: 600; font-size: .92rem; padding: 0 14px 14px; }
/* repeat CTA band */
.rp-object__recta { margin-top: 40px; padding: 28px; text-align: center; background: var(--rp-bg-alt, #f1ece4); border-radius: var(--rp-radius); }
.rp-object__recta-t { font-family: var(--rp-serif); font-size: 1.25rem; color: var(--rp-ink); margin: 0 0 16px; }
.rp-object__cta--row { flex-direction: row; flex-wrap: wrap; justify-content: center; }
.rp-object__cta--row .rp-btn { width: auto; }
/* €/m² line in the units table */
.rp-unittable__pm { display: block; font-size: .82em; color: var(--rp-muted); font-weight: 500; margin-top: 2px; }
@media (max-width: 640px) {
  .rp-simgrid { grid-template-columns: 1fr 1fr; }
  .rp-gal__thumbs { grid-template-columns: repeat(4, 1fr); }
}
/* lightbox */
.rp-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,20,16,.92); display: flex; align-items: center; justify-content: center; }
.rp-lightbox[hidden] { display: none; }
.rp-lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.rp-lightbox__close { position: absolute; top: 16px; right: 22px; background: none; border: none; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; }
.rp-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.14); border: none; color: #fff; font-size: 2rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; }
.rp-lightbox__prev { left: 18px; }
.rp-lightbox__next { right: 18px; }
.rp-lightbox__nav:hover { background: rgba(255,255,255,.26); }


/* Juridique — topics a specialist can clarify (neutral dash markers, not checks) */

/* Scénarios — sélecteur d'onglets (tabs) grand format */
.rp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: stretch; }
.rp-tabs__preview { position: relative; border-radius: var(--rp-radius); overflow: hidden; min-height: 400px; background: var(--rp-bg-alt); }
.rp-tabs__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--rp-ease); }
.rp-tabs__img.is-active { opacity: 1; }
.rp-tabs__panel { display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.rp-tabs__btns { display: flex; flex-direction: column; border-left: 2px solid var(--rp-line); }
.rp-tab { text-align: left; background: none; border: 0; border-left: 2px solid transparent; margin-left: -2px; padding: 14px 22px; font-family: var(--rp-serif); font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 700; line-height: 1.15; color: var(--rp-muted); cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.rp-tab:hover { color: var(--rp-ink-soft); }
.rp-tab.is-active { color: var(--rp-ink); border-left-color: var(--rp-accent); }
.rp-tab:focus-visible { outline: 2px solid var(--rp-accent); outline-offset: 2px; border-radius: 4px; }
.rp-tabs__body { padding-left: 22px; }
.rp-tabs__body[hidden] { display: none; }
.rp-tabs__body p { font-size: 1.08rem; color: var(--rp-ink-soft); margin: 0 0 22px; max-width: 46ch; }
@media (max-width: 860px) { .rp-tabs { grid-template-columns: 1fr; gap: 28px; } .rp-tabs__preview { min-height: 240px; } }

.rp-scen__cta { display: inline-flex; gap: 7px; align-items: center; color: var(--rp-accent-ink); font-weight: 600; text-decoration: none; font-size: .95rem; }
button.rp-scen__cta { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.rp-scen__cta:hover { color: var(--rp-ink); }

/* Due diligence — pile de documents (preuves visuelles) */
.rp-docproof { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.rp-docstack { position: relative; min-height: 400px; }
.rp-doc { position: absolute; left: 0; right: 0; margin: 0 auto; width: min(330px, 88%); background: #fff; border: 1px solid var(--rp-line); border-radius: 14px; box-shadow: var(--rp-shadow-lg); padding: 20px 22px; display: flex; flex-direction: column; gap: 11px; }
.rp-doc--1 { top: 4px; transform: translateY(var(--rp-pscroll, 0px)) rotate(-6deg) translateX(-26px); z-index: 1; }
.rp-doc--2 { top: 74px; transform: translateY(calc(var(--rp-pscroll, 0px) * -0.5)) rotate(3deg) translateX(30px); z-index: 2; }
.rp-doc--3 { top: 156px; transform: translateY(calc(var(--rp-pscroll, 0px) * 0.32)) rotate(-1.5deg); z-index: 3; border-color: var(--rp-accent); }
.rp-doc__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rp-doc__kind { font-weight: 700; font-size: .88rem; color: var(--rp-ink); }
.rp-doc__badge { flex: none; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--rp-accent-ink); background: var(--rp-accent-soft); border-radius: 999px; padding: 4px 9px; }
.rp-doc__bar { display: block; height: 8px; border-radius: 4px; background: var(--rp-line); }
.rp-doc__hl { display: inline-block; align-self: flex-start; font-size: .76rem; font-weight: 600; color: var(--rp-accent-ink); background: var(--rp-accent-soft); border-radius: 6px; padding: 4px 9px; }
.rp-doc__stamp { position: absolute; right: 18px; bottom: 16px; transform: rotate(-12deg); font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--rp-accent); border: 2px solid var(--rp-accent); border-radius: 6px; padding: 3px 7px; opacity: .85; }
.rp-doc__seal { position: absolute; right: 18px; bottom: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--rp-accent); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.rp-docproof__copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.rp-docproof__copy p { color: var(--rp-ink-soft); font-size: 1.05rem; max-width: 46ch; margin: 0 0 14px; }
.rp-docproof__note { font-size: .8rem; color: var(--rp-muted); }
@media (max-width: 860px) {
  .rp-docproof { grid-template-columns: 1fr; gap: 32px; }
  .rp-docstack { min-height: 0; display: flex; flex-direction: column; gap: 12px; }
  .rp-doc { position: static; transform: none; width: 100%; padding: 16px 20px; gap: 12px; }
  /* the decorative skeleton bars/stamps read as "loading" once stacked — drop them on mobile */
  .rp-doc__bar, .rp-doc__seal, .rp-doc__stamp { display: none; }
}
.rp-field { display: flex; flex-direction: column; gap: 6px; }
.rp-field label { font-size: .82rem; font-weight: 600; color: var(--rp-ink); }
.rp-input { width: 100%; padding: 11px 13px; border: 1px solid var(--rp-line); border-radius: 10px; background: #fff; font-family: inherit; font-size: .95rem; color: var(--rp-ink); }
.rp-input:focus-visible { outline: 2px solid var(--rp-accent); outline-offset: 1px; border-color: var(--rp-accent); }

/* ----- Convertisseur / simulateur (style Wise) --------------------------- */
.rp-conv { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: stretch; margin-top: 32px; }
.rp-conv__panel { background: var(--rp-bg-alt); border: 1px solid var(--rp-line); border-radius: var(--rp-radius); padding: 26px; min-width: 0; }
.rp-conv__io > label { display: block; font-size: .82rem; font-weight: 600; color: var(--rp-ink); margin-bottom: 7px; }
.rp-conv__inputrow { display: flex; align-items: stretch; background: #fff; border: 1px solid var(--rp-line); border-radius: 12px; overflow: hidden; }
.rp-conv__input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 13px 14px; font-family: var(--rp-serif); font-size: 1.5rem; color: var(--rp-ink); }
.rp-conv__input:focus-visible { outline: 2px solid var(--rp-accent); outline-offset: -2px; }
.rp-conv__inputrow--out { background: var(--rp-bg-tint); }
.rp-conv__input--out { display: flex; align-items: center; }
.rp-conv__cur { flex: none; padding: 0 14px; font-weight: 700; font-size: .9rem; color: var(--rp-ink); border-left: 1px solid var(--rp-line); display: flex; align-items: center; gap: 5px; }
.rp-conv__micro { display: block; font-size: .74rem; color: var(--rp-muted); margin-top: 6px; }

.rp-chain { list-style: none; margin: 8px 0; padding: 4px 0 4px 24px; position: relative; }
.rp-chain::before { content: ""; position: absolute; left: 5px; top: 14px; bottom: 14px; width: 2px; background: var(--rp-line); }
.rp-chain__node { position: relative; padding: 9px 0; }
.rp-chain__node::before { content: ""; position: absolute; left: -24px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--rp-accent); box-shadow: 0 0 0 3px var(--rp-bg-alt); }
.rp-chain__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rp-chain__label { font-size: .86rem; color: var(--rp-ink-soft); }
.rp-chain__val { margin-left: auto; font-weight: 700; color: var(--rp-ink); }
.rp-chain__tip { margin: 6px 0 0; font-size: .74rem; color: var(--rp-muted); line-height: 1.45; }
.rp-info { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--rp-muted); background: transparent; color: var(--rp-muted); font-size: .68rem; font-style: italic; font-weight: 700; cursor: pointer; line-height: 1; display: inline-grid; place-items: center; flex: none; }
.rp-info:hover, .rp-info[aria-expanded="true"] { border-color: var(--rp-accent); color: var(--rp-accent); }

.rp-conv__slider { margin-top: 16px; }
.rp-conv__sliderhead { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.rp-conv__sliderhead label { font-size: .82rem; font-weight: 600; color: var(--rp-ink); }
.rp-conv__sliderv { font-weight: 700; color: var(--rp-accent-ink); font-size: .9rem; flex: none; }
.rp-range { width: 100%; accent-color: var(--rp-accent); height: 26px; cursor: pointer; }
.rp-conv__err { margin: 14px 0 0; color: #b3261e; font-size: .86rem; }

.rp-conv__out { background: var(--rp-dark); color: #fff; border-radius: var(--rp-radius); padding: 28px 26px; display: flex; flex-direction: column; min-width: 0; }
.rp-conv__res { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.14); }
.rp-conv__res--strong { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.rp-conv__reslabel { display: block; font-size: .82rem; color: #cfe0d6; margin-bottom: 6px; }
.rp-conv__resv { display: block; font-family: var(--rp-serif); font-size: 1.95rem; line-height: 1.08; color: #fff; }
.rp-conv__res--strong .rp-conv__resv { color: #F0A790; }
.rp-conv__reseur { display: block; font-size: .9rem; color: #bccabf; margin-top: 3px; }
.rp-conv__micro2 { margin: auto 0 0; padding-top: 22px; font-size: .82rem; color: #d7e3da; line-height: 1.5; }
.rp-conv__disc { margin: 10px 0 0; font-size: .72rem; color: #9fb1a4; line-height: 1.5; }
@media (max-width: 900px) { .rp-conv { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .rp-conv__input { font-size: 1.25rem; } .rp-conv__resv { font-size: 1.6rem; } .rp-chain__head { gap: 4px 8px; } }

/* ----- Parcours de vérification (timeline verticale) --------------------- */
.rp-timeline { list-style: none; margin: 30px 0 0; padding: 0; max-width: 760px; position: relative; }
.rp-timeline::before { content: ""; position: absolute; left: 19px; top: 14px; bottom: 26px; width: 2px; background: var(--rp-line); }
.rp-tl__step { position: relative; display: flex; gap: 20px; padding-bottom: 26px; }
.rp-tl__step:last-child { padding-bottom: 0; }
.rp-tl__num { position: relative; z-index: 1; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--rp-accent); color: #fff; font-family: var(--rp-serif); font-size: 1.05rem; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--rp-bg); }
.rp-tl__body { padding-top: 5px; }
.rp-tl__t { display: flex; align-items: center; gap: 9px; font-size: 1.1rem; margin: 0 0 .3em; }
.rp-tl__ic { color: var(--rp-accent); display: inline-flex; }
.rp-tl__ic svg { width: 20px; height: 20px; }
.rp-tl__body p { margin: 0; color: var(--rp-ink-soft); font-size: .96rem; line-height: 1.5; }
.rp-tl__note { display: flex; gap: 12px; align-items: flex-start; max-width: 760px; margin: 24px 0 0; padding: 16px 18px; background: var(--rp-accent-soft); border-radius: var(--rp-radius); }
.rp-tl__lock { color: var(--rp-accent-ink); flex: none; }
.rp-tl__lock svg { width: 22px; height: 22px; }
.rp-tl__note p { margin: 0; font-size: .84rem; color: var(--rp-ink-soft); line-height: 1.5; }
.rp-tl__lionel { display: flex; gap: 16px; align-items: center; max-width: 760px; margin: 20px 0 0; padding: 18px; background: #fff; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); }
.rp-tl__avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--rp-accent-soft); }
.rp-tl__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.rp-tl__lionel p { margin: 0; font-size: .92rem; color: var(--rp-ink-soft); line-height: 1.5; }
@media (max-width: 560px) { .rp-tl__lionel { flex-direction: column; align-items: flex-start; } }

/* ----- Bento grid (Lionel + confiance) ----------------------------------- */
.rp-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.rp-bento__card { border-radius: var(--rp-radius); padding: 32px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.rp-bento__card:hover { transform: translateY(-4px); box-shadow: var(--rp-shadow-lg); }
.rp-bento__a { grid-column: span 7; background: #0B221A; color: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.rp-bento__a .rp-eyebrow--light { color: #cfe0d6; }
.rp-bento__title { font-family: var(--rp-serif); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; color: #fff; margin: 0 0 16px; }
.rp-bento__text { color: #ccd6cd; margin: 0 0 22px; max-width: 52ch; }
.rp-bento__cta { margin-top: auto; background: #FAF8F5; color: #0B221A; border-color: #FAF8F5; }
.rp-bento__cta:hover { background: #fff; color: #0B221A; }
.rp-bento__b { grid-column: span 5; padding: 0; overflow: hidden; background: #0B221A; min-height: 340px; position: relative; }
.rp-bento__b:hover { transform: none; box-shadow: none; }
.rp-bento__fig { margin: 0; width: 100%; height: 100%; }
.rp-bento__b picture { display: block; width: 100%; height: 100%; }
.rp-bento__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; filter: saturate(1.06) contrast(1.02); transition: transform .6s cubic-bezier(.25,1,.5,1); }
.rp-bento__b:hover .rp-bento__img { transform: scale(1.05); }
/* Signature-style caption over the portrait */
.rp-bento__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 24px 18px; display: flex; flex-direction: column; gap: 3px; background: linear-gradient(to top, rgba(8,20,15,.88) 6%, rgba(8,20,15,.46) 50%, rgba(8,20,15,0) 100%); }
.rp-bento__cap-name { font-family: var(--rp-serif); font-weight: 600; font-size: 1.18rem; line-height: 1.1; letter-spacing: .005em; color: #fff; }
.rp-bento__cap-role { font-size: .82rem; font-weight: 500; color: #cdbf9f; }
.rp-bento__c { grid-column: span 4; background: var(--rp-bg); border: 1px solid var(--rp-line); }
.rp-bento__c h3 { font-size: 1.2rem; margin: 14px 0 .4em; }
.rp-bento__c p { margin: 0; color: var(--rp-ink-soft); font-size: .95rem; line-height: 1.5; }
.rp-bento__ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: var(--rp-accent-soft); color: var(--rp-accent); }
.rp-bento__ic svg { width: 26px; height: 26px; }
.rp-bento__d { grid-column: span 8; background: var(--rp-bg); border: 1px solid rgba(212,175,55,.30); }
.rp-bento__d h3 { font-size: 1.3rem; margin: 0 0 16px; }
@media (max-width: 900px) {
  .rp-bento { grid-template-columns: 1fr; }
  .rp-bento__a, .rp-bento__b, .rp-bento__c, .rp-bento__d { grid-column: auto; }
  .rp-bento__b { min-height: 300px; }
}

/* ----- Juridique : bento sobre (pas de hover spectaculaire ; points calmes) ----- */
.rp-jur { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: stretch; }
.rp-jur__feature { grid-column: span 7; display: flex; flex-direction: column; justify-content: center; }
.rp-jur__feature h2 { margin: .15em 0 .5em; }
.rp-jur__feature p { margin: 0; color: var(--rp-ink-soft); max-width: 46ch; }
.rp-jur__illus { grid-column: span 5; background: #fff; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); display: grid; place-items: center; padding: 22px; }
.rp-jur__illus svg { width: 100%; max-width: 230px; height: auto; }
.rp-jur__point { grid-column: span 6; background: #fff; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); padding: 22px; font-size: .95rem; color: var(--rp-ink-soft); line-height: 1.55; }
.rp-jur__point::before { content: ""; display: block; width: 26px; height: 2px; background: var(--rp-accent); border-radius: 1px; margin-bottom: 13px; }
.rp-jur__note { grid-column: 1 / -1; margin: 2px 0 0; font-size: .8rem; color: var(--rp-muted); }
@media (max-width: 860px) {
  .rp-jur__feature, .rp-jur__illus { grid-column: 1 / -1; }
  .rp-jur__point { grid-column: span 6; }
}
@media (max-width: 560px) { .rp-jur__point { grid-column: 1 / -1; } }

/* ----- Micro-interactions (nav underline, button lift) ------------------- */
.rp-nav a { position: relative; }
.rp-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: -4px; height: 2px; background: var(--rp-accent); transition: left .25s ease, right .25s ease; }
.rp-nav a:hover::after, .rp-nav a:focus-visible::after { left: 0; right: 0; }
.rp-btn { transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .rp-btn--primary:hover, .rp-btn--ghost:hover, .rp-btn--soft:hover, .rp-bento__cta:hover { transform: translateY(-2px); } .rp-btn--primary:active, .rp-btn--ghost:active, .rp-btn--soft:active { transform: translateY(0); } }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible,
[tabindex]:focus-visible, .rp-chan:focus-visible, .rp-card--clickable:focus-visible {
  outline: 2px solid var(--rp-accent); outline-offset: 2px;
}
/* ----- Wise Motion Principles : easing partagé, entrées directionnelles, validations SVG ----- */
:root { --rp-ease: cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes rpModalIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes rpOverlayIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rpDraw { to { stroke-dashoffset: 0; } }
@keyframes rpFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: no-preference) {
  .rp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .32s var(--rp-ease), transform .32s var(--rp-ease); }
  .rp-reveal.is-in { opacity: 1; transform: none; }
  /* Continuité / directionnel : la modale se déploie vers le haut (début de flux) */
  .rp-modal[data-open="true"] .rp-modal__overlay { animation: rpOverlayIn .25s ease; }
  .rp-modal[data-open="true"] .rp-modal__dialog { animation: rpModalIn .32s var(--rp-ease); }
  /* Validation « Lottie-like » : la coche se dessine sous les yeux */
  .rp-doc__seal svg path, .rp-success__icon svg path { stroke-dasharray: 26; stroke-dashoffset: 26; }
  .rp-docstack.is-in .rp-doc__seal svg path { animation: rpDraw .55s var(--rp-ease) .35s forwards; }
  .rp-success[data-open="true"] .rp-success__icon svg path { animation: rpDraw .5s var(--rp-ease) .1s forwards; }
  /* Flottement doux de l'illustration juridique */
  .rp-jur__illus svg { animation: rpFloat 6s ease-in-out infinite; }
  /* Lissage des transforms du dossier (survol + parallax) */
  .rp-doc { transition: transform .2s ease; }
}
/* Micro-ouverture en éventail du dossier au survol (desktop, mouvement autorisé) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .rp-docstack:hover .rp-doc--1 { transform: translateY(var(--rp-pscroll, 0px)) rotate(-8.5deg) translateX(-42px); }
  .rp-docstack:hover .rp-doc--2 { transform: translateY(calc(var(--rp-pscroll, 0px) * -0.5)) rotate(4.5deg) translateX(44px); }
  .rp-docstack:hover .rp-doc--3 { transform: translateY(calc(var(--rp-pscroll, 0px) * 0.32)) rotate(-1deg) scale(1.03); z-index: 4; }
}

/* ----- Destinations ------------------------------------------------------- */
.rp-dest { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.rp-dest__card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.rp-dest__card:hover { transform: translateY(-2px); box-shadow: var(--rp-shadow-lg); border-color: var(--rp-accent); }
.rp-dest__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.rp-dest__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.rp-dest__card:hover .rp-dest__media img { transform: scale(1.04); }
.rp-dest__name { position: absolute; left: 18px; bottom: 14px; color: #fff; font-family: var(--rp-serif); font-size: 1.55rem; text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.rp-dest__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.rp-dest__body .rp-scen__cta { margin-top: auto; padding-top: 6px; }
.rp-dest__tag { margin: 0; font-weight: 600; color: var(--rp-ink); }
.rp-dest__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.rp-dest__list li { position: relative; padding-left: 18px; color: var(--rp-ink-soft); font-size: .93rem; line-height: 1.45; }
.rp-dest__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 2px; background: var(--rp-accent); }

/* ----- Guides ------------------------------------------------------------- */
.rp-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rp-guide__card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); padding: 24px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.rp-guide__card:hover { border-color: var(--rp-accent); transform: translateY(-2px); box-shadow: var(--rp-shadow-lg); }
.rp-guide__kicker { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rp-accent-ink); }
.rp-guide__card h3 { font-size: 1.06rem; margin: 0; line-height: 1.25; }
.rp-guide__card p { margin: 0; color: var(--rp-ink-soft); font-size: .93rem; flex: 1; }

/* ----- Lead-magnet form --------------------------------------------------- */
.rp-lmform { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--rp-line); border-radius: var(--rp-radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--rp-shadow); }
.rp-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--rp-ink-soft); line-height: 1.4; }
.rp-consent input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
.rp-req { color: #C9603F; font-weight: 700; margin-left: 2px; }
.rp-lmform__ok { margin: 0; font-size: .88rem; color: #1f6f4a; background: #e8f3ec; border: 1px solid #cfe6d8; border-radius: 10px; padding: 10px 12px; }
.rp-lmform__note { margin: 0; font-size: .78rem; }
.rp-lmform__note a { color: var(--rp-accent-ink); }

/* ----- CTA final ---------------------------------------------------------- */
.rp-final { background: var(--rp-bg-alt); border: 1px solid var(--rp-line); border-radius: var(--rp-radius); padding: 52px 40px; text-align: center; }
.rp-final h2 { max-width: 24ch; margin: 0 auto .45em; }
.rp-final p { max-width: 58ch; margin: 0 auto 24px; color: var(--rp-ink-soft); }
.rp-final__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 980px) { .rp-guides { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .rp-dest { grid-template-columns: 1fr; } .rp-guides { grid-template-columns: 1fr; } }

/* ----- Bande parallax (respiration visuelle) ------------------------------ */
.rp-parallax { position: relative; min-height: 340px; display: grid; place-items: center; text-align: center; overflow: hidden;
  background-color: #0E2C22; background-position: center center; background-size: cover; background-repeat: no-repeat; }
.rp-parallax--islands { background-image: url("../img/scenic/thailand-islands.jpg"); }
.rp-parallax--city { background-image: url("../img/scenic/pattaya-city.jpg"); }
.rp-parallax__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,34,26,.58), rgba(11,34,26,.40)); }
.rp-parallax__inner { position: relative; padding: 72px 0; }
.rp-parallax__eye { margin: 0 0 10px; color: #d6e4db; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; }
.rp-parallax__line { margin: 0 auto; max-width: 24ch; color: #fff; font-family: var(--rp-serif); font-weight: 700; line-height: 1.18; font-size: clamp(1.5rem, 3vw, 2.3rem); text-shadow: 0 2px 20px rgba(0,0,0,.45); }
/* Parallax réel : seulement desktop + mouvement autorisé (fixed est instable sur mobile) */
@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  .rp-parallax { background-attachment: fixed; }
}

.rp-videolist { list-style: none; padding: 0; margin: 6px 0 14px; display: flex; flex-direction: column; gap: 9px; }
.rp-videolist li { display: flex; gap: 10px; align-items: flex-start; color: var(--rp-ink-soft); }
.rp-video__intro { font-weight: 600; color: var(--rp-ink); margin: 0; }

/* ----- Listing filter bar (dropdowns) ------------------------------------- */
#projets { padding-top: 80px; }   /* remonte le catalogue (vs 140px par défaut) */
.rp-filterbar { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 14px; align-items: end; margin-bottom: 10px; }
.rp-filterbar .rp-field { min-width: 0; }
.rp-filterbar select {
  width: 100%; cursor: pointer; padding-right: 2.2em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236a7c8c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8em center; background-size: 11px;
}
.rp-filterbar #resetFilters { align-self: end; white-space: nowrap; }
@media (max-width: 680px) {
  .rp-filterbar { grid-template-columns: 1fr 1fr; }
  .rp-filterbar .rp-field--wide { grid-column: 1 / -1; }
  .rp-filterbar #resetFilters { grid-column: 1 / -1; }
}
#resultCount { margin: 0 0 22px; }
.rp-form__err { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: var(--rp-flag-ink); background: var(--rp-flag-bg); border: 1px solid #f3c9c9; border-radius: var(--rp-radius-sm); padding: .55em .7em; }

/* ----- Listing: 'other destination' line ---------------------------------- */
.rp-listing__other { margin: 24px 0 0; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: .92rem; color: var(--rp-muted); }

/* ----- Legal pages (prose) ------------------------------------------------ */
.rp-prose { max-width: 760px; margin: 0 auto; padding: 40px 0 64px; }
.rp-prose h1 { margin-bottom: .4em; }
.rp-prose h2 { font-size: 1.15rem; margin: 1.7em 0 .4em; }
.rp-prose p, .rp-prose li { color: var(--rp-ink-soft); line-height: 1.65; }
.rp-prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.rp-prose a { color: var(--rp-accent-ink); }
.rp-prose__back { margin-top: 2.2em; font-weight: 600; }
.rp-prose__note { font-size: .9rem; color: var(--rp-muted); border-top: 1px solid var(--rp-line); padding-top: 14px; margin-top: 1.6em; }
.rp-link-btn { background: none; border: 0; padding: 0; color: var(--rp-accent-ink); font: inherit; text-decoration: underline; cursor: pointer; }

/* ----- Footer explore (SEO links) ----------------------------------------- */
.rp-footer__explore { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 22px; font-size: .85rem; }
.rp-footer__explore-h { color: var(--rp-ink); font-weight: 700; }
.rp-footer__explore a { color: var(--rp-muted); text-decoration: none; }
.rp-footer__explore a:hover { color: var(--rp-accent-ink); }

/* ----- Footer legal row + cookie manage ----------------------------------- */
.rp-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--rp-line); font-size: .85rem; }
.rp-footer__legal a, .rp-footer__cookie { color: var(--rp-muted); text-decoration: none; }
.rp-footer__legal a:hover, .rp-footer__cookie:hover { color: var(--rp-accent-ink); }
.rp-footer__cookie { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* ----- Cookie consent banner ---------------------------------------------- */
.rp-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--rp-line); box-shadow: 0 -10px 40px rgba(34,29,22,.12); }
.rp-cookie__main { max-width: var(--rp-maxw); margin: 0 auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; }
.rp-cookie__title { font-size: 1.05rem; margin: 0; }
.rp-cookie__text { margin: 0; font-size: .92rem; color: var(--rp-ink-soft); max-width: 88ch; }
.rp-cookie__text a { color: var(--rp-accent-ink); }
.rp-cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rp-cookie__panel { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--rp-line); padding-top: 12px; }
.rp-cookie__opt { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; font-size: .9rem; color: var(--rp-ink-soft); }
.rp-cookie__opt input { margin-top: 3px; accent-color: var(--rp-accent); flex: none; width: 18px; height: 18px; }
.rp-cookie__note { color: var(--rp-muted); font-size: .85rem; }

/* ----- Responsive --------------------------------------------------------- */
@media (max-width: 980px) {
  .rp-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Mid widths: keep only the CTA + logo + language switcher to avoid crowding. */
@media (max-width: 900px) {
  .rp-nav { gap: 12px; }
  .rp-nav a:not(.rp-btn) { display: none; }
}
@media (max-width: 680px) {
  .rp-section { padding: 84px 0; }
  .rp-grid { grid-template-columns: 1fr; }
  .rp-form { grid-template-columns: 1fr; }
  .rp-nav { display: none; }
}

@media (max-width: 520px) {
  .rp-wrap { padding: 0 16px; }
  .rp-header__bar { gap: 10px; min-height: 64px; height: auto; padding-top: 10px; padding-bottom: 10px; }
  .rp-logo { min-width: 0; }
  .rp-logo > span:last-child { min-width: 0; }
  .rp-logo__sub { display: block; margin-top: 1px; }
  .rp-header__right { margin-left: auto; }
  .rp-hero { padding-top: 44px; }
  .rp-btn { white-space: normal; text-align: center; }
  .rp-modal__dialog { width: calc(100% - 24px); margin: 18px auto; max-height: calc(100vh - 36px); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
