/* ==========================================================================
   Lafée13 — reconstruction HTML/CSS du site Wix d'origine.

   Maquette de référence : 1440 px de large. Les cotes sont exprimées dans
   l'une de ces trois unités, selon le comportement mesuré sur l'original :
     --u  proportionnel à la largeur de la fenêtre   (1 --u = 1 px à 1440 px)
     --c  proportionnel mais plafonné à 1600 px de large (sections centrées
          au-delà, voir .frame)
     px   taille fixe (menu, footer, formulaire…)
   ========================================================================== */

@font-face {
  font-family: "DM Sans 9pt";
  src: url("../assets/fonts/dmsans-9pt.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans 9pt";
  src: url("../assets/fonts/dmsans-9pt-italic.woff2") format("woff2");   /* vraie italique, comme sur l'original */
  font-weight: 100 1000;
  font-style: italic;
  font-display: swap;
}
/* Même police sans face italique : le navigateur penche le romain (italique « simulée »),
   comme pour la phrase d'intro du formulaire de contact sur l'original */
@font-face {
  font-family: "DM Sans 9pt Oblique";
  src: url("../assets/fonts/dmsans-9pt.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --vw: 1vw; /* remplacé en JS par la largeur utile (sans barre de défilement) */
  --u: calc(var(--vw) * 100 / 1440);
  --c: calc(min(var(--vw) * 100, 1600px) / 1440);
  --olive: #84754e;
  --olive-card: #85754e;
  --olive-nav: #867650;
  --blue: #004f72;
  --footer: #8ea8b8;
  --ink: #242323;
  --font: "DM Sans 9pt", "DM Sans", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
html { overflow-x: clip; -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }
body {
  font-family: var(--font);
  color: #000;
  background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, p { margin: 0; font-weight: inherit; font-size: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: none; }
button { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 700; }

.sec { position: relative; width: 100%; }
.abs { position: absolute; }
.frame { position: relative; width: min(100%, 1600px); height: 100%; margin: 0 auto; }
.cover { display: block; width: 100%; height: 100%; object-fit: cover; }


/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  min-height: 100px;
  background: #fff;
}
.site-header--sticky { position: sticky; top: 0; }
.site-header__logo {
  flex: none;
  display: block;
  margin: 1.3px 0 0 calc(46.5 * var(--u));
  width: calc(173.4 * var(--u));
  height: calc(53.9 * var(--u));
  color: var(--ink);
}
.site-header__logo svg { display: block; width: 100%; height: 100%; }
.site-header__logo--icon {
  margin: 0 0 0 calc(11.9 * var(--u));
  width: calc(70.4 * var(--u));
  height: calc(84.5 * var(--u));
}
.site-header__logo--icon img { width: 100%; height: 100%; object-fit: cover; }
.site-nav {
  position: absolute;
  top: calc(9.5px + 2.5vh);   /* Wix : marge haute de 2,5 % de la hauteur d'écran (32 px à 900 px) */
  left: calc(71% - 117px);
  right: calc(2.79% + 11.4px);
  display: flex;
  justify-content: space-between;
}
.site-header--inner .site-nav { top: calc(50% - 14.7px); left: calc(71% - 118.8px); right: calc(2.79% + 13.2px); }
.site-nav a {
  display: block;
  height: 28px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  color: #000;
}
.site-nav a.is-active { color: var(--olive-nav); }
.burger, .mobile-menu, .only-mobile, .only-tablet, .arrow-m, .br-m, .br-t, .br-t1, .br-t2, .biens-slider__next { display: none; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  height: calc(226.9px + 35.35 * var(--u));
  background: var(--footer);
  color: #fff;
}
.site-footer__address {
  position: absolute;
  left: calc(45 * var(--u));
  top: calc(23.7px + 14.79 * var(--u));
  font-size: 16px;
  line-height: 25.6px;
  font-weight: 700;
}
.site-footer__social { position: absolute; right: calc(45 * var(--u)); top: 0; }
.site-footer__social a {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  font-size: calc(18.432 * var(--u));
  line-height: 1.302;
  font-weight: 700;
  white-space: nowrap;
}
.site-footer__social a:nth-child(1) { top: min(calc(50.6px - 4.5 * var(--u)), calc(61.7px - 15.6 * var(--u))); }
.site-footer__social a:nth-child(2) { top: min(calc(68.1px + 16.6 * var(--u)), calc(73.9px + 10.8 * var(--u))); }
.site-footer__social svg {
  flex: none;
  width: calc(20 * var(--u));
  height: calc(20 * var(--u));
  fill: currentColor;
  transform: rotate(90deg);
}
.site-footer__bottom {
  position: absolute;
  left: calc(45 * var(--u));
  right: calc(45 * var(--u));
  top: calc(175.3px + 14.79 * var(--u));
  display: grid;
  grid-template-columns: calc(360 * var(--u)) 1fr calc(380 * var(--u));
  font-size: 14px;
  line-height: 19.6px;
}
.site-footer__bottom p:nth-child(2) { text-align: center; }
.site-footer__bottom p:nth-child(3) { text-align: right; }

/* ==========================================================================
   ÉLÉMENTS COMMUNS
   ========================================================================== */
.circle {
  position: absolute;
  z-index: 5;
  display: flex;
  justify-content: center;
  background: var(--olive);
  border-radius: 50%;
}
.circle__text {
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
}
.link-blue {
  position: absolute;
  font-size: calc(17.0667 * var(--c));
  line-height: calc(23 * var(--c));
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}
.link-blue:hover { text-decoration: underline; }
.shape-bar { position: absolute; width: calc(192 * var(--c)); height: calc(538 * var(--c)); object-fit: cover; }
.shape-dot { position: absolute; width: calc(173 * var(--c)); height: calc(173 * var(--c)); border-radius: 50%; background: var(--olive); }

/* ==========================================================================
   ACCUEIL
   ========================================================================== */
.home-hero { height: calc(656 * var(--u)); }
.home-hero__img { position: absolute; inset: 0; overflow: hidden; background: var(--olive); }
.home-hero__img img { object-position: 50% 100%; }
.home-hero__title {
  position: absolute;
  left: calc(444 * var(--u));
  top: calc(230 * var(--u));
  width: calc(885 * var(--u));
  font-size: calc(56.25 * var(--u));
  line-height: calc(78.75 * var(--u));
  font-weight: 700;
}
.home-hero__title > span { display: block; }
.home-hero__title > span + span { margin-left: calc(6 * var(--u)); }
.home-hero__title a:hover { color: var(--olive); }
.home-hero .circle {
  left: calc((100% - min(100%, 1600px)) / 2 + 901 * var(--c));
  top: calc(656 * var(--u) - 179 * var(--c));
  width: calc(318 * var(--c));
  height: calc(311 * var(--c));
}
.home-hero .circle__text {
  margin-top: calc(49 * var(--c));
  width: calc(239 * var(--c));
  font-size: calc(25.344 * var(--c));
  line-height: calc(35.4816 * var(--c));
}

.home-intro { height: calc(829 * var(--c)); }
.home-intro__img { display: block; position: absolute; left: calc(101 * var(--c)); top: calc(153 * var(--c)); width: calc(470 * var(--c)); height: calc(525 * var(--c)); }
.home-intro__title {
  position: absolute;
  left: calc(666 * var(--c));
  top: calc(192 * var(--c));
  width: calc(672 * var(--c));
  font-size: calc(42.624 * var(--c));
  line-height: calc(59.6736 * var(--c));
  font-weight: 700;
}
.home-intro__text {
  position: absolute;
  left: calc(666 * var(--c));
  top: calc(374 * var(--c));
  width: calc(640 * var(--c));
  font-size: calc(23.4 * var(--c));
  line-height: calc(32.76 * var(--c));
  letter-spacing: calc(2.34 * var(--c));
}

.spacer-57 { height: calc(57 * var(--c)); }
.spacer-76 { height: calc(76 * var(--c)); }
.spacer-139 { height: calc(139 * var(--c)); }

.home-services { height: calc(571 * var(--c)); background: var(--blue); color: #fff; }
.home-services__title {
  position: absolute;
  left: calc(100 * var(--c));
  top: calc(118 * var(--c));
  font-size: calc(55.296 * var(--c));
  line-height: calc(77.4144 * var(--c));
  letter-spacing: calc(5.5296 * var(--c));
  font-weight: 700;
  white-space: nowrap;
}
.home-services__text {
  position: absolute;
  left: calc(100 * var(--c));
  top: calc(229 * var(--c));
  font-size: calc(36.4742 * var(--c));
  line-height: calc(51.0639 * var(--c));
  letter-spacing: calc(3.64742 * var(--c));
  white-space: nowrap;
}

.home-biens { height: calc(588 * var(--u)); }
.home-biens .circle {
  left: calc(113 * var(--u));
  top: calc(152 * var(--u));
  width: calc(315 * var(--u));
  height: calc(311 * var(--u));
  align-items: center;
}
.home-biens .circle__text { width: calc(202 * var(--u)); font-size: calc(25.344 * var(--u)); line-height: calc(35.4816 * var(--u)); }
.home-biens .circle:hover { filter: brightness(1.08); }

/* Carrousel type « pro-gallery » (accueil + fiches) */
.gallery { position: absolute; overflow: hidden; }
.gallery__viewport { position: absolute; inset: 0; overflow: hidden; }
.gallery__track { position: absolute; left: 0; top: 0; height: 100%; display: flex; transition: transform .8s cubic-bezier(.25, .46, .45, .94); }
.gallery__item { flex: none; height: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  padding: 0;
  border: 0;
  background: none;
  opacity: .9;
  cursor: pointer;
  fill: var(--olive);
}
.gallery__arrow:hover { opacity: 1; }
.gallery__arrow svg { display: block; width: 100%; height: 100%; }
.gallery__arrow--prev svg { transform: scaleX(-1); }
.gallery__arrow[hidden] { display: none; }

.home-gallery { left: calc(445 * var(--u)); top: calc(82 * var(--u)); width: calc(920 * var(--u)); height: calc(452 * var(--u)); }
.home-gallery .gallery__track { gap: 24px; padding-left: 77.5px; }
.home-gallery .gallery__item { width: calc(804 * var(--u)); transition: margin .8s cubic-bezier(.25, .46, .45, .94); }
.home-gallery.is-start .gallery__item:first-child { margin-right: max(0px, calc(116 * var(--u) - 100.5px)); }
.home-gallery .gallery__arrow { width: 25px; height: 38.46px; margin-top: -19.23px; }
.home-gallery .gallery__arrow--next { right: 19px; }
.home-gallery .gallery__arrow--prev { left: 20px; }

/* ==========================================================================
   LISTES DE BIENS (tous-les-biens.html et biens.html)
   ========================================================================== */
.biens-head { height: calc(229 * var(--c)); }
.biens-head h1 {
  position: absolute;
  left: calc(80 * var(--c));
  top: calc(54 * var(--c));
  width: calc(922 * var(--c));
  font-size: calc(44.1 * var(--c));
  line-height: calc(61.74 * var(--c));
  font-weight: 700;
}
.biens-head--old h1 { top: calc(55.8 * var(--c)); width: calc(860 * var(--c)); font-size: calc(42.624 * var(--c)); line-height: calc(59.6736 * var(--c)); }

/* Wix : bandeau entre 50 % et 55 % de la hauteur d'écran, contenu de 507 px à 1440 px de large */
.biens-slider { height: min(max(calc(507 * var(--u)), 50vh), 55vh); }
.biens-slider__viewport { position: absolute; left: 0; top: 0; width: 100%; height: max(calc(507 * var(--u)), 50vh); overflow: hidden; }
.biens-slider__track { display: flex; height: 100%; transition: transform 1s ease; }
.biens-slider__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.biens-slider .circle { left: calc(1010 * var(--u)); top: calc(-122 * var(--u)); width: calc(318 * var(--u)); height: calc(311 * var(--u)); }
.biens-slider--old .circle { left: calc(945 * var(--u)); }
.biens-slider .circle__text { margin-top: calc(31 * var(--u)); width: calc(190 * var(--u)); font-size: calc(25.344 * var(--u)); line-height: calc(35.4816 * var(--u)); }

.biens-filter { z-index: 2; height: 100px; background: #fff; }
.biens-filter nav { position: absolute; left: 11px; right: 0; top: 36px; display: flex; justify-content: center; gap: 110px; }
.biens-filter a {
  display: block;
  height: 28px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--blue);
  white-space: nowrap;
}
.biens-filter a:hover { color: var(--olive); }
.biens-filter--old { height: calc(96 * var(--c)); }
.biens-filter--old nav { left: 0; top: calc(50% - 14px); gap: 100px; }
.biens-filter--old a { letter-spacing: 0; }

.biens-list { z-index: 2; background: #fff; }
.biens-grid {
  display: grid;
  grid-template-columns: calc(585 * var(--c)) calc(585 * var(--c));
  column-gap: calc(90 * var(--c));
  padding: 0 calc(90 * var(--c)) calc(90 * var(--c));
}
.biens-grid__col { display: flex; flex-direction: column; gap: calc(9 * var(--c)); }
.biens-grid__col--right { padding-top: calc(424 * var(--c)); }
.biens-grid--old {
  grid-template-columns: calc(584 * var(--c)) calc(584 * var(--c));
  column-gap: calc(114 * var(--c));
  row-gap: calc(77 * var(--c));
  padding: calc(42.6 * var(--c)) calc(80 * var(--c)) calc(76.4 * var(--c)) calc(78 * var(--c));
  align-items: start;
}
.biens-empty { grid-column: 1 / -1; padding: calc(60 * var(--c)) 0; text-align: center; font-size: calc(20 * var(--c)); }

.card { position: relative; display: block; width: calc(585 * var(--c)); color: #fff; }
.biens-grid--old .card { width: calc(584 * var(--c)); }
.biens-grid--old .card__flag svg { left: calc(172 * var(--c)); width: calc(412 * var(--c)); }
.biens-grid--old .card__desc { width: calc(530.3 * var(--c)); margin-left: calc(-.7 * var(--c)); }
.card__flag { position: relative; height: calc(216 * var(--c)); }
.card__flag svg { position: absolute; left: calc(174 * var(--c)); top: calc(59 * var(--c)); width: calc(409 * var(--c)); height: calc(157 * var(--c)); }
.card__badges {
  position: absolute;
  right: calc(25.9 * var(--c));
  bottom: calc(24.6 * var(--c));
  font-size: calc(24 * var(--c));
  line-height: calc(33.6 * var(--c));
  font-weight: 700;
  white-space: nowrap;
}
.biens-grid--old .card__badges { right: calc(23.9 * var(--c)); }
.card__img { margin-left: calc(1 * var(--c)); width: calc(583 * var(--c)); height: calc(330 * var(--c)); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body {
  width: calc(584 * var(--c));
  margin-top: calc(-1 * var(--c));
  padding: calc(28 * var(--c)) calc(27 * var(--c)) calc(27 * var(--c));
  background: var(--olive-card);
}
.card__title { width: calc(530 * var(--c)); font-size: calc(22.5 * var(--c)); line-height: calc(31.5 * var(--c)); font-weight: 700; }
.card__desc { width: calc(530.7 * var(--c)); margin: calc(27 * var(--c)) 0 0 calc(-.6 * var(--c)); font-size: calc(18.432 * var(--c)); line-height: calc(29.4912 * var(--c)); }
.card__facts { margin-top: calc(28 * var(--c)); display: flex; flex-direction: column; gap: calc(14 * var(--c)); }
.fact { display: flex; align-items: flex-start; }
.fact svg { flex: none; fill: #fff; }
.card .fact { height: 42px; }
.card .fact svg { width: calc(31 * var(--c)); height: calc(31 * var(--c)); margin-top: calc(5 * var(--c)); }
.card .fact span { margin-left: calc(14 * var(--c)); font-size: 21px; line-height: 42px; font-weight: 700; white-space: nowrap; }
.card__tail { display: block; width: calc(584 * var(--c)); height: calc(225 * var(--c)); margin-top: calc(-1 * var(--c)); }
/* biens.html (grille --old) : au-delà de ~1578 px, les cartes de l'original cessent de s'élargir (640 px)
   alors que textes et hauteurs suivent encore --c ; la grille reste centrée. Sans effet en dessous. */
@media (min-width: 1001px) {
  .biens-grid--old { --k: min(var(--c), 1.09589px); grid-template-columns: calc(584 * var(--k)) calc(584 * var(--k)); column-gap: calc(45 * var(--c) + 69 * var(--k)); justify-content: center; padding-top: calc(3 * var(--vw) - 1px); padding-bottom: calc(2.8 * var(--vw) + 35.5 * var(--c)); }
  .biens-grid--old .card { width: calc(584 * var(--k)); }
  .biens-grid--old .card__flag svg { left: calc(172 * var(--k)); top: auto; bottom: 0; width: calc(412 * var(--k)); height: calc(157 * var(--k)); }
  .biens-grid--old .card__badges { right: calc(23.9 * var(--k)); }
  .biens-grid--old .card__img { margin-left: calc(1 * var(--k)); width: calc(583 * var(--k)); height: calc(330 * var(--k)); }
  .biens-grid--old .card__body { width: calc(584 * var(--k)); }
  .biens-grid--old .card__title { width: calc(530 * var(--k)); }
  .biens-grid--old .card__desc { width: calc(530.3 * var(--k)); }
  .biens-grid--old .card__tail { width: calc(584 * var(--k)); height: calc(225 * var(--k)); }
}

/* ==========================================================================
   FICHE BIEN
   ========================================================================== */
.bien-nav { height: calc(91 * var(--c)); }
.bien-nav__back,
.bien-nav__next {
  position: absolute;
  top: calc(-19.06px + 38.06 * var(--c));
  height: 53px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  background: none;
  font-size: 20px;
  line-height: 1.302;
  color: var(--olive);
  white-space: nowrap;
  cursor: pointer;
}
.bien-nav__back { left: calc(455 * var(--c)); width: calc(279 * var(--c)); border-width: 0; }
.bien-nav__next { left: calc(784 * var(--c)); width: calc(200 * var(--c)); }
.bien-nav__back:hover,
.bien-nav__next:hover:not(:disabled) { text-decoration: underline; }
.bien-nav__next:disabled { background: #c7c7c7; border-color: #c7c7c7; color: #000; cursor: default; }
.bien-nav__sep {
  position: absolute;
  left: calc(754.25 * var(--c));
  top: calc(8.1px + 18.1 * var(--c));
  width: calc(1.5 * var(--c));
  height: calc(35.9 * var(--c));
  background: var(--olive);
}

/* Wix : hauteur = la plus grande entre 33,52 % de la largeur (plafonnée à 1600 px) et 50,99 % de la
   hauteur d'écran, sans dépasser 60 % de la hauteur d'écran ; photos au format 4:3 ; galerie centrée dans 1600 px */
.bien-gallery { --gh: min(max(calc(.3352333 * min(var(--vw) * 100, 1600px)), 50.9859vh), 60vh); height: var(--gh); }
.bien-gallery .gallery { inset: 0 max(0px, calc((100% - 1600px) / 2)); }
.bien-gallery .gallery__track { gap: 24px; }
.bien-gallery .gallery__item { width: calc(var(--gh) * 4 / 3); }
.bien-gallery .gallery__arrow { width: 100px; height: 169.565px; margin-top: -84.78px; }
.bien-gallery .gallery__arrow--next { right: 23px; }
.bien-gallery .gallery__arrow--prev { left: 23px; }

.bien-main { padding: calc(45 * var(--c)) 0; min-height: calc(2183 * var(--c)); }
.bien-grid {
  display: grid;
  grid-template-columns: calc(45 * var(--c)) calc(918 * var(--c)) calc(97 * var(--c)) calc(328 * var(--c));
  align-items: start;
  height: auto;
}
.bien-content { grid-column: 2; padding-bottom: calc(90 * var(--c)); }
.bien-title { margin-left: calc(1 * var(--c)); font-size: calc(31.5 * var(--c)); line-height: calc(44.1 * var(--c)); font-weight: 700; color: var(--olive); }
.bien-subtitle {
  margin: calc(32.9 * var(--c)) 0 0 calc(1 * var(--c));
  font-size: calc(16.5 * var(--c));
  line-height: calc(23.0999 * var(--c));
  letter-spacing: calc(1.65 * var(--c));
  color: var(--olive);
}
.bien-h { width: calc(547 * var(--c)); margin-top: calc(32.7 * var(--c)); font-size: calc(16.5 * var(--c)); line-height: calc(23.0999 * var(--c)); letter-spacing: calc(1.65 * var(--c)); font-weight: 700; }
.bien-h.is-first { margin-top: calc(53.8 * var(--c)); }
.bien-rich { margin-top: calc(20.9 * var(--c)); font-size: calc(16.4997 * var(--c)); line-height: calc(23.0995 * var(--c)); }
.bien-lists {
  display: grid;
  grid-template-columns: calc(335 * var(--c)) calc(432 * var(--c));
  column-gap: calc(150 * var(--c));
  align-items: start;
  height: calc(874.5px + 32.4 * var(--c));
  margin-top: calc(21.9 * var(--c));
}
.bien-group + .bien-group { margin-top: calc(32.4 * var(--c)); }
.bien-group h3 { margin-bottom: calc(10.9 * var(--c)); font-size: calc(16.4997 * var(--c)); line-height: calc(23.0995 * var(--c)); font-weight: 400; color: var(--olive); }
.bien-group p { font-size: calc(16.4997 * var(--c)); line-height: calc(23.0995 * var(--c)); }
.bien-group.is-small p { font-size: calc(16.2 * var(--c)); line-height: calc(22.68 * var(--c)); }
.bien-cta h2 { font-size: calc(45 * var(--c)); line-height: calc(63 * var(--c)); letter-spacing: calc(4.5 * var(--c)); font-weight: 700; color: var(--olive); }
.bien-cta p { margin-top: calc(32 * var(--c)); font-size: calc(16.4997 * var(--c)); line-height: calc(23.0995 * var(--c)); letter-spacing: calc(1.64997 * var(--c)); color: var(--olive); }
.bien-cta--indispo h2 { font-size: calc(31.5 * var(--c)); line-height: calc(44.1 * var(--c)); letter-spacing: 0; }
.bien-cta--indispo p { margin-top: calc(16.5 * var(--c)); letter-spacing: 0; }
.bien-cta--indispo .bien-cta__follow { margin-top: calc(25 * var(--c)); font-size: calc(20 * var(--c)); line-height: calc(28 * var(--c)); font-weight: 700; }

.bien-aside { grid-column: 4; position: sticky; top: calc(45 * var(--c)); padding-bottom: calc(177 * var(--c)); color: #fff; }
.bien-box { position: relative; background: var(--olive); }
.bien-box--facts { height: calc(119.8px + 190.2 * var(--c)); }
.bien-box--facts .fact { position: absolute; left: calc(30 * var(--c)); }
.bien-box--facts .fact svg { width: calc(31 * var(--c)); height: calc(31 * var(--c)); }
.bien-box--facts .fact span { position: absolute; left: calc(50 * var(--c)); top: 0; font-size: calc(22.5 * var(--c)); line-height: calc(31.5 * var(--c)); font-weight: 700; white-space: nowrap; }
.bien-box--facts .fact:nth-child(1) { top: calc(-6.1px + 36.54 * var(--c)); }
.bien-box--facts .fact:nth-child(1) span { font-size: calc(22.552 * var(--c)); line-height: calc(31.5728 * var(--c)); }
.bien-box--facts .fact:nth-child(2) { top: calc(29.9px + 41.04 * var(--c)); }
.bien-box--facts .fact:nth-child(3) { top: calc(30.4px + 77.04 * var(--c)); }
.btn-outline {
  position: absolute;
  left: calc(31 * var(--c));
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 20px;
  line-height: 1.302;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: #fff; color: var(--olive); }
.btn-outline--contact { top: calc(31.8px + 144.84 * var(--c)); width: 172px; }
.btn-outline--pdf { top: calc(75.8px + 159.84 * var(--c)); width: 133px; }
.bien-map { position: relative; height: calc(-5.4px + 444.85 * var(--c)); background: var(--olive); }
.bien-map__frame { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
/* Carte de la région : l'iframe dépasse de 72 px en bas, coupé, pour masquer le logo Google,
   la ligne de texte dessous et les petites commandes du bas (vue satellite, déplacement) */
.bien-map__clip { overflow: hidden; }
/* Bas de la carte coupé en diagonale, parallèle à la pointe olive du haut */
.bien-map--coupe { --coupe: calc(127 * var(--c)); clip-path: polygon(0 -2px, 100% -2px, 100% calc(100% - var(--coupe)), 0 100%); }
.bien-map__region { display: block; width: 100%; height: calc(100% + 72px); border: 0; }
.bien-map__placeholder { overflow: hidden; }
.bien-map__placeholder svg { display: block; width: 100%; height: 100%; transform: scale(1.06); filter: blur(3px); opacity: .2; }
.bien-map .bien-tail { position: absolute; left: 0; top: -1px; z-index: 1; margin: 0; pointer-events: none; }
.bien-box--price {
  min-height: calc(304 * var(--c));
  padding: calc(40 * var(--c)) calc(56 * var(--c)) calc(30 * var(--c)) calc(29 * var(--c));
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: calc(16.2 * var(--c));
  line-height: calc(22.68 * var(--c));
  letter-spacing: calc(1.62 * var(--c));
}
.bien-tail { display: block; width: calc(328 * var(--c)); height: calc(127 * var(--c)); margin-top: -1px; }
/* Mode « vitrine » (window.AFFICHAGE dans data/biens.js) : l'encadré ne garde que les caractéristiques
   (surface, pièces), sans prix, boutons, carte ni loyer ; il se termine par la même pointe en biais. */
.bien-box--facts.bien-box--vitrine { height: auto; display: flex; flex-direction: column; gap: calc(5 * var(--c)); padding: calc(30.4 * var(--c)) 0 calc(30 * var(--c)); }
.bien-box--facts.bien-box--vitrine .fact,
.bien-box--facts.bien-box--vitrine .fact:nth-child(n) { position: relative; top: auto; display: block; height: calc(31.5 * var(--c)); }
.bien-box--facts.bien-box--vitrine .fact svg { display: block; }

/* ==========================================================================
   À PROPOS
   ========================================================================== */
.about-head { height: calc(293 * var(--c)); }
.about-head h1 { position: absolute; left: calc(80 * var(--c)); top: calc(88 * var(--c)); width: calc(910 * var(--c)); font-size: calc(42.624 * var(--c)); line-height: calc(59.6736 * var(--c)); font-weight: 700; }
.about-hero { height: calc(825 * var(--u)); overflow: hidden; background: var(--olive); }
.about-hero img { object-position: 50% 79.5%; }
.about-hero picture { display: block; width: 100%; height: 100%; }

.h-xl { font-size: calc(44.3076 * var(--c)); line-height: calc(62.0307 * var(--c)); letter-spacing: calc(4.43076 * var(--c)); font-weight: 700; }
.p-fixed { font-size: 16px; line-height: 22.4px; letter-spacing: .8px; }

.about-together { height: calc(1157 * var(--c)); }
.ab-bar1 { left: calc(154 * var(--c)); top: calc(261 * var(--c)); }
.ab-dot { left: calc(407 * var(--c)); top: calc(261 * var(--c)); }
.ab-bar2 { left: calc(407 * var(--c)); top: calc(455 * var(--c)); }
.about-together__col { position: absolute; left: calc(689 * var(--c)); top: calc(455 * var(--c)); width: calc(591 * var(--c)); display: flex; flex-direction: column; align-items: flex-start; }
.about-together__lead { margin-top: calc(25.9 * var(--c)); font-size: 20px; line-height: 28px; font-weight: 700; }
.about-together__p1 { margin-top: 16.9px; }
.about-together__p2 { margin-top: calc(20.2 * var(--c)); }
.about-together__col .link-blue { position: static; margin: calc(21.2px + 9.3 * var(--c)) 0 0 calc(304 * var(--c)); }
/* Comme sur l'original : quand le texte ne tient plus dans la hauteur fixe de la section
   (entre 1001 et ~1220 px), la colonne et la 2e barre remontent (la 1re ligne de la grille se réduit) ;
   le lien, hors de ce calcul, déborde alors sous la section suivante. */
@media (min-width: 1001px) {
  .about-together .frame { display: grid; grid-template-columns: calc(407 * var(--c)) calc(282 * var(--c)) calc(591 * var(--c)); grid-template-rows: minmax(0, calc(455 * var(--c))) auto; align-items: start; }
  .about-together .ab-bar2 { position: relative; left: auto; top: auto; grid-area: 2 / 2; }
  .about-together__col { position: relative; left: auto; top: auto; grid-area: 2 / 3; }
  .about-together__col .link-blue { position: absolute; left: 0; top: 100%; }
}

.about-invest {
  min-height: 367px;
  padding: calc(29.5px + 58.2 * var(--c)) 0 calc(2px + 92.1 * var(--c));
  background: var(--blue);
  color: #fff;
}
.about-invest .frame { padding-left: calc(101 * var(--c)); }
.about-invest h2 { width: calc(1159 * var(--c)); font-size: calc(51.2001 * var(--c)); line-height: calc(71.6801 * var(--c)); font-weight: 700; }
.about-invest p { margin-top: 30.2px; font-size: calc(33.0667 * var(--c)); line-height: calc(46.2934 * var(--c)); letter-spacing: calc(3.30667 * var(--c)); }
.about-invest p a { display: block; width: fit-content; }
.about-invest p a:hover { text-decoration: underline; }

.about-philo { height: calc(1289 * var(--c)); }
.about-philo__logo { position: absolute; left: calc(213 * var(--c)); top: calc(142 * var(--c)); width: calc(474 * var(--c)); height: calc(552 * var(--c)); }
.about-philo h2 { position: absolute; left: calc(687 * var(--c)); top: calc(578 * var(--c)); width: calc(595 * var(--c)); }
.about-philo h3 { position: absolute; left: calc(687 * var(--c)); top: calc(22.3px + 703.7 * var(--c)); width: calc(700 * var(--c)); font-size: calc(23.4667 * var(--c)); line-height: calc(32.8533 * var(--c)); letter-spacing: calc(2.34667 * var(--c)); font-weight: 700; }
.about-philo__link { left: calc(936 * var(--c)); top: calc(246.3px + 828.7 * var(--c)); }
.about-philo__text { position: absolute; left: calc(687 * var(--c)); top: calc(23.7px + 820.3 * var(--c)); width: 753px; }

.about-banner { height: calc(571 * var(--c)); overflow: hidden; }
.about-banner img { object-position: 50% 59.5%; }

.about-sell { height: calc(1032 * var(--c)); }
.sl-dot { left: calc(495 * var(--c)); top: calc(107 * var(--c)); }
.sl-bar1 { left: calc(268 * var(--c)); top: calc(241 * var(--c)); }
.sl-bar2 { left: calc(459 * var(--c)); top: calc(242 * var(--c)); }
.about-sell__col { position: absolute; left: calc(739 * var(--c)); top: calc(425 * var(--c)); width: calc(584 * var(--c)); display: flex; flex-direction: column; align-items: flex-start; }
.about-sell h2 { width: calc(560 * var(--c)); text-transform: uppercase; font-size: calc(44.3072 * var(--c)); letter-spacing: calc(4.43072 * var(--c)); }
.about-sell h3 { margin-top: 24px; font-size: calc(21.6 * var(--c)); line-height: calc(30.24 * var(--c)); letter-spacing: calc(2.16 * var(--c)); font-weight: 700; }
.about-sell p { margin-top: 17.8px; }
.about-sell .link-blue { position: static; margin: 28.5px 0 0 calc(305 * var(--c)); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-head { height: max(150px, calc(185 * var(--c))); }
.contact-head .shape-dot { left: calc(720 * var(--c)); top: calc(22 * var(--c)); width: calc(135 * var(--c)); height: calc(135 * var(--c)); background: var(--olive-nav); }
.contact-head h1 { position: absolute; z-index: 1; left: calc(819 * var(--c)); bottom: calc(61.3 * var(--c)); font-size: calc(42.624 * var(--c)); line-height: calc(59.6736 * var(--c)); font-weight: 700; white-space: nowrap; }
.contact-main { height: max(795px, calc(970 * var(--u))); }
.contact-main h1 { position: absolute; left: calc(108 * var(--u)); top: calc(43 * var(--u)); width: calc(1141 * var(--u)); font-size: calc(42.624 * var(--u)); line-height: calc(59.6736 * var(--u)); font-weight: 700; }

.contact-form {
  position: absolute;
  left: 50%;
  top: calc(207.3px + 41.8 * var(--u));
  width: calc(612 * var(--u));
  padding: 24px;
  background: #fff;
}
.contact-form__intro { font-family: "DM Sans 9pt Oblique", "DM Sans 9pt", sans-serif; font-size: 16px; line-height: 24px; font-style: italic; font-weight: 700; white-space: break-spaces; }   /* break-spaces : comme l'original, l'espace en fin de ligne compte */
.contact-form__grid { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { margin-bottom: 8px; font-size: 14px; line-height: 19.6px; }
.field label span { margin-left: 3px; }
.field input,
.field select,
.field textarea,
.field .phone {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, .6);
  border-radius: 0;
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  color: #000;
  outline: none;
  transition: border-color .15s;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(0, 0, 0, .6); }
.field input:hover, .field select:hover, .field textarea:hover, .field .phone:hover,
.field input:focus, .field select:focus, .field textarea:focus, .field .phone:focus-within { border-color: #000; }
.field textarea { height: 92px; min-height: 92px; padding-top: 8px; line-height: 24px; resize: vertical; overflow-y: auto; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  color: #757575;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.25 8.18l.71.71L12 15.85 5.04 8.89l.71-.71L12 14.44z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 24px 24px;
  cursor: pointer;
}
.field select.has-value { color: #000; }
.field .phone { display: flex; align-items: center; padding: 0; }
.phone__country { position: relative; flex: none; width: 40px; height: 24px; margin-left: 12px; }
.phone__country select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background-image: none;
  opacity: 0;
  cursor: pointer;
}
.phone__country-ui { display: flex; align-items: center; height: 100%; pointer-events: none; }
.phone__country-ui svg { flex: none; }
.phone__country:hover .phone__country-ui { opacity: .7; }
.phone__code { font-size: 14px; }
.field .phone input { flex: 1; min-width: 0; height: 100%; margin-left: 1px; padding: 0 12px 0 0; border: 0; }
.field.is-invalid input,
.field.is-invalid textarea { border-color: #df3131; }
.field__error { margin-top: 4px; font-size: 12px; color: #df3131; }
.btn-send {
  width: calc((100% - 24px) / 2);
  height: 41.2px;
  margin-top: 24px;
  padding: 11px 13.5px;
  border: 0;
  border-radius: 100px;
  background: var(--olive);
  color: #fff;
  font-size: 16px;
  line-height: 20.8px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .2s;
}
.btn-send:hover { filter: brightness(1.1); }
.contact-form__ok { margin-top: 16px; font-size: 14px; color: var(--olive); }

.person { position: absolute; left: calc(108 * var(--u)); top: calc(373.4px + 157 * var(--u)); }
.person__shape { position: absolute; left: calc(7 * var(--u)); top: 0; width: calc(69 * var(--u)); height: calc(194 * var(--u)); object-fit: cover; }
.person__name { position: absolute; left: calc(109 * var(--u)); top: calc(121 * var(--u)); white-space: nowrap; font-size: calc(24 * var(--u)); line-height: calc(33.6 * var(--u)); font-weight: 700; }
.person__role { position: absolute; left: calc(109 * var(--u)); top: calc(162 * var(--u)); white-space: nowrap; font-size: calc(13.5 * var(--u)); line-height: calc(18.9 * var(--u)); }
.person__role strong { display: block; line-height: calc(17.1 * var(--u)); }
.person__contact { position: absolute; left: calc(107 * var(--u)); top: calc(224 * var(--u)); white-space: nowrap; font-size: calc(13.5 * var(--u)); line-height: calc(18.9 * var(--u)); }
.person__contact a { display: block; }
.person__contact a:hover { text-decoration: underline; }

/* ==========================================================================
   INVESTISSEMENTS
   ========================================================================== */
.invest-head { height: calc(293 * var(--c)); }
.invest-head h1 { position: absolute; left: calc(80 * var(--c)); top: calc(73.8 * var(--c)); width: calc(900 * var(--c)); font-size: calc(52.2667 * var(--c)); line-height: calc(73.1733 * var(--c)); font-weight: 700; }
.invest-head h1 span { color: var(--olive); }
.invest-hero { height: calc(669 * var(--u)); overflow: hidden; }
.invest-hero img { object-position: 50% 25.4%; }
.invest-body { height: calc(734 * var(--c)); }
.invest-body__kicker { position: absolute; left: calc(99.3 * var(--c)); top: calc(213.9 * var(--c)); font-size: calc(15.3 * var(--c)); line-height: calc(21.42 * var(--c)); }
.invest-body h2 { position: absolute; left: calc(99.3 * var(--c)); top: calc(240.3 * var(--c)); width: calc(760 * var(--c) - 30px); font-size: calc(51.3003 * var(--c)); line-height: calc(61.5603 * var(--c)); font-weight: 700; }
.invest-body__text { position: absolute; left: calc(99.3 * var(--c)); top: calc(369.4 * var(--c)); width: calc(760 * var(--c) - 20px); font-size: calc(24.3 * var(--c)); line-height: calc(34.02 * var(--c)); }
.invest-body__link { position: absolute; left: calc(99.3 * var(--c)); top: calc(492 * var(--c)); font-size: calc(19.2 * var(--c)); line-height: calc(26.88 * var(--c)); font-weight: 700; text-transform: uppercase; color: var(--blue); white-space: nowrap; }
.invest-body__link:hover { text-decoration: underline; }

/* ==========================================================================
   POLITIQUE DE CONFIDENTIALITÉ
   ========================================================================== */
.legal { --fs: max(16px, calc(18.0006 * var(--c))); --lh: calc(var(--fs) * 1.8); padding-bottom: calc(86 * var(--u)); }
.legal-head { position: relative; height: calc(327.2px + 57.4 * var(--u)); }
.legal-head .shape-dot { left: calc(78 * var(--u)); top: calc(122.87px - 30.87 * var(--u)); width: calc(135 * var(--u)); height: calc(135 * var(--u)); background: var(--olive-nav); }
.legal-head h1 { position: absolute; z-index: 1; left: calc(203 * var(--u)); top: calc(162.7px - 30.87 * var(--u)); white-space: nowrap; font-size: calc(44.3076 * var(--u)); line-height: calc(62.0307 * var(--u)); letter-spacing: calc(4.43076 * var(--u)); font-weight: 700; }
.legal-body { padding: 0 4%; }
.legal-body h2 { margin: calc(62.1 * var(--u)) 0 calc(22.6 * var(--u)); font-size: min(calc(25.344 * var(--u)), 24px); line-height: 1.3125; /* = interligne « normal » de la police Wix (31,5 px à 24 px) */ font-weight: 700; color: #000; }   /* blanc sur blanc sur l'original : rendu lisible à la demande de l'utilisateur */
.legal-body h2:first-child { margin-top: 0; }
.legal-body h2.is-tight { margin-top: calc(22.9 * var(--u)); }
.legal-body p,
.legal-body li { font-size: var(--fs); line-height: var(--lh); }
.legal-body ul { list-style: disc; padding-left: 1.778em; font-size: var(--fs); }

@media (prefers-reduced-motion: reduce) {
  .mobile-menu *, .mobile-menu.is-open * { transform: none !important; transition-delay: 0s !important; }
  .gallery__track, .biens-slider__track { transition: none; }
}

/* ==========================================================================
   ≤ 1000 px : menu burger (comme l'original). Les mises en page tablette et
   mobile de l'original ne sont pas encore reproduites : en dessous de 1001 px,
   les pages affichent pour l'instant la version ordinateur mise à l'échelle.
   ========================================================================== */
@media (max-width: 1000px) {
  .site-nav { display: none; }
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    right: 7.4vw;
    top: 50%;
    width: 28px;
    height: 19px;
    margin-top: -9.5px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .burger svg { display: block; width: 100%; height: 100%; fill: #000; }
  /* Menu plein écran, version tablette (751–1000 px) : fond taupe, grands intitulés, réseaux à droite.
     Animation : fondu du fond, puis intitulés et liens qui glissent en cascade.
     Menu ouvert : défilement bloqué sur <html> (pas <body>, sinon iOS décroche le header
     « sticky ») et fond de page à la couleur du menu, pour que la zone sous la barre
     d'outils de Safari (iPhone) ne reste pas blanche. */
  :root { --menu-bg: #59584b; }
  html { transition: background-color .32s cubic-bezier(.4, 0, .2, 1); }
  html.menu-open { overflow: hidden; background-color: var(--menu-bg); }
  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--menu-bg);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity .26s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .26s;
    will-change: opacity;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .32s cubic-bezier(.4, 0, .2, 1), visibility 0s; }
  .mobile-menu__nav a,
  .mobile-menu__social a,
  .mobile-menu__close { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .16s ease, transform 0s linear .26s; }
  .mobile-menu__close { transform: rotate(-90deg) scale(.7); }
  .mobile-menu.is-open .mobile-menu__nav a,
  .mobile-menu.is-open .mobile-menu__social a,
  .mobile-menu.is-open .mobile-menu__close {
    opacity: 1;
    transform: none;
    transition: opacity .45s cubic-bezier(.16, 1, .3, 1) var(--d, 0s), transform .7s cubic-bezier(.16, 1, .3, 1) var(--d, 0s);
  }
  .mobile-menu__nav a:nth-child(1) { --d: .05s; }
  .mobile-menu__nav a:nth-child(2) { --d: .09s; }
  .mobile-menu__nav a:nth-child(3) { --d: .13s; }
  .mobile-menu__nav a:nth-child(4) { --d: .17s; }
  .mobile-menu__social a:nth-child(1) { --d: .23s; }
  .mobile-menu__social a:nth-child(2) { --d: .27s; }
  .mobile-menu__close { --d: .08s; }
  .mobile-menu.no-anim,
  .mobile-menu.no-anim * { transition: none !important; }
  .mobile-menu__close:focus:not(:focus-visible) { outline: none; }
  .mobile-menu__nav { position: absolute; left: 6.57vw; top: calc(10.41vw - .8px); display: flex; flex-direction: column; align-items: flex-start; }
  .mobile-menu__nav a { font-size: 55px; line-height: 77px; font-weight: 700; text-transform: uppercase; white-space: nowrap; color: #fff; }
  .mobile-menu__nav a.is-active { color: #d5d5cd; }
  .mobile-menu__social { position: absolute; left: 55.77vw; top: calc(13.32vw + 4.9px); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
  .mobile-menu__social a { display: flex; align-items: center; gap: 10px; font-size: 20px; line-height: 26px; white-space: nowrap; color: #fff; }
  .mobile-menu__social svg { flex: none; width: 20px; height: 20px; fill: currentColor; transform: rotate(90deg); }
  .mobile-menu__close { position: absolute; top: 30px; right: 40px; width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
  .mobile-menu__close svg { display: block; width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 2; }
}

/* Menu plein écran, version mobile (≤ 750 px) : fond bleu-gris, réseaux sous les intitulés */
@media (max-width: 750px) {
  :root { --menu-bg: var(--footer); }
  .mobile-menu { display: flex; flex-direction: column; align-items: flex-start; padding: calc(15.5vw - .3px) 0 0 7.658vw; }
  .mobile-menu__nav { position: static; }
  .mobile-menu__nav a { font-size: 34px; line-height: 47.6px; }
  .mobile-menu__nav a.is-active { color: var(--blue); }
  .mobile-menu__social { position: static; margin: 56.3px 0 0 2.4px; gap: 12px; }
  .mobile-menu__social a { gap: 10px; font-size: 18px; line-height: 24px; font-weight: 700; }
  .mobile-menu__social svg { width: 18px; height: 18px; }
  .mobile-menu__close { top: 40px; right: 30px; width: 30.5px; height: 30.5px; }
}

/* Formulaire : case piège à robots, invisible */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
