/* ═══════════════════════════════════════════════════════════════════════════
   WALDHOF — V5 « recréation » : page d'accueil.
   Blanc, encre, bleu marine Waldhof ; une seule famille (Manrope, OFL, auto-hébergée) ;
   photographies authentiques du portefeuille ; or réservé au logo officiel.
   Curseur : celui du navigateur (aucun curseur personnalisé).
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/assets/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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/assets/fonts/manrope-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(/assets/fonts/manrope-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

:root {
  --f: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --white: #fff;
  --paper: #ebeded;
  --paper-2: #e1e4e4;
  --ink: #0e1417;
  --ink-2: #3a4449;
  --mute: #5f686e;
  --line: #e0e3e3;
  --line-2: #cbcfcf;
  --navy: #01222f;
  --navy-2: #0a3242;
  --navy-line: rgba(238, 242, 243, 0.14);
  --on-navy: #eef2f3;
  --on-navy-2: rgba(238, 242, 243, 0.68);
  --sea: #2c6a8a;
  --bg-soft: #f0f1f1;   /* gris béton clair des sections alternées (27-10, demande d’Antoine) */
  --bg-blue: #edf2f5;   /* bleu très subtil */
  --r-xs: 8px; --r-sm: 12px; --r-md: 18px; --r-lg: 24px; --r-xl: 32px;
  --wrap: 1360px;
  --gut: clamp(20px, 4vw, 48px);
  --hd-h: 78px;
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-io: cubic-bezier(0.65, 0, 0.35, 1);
  --sh-1: 0 1px 2px rgba(14, 20, 23, 0.04), 0 10px 30px -14px rgba(14, 20, 23, 0.16);
  --sh-2: 0 2px 6px rgba(14, 20, 23, 0.05), 0 32px 64px -28px rgba(14, 20, 23, 0.32);
  /* variables attendues par ai-search.css (panneau de recherche IA) */
  --serif: var(--f); --sans: var(--f);
  --ease: var(--e-out); --t: 0.5s var(--e-out); --t-fast: 0.25s var(--e-out);
  --muted: var(--mute); --ink-soft: var(--ink-2); --line-soft: var(--line); --bg-alt: var(--paper);
  --gold: #b8975a; --gold-soft: #c9ad77; --gold-text: #8a6f3c;
  --z-nav: 150; --z-menu: 200; --z-fab: 140;
  --ai-bar-h: 0px;
}
@media (max-width: 1180px) { :root { --hd-h: 68px; } }

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hd-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f); font-size: 1rem; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, address, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.i { width: 20px; height: 20px; flex: none; }
.skip { position: fixed; left: 16px; top: -64px; z-index: 1000; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; transition: top 0.25s var(--e-out); }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.no-scroll, .no-scroll body { overflow: hidden; }

/* ── Typographie ────────────────────────────────────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 0.75rem; line-height: 1.2; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow .i { width: 15px; height: 15px; margin-right: -4px; }
.eyebrow--light { color: var(--on-navy-2); }
.h2 { font-size: clamp(2rem, 1.15rem + 2.65vw, 3.6rem); font-weight: 500; line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.lead { font-size: clamp(1rem, 0.94rem + 0.22vw, 1.125rem); line-height: 1.62; color: var(--ink-2); text-wrap: pretty; }

/* ── Boutons & liens ────────────────────────────────────────────────────── */
.btn { --bh: 52px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--bh); padding: 0 22px;
  border-radius: var(--r-sm); border: 1px solid transparent; font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.1; white-space: nowrap;
  transition: background-color 0.35s var(--e-out), color 0.35s var(--e-out), border-color 0.35s var(--e-out), transform 0.35s var(--e-out); }
.btn .i { width: 18px; height: 18px; transition: transform 0.45s var(--e-out); }
.btn:hover .i-arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--navy); }
.btn--line { border-color: var(--line-2); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper); }
.btn--ghost-l { border-color: rgba(255, 255, 255, 0.26); color: #fff; }
.btn--ghost-l:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn--sm { --bh: 42px; padding: 0 16px; font-size: 0.875rem; border-radius: 10px; }
.lnk-arr { display: inline-flex; align-items: center; gap: 10px; padding-block: 6px; font-size: 0.9375rem; font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.6s var(--e-out); }
.lnk-arr .i { width: 18px; height: 18px; transition: transform 0.45s var(--e-out); }
.lnk-arr:hover { background-size: 0 1px; background-position: 100% 100%; }
.lnk-arr:hover .i { transform: translateX(4px); }

/* ── En-tête ────────────────────────────────────────────────────────────── */
.hd { position: fixed; inset: 0 0 auto; z-index: 150; height: var(--hd-h); background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  transition: transform 0.6s var(--e-out), box-shadow 0.4s var(--e-out), background-color 0.4s var(--e-out); }
.hd.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.hd.is-hidden { transform: translateY(-101%); }
.hd.menu-open, .hd.mega-open { background: #fff; box-shadow: none; transform: none; }
.hd.mega-open { box-shadow: 0 1px 0 var(--line); }
.hd__in { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; }
.hd__nav { min-width: 0; }
.hd__links { display: flex; align-items: center; gap: 2px; margin-left: -12px; }
.lnk { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: 10px; font-size: 0.875rem; font-weight: 500; letter-spacing: -0.005em;
  white-space: nowrap; color: var(--ink); transition: color 0.35s var(--e-out), background-color 0.35s var(--e-out); }
.lnk .i { width: 15px; height: 15px; transition: transform 0.45s var(--e-out); }
.lnk .i-ur { width: 13px; height: 13px; margin-left: -2px; opacity: 0.6; }
.hd__links:hover > li > .lnk:not(:hover) { color: rgba(14, 20, 23, 0.42); }
.has-sub.is-open > .lnk, .has-mg.is-open > .lnk { background: var(--paper); color: var(--ink) !important; }
.has-sub.is-open > .lnk .i-chev, .has-mg.is-open > .lnk .i-chev { transform: rotate(180deg); }
.sw { display: inline-grid; overflow: hidden; line-height: 1.3; }
.sw > span { grid-area: 1 / 1; transition: transform 0.5s var(--e-out); }
.sw > span + span { transform: translateY(105%); }
.lnk:hover .sw > span:first-child, .lnk:focus-visible .sw > span:first-child { transform: translateY(-105%); }
.lnk:hover .sw > span + span, .lnk:focus-visible .sw > span + span { transform: translateY(0); }
.has-sub { position: relative; }
.hd__sub { position: absolute; top: calc(100% + 12px); left: 0; z-index: 2; display: grid; gap: 2px; width: 320px; padding: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--sh-2); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.985); transform-origin: 20% 0;
  transition: opacity 0.25s var(--e-out), transform 0.45s var(--e-out), visibility 0s linear 0.45s; }
.hd__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub.is-open .hd__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hd__sub a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; transition: background-color 0.3s var(--e-out); }
.hd__sub a:hover, .hd__sub a:focus-visible { background: var(--paper); }
.hd__sub b { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; }
.hd__sub small { font-size: 0.8125rem; color: var(--mute); }
.hd__logo { display: block; justify-self: center; padding: 6px 4px; }
.hd__logo img { width: auto; height: 34px; }
.hd__act { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.02em; }
.lang a { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 8px; color: var(--mute); transition: color 0.3s, background-color 0.3s; }
.lang a:hover { color: var(--ink); background: var(--paper); }
.lang a[aria-current] { color: var(--ink); }
.hd__ai { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 12px; border-radius: 10px; border: 1px solid var(--line-2);
  font-size: 0.875rem; font-weight: 600; white-space: nowrap; transition: border-color 0.35s var(--e-out), background-color 0.35s var(--e-out); }
.hd__ai .i { width: 17px; height: 17px; color: var(--sea); }
.hd__ai:hover { border-color: var(--ink); }
.hd__burger { display: none; position: relative; width: 44px; height: 44px; margin-left: -10px; border-radius: 10px; }
.hd__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform 0.5s var(--e-out), top 0.5s var(--e-out); }
.hd__burger span:first-child { top: 17px; }
.hd__burger span:last-child { top: 25px; }
.hd__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.hd__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* menu plein écran (≤ 1279 px) */
.mm { position: fixed; inset: 0; z-index: 149; background: #fff; padding-top: var(--hd-h); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--e-out), visibility 0s linear 0.4s; }
.mm.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mm__in { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-top: 12px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
/* menu mobile à tiroirs : cinq entrées, sous-menus qui glissent, contacts toujours visibles en bas */
.mm__in { gap: 24px; }
.mm__views { position: relative; display: grid; }
.mm__v { grid-area: 1 / 1; display: grid; align-content: start; gap: 14px; min-width: 0; }
.mm__v[hidden] { display: none; }
.mm__v.is-in-f { animation: mm-in-f 0.5s var(--e-out) both; }
.mm__v.is-in-b { animation: mm-in-b 0.5s var(--e-out) both; }
@keyframes mm-in-f { from { opacity: 0; transform: translateX(40px); } }
@keyframes mm-in-b { from { opacity: 0; transform: translateX(-40px); } }
.mm__ai { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); font-size: 1rem; font-weight: 500;
  color: var(--mute); text-align: left; }
.mm__ai .i { width: 19px; height: 19px; color: var(--sea); }
.mm__l, .mm__ls { display: grid; border-top: 1px solid var(--line); }
.mm__row, .mm__lk { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 72px; padding: 12px 0; border-bottom: 1px solid var(--line);
  text-align: left; color: var(--ink); }
.mm__row > span, .mm__lk > span { display: grid; gap: 3px; min-width: 0; }
.mm__row b { font-size: clamp(1.5rem, 1.15rem + 2vw, 2rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; }
.mm__lk b { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.mm__row small, .mm__lk small { font-size: 0.875rem; color: var(--mute); }
.mm__row .i, .mm__lk .i { flex: none; width: 22px; height: 22px; color: var(--mute); transition: transform 0.4s var(--e-out), color 0.3s; }
.mm__row:hover .i, .mm__lk:hover .i { transform: translateX(4px); color: var(--ink); }
.mm__cta { justify-self: start; --bh: 52px; margin-top: 6px; }
.mm__back { display: inline-flex; align-items: center; gap: 8px; justify-self: start; height: 44px; margin-left: -6px; padding: 0 10px 0 6px; border-radius: 10px; font-weight: 600; color: var(--mute); }
.mm__back:hover { color: var(--ink); background: var(--paper); }
.mm__back .i { width: 18px; height: 18px; }
.mm__t { font-size: clamp(2rem, 1.5rem + 3vw, 2.8rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.mm__k { margin-top: 10px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.mm__dest { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .mm__dest { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; } }
.mm__dest a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mm__dest a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm__dest i { font-style: normal; font-size: 0.8125rem; font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; }
.mm__foot { position: sticky; bottom: 0; display: grid; gap: 14px; padding: 14px 0 calc(6px + env(safe-area-inset-bottom)); background: #fff; }
.mm__q { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mm__q a { display: grid; justify-items: center; gap: 6px; padding: 12px 6px 10px; border-radius: 14px; background: var(--bg-soft); font-size: 0.8125rem; font-weight: 600; }
.mm__q a:hover { background: var(--paper); }
.mm__q .i { width: 20px; height: 20px; }
.mm__q .i-wa { color: #1f9d55; }
.mm__fl { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mm__hours { font-size: 0.8125rem; color: var(--mute); }
.mm .lang { gap: 6px; }
.mm .lang a { border: 1px solid var(--line); height: 40px; min-width: 52px; }
.mm .lang a[aria-current] { border-color: var(--ink); }

/* grands panneaux (≥ 1280 px) : liens décrits, communes avec leur nombre de biens, une photo ; ouverts au survol (avec
   intention), au clic ou au clavier ; la hauteur suit le panneau, le contenu se croise en fondu (Rich Navigation Menu,
   Navbar Section 2 — 21st.dev ; menus par colonnes — Mobbin) */
.mg { position: absolute; left: 0; right: 0; top: 100%; height: 0; overflow: hidden; background: #fff; box-shadow: 0 1px 0 var(--line), 0 30px 60px -36px rgba(14, 20, 23, 0.4);
  visibility: hidden; transition: height 0.5s var(--e-out), visibility 0s linear 0.5s; }
.mg.is-open { visibility: visible; transition: height 0.5s var(--e-out), visibility 0s; }
.mg__p { position: absolute; left: 0; right: 0; top: 0; opacity: 0; visibility: hidden; transition: opacity 0.25s var(--e-out), visibility 0s linear 0.25s; }
.mg__p.is-on { opacity: 1; visibility: visible; transition: opacity 0.4s var(--e-out) 0.08s, visibility 0s; }
.mg__g { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr) minmax(0, 0.8fr); gap: clamp(28px, 3.4vw, 64px); padding-top: 32px; padding-bottom: 40px; }
.mg__p.is-on .mg__g > * { animation: mg-in 0.6s var(--e-out) both; }
.mg__p.is-on .mg__g > :nth-child(2) { animation-delay: 0.05s; }
.mg__p.is-on .mg__g > :nth-child(3) { animation-delay: 0.1s; }
@keyframes mg-in { from { opacity: 0; transform: translateY(10px); } }
.mg__main, .mg__col { display: grid; align-content: start; gap: 4px; min-width: 0; }
.mg__k { margin-bottom: 8px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.mg__big { position: relative; display: grid; gap: 3px; padding: 14px 44px 14px 16px; margin-left: -16px; border-radius: 14px; transition: background-color 0.3s var(--e-out); }
.mg__big b { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.mg__big span { font-size: 0.875rem; line-height: 1.45; color: var(--mute); }
.mg__big .i { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--mute); opacity: 0; transform: translateX(-6px);
  transition: opacity 0.3s var(--e-out), transform 0.4s var(--e-out); }
.mg__big:hover, .mg__big:focus-visible { background: var(--bg-soft); }
.mg__big:hover .i, .mg__big:focus-visible .i { opacity: 1; transform: none; }
.mg__k--2 { margin-top: 18px; }
.mg__bud { display: flex; flex-wrap: nowrap; gap: 6px; }
.mg__bud a { display: inline-flex; align-items: center; height: 34px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; white-space: nowrap; font-size: 0.75rem;
  font-weight: 600; transition: border-color 0.25s, background-color 0.25s, color 0.25s; }
.mg__bud a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.mm__bud { display: flex; flex-wrap: nowrap; gap: 8px; margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) 4px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.mm__bud::-webkit-scrollbar { display: none; }
.mm__bud li { flex: none; }
.mm__bud a { display: inline-flex; align-items: center; height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; white-space: nowrap; font-size: 0.875rem; font-weight: 600; }
.mg__lnk { display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin-top: 10px; font-size: 0.875rem; font-weight: 600; color: var(--sea); }
.mg__lnk .i { width: 16px; height: 16px; transition: transform 0.4s var(--e-out); }
.mg__lnk:hover .i { transform: translateX(3px); }
.mg__dest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.mg__dest a { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 42px; border-bottom: 1px solid var(--line); font-size: 0.9375rem; font-weight: 500;
  transition: color 0.25s, padding 0.4s var(--e-out); }
.mg__dest a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mg__dest i { flex: none; min-width: 26px; padding: 2px 7px; border-radius: 999px; background: var(--bg-soft); font-style: normal; font-size: 0.75rem; font-weight: 600; text-align: center;
  color: var(--ink-2); font-variant-numeric: tabular-nums; transition: background-color 0.25s, color 0.25s; }
.mg__dest a:hover { padding-left: 4px; }
.mg__dest a:hover i { background: var(--ink); color: #fff; }
.mg__card { position: relative; display: block; min-height: 250px; border-radius: var(--r-md); overflow: hidden; background: var(--paper); isolation: isolate; }
.mg__card picture, .mg__card img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mg__card img { object-fit: cover; transition: transform 1.2s var(--e-out); }
.mg__card:hover img { transform: scale(1.04); }
.mg__ct { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: #fff; }
.mg__ct b { font-size: 0.9375rem; font-weight: 600; }
.mg__ct small { display: -webkit-box; overflow: hidden; font-size: 0.8125rem; line-height: 1.45; color: var(--mute); -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.mg__office { display: grid; align-content: start; gap: 10px; padding: 22px 24px; border-radius: var(--r-md); background: var(--bg-soft); }
.mg__office address { font-style: normal; font-weight: 500; line-height: 1.5; }
.mg__h { font-size: 0.875rem; color: var(--mute); }
.mg__office a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.mg__office .i { width: 18px; height: 18px; color: var(--mute); }
.mg__office .i-wa { color: #1f9d55; }
.mg-veil { position: fixed; inset: 0; z-index: 148; background: rgba(14, 20, 23, 0.22); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--e-out), visibility 0s linear 0.4s; }
.mg-veil.is-on { opacity: 1; visibility: visible; transition: opacity 0.4s var(--e-out), visibility 0s; }
.lnk.is-current::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 1.5px; border-radius: 2px; background: currentColor; opacity: 0.55; }
.has-mg.is-open > .lnk.is-current::after { opacity: 0; }
@media (max-width: 1279px) { .mg, .mg-veil { display: none; } }
@media (prefers-reduced-motion: reduce) { .mg, .mg__p, .mg-veil { transition: none !important; } .mg__p.is-on .mg__g > *, .mm__v.is-in-f, .mm__v.is-in-b { animation: none !important; } }

/* six liens autour du logo centré : resserrés sous 1440 px, « À propos » replié sous 1366 px, menu plein écran sous 1280 px */
@media (max-width: 1599px) { .hd__links .lnk { padding: 0 6px; gap: 4px; font-size: 0.8125rem; } .hd__links { margin-left: -6px; } .lnk.is-current::after { left: 6px; right: 6px; } }
@media (max-width: 1365px) { .hd__links .lnk { padding: 0 5px; } .hd__links .lnk .i { width: 13px; height: 13px; } }
@media (max-width: 1365px) { .hd__links .hd__opt { display: none; } }
@media (max-width: 1279px) {
  .hd__nav, .hd__act .lang { display: none; }
  .hd__burger { display: block; justify-self: start; }
  .hd__logo img { height: 30px; }
}
@media (max-width: 640px) {
  .hd__cta { display: none; }
  .hd__ai { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .hd__ai span { display: none; }
  .hd__logo img { height: 26px; }
}

/* en-tête posé sur la photo d'accueil tant que la page n'a pas défilé (classe is-over, posée par le HTML et retirée par js/v5.js) */
.lg--light { display: none; }
.js .hd.is-over:not(.menu-open):not(.mega-open) { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.js .hd.is-over:not(.menu-open):not(.mega-open) .lg--dark { display: none; }
.js .hd.is-over:not(.menu-open):not(.mega-open) .lg--light { display: block; }
.js .hd.is-over:not(.menu-open):not(.mega-open) .lnk, .js .hd.is-over:not(.menu-open):not(.mega-open) .lang a[aria-current] { color: #fff; }
.js .hd.is-over:not(.menu-open):not(.mega-open) .lang a { color: rgba(255, 255, 255, 0.72); }
.js .hd.is-over:not(.menu-open):not(.mega-open) .lang a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.js .hd.is-over:not(.menu-open):not(.mega-open) .hd__links:hover > li > .lnk:not(:hover) { color: rgba(255, 255, 255, 0.62); }
.js .hd.is-over:not(.menu-open):not(.mega-open) .has-sub.is-open > .lnk { background: rgba(255, 255, 255, 0.16); color: #fff !important; }
.js .hd.is-over:not(.menu-open):not(.mega-open) .hd__ai { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.js .hd.is-over:not(.menu-open):not(.mega-open) .hd__ai .i { color: #fff; }
.js .hd.is-over:not(.menu-open):not(.mega-open) .hd__ai:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.js .hd.is-over:not(.menu-open):not(.mega-open) .hd__cta { background: #fff; color: var(--ink); }
.js .hd.is-over:not(.menu-open):not(.mega-open) .hd__cta:hover { background: var(--paper); }
.js .hd.is-over:not(.menu-open):not(.mega-open) .hd__burger span { background: #fff; }
.js .hd.is-over:not(.menu-open):not(.mega-open) :focus-visible { outline-color: #fff; }

/* ── Hero : photo pleine largeur, note et titre posés sur l'image, moteur à cheval sur le bas ── */
.hero { position: relative; z-index: 3; background: var(--bg-soft); }
.hero__media { position: relative; height: clamp(600px, calc(100svh - 64px), 1060px); overflow: hidden; background: var(--navy); }
.hero__media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(3, 12, 17, 0.55) 0%, rgba(3, 12, 17, 0.18) 17%, rgba(3, 12, 17, 0) 30%),
              radial-gradient(ellipse 70% 62% at 26% 78%, rgba(3, 12, 17, 0.42) 0%, rgba(3, 12, 17, 0) 70%),
              linear-gradient(0deg, rgba(3, 12, 17, 0.76) 0%, rgba(3, 12, 17, 0.46) 24%, rgba(3, 12, 17, 0.16) 48%, rgba(3, 12, 17, 0) 66%); }
.hero__pic, .hero__pic img { width: 100%; height: 100%; }
.hero__pic img { object-fit: cover; object-position: 50% 50%; }
.hero__content { position: absolute; z-index: 2; left: 50%; bottom: calc(46px + 50px + clamp(28px, 4.5vh, 56px)); width: min(1060px, calc(100% - 64px)); transform: translateX(-50%);
  display: grid; justify-items: start; gap: 20px; color: #fff; }
.hero__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 0.875rem; font-weight: 500; color: #fff; text-shadow: 0 1px 14px rgba(3, 12, 17, 0.5); }
.hero__rating b { color: #fff; font-weight: 700; }
.hero__stars { display: inline-flex; gap: 4px; color: #f0dfb6; filter: drop-shadow(0 1px 8px rgba(3, 12, 17, 0.55)); }
.hero__stars svg { width: 17px; height: 17px; }
.hero__h { max-width: 11.6em; font-size: clamp(2.6rem, 1rem + 4.3vw, 5.4rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.048em; color: #fff; text-wrap: balance;
  text-shadow: 0 2px 40px rgba(3, 12, 17, 0.28); }
.hero__cap { position: absolute; right: 0; bottom: calc(100% + 10px); display: flex; align-items: center; gap: 10px; max-width: min(400px, calc(100% - 260px)); height: 40px; padding: 0 12px 0 14px; border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  color: #fff; font-size: 0.8125rem; line-height: 1.3; transition: background-color 0.35s var(--e-out); }
.hero__cap span { flex: none; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.78; }
.hero__cap b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__cap .i { width: 16px; height: 16px; flex: none; transition: transform 0.45s var(--e-out); }
.hero__cap:hover { background: rgba(255, 255, 255, 0.2); }
.hero__cap:hover .i { transform: translateX(3px); }

/* moteur de recherche (classique + IA) */
.finder { position: absolute; z-index: 5; left: 50%; bottom: 0; width: min(1060px, calc(100% - 64px)); transform: translate(-50%, 50%); }
.finder__tabs { position: absolute; left: 0; bottom: calc(100% + 10px); display: flex; gap: 6px; }
.finder__tabs [role="tab"] { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 13px; border-radius: 11px; font-size: 0.875rem; font-weight: 600;
  color: #fff; background: rgba(14, 20, 23, 0.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: background-color 0.35s var(--e-out), color 0.35s var(--e-out); }
.finder__tabs [role="tab"] .i { width: 16px; height: 16px; }
.finder__tabs [role="tab"]:hover { background: rgba(14, 20, 23, 0.66); }
.finder__tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--ink); }
.finder__tabs [role="tab"][aria-selected="true"] .i-spark { color: var(--sea); }
.finder__box { background: #fff; border-radius: 20px; box-shadow: var(--sh-2); padding: 10px; }
.finder__form { display: grid; grid-template-columns: 1.05fr 1.15fr 1fr auto; align-items: stretch; }
.fld { position: relative; display: grid; align-content: center; gap: 3px; min-width: 0; min-height: 72px; padding: 12px 44px 12px 22px; border-radius: 14px; cursor: pointer; transition: background-color 0.3s var(--e-out); }
.fld + .fld::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--line); }
.fld:hover, .fld.is-open { background: var(--paper); }
.fld:hover::before, .fld:hover + .fld::before, .fld.is-open::before, .fld.is-open + .fld::before { opacity: 0; }
.fld label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); cursor: pointer; }
.fld select { appearance: none; -webkit-appearance: none; width: 100%; min-width: 0; padding: 0; border: 0; background: transparent; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink); cursor: pointer; text-overflow: ellipsis; }
.fld select:focus-visible { outline: none; }
.fld:focus-within { box-shadow: inset 0 0 0 2px var(--sea); }
.fld.is-enh:focus-within { box-shadow: none; }
.fld > .i-chev { position: absolute; right: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: var(--mute); pointer-events: none; transition: transform 0.45s var(--e-out); }
.fld.is-open > .i-chev { transform: rotate(180deg); }
/* listes déroulantes enrichies (souris / trackpad) — la liste native reste sur écran tactile */
.fld.is-enh select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.fld__btn { display: block; width: 100%; text-align: left; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fld__btn::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.fld__btn:focus-visible { outline: none; }
.fld__btn:focus-visible::after { box-shadow: inset 0 0 0 2px var(--sea); }
.fld__list { position: absolute; z-index: 20; top: calc(100% + 12px); left: 0; min-width: max(100%, 260px); max-height: 340px; overflow-y: auto; overscroll-behavior: contain;
  padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-2); outline: none;
  opacity: 0; transform: translateY(-6px); transition: opacity 0.22s var(--e-out), transform 0.4s var(--e-out); }
.fld.is-open .fld__list { opacity: 1; transform: none; }
.fld__list [role="option"] { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 12px; border-radius: 10px; font-size: 0.9375rem; font-weight: 500; cursor: pointer; }
.fld__list [role="option"] small { font-size: 0.75rem; font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; }
.fld__list [role="option"].is-active { background: var(--paper); }
.fld__list [role="option"][aria-selected="true"] { font-weight: 700; }
.fld__list [role="option"][aria-selected="true"]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); flex: none; order: 3; }
.finder__go { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 150px; margin-left: 8px; padding: 0 26px; border-radius: 14px; background: var(--ink); color: #fff;
  font-size: 0.9375rem; font-weight: 600; transition: background-color 0.35s var(--e-out), transform 0.35s var(--e-out); }
.finder__go .i { width: 19px; height: 19px; }
.finder__go:hover { background: var(--navy); }
.finder__go:active { transform: scale(0.98); }
.finder__ai { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 72px; }
.finder__ai[hidden], .finder__form[hidden] { display: none; }
.finder__ai > .i-spark { width: 20px; height: 20px; margin: 0 4px 0 18px; color: var(--sea); }
.finder__ai input { width: 100%; min-width: 0; height: 100%; padding: 0 14px; border: 0; background: transparent; font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; color: var(--ink); }
.finder__ai input::placeholder { color: #8a9297; opacity: 1; }
.finder__ai input:focus { outline: none; }
.finder__ai:focus-within { box-shadow: inset 0 0 0 2px var(--sea); border-radius: 14px; }
.finder__ai .finder__go { align-self: stretch; }

/* ── Sections ───────────────────────────────────────────────────────────── */
.sec { position: relative; padding-block: clamp(88px, 9vw, 144px); }
.sec__head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec__head--center { justify-items: center; text-align: center; }
.sec__head--center .h2 { max-width: 18ch; }
.sec__head--center .lead { max-width: 58ch; }
.sec__head--center .lnk-arr { margin-top: 2px; }
.sec__head--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: clamp(28px, 6vw, 112px); }
.sec__head--split .h2 { margin-top: 18px; max-width: 16ch; }
.sec__aside { display: grid; gap: 22px; justify-items: start; max-width: 520px; padding-bottom: 4px; }

/* sélection de biens : carrousel à mise au point */
.props { background: #fff; }
.seg { position: relative; display: inline-flex; gap: 2px; margin-top: 10px; padding: 5px; border-radius: 15px; background: var(--paper); }
.seg [role="tab"] { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 11px; font-size: 0.9rem; font-weight: 600;
  color: var(--mute); white-space: nowrap; transition: color 0.35s var(--e-out); }
.seg [role="tab"]:hover, .seg [role="tab"][aria-selected="true"] { color: var(--ink); }
.seg__s { display: none; }
.seg__n { font-size: 0.75rem; font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; }
.seg__pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 11px; background: #fff;
  box-shadow: 0 1px 2px rgba(14, 20, 23, 0.06), 0 6px 16px -8px rgba(14, 20, 23, 0.22); transition: transform 0.6s var(--e-out), width 0.6s var(--e-out); }
.no-js .seg [role="tab"][aria-selected="true"] { background: #fff; }
.rail { position: relative; }
.rail__panel[hidden] { display: none; }
.rail__track { --cw: clamp(270px, 27vw, 400px); --gap: clamp(18px, 2.2vw, 36px); position: relative; display: flex; gap: var(--gap); overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 16px calc(50% - var(--cw) / 2) 28px; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track.is-drag { scroll-snap-type: none; }
.rail__track.is-drag * { pointer-events: none; }
.pc { --a: 0; position: relative; flex: 0 0 var(--cw); scroll-snap-align: center; transform: scale(calc(1 - 0.12 * var(--a))); transform-origin: 50% 38%;
  will-change: transform; user-select: none; -webkit-user-select: none; }
.pc__img { opacity: calc(1 - 0.14 * var(--a)); }
.pc__body { opacity: calc(1 - var(--a)); }
.pc__link { display: block; border-radius: var(--r-md); }
.pc__img { position: relative; aspect-ratio: 4 / 5; isolation: isolate; border-radius: var(--r-md); overflow: hidden; background: var(--paper); }
.pc__img picture, .pc__img img { width: 100%; height: 100%; }
.pc__img img { object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--e-out); }
.pc__link:hover .pc__img img { transform: scale(1.06); }
.pc__alt { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 0.45s var(--e-out); }
.pc__alt.is-on { opacity: 1; }
.pc__alt img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--e-out); }
.pc__link:hover .pc__alt img { transform: scale(1.06); }
.pc__ticks { position: absolute; z-index: 3; left: 16px; right: 16px; top: 16px; display: flex; gap: 5px; opacity: 0; transition: opacity 0.4s var(--e-out); pointer-events: none; }
.pc__ticks i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.42); box-shadow: 0 1px 6px rgba(3, 12, 17, 0.25); transition: background-color 0.3s var(--e-out); }
.pc__ticks i.is-on { background: #fff; }
.pc__link:hover .pc__ticks, .pc.is-auto .pc__ticks { opacity: 1; }
.pc__go { position: absolute; z-index: 3; right: 16px; bottom: 16px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(14, 20, 23, 0.45); opacity: 0; transform: scale(0.6); transition: opacity 0.4s var(--e-out), transform 0.6s var(--e-out), background-color 0.35s, color 0.35s; }
.pc__go .i { width: 22px; height: 22px; transition: transform 0.5s var(--e-out); }
.pc.is-active .pc__go { opacity: 1; transform: none; }
.pc__link:hover .pc__go { background: var(--ink); color: #fff; }
.pc__link:hover .pc__go .i { transform: rotate(45deg); }
.pc__body { display: grid; gap: 7px; padding: 18px 4px 0; }
.pc__loc { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.pc__t { font-size: 1.0625rem; font-weight: 600; line-height: 1.32; letter-spacing: -0.018em; min-height: 2.64em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.pc__specs { font-size: 0.875rem; color: var(--ink-2); }
.pc__price { font-size: 0.975rem; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pc__price small { margin-left: 5px; font-size: 0.8125rem; font-weight: 500; color: var(--mute); }
.rail__ctrl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: clamp(18px, 2.6vw, 40px); margin-top: 18px; }
.rail__count { font-size: 0.875rem; color: var(--mute); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.rail__count b { color: var(--ink); font-weight: 700; }
.rail__bar { position: relative; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.rail__bar span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); border-radius: 2px; transition: transform 0.7s var(--e-out); }
.rail__arrows { display: flex; gap: 10px; }
.rail__arrows button { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink);
  transition: background-color 0.35s var(--e-out), color 0.35s var(--e-out), border-color 0.35s var(--e-out), opacity 0.3s; }
.rail__arrows button:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.rail__arrows button:disabled { opacity: 0.32; cursor: default; }

/* destinations : panneaux qui s'ouvrent */
.dest { background: var(--bg-soft); }
.xp { display: flex; gap: 12px; height: clamp(480px, 42vw, 620px); }
.xp__item { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: #fff; background: var(--navy);
  transition: flex-grow 0.9s var(--e-out); }
.xp__item.is-on { flex-grow: 4.4; }
.xp__pic, .xp__pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.xp__pic img { object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--e-out), filter 0.9s var(--e-out); filter: saturate(0.82) brightness(0.92); }
.xp__item.is-on .xp__pic img { transform: scale(1); filter: none; }
.xp__item::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(4, 12, 16, 0.06) 0%, rgba(4, 12, 16, 0) 24%, rgba(4, 12, 16, 0.42) 54%, rgba(4, 12, 16, 0.88) 100%); pointer-events: none; }
.xp__body, .xp__v { text-shadow: 0 1px 18px rgba(4, 12, 16, 0.35); }
.xp__v { position: absolute; z-index: 2; left: 50%; bottom: 30px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); font-size: 1.125rem; font-weight: 600;
  letter-spacing: -0.01em; white-space: nowrap; transition: opacity 0.35s var(--e-out); }
.xp__item.is-on .xp__v { opacity: 0; transition-delay: 0s; }
.xp__body { position: absolute; z-index: 2; left: 0; bottom: 0; display: grid; justify-items: start; gap: 12px; width: min(560px, 100%); padding: clamp(24px, 2.6vw, 40px);
  opacity: 0; transform: translateY(18px); transition: opacity 0.3s var(--e-out), transform 0.6s var(--e-out); }
.xp__item.is-on .xp__body { opacity: 1; transform: none; transition: opacity 0.6s var(--e-out) 0.3s, transform 0.9s var(--e-out) 0.3s; }
.xp__tag { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.82; }
.xp__t { font-size: clamp(1.9rem, 1.2rem + 1.7vw, 2.9rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.xp__d { max-width: 42ch; font-size: 0.975rem; line-height: 1.55; opacity: 0.9; }
.xp__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; height: 44px; padding: 0 16px; border-radius: 11px; background: #fff; color: var(--ink);
  font-size: 0.875rem; font-weight: 600; transition: background-color 0.35s var(--e-out); }
.xp__more .i { width: 17px; height: 17px; transition: transform 0.45s var(--e-out); }
.xp__item:hover .xp__more .i-arrow { transform: translateX(3px); }
.xp__item:focus-visible { outline-offset: 4px; }

/* prix du m² : ligne d'horizon 3D le long de la côte (section marine) ; sans 3D, la même liste en barres */
.pxs { background: var(--navy); color: var(--on-navy); overflow: hidden; }
.pxs .h2 { color: #fff; }
.pxs .sec__head--center .h2 { max-width: 20ch; }
.pxs .lead { color: var(--on-navy-2); }
.px { display: grid; gap: 22px; }
.px__ctrl { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.px__type { display: inline-flex; gap: 2px; padding: 3px; border-radius: 13px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--navy-line); }
.px__type button { min-height: 40px; padding: 0 18px; border-radius: 10px; font-size: 0.875rem; font-weight: 600; color: var(--on-navy-2); transition: background-color 0.3s var(--e-out), color 0.3s var(--e-out); }
.px__type button:hover { color: #fff; }
.px__type button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.px__budget { display: flex; align-items: center; gap: 16px; font-size: 0.875rem; color: var(--on-navy-2); }
.px__budget output { min-width: 5.5em; font-size: 1rem; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.px__budget input { -webkit-appearance: none; appearance: none; width: clamp(170px, 22vw, 320px); height: 28px; background: transparent; cursor: pointer; }
.px__budget input::-webkit-slider-runnable-track { height: 2px; border-radius: 2px; background: rgba(238, 242, 243, 0.28); }
.px__budget input::-moz-range-track { height: 2px; border-radius: 2px; background: rgba(238, 242, 243, 0.28); }
.px__budget input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(240, 223, 182, 0.22); }
.px__budget input::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(240, 223, 182, 0.22); }
.px__budget input:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 6px; }
.px__stage { position: relative; display: grid; gap: 18px; }
.px__card { display: grid; gap: 4px; justify-items: start; align-content: start; padding: 22px 24px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--navy-line); }
.px__cn { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-navy-2); }
.px__cv { margin-top: 4px; font-size: 0.9375rem; color: var(--on-navy-2); }
.px__cv b { font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.5rem); font-weight: 500; letter-spacing: -0.04em; color: #fff; font-variant-numeric: tabular-nums; }
.px__cm { font-size: 0.8125rem; color: var(--on-navy-2); }
.px__cf { margin-top: 8px; font-size: 1rem; font-weight: 600; color: #f0dfb6; }
.px__card .lnk-arr { margin-top: 10px; color: #fff; }
.px__list { display: grid; gap: 4px; }
.px__t { position: relative; isolation: isolate; display: flex; align-items: baseline; gap: 14px; width: 100%; padding: 12px 16px; border-radius: 11px; overflow: hidden; text-align: left; color: var(--on-navy); transition: background-color 0.3s var(--e-out); }
.px__t::before { content: ""; position: absolute; inset: 0 auto 0 0; z-index: -1; width: calc(max(var(--v), 0.015) * 100%); border-radius: inherit;
  background: linear-gradient(90deg, rgba(44, 106, 138, 0.25), rgba(44, 106, 138, 0.5)); transition: width 0.7s var(--e-out), background 0.3s var(--e-out); }
.px__t:hover { background: rgba(255, 255, 255, 0.04); }
.px__t[aria-pressed="true"]::before { background: linear-gradient(90deg, rgba(240, 223, 182, 0.22), rgba(240, 223, 182, 0.42)); }
.px__tn { flex: 1; font-weight: 600; }
.px__sn { display: none; }
.px__tv { font-weight: 600; font-variant-numeric: tabular-nums; }
.px__tf { min-width: 6.5em; text-align: right; font-size: 0.8125rem; color: var(--on-navy-2); font-variant-numeric: tabular-nums; }
.px__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; padding-top: 18px; border-top: 1px solid var(--navy-line); }
.px__src { max-width: 78ch; font-size: 0.75rem; line-height: 1.6; color: var(--on-navy-2); }
.px__foot .lnk-arr { color: #fff; }
/* 3D active : la scène, les valeurs au sommet des colonnes ; sur grand écran, les noms au pied des colonnes */
.px__gl { position: relative; aspect-ratio: 1 / 0.95; touch-action: pan-y; }
.px__gl canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.px__tops { position: absolute; inset: 0; pointer-events: none; }
.px__top { position: absolute; left: 0; top: 0; padding: 3px 7px; border-radius: 7px; font-size: 0.75rem; font-weight: 600; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums;
  transform: translate(-50%, -100%); transition: background-color 0.3s var(--e-out), color 0.3s var(--e-out); will-change: transform; }
.px__top.is-on { background: #f0dfb6; color: var(--ink); }
@media (max-width: 760px) {
  .px__type { display: flex; width: 100%; }
  .px__type button { flex: 1; min-height: 44px; }
  .px__budget { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; width: 100%; }
  .px__budget input { grid-column: 1 / -1; width: 100%; height: 36px; }
  .px__budget output { grid-row: 1; grid-column: 2; min-width: 0; text-align: right; }
  .px__tf { min-width: 0; }
}
@media (max-width: 980px) {
  .px.is-3d .px__top:not(.is-on) { display: none; }
  .px.is-3d .px__list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-snap-type: x proximity; }
  .px.is-3d .px__list::-webkit-scrollbar { display: none; }
  .px.is-3d .px__list li { flex: none; scroll-snap-align: start; }
  .px.is-3d .px__t { display: grid; gap: 2px; width: auto; min-width: 128px; padding: 12px 14px; border: 1px solid var(--navy-line); }
  .px.is-3d .px__t::before { display: none; }
  .px.is-3d .px__t[aria-pressed="true"] { border-color: #f0dfb6; background: rgba(240, 223, 182, 0.08); }
  .px.is-3d .px__tf { min-width: 0; text-align: left; }
}
@media (min-width: 981px) {
  .px.is-3d .px__stage { display: block; aspect-ratio: 2.25 / 1; }
  .px.is-3d .px__gl { position: absolute; inset: 0; aspect-ratio: auto; }
  .px.is-3d .px__card { position: absolute; z-index: 2; left: 0; top: 0; width: min(310px, 30%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .px.is-3d .px__list { position: absolute; inset: 0; display: block; pointer-events: none; }
  .px.is-3d .px__list li { position: absolute; left: 0; top: 0; will-change: transform; }
  .px.is-3d .px__t { display: grid; justify-items: center; gap: 1px; width: max-content; padding: 8px 10px; transform: translate(-50%, 6px); text-align: center; pointer-events: auto; background: none; }
  .px.is-3d .px__t::before { display: none; }
  .px.is-3d .px__t:hover .px__sn, .px.is-3d .px__t[aria-pressed="true"] .px__sn { color: #fff; }
  .px.is-3d .px__sn { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.01em; color: var(--on-navy-2); transition: color 0.3s var(--e-out); }
  .px.is-3d .px__fn, .px.is-3d .px__tv { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .px.is-3d .px__tf { min-width: 0; text-align: center; font-size: 0.75rem; color: #f0dfb6; }
}

/* recherche par IA */
.aisec { background: #fff; }
.aisec__card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: clamp(32px, 6vw, 96px); border-radius: var(--r-xl); background: var(--bg-blue); overflow: hidden; isolation: isolate; }
.aisec__card::before { content: ""; position: absolute; z-index: -1; right: -12%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(44, 106, 138, 0.13), rgba(44, 106, 138, 0)); }
.aisec__txt { display: grid; gap: 20px; justify-items: start; }
.aisec__txt .eyebrow { color: var(--sea); }
.aisec__txt .h2 { max-width: 14ch; }
.aisec__ui { display: grid; gap: 18px; }
.composer { display: grid; background: #fff; border-radius: 20px; box-shadow: var(--sh-1); border: 1px solid var(--line); transition: box-shadow 0.4s var(--e-out), border-color 0.4s var(--e-out); }
.composer:focus-within { border-color: var(--sea); box-shadow: 0 0 0 3px rgba(44, 106, 138, 0.14), var(--sh-1); }
.composer textarea { width: 100%; min-height: 128px; padding: 24px 24px 8px; border: 0; background: transparent; resize: none; font-size: 1.125rem; font-weight: 500; line-height: 1.5;
  letter-spacing: -0.012em; color: var(--ink); }
.composer textarea::placeholder { color: #8a9297; opacity: 1; }
.composer textarea:focus { outline: none; }
.composer__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 24px; }
.composer__note { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--mute); }
.composer__note .i { width: 15px; height: 15px; color: var(--sea); }
.aisec__ex { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem; font-weight: 500; line-height: 1.35; text-align: left; transition: border-color 0.3s var(--e-out), background-color 0.3s var(--e-out); }
.chip:hover { border-color: var(--ink); background: #fff; }
html:not(.has-ai) [data-ai-ui], html:not(.has-ai) .finder__tabs { display: none !important; }

/* ── Réassurance, sous le moteur : chiffres clés, puis plateformes partenaires ── */
.trust { background: var(--bg-soft); padding: calc(46px + clamp(56px, 5.5vw, 84px)) 0 clamp(56px, 5.5vw, 84px); }
.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1060px; margin-inline: auto; }
.figs > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: center; gap: 12px; padding: 4px clamp(12px, 2vw, 28px); text-align: center; }
.figs > div + div { border-left: 1px solid var(--line-2); }
.figs dd { font-size: clamp(2.2rem, 1.35rem + 2.1vw, 3.4rem); font-weight: 500; line-height: 1; letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.figs dt { max-width: 18ch; font-size: 0.875rem; line-height: 1.45; color: var(--mute); text-wrap: balance; }
/* plateformes partenaires : défilement continu, discret */
.partners { margin-top: clamp(56px, 5.5vw, 84px); }
.partners__t { margin-bottom: clamp(22px, 2.4vw, 34px); text-align: center; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
.partners__mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
.partners__track { display: flex; align-items: center; width: max-content; animation: partners 66s linear infinite; }
.partners__track li { flex: none; display: flex; align-items: center; height: 76px; padding-inline: clamp(36px, 4.4vw, 68px); }
.partners__mq:hover .partners__track { animation-play-state: paused; }
@keyframes partners { to { transform: translate3d(-50%, 0, 0); } }
.portal { display: block; }
.portal img { height: var(--h, 24px); width: auto; filter: grayscale(1); opacity: 0.6; transition: filter 0.45s var(--e-out), opacity 0.45s var(--e-out); }
.portal--jamesedition { --h: 25px; } .portal--residences-immobilier { --h: 46px; } .portal--bellesdemeures { --h: 58px; } .portal--lux-residence { --h: 66px; }
.portal:hover img, .portal:focus-visible img { filter: none; opacity: 1; }

/* agence : la photo des fondateurs et une histoire courte, en deux colonnes (bande marine) */
.agency { background: var(--navy); color: var(--on-navy); }
.ag { display: grid; grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 128px); align-items: center; }
.ag__img { aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-2); clip-path: inset(0 round var(--r-lg)); }
.ag__img picture, .ag__img img { width: 100%; height: 100%; }
.ag__img img { object-fit: cover; }
.ag__photo figcaption { margin-top: 16px; font-size: 0.8125rem; line-height: 1.5; color: var(--on-navy-2); }
.ag__body { display: grid; justify-items: start; }
.ag__body .h2 { margin-top: 20px; color: #fff; }
.ag__p { margin-top: 24px; max-width: 46ch; font-size: clamp(1rem, 0.94rem + 0.22vw, 1.125rem); line-height: 1.65; color: var(--on-navy-2); text-wrap: pretty; }
.ag__commit { width: 100%; margin-top: clamp(32px, 3.4vw, 44px); }
.ag__k { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-navy-2); }
.ag__commit ul { margin-top: 14px; }
.ag__commit li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 14px; padding: 15px 0; border-top: 1px solid var(--navy-line);
  font-size: 0.9375rem; line-height: 1.5; color: var(--on-navy); text-wrap: pretty; }
.ag__commit li:last-child { border-bottom: 1px solid var(--navy-line); }
.ag__commit .i-check { width: 18px; height: 18px; margin-top: 2px; color: #fff; }
.ag__body .lnk-arr { margin-top: 32px; color: #fff; }

/* services */
.svc__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.svc__list { border-top: 1px solid var(--line); }
.svc__row { border-bottom: 1px solid var(--line); }
.svc__a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: "n t go" ". d d"; align-items: center; column-gap: 12px; padding: 30px 0 26px; }
.svc__n { grid-area: n; font-size: 0.8125rem; font-weight: 600; color: var(--mute); font-variant-numeric: tabular-nums; }
.svc__t { grid-area: t; font-size: clamp(2rem, 1.2rem + 2.4vw, 3.4rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1; color: #8a8f91;
  transition: color 0.5s var(--e-out), transform 0.7s var(--e-out); }
.svc__go { grid-area: go; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink);
  transition: background-color 0.4s var(--e-out), border-color 0.4s var(--e-out), color 0.4s var(--e-out), transform 0.6s var(--e-out); }
.svc__go .i { width: 19px; height: 19px; }
.svc__d { grid-area: d; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.7s var(--e-out); }
.svc__d > span { overflow: hidden; display: grid; gap: 14px; align-content: start; max-width: 46ch; color: var(--ink-2); font-size: 1rem; line-height: 1.6; }
.svc__d > span::before { content: ""; height: 14px; }
.svc__d em { font-style: normal; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.svc__row.is-on .svc__t { color: var(--ink); transform: translateX(6px); }
.svc__row.is-on .svc__go { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(-45deg); }
.svc__row.is-on .svc__d { grid-template-rows: 1fr; }
.svc__mpic { display: none; }
.svc__media { position: sticky; top: calc(var(--hd-h) + 32px); aspect-ratio: 5 / 5.4; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.svc__fig { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--e-out); }
.svc__fig.is-on { opacity: 1; }
.svc__fig picture, .svc__fig img { width: 100%; height: 100%; }
.svc__fig img { object-fit: cover; transform: scale(1.08); transition: transform 1.8s var(--e-out); }
.svc__fig.is-on img { transform: none; }

/* toujours en recherche : formulaire */
.contact { background: #fff; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 12px; }
.contact__img { position: relative; min-height: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--paper); clip-path: inset(0 round var(--r-lg)); }
.contact__img picture, .contact__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact__img img { object-fit: cover; }
.contact__panel { display: grid; gap: 20px; align-content: start; padding: clamp(32px, 5vw, 72px); border-radius: var(--r-lg); background: var(--navy); color: var(--on-navy); }
.contact__panel .h2 { max-width: 15ch; margin-top: 2px; }
.contact__panel .lead { color: var(--on-navy-2); max-width: 46ch; }
.contact__clock { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: -6px; font-size: 0.8125rem; color: var(--on-navy-2); }
.contact__clock [data-clock-now] { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.contact__clock [data-clock-now]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f0dfb6; box-shadow: 0 0 0 4px rgba(240, 223, 182, 0.14); }
.contact__clock [hidden] { display: none; }
.cform { display: grid; gap: 22px; margin-top: 14px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.cf { position: relative; display: grid; gap: 4px; }
.cf label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-navy-2); }
.cf label span { text-transform: none; letter-spacing: 0; font-weight: 500; }
.cf input, .cf select, .cf textarea { width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid rgba(238, 242, 243, 0.24); border-radius: 0; background: transparent;
  color: #fff; font-size: 1rem; font-weight: 500; transition: border-color 0.3s var(--e-out), box-shadow 0.3s var(--e-out); }
.cf textarea { resize: vertical; min-height: 104px; line-height: 1.55; }
.cf select { appearance: none; -webkit-appearance: none; padding-right: 28px; cursor: pointer; }
.cf select option { color: var(--ink); background: #fff; }
.cf--sel > .i-chev { position: absolute; right: 0; bottom: 14px; width: 18px; height: 18px; color: var(--on-navy-2); pointer-events: none; }
.cf input::placeholder, .cf textarea::placeholder { color: rgba(238, 242, 243, 0.42); }
.cf input:focus, .cf select:focus, .cf textarea:focus { outline: none; border-color: #fff; box-shadow: 0 1px 0 #fff; }
.cf [aria-invalid="true"] { border-color: #ffb3a6; box-shadow: 0 1px 0 #ffb3a6; }
.cf__err { min-height: 0; font-size: 0.8125rem; color: #ffc2b7; }
.cf__err:empty { display: none; }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.cform__note { flex: 1 1 260px; font-size: 0.8125rem; line-height: 1.5; color: var(--on-navy-2); }
.cform__done { display: grid; gap: 14px; justify-items: start; margin-top: 18px; padding: 28px; border-radius: var(--r-md); border: 1px solid var(--navy-line); background: rgba(255, 255, 255, 0.03); }
.cform__done[hidden] { display: none; }
.cform__done:focus { outline: none; }
.cform__done h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.cform__done p { color: var(--on-navy-2); }
.cform__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cform__btns .i-wa { color: #1fa855; }
.cform__edit { margin-top: 4px; font-size: 0.875rem; font-weight: 600; color: var(--on-navy-2); text-decoration: underline; text-underline-offset: 4px; }
.cform__edit:hover { color: #fff; }

/* FAQ */
.faq { background: var(--bg-soft); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 128px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--hd-h) + 40px); display: grid; gap: 22px; justify-items: start; }
.faq__intro .h2 { margin-top: -2px; max-width: 12ch; }
.faq__intro .lead { max-width: 40ch; }
.faq__intro .btn { margin-top: 6px; }
.faq__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.faq__btns .lnk-arr { margin-top: 6px; }
.faq__intro .i-wa { width: 19px; height: 19px; color: #1fa855; }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-child { border-top: 1px solid var(--line); }
.acc h3 { font-size: inherit; font-weight: inherit; }
.acc__b { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 26px 0; text-align: left;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; transition: color 0.3s var(--e-out); }
.acc__b:hover { color: var(--sea); }
.acc__i { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); transition: background-color 0.4s var(--e-out), border-color 0.4s var(--e-out), transform 0.6s var(--e-out); }
.acc__i::before, .acc__i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; margin: -0.75px 0 0 -6.5px; background: var(--ink); border-radius: 1px; transition: transform 0.5s var(--e-out), background-color 0.4s; }
.acc__i::after { transform: rotate(90deg); }
.acc.is-open .acc__i { background: var(--ink); border-color: var(--ink); transform: rotate(180deg); }
.acc.is-open .acc__i::before, .acc.is-open .acc__i::after { background: #fff; }
.acc.is-open .acc__i::after { transform: rotate(0deg); }
.acc__p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--e-out); }
.acc.is-open .acc__p { grid-template-rows: 1fr; }
.acc__in { overflow: hidden; visibility: hidden; transition: visibility 0s linear 0.6s; }
.acc.is-open .acc__in { visibility: visible; transition-delay: 0s; }
.acc__in p { max-width: 64ch; padding: 0 60px 28px 0; color: var(--ink-2); line-height: 1.68; }
.no-js .acc__p { grid-template-rows: 1fr; }
.no-js .acc__in { visibility: visible; }

/* pied de page : pleine largeur, épuré */
.ft { background: var(--navy); color: var(--on-navy); }
/* pied de page découvert : la page glisse et le laisse apparaître dessous (écrans assez hauts) */
@media (min-width: 981px) and (min-height: 760px) {
  main { position: relative; z-index: 1; background: #fff; box-shadow: 0 30px 60px -30px rgba(1, 34, 47, 0.35); }
  .ft { position: sticky; bottom: 0; z-index: 0; }
}
.ft__main { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 64px); padding-block: clamp(64px, 7vw, 104px) clamp(48px, 5vw, 72px); }
.ft__brand { display: grid; gap: 20px; align-content: start; justify-items: start; }
.ft__brand img { width: 220px; height: auto; }
.ft__brand p { max-width: 30ch; color: var(--on-navy-2); font-size: 0.9375rem; line-height: 1.6; }
.ft h2, .ft h3 { margin-bottom: 18px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-navy-2); }
.ft__main li + li { margin-top: 10px; }
.ft__main ul a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--e-out); }
.ft__main ul a:hover { background-size: 100% 1px; }
.ft__contact ul a { display: inline-flex; align-items: center; gap: 10px; }
.ft__contact .i { width: 17px; height: 17px; color: var(--on-navy-2); }
.ft address { margin-bottom: 14px; color: var(--on-navy); line-height: 1.6; }
.ft__hours { margin-top: 14px; font-size: 0.875rem; color: var(--on-navy-2); }
.ft__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding-block: 24px 28px; padding-right: 84px; border-top: 1px solid var(--navy-line);
  font-size: 0.8125rem; color: var(--on-navy-2); }
.ft__legal a { color: var(--on-navy); }
.ft__legal a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ft__top { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.ft__top .i { width: 16px; height: 16px; transition: transform 0.45s var(--e-out); }
.ft__top:hover .i { transform: translateY(-3px); }

/* bouton WhatsApp */
.fab { position: fixed; z-index: 140; right: clamp(14px, 2vw, 28px); bottom: calc(clamp(14px, 2vw, 28px) + env(safe-area-inset-bottom)); display: flex; align-items: center; height: 56px;
  padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 14px 34px -12px rgba(14, 20, 23, 0.55);
  transition: background-color 0.35s var(--e-out), transform 0.5s var(--e-out), opacity 0.4s var(--e-out); }
.fab .i-wa { width: 24px; height: 24px; }
.fab__lbl { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 0.875rem; font-weight: 600; transition: max-width 0.6s var(--e-out), margin 0.6s var(--e-out); }
.fab:hover { background: var(--navy); }
.fab:hover .fab__lbl, .fab:focus-visible .fab__lbl { max-width: 110px; margin-left: 10px; }
.ai-open .fab, .menu-on .fab { opacity: 0; pointer-events: none; }
@media (max-width: 760px) { .js:not(.fab-on) .fab { opacity: 0; transform: translateY(14px); pointer-events: none; } }   /* mobile : le moteur de la première vue reste dégagé */

/* bandeau de langue (script de production) et bandeau cookies (js/consent.js) au style v5 */
.langbar { position: fixed; z-index: 151; left: 50%; top: calc(var(--hd-h) + 10px); display: flex; align-items: center; gap: 12px; width: max-content;
  max-width: calc(100vw - 24px); padding: 8px 8px 8px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--sh-2); font-size: 0.875rem;
  opacity: 0; transform: translate(-50%, -8px); transition: opacity 0.5s var(--e-out), transform 0.6s var(--e-out); }
.langbar.is-in { opacity: 1; transform: translate(-50%, 0); }
.menu-on .langbar, .mega-on .langbar { opacity: 0; visibility: hidden; pointer-events: none; }
.langbar a { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 9px; background: var(--ink); color: #fff; font-weight: 600; white-space: nowrap; }
.langbar button { width: 32px; height: 32px; border-radius: 8px; font-size: 1.25rem; line-height: 1; color: var(--mute); }
.langbar button:hover { background: var(--paper); color: var(--ink); }
html .wcs { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-2); font-family: var(--f); }
html .wcs__t { color: var(--mute); }
html .wcs__p { color: var(--ink-2); }
html .wcs__p a { color: var(--ink); }
html .wcs__b button { border-radius: 10px; border-color: var(--line-2); color: var(--ink); letter-spacing: 0; }
html .wcs__b button:hover { background: var(--paper); border-color: var(--ink); color: var(--ink); }
html .wcs__b button[data-c="1"] { background: var(--ink); border-color: var(--ink); color: #fff; }
html .wcs__b button[data-c="1"]:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
html .wcs a:focus-visible, html .wcs__b button:focus-visible { outline-color: var(--sea); }
.v5 .ai-bar { display: none !important; }

/* ── États initiaux des animations (posés seulement si le mouvement est permis ; repli automatique) ── */
.v5-anim .hero [data-in], .v5-anim .hero__cap, .v5-anim .finder__box, .v5-anim .finder__tabs { opacity: 0; }
.v5-anim [data-hero-h] { visibility: hidden; }

/* ── Adaptations ────────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .finder__form { grid-template-columns: 1fr 1fr 1fr auto; }
  .fld { padding-left: 18px; padding-right: 40px; }
  .finder__go { min-width: 0; padding: 0 22px; }
}
@media (max-width: 980px) {
  .hero__media { height: clamp(560px, 82svh, 820px); }
  .hero__content { left: 0; width: 100%; padding-inline: var(--gut); bottom: 84px; transform: none; }
  .hero__cap { display: none; }
  .finder { position: relative; left: auto; bottom: auto; width: auto; transform: none; margin: -56px 16px 0; padding: 8px; border-radius: 20px; background: #fff; box-shadow: var(--sh-2); }
  .finder__tabs { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 0 6px; padding: 4px; border-radius: 14px; background: var(--paper); }
  .finder__tabs [role="tab"] { justify-content: center; height: 42px; background: transparent; color: var(--ink-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .finder__tabs [role="tab"]:hover { background: rgba(255, 255, 255, 0.6); }
  .finder__tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(14, 20, 23, 0.06), 0 4px 12px -6px rgba(14, 20, 23, 0.22); }
  .finder__box { padding: 0; border-radius: 0; box-shadow: none; }
  .finder__form { grid-template-columns: 1fr 1fr; }
  .fld { min-height: 68px; }
  .fld:nth-child(3)::before { display: none; }
  .fld:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; }
  .finder__go { grid-column: 1 / -1; min-height: 56px; margin: 8px 0 0; }
  .finder__ai { grid-template-columns: auto 1fr; }
  .finder__ai .finder__go { grid-column: 1 / -1; }
  .trust { padding-top: clamp(52px, 8vw, 72px); }
  .sec__head--split { grid-template-columns: 1fr; align-items: start; }
  .aisec__card { grid-template-columns: 1fr; }
  .ag { grid-template-columns: 1fr; gap: 40px; }
  .ag__photo { max-width: 600px; }   /* photo source de 1200 px : nette en Retina, jamais agrandie */
  .svc__grid { grid-template-columns: 1fr; }
  .svc__media { display: none; }
  .svc__mpic { display: block; margin: 0 0 28px; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 11; }
  .svc__mpic img { width: 100%; height: 100%; object-fit: cover; }
  .svc__row .svc__t { color: var(--ink); transform: none !important; }
  .svc__row .svc__d { grid-template-rows: 1fr; }
  .svc__row .svc__go { background: var(--ink); border-color: var(--ink); color: #fff; transform: rotate(-45deg); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__img { min-height: 0; aspect-ratio: 16 / 10; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .ft__main { grid-template-columns: 1fr 1fr; }
  .ft__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero__media { height: clamp(540px, 84svh, 760px); }
  .hero__content { bottom: 64px; gap: 14px; }
  .hero__h { font-size: clamp(2.35rem, 1.3rem + 4.4vw, 3.1rem); }
  .hero__rating { gap: 6px 10px; font-size: 0.8125rem; }
  .hero__stars svg { width: 15px; height: 15px; }
  .finder { margin: -40px 10px 0; }
  .finder__form { grid-template-columns: 1fr; }
  .fld + .fld::before { display: none; }
  .fld:nth-child(n+2) { border-top: 1px solid var(--line); border-radius: 0; }
  .fld:nth-child(3) { border-radius: 0; }
  .fld select { font-size: 1.0625rem; }
  .finder__ai input { font-size: 1rem; min-height: 60px; }
  .partners__track li { height: 64px; padding-inline: 28px; }
  .portal--jamesedition { --h: 20px; } .portal--residences-immobilier { --h: 38px; } .portal--bellesdemeures { --h: 48px; } .portal--lux-residence { --h: 54px; }
  .rail__track { --cw: 76vw; --gap: 14px; padding-bottom: 20px; }
  .pc { transform: scale(calc(1 - 0.06 * var(--a))); }
  .rail__ctrl { grid-template-columns: auto minmax(0, 1fr) auto; }
  .rail__ctrl .lnk-arr { grid-column: 1 / -1; justify-self: start; }
  .rail__arrows button { width: 46px; height: 46px; }
  .seg { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg [role="tab"] { flex: 1 0 auto; justify-content: center; padding: 0 12px; font-size: 0.8125rem; }
  .seg__l { display: none; }
  .seg__s { display: inline; }
  .xp { flex-direction: column; height: auto; gap: 10px; }
  .xp__item { flex: none; height: 84px; transition: height 0.8s var(--e-out); }
  .xp__item.is-on { height: 420px; }
  .xp__v { left: 22px; bottom: auto; top: 50%; writing-mode: horizontal-tb; transform: translateY(-50%); font-size: 1.1875rem; }
  .xp__body { padding: 22px; }
  .aisec__card { padding: 28px 20px; border-radius: var(--r-lg); }
  .composer textarea { min-height: 120px; padding: 18px 18px 6px; font-size: 1.0625rem; }
  .composer__bar { flex-direction: column; align-items: stretch; padding: 10px; }
  .composer__note { padding: 0 8px; }
  .figs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .figs > div + div { border-left: 0; }
  .figs > div:nth-child(even) { border-left: 1px solid var(--line-2); }
  .svc__a { grid-template-columns: 44px minmax(0, 1fr) auto; padding: 24px 0 20px; }
  .cform__row { grid-template-columns: 1fr; }
  .contact__panel { padding: 28px 20px; }
  .acc__in p { padding-right: 0; }
  .ft__main { grid-template-columns: 1fr; }
  .ft__legal { flex-direction: column; align-items: flex-start; padding-right: 0; padding-bottom: 92px; }
  .fab { height: 52px; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .partners__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .partners__track li[aria-hidden] { display: none; }
  .partners__mq { -webkit-mask-image: none; mask-image: none; }
}

/* ═══ Recherche par IA : le panneau (js/ai-search.js) prend la direction v5 — clair, encre, bleu mer ═══ */
.v5 .aio { background: #fff; color: var(--ink); }
.v5 .aio__bg { background: radial-gradient(900px 520px at 92% -8%, rgba(44, 106, 138, 0.09), transparent 64%), #fff; }
.v5 .aio__bg::after { display: none; }
.v5 .aio__top { border-bottom: 1px solid var(--line); }
.v5 .aio__brand img { height: 30px; }
.v5 .aio__brand i { color: var(--sea); border-left-color: var(--line); font-weight: 700; letter-spacing: 0.16em; }
.v5 .aio__new, .v5 .aio__close { border-color: var(--line-2); color: var(--ink); border-radius: 12px; }
.v5 .aio__new:hover, .v5 .aio__close:hover { border-color: var(--ink); background: var(--paper); }
.v5 .aio__close:hover { transform: none; }
.v5 .aio__kbd { color: var(--mute); border-color: var(--line-2); }
.v5 .aio__eyebrow { color: var(--sea); font-weight: 700; letter-spacing: 0.16em; }
.v5 .aio__title { color: var(--ink); font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; }
.v5 .aio__title em { font-style: normal; color: var(--sea); }
.v5 .aio__lead { color: var(--ink-2); }
.v5 .aio__lead b { color: var(--ink); font-weight: 600; }
.v5 .aio-composer { background: #fff; border: 1px solid var(--line-2); box-shadow: var(--sh-1); }
.v5 .aio-composer:focus-within { border-color: var(--sea); box-shadow: 0 0 0 3px rgba(44, 106, 138, 0.14), var(--sh-1); }
.v5 .aio-composer textarea { color: var(--ink); font-weight: 500; letter-spacing: -0.012em; }
.v5 .aio-composer textarea::placeholder { color: #8a9297; }
.v5 .aio-composer__hint { color: var(--mute); }
.v5 .aio-composer__hint kbd { border-color: var(--line-2); }
.v5 .aio-composer__send { background: var(--ink); color: #fff; box-shadow: none; border-radius: 14px; }
.v5 .aio-composer__send:hover { background: var(--navy); transform: none; filter: none; }
.v5 .aio-sugg__lbl { color: var(--mute); font-weight: 700; letter-spacing: 0.16em; }
.v5 .aio-sugg__item { background: var(--paper); border-color: transparent; color: var(--ink); border-radius: 14px; }
.v5 .aio-sugg__item:hover { background: #fff; border-color: var(--ink); transform: none; }
.v5 .aio-sugg__item svg { color: var(--sea); }
.v5 .aio__foot { color: var(--mute); }
.v5 .aio__foot svg { color: var(--sea); }
.v5 .aio__thread { background: var(--paper); border-right: 1px solid var(--line); }
.v5 .aio__msgs { scrollbar-color: var(--line-2) transparent; }
.v5 .aio-msg--user { background: #fff; border-color: var(--line); color: var(--ink); font-style: normal; font-weight: 500; font-size: 0.975rem; border-radius: 16px 16px 4px 16px; }
.v5 .aio-msg__who { color: var(--sea); font-weight: 700; letter-spacing: 0.14em; }
.v5 .aio-msg__src { color: var(--mute); }
.v5 .aio-msg__sum { color: var(--ink); }
.v5 .aio-step { color: var(--mute); }
.v5 .aio-step i { border-color: var(--line-2); }
.v5 .aio-step.is-run { color: var(--ink); }
.v5 .aio-step.is-run i { border-color: rgba(44, 106, 138, 0.25); border-top-color: var(--sea); }
.v5 .aio-step.is-done { color: var(--ink-2); }
.v5 .aio-step.is-done i { border-color: var(--sea); background: var(--sea); }
.v5 .aio-step.is-done i::after { border-color: #fff; }
.v5 .aio-chip { background: #fff; border-color: var(--line-2); color: var(--ink); border-radius: 10px; }
.v5 .aio-chip--soft { background: transparent; color: var(--ink-2); }
.v5 .aio-chip__x { color: var(--mute); border-radius: 8px; }
.v5 .aio-chip__x:hover { background: var(--paper); color: var(--ink); }
.v5 .aio-reset { color: var(--sea); }
.v5 .aio-clarify { background: #fff; border-color: var(--line-2); color: var(--ink); }
.v5 .aio-clarify__opts button { border-color: var(--line-2); color: var(--ink); border-radius: 10px; }
.v5 .aio-clarify__opts button:hover { background: var(--paper); border-color: var(--ink); }
.v5 .aio__canvas { background: #fff; border-radius: 0; box-shadow: none; }
.v5 .aio__res-head { border-bottom-color: var(--line); }
.v5 .aio__res-kick { color: var(--sea); font-weight: 700; letter-spacing: 0.16em; }
.v5 .aio__res-title { font-weight: 500; letter-spacing: -0.035em; }
.v5 .aio__res-title b { font-weight: 600; }
.v5 .aio__sort select { border-color: var(--line-2); border-radius: 10px; }
.v5 .aio__group { color: var(--mute); font-weight: 700; letter-spacing: 0.16em; }
.v5 .aio__group::after { background: var(--line); }
.v5 .aio-card { border-color: var(--line); border-radius: var(--r-md); box-shadow: none; }
.v5 .aio-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.v5 .aio-card__link:focus-visible { outline-color: var(--sea); }
.v5 .aio-card__n { font-style: normal; font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.04em; }
.v5 .aio-card__fit { border-radius: 9px; font-weight: 700; letter-spacing: 0.02em; }
.v5 .aio-card__fit--exact { background: rgba(14, 20, 23, 0.78); color: #fff; }
.v5 .aio-card__loc { font-weight: 700; letter-spacing: 0.12em; }
.v5 .aio-card__title { font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.018em; }
.v5 .aio-card__match li { border-radius: 7px; }
.v5 .aio-card__match .ok { background: #ecf3f6; color: #1f4f68; }
.v5 .aio-card__match .ok::before { color: var(--sea); }
.v5 .aio-card__match .near { background: var(--paper); }
.v5 .aio-card__price { font-weight: 700; font-size: 1rem; border-top-color: var(--line); font-variant-numeric: tabular-nums; }
.v5 .aio__btn { border-radius: 12px; border-color: var(--line-2); }
.v5 .aio__btn--dark { background: var(--ink); border-color: var(--ink); }
.v5 .aio__btn--dark:hover { background: var(--navy); }
.v5 .aio-empty { border-color: var(--line-2); border-radius: var(--r-md); }
.v5 .aio-advisor { background: var(--navy); border-radius: var(--r-md); }
.v5 .aio-advisor__mark { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.v5 .aio-advisor h4 { color: #fff; font-weight: 600; letter-spacing: -0.015em; }
.v5 .aio-advisor p { color: var(--on-navy-2); }
.v5 .aio-advisor .aio__btn--gold { background: #fff; color: var(--ink); }
.v5 .aio-advisor .aio__btn--gold:hover { background: var(--paper); }
.v5 .aio-skel { border-color: var(--line); }
.v5 .aio-skel div { background: linear-gradient(90deg, #eceeee 0%, #f5f6f6 50%, #eceeee 100%); background-size: 200% 100%; }
@media (max-width: 900px) {
  .v5 .aio__thread { background: var(--paper); }
  .v5 .aio__canvas { box-shadow: 0 -12px 40px rgba(14, 20, 23, 0.1); border-radius: 22px 22px 0 0; }
  .v5 .aio__thread .aio-composer { background: rgba(255, 255, 255, 0.96); box-shadow: var(--sh-2); }
}

/* compléments de revue */
[hidden] { display: none !important; }
@supports (writing-mode: sideways-lr) { .xp__v { writing-mode: sideways-lr; transform: translateX(-50%); } }
@media (max-width: 760px) { @supports (writing-mode: sideways-lr) { .xp__v { writing-mode: horizontal-tb; transform: translateY(-50%); } } }
.fld.is-up .fld__list { top: auto; bottom: calc(100% + 12px); transform: translateY(6px); }
.fld.is-up.is-open .fld__list { transform: none; }
/* cartes de résultats IA : cadrage portrait à gauche, le sceau des photos reste hors champ (comme la sélection de l'accueil) */
.v5 .aio-card__media { aspect-ratio: 4 / 4.4; }
.v5 .aio-card__media img { object-position: 0% 50%; }

/* ════════════════════════════════════════════════════════════════════════
   Carte dessinée de la Riviera (composant partagé : Destinations, À propos, fiches) — littoral réel
   (© OpenStreetMap), communes à l'échelle de la commune ; le trait se dessine, les communes s'allument d'ouest en est.
   ════════════════════════════════════════════════════════════════════════ */
.rv { position: relative; margin: 0; aspect-ratio: var(--ar); border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.rv__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rv__s { fill: var(--bg-blue); }
.rv__i { fill: var(--bg-blue); stroke: var(--navy); stroke-width: 1; vector-effect: non-scaling-stroke; }
.rv__c { fill: none; stroke: var(--navy); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.rv__g { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 0.035 0.965; stroke-dashoffset: 1; opacity: 0; }
.rv__ms { position: absolute; inset: 0; }
.rv__m { position: absolute; left: var(--x); top: var(--y); }
.rv__a { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; color: inherit; }
.rv__a .rv__d { left: 11px; top: 11px; }
.rv__a .rv__l { left: 28px; top: 6px; }
.rv__m--flip .rv__a .rv__l { left: auto; right: 28px; }
.rv__a .rv__tip { bottom: 30px; }
.rv__d { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--navy); transition: transform 0.35s var(--e-out), background-color 0.3s; }
.rv__l { position: absolute; left: 12px; top: -10px; white-space: nowrap; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-2); line-height: 20px;
  text-shadow: 0 0 2px #fff, 0 0 3px #fff, 0 0 6px #fff, 0 0 6px #fff; }
.rv__m--on .rv__l, .rv__m--up .rv__l { text-shadow: none; }
.rv__m--flip .rv__l { left: auto; right: 12px; }
.rv__m--up .rv__l { left: 50%; top: -34px; transform: translateX(-50%); padding: 0 9px; border-radius: 999px; background: #fff; box-shadow: 0 2px 10px -4px rgba(14, 20, 23, 0.3); line-height: 22px; }
.rv__m--up .rv__d { background: var(--navy); }
.rv__m--dot .rv__l { opacity: 0; transform: translateY(4px); pointer-events: none; transition: opacity 0.3s var(--e-out), transform 0.4s var(--e-out); }
.rv__tip { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 6px); white-space: nowrap; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: #fff;
  font-size: 0.75rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity 0.25s var(--e-out), transform 0.35s var(--e-out); z-index: 3; }
.rv__a:hover .rv__d, .rv__a:focus-visible .rv__d { transform: scale(1.5); background: var(--sea); }
.rv__a:hover .rv__tip, .rv__a:focus-visible .rv__tip { opacity: 1; transform: translate(-50%, 0); }
.rv__a:hover .rv__l, .rv__a:focus-visible .rv__l { opacity: 0; }
.rv__a:focus-visible { outline: none; }
.rv__a:focus-visible .rv__d { box-shadow: inset 0 0 0 2px var(--navy), 0 0 0 4px rgba(44, 106, 138, 0.35); }
.rv__m--on .rv__d { left: -8px; top: -8px; width: 16px; height: 16px; background: var(--sea); box-shadow: 0 0 0 5px rgba(44, 106, 138, 0.18); }
.rv__m--on .rv__d::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--sea); animation: rv-pulse 2.6s var(--e-out) infinite; }
.rv__m--on .rv__l { left: 16px; top: -12px; padding: 0 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.8125rem; line-height: 26px; }
.rv__m--on.rv__m--flip .rv__l { left: auto; right: 16px; }
@keyframes rv-pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
@keyframes rv-glow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.js .rv.is-armed:not(.is-done) .rv__c { vector-effect: none; stroke-width: var(--rv-sw, 1.3); stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .rv.is-armed .rv__s, .js .rv.is-armed .rv__i { opacity: 0; }
.js .rv.is-armed .rv__m { opacity: 0; transform: translateY(6px); }
.js .rv.is-drawn:not(.is-done) .rv__c { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--e-io); }
.js .rv.is-drawn .rv__s, .js .rv.is-drawn .rv__i { opacity: 1; transition: opacity 1.4s var(--e-out) 0.9s; }
.js .rv.is-drawn .rv__m { opacity: 1; transform: none; transition: opacity 0.6s var(--e-out), transform 0.8s var(--e-out); transition-delay: calc(0.5s + var(--t, 0.5) * 1.8s); }
.js .rv--glow.is-drawn .rv__g { opacity: 0.9; animation: rv-glow 9s linear 3s infinite; }
@media (prefers-reduced-motion: reduce) { .rv__m--on .rv__d::after, .rv__g { animation: none !important; opacity: 0 !important; } }
