/* =================================================================
   Marrakech Sunset Properties — design system front
   Palette coucher de soleil (pêche / sable / terracotta), verre dépoli,
   typographie Inter Tight (titres) + Work Sans (texte) + Barlow Condensed (données).
   ================================================================= */

/* ---------- 01. Tokens ---------- */
:root {
  --sand-50: #FFFBF5;
  --sand-100: #FDF3E5;
  --sand-200: #FAE6CB;
  --sand-300: #F5D3A6;
  --sand-400: #EDBF86;
  --sand-500: #E0A766;
  --sand-600: #C98B4A;
  --terracotta: #B95B33;
  --ink: #2A231E;
  --ink-2: #4F443B;
  --ink-3: #7E6F63;
  --wine: #4A1F22;
  --brown: #7A4A22;
  --line: rgba(42, 35, 30, .16);
  --line-strong: rgba(42, 35, 30, .5);

  --sun-fill: linear-gradient(180deg, rgba(255, 252, 246, .97) 0%, rgba(255, 244, 228, .78) 52%, rgba(255, 236, 212, .2) 100%);
  --sun-fill-strong: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 247, 236, .94) 60%, rgba(255, 238, 216, .72) 100%);
  --white-fill: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, .62) 64%, rgba(255, 255, 255, .16) 100%);

  --shadow-sm: 0 8px 18px -10px rgba(122, 74, 34, .32);
  --shadow-md: 0 26px 50px -26px rgba(122, 74, 34, .42), 0 8px 18px -12px rgba(122, 74, 34, .2);
  --shadow-lg: 0 44px 90px -40px rgba(92, 52, 20, .55);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --font-display: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --container: 1280px;
  --frame: 10px;

  --z-totop: 40;
  --z-header: 50;
  --z-menu: 60;
}

/* ---------- 02. Base ---------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  transition: color .2s ease;
}

a:hover {
  color: inherit;
}

img,
video {
  max-width: 100%;
  height: auto;
}

svg.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}

::selection {
  background: var(--sand-400);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 6px;
}

#main:focus {
  outline: none;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--sand-50);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease-out);
}

.skip-link:focus {
  transform: none;
  color: var(--sand-50);
}

.container-x {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  font: 500 12px/1.3 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Avant l'initialisation JS : rien ne "saute". Filet de sécurité si le JS échoue. */
.has-js [data-reveal],
.has-js [data-split] {
  opacity: 0;
  animation: sunset-safety .6s ease 2.5s forwards;
}

.has-js.motion-ready [data-reveal],
.has-js.motion-ready [data-split] {
  animation: none;
}

@keyframes sunset-safety {
  to { opacity: 1; }
}

/* Découpage des titres en lettres (sunset.js) */
.split {
  display: inline;
}

.split__word {
  display: inline-block;
  white-space: nowrap;
}

/* Le dégradé (background-clip: text) ne peint que la boîte : on l'agrandit pour couvrir accents et jambages */
.split__char {
  display: inline-block;
  padding: .12em 0 .2em;
  margin: -.12em 0 -.2em;
  will-change: transform;
}

.words .word {
  display: inline;
}

/* ---------- 03. Boutons, liens, puces ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 16px 28px;
  border: 0;
  border-radius: var(--r-pill);
  font: 500 16px/1 var(--font-body);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: transform .16s var(--ease-out), background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform .2s var(--ease-out);
}

.btn:active {
  transform: scale(.97);
}

.btn--sand {
  background: var(--sand-400);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), var(--shadow-sm);
}

.btn--taupe {
  background: linear-gradient(180deg, #D9C4A8 0%, #B49A7B 100%);
  color: #fff;
  font-size: 19px;
  padding: 15px 24px;
  text-shadow: 0 1px 2px rgba(90, 60, 30, .25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 6px rgba(120, 85, 50, .25), 0 12px 24px -14px rgba(122, 74, 34, .7);
}

.btn--ink {
  background: var(--ink);
  color: var(--sand-50);
}

.btn--block {
  width: 100%;
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 10px 26px -14px rgba(60, 30, 10, .45);
  color: #fff;
  font: 500 16px/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease-out);
}

.btn-glass .icon {
  width: 18px;
  height: 18px;
  transition: transform .2s var(--ease-out);
}

.btn-glass:active {
  transform: scale(.97);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), var(--shadow-sm);
  color: var(--ink-2);
  font: 400 15px/1 var(--font-body);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .16s var(--ease-out);
}

.pill .icon {
  width: 16px;
  height: 16px;
  transition: transform .2s var(--ease-out);
}

.pill:active {
  transform: scale(.97);
}

.pill--glass {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  color: var(--ink);
  font: 600 16px/1.2 var(--font-display);
  text-decoration: none;
}

.link-arrow .icon {
  width: 18px;
  height: 18px;
  transition: transform .2s var(--ease-out);
}

.link-arrow--sm {
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font: 500 13px/1.2 var(--font-body);
}

.link-arrow--sm .icon {
  width: 14px;
  height: 14px;
}

.link-arrow--light {
  color: var(--brown);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(122, 74, 34, .4);
}

@media (hover: hover) and (pointer: fine) {
  .btn--sand:hover { background: var(--sand-500); color: var(--ink); }
  .btn--taupe:hover { background: linear-gradient(180deg, #E0CDB2 0%, #BCA283 100%); color: #fff; }
  .btn--ink:hover { background: #40352d; color: var(--sand-50); }
  .btn-glass:hover { background: rgba(255, 255, 255, .3); color: #fff; }
  .pill:hover { background: rgba(255, 255, 255, .85); color: var(--ink); }
  .pill--glass:hover { background: rgba(255, 255, 255, .32); color: #fff; }
  .link-arrow:hover { color: var(--brown); }

  .btn:hover .icon--arrow-right,
  .link-arrow:hover .icon--arrow-right { transform: translateX(3px); }

  .btn:hover .icon--arrow-up-right,
  .btn-glass:hover .icon--arrow-up-right,
  .pill:hover .icon--arrow-up-right,
  .link-arrow:hover .icon--arrow-up-right { transform: translate(2px, -2px); }

  .link-arrow:hover .icon--arrow-left { transform: translateX(-3px); }
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 252, 247, .82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font: 600 10.5px/1 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.chip--sun {
  background: var(--sand-400);
}

.chip--ink {
  background: var(--ink);
  color: var(--sand-50);
}

.round-btn {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .16s var(--ease-out), opacity .2s ease;
}

.round-btn .icon {
  width: 20px;
  height: 20px;
}

.round-btn:active {
  transform: scale(.94);
}

.round-btn.swiper-button-disabled {
  opacity: .3;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .round-btn:hover { background: var(--ink); color: var(--sand-50); }
}

.dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.dots.swiper-pagination-bullets {
  position: static;
  left: auto;
  width: auto;
  transform: none;
}

.dots .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 5px !important;
  background: #CFC5BB;
  opacity: 1;
  transition: background-color .2s ease, transform .2s var(--ease-out);
}

.dots .swiper-pagination-bullet-active {
  background: var(--ink);
}

.dots--light .swiper-pagination-bullet {
  background: rgba(42, 35, 30, .7);
}

.dots--light .swiper-pagination-bullet-active {
  background: #fff;
}

/* ---------- 04. En-tête ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  padding: 18px calc(var(--frame) + clamp(8px, 2vw, 28px)) 0;
  pointer-events: none;
  transition: transform .4s var(--ease-out);
}

.site-header.is-hidden {
  transform: translateY(-130%);
}

.site-header__inner {
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: 1640px;
  margin: 0 auto;
  padding: 8px 10px 8px 10px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.site-header.is-scrolled .site-header__inner {
  background: rgba(255, 249, 240, .74);
  border-color: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--shadow-md);
}

/* Logo officiel. En-tête et tiroir : PNG appliqué en masque, la couleur suit le fond.
   Pied de page : PNG couleur sable affiché tel quel. */
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  color: #FAF2EA;
  margin-top: -6px;
  text-decoration: none;
  transition: color .3s ease;
}

.brand:hover {
  color: inherit;
}

.brand__logo {
  display: block;
  width: clamp(180px, 17vw, 250px);
  aspect-ratio: 5.6676;
  background-color: currentColor;
  -webkit-mask: url("../img/sunset/logo-marrakech-sunset.png") center / contain no-repeat;
  mask: url("../img/sunset/logo-marrakech-sunset.png") center / contain no-repeat;
  transition: background-color .3s ease;
}

.is-scrolled .brand,
.brand--dark {
  color: var(--brown);
}

.brand__img {
  display: block;
  width: clamp(230px, 21vw, 300px);
  height: auto;
}

/* Navigation principale (pilule vitrée) */
.site-nav.navbar {
  justify-self: center;
  padding: 0;
  flex-wrap: nowrap;
}

.site-nav__list.navbar-nav {
  flex-direction: row;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 5px;
  list-style: none;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 12px 30px -14px rgba(60, 30, 10, .4);
  transition: background-color .35s ease, border-color .35s ease;
}

.is-scrolled .site-nav__list.navbar-nav {
  background: rgba(255, 255, 255, .55);
  border-color: rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 #fff;
}

.site-nav .nav-item {
  position: relative;
}

.site-nav .navbar-nav .nav-link {
  display: flex;
  align-items: center;
  padding: 11px 16px;
  border-radius: var(--r-pill);
  color: rgba(255, 255, 255, .86);
  font: 400 15px/1 var(--font-body);
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}

.site-nav .navbar-nav .nav-link.show,
.site-nav .navbar-nav .nav-link.is-active,
.site-nav .navbar-nav .nav-link[aria-current="page"] {
  color: #fff;
  font-weight: 600;
}

.is-scrolled .site-nav .navbar-nav .nav-link {
  color: var(--ink-2);
}

.is-scrolled .site-nav .navbar-nav .nav-link.show,
.is-scrolled .site-nav .navbar-nav .nav-link.is-active,
.is-scrolled .site-nav .navbar-nav .nav-link[aria-current="page"] {
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .site-nav .navbar-nav .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .16); }
  .is-scrolled .site-nav .navbar-nav .nav-link:hover { color: var(--ink); background: rgba(255, 255, 255, .8); }
}

.site-nav .caret {
  display: none;
}

.site-nav .dropdown-toggle::after,
.mobile-menu .dropdown-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: -3px 0 0 9px;
  border: 0;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s var(--ease-out);
}

.site-nav .dropdown-toggle.show::after {
  transform: translateY(3px) rotate(-135deg);
}

/* Sous-menus : verre crème, apparition depuis le déclencheur */
.site-nav .dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  translate: -50% 0;
  min-width: 250px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: var(--r-md);
  background: rgba(255, 250, 243, .9);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: var(--shadow-md);
  transform-origin: top center;
  opacity: 0;
  transform: translateY(-4px) scale(.97);
  transition: opacity .18s var(--ease-out), transform .18s var(--ease-out), display .18s allow-discrete;
}

.site-nav .dropdown-menu.show {
  opacity: 1;
  transform: none;
}

@starting-style {
  .site-nav .dropdown-menu.show {
    opacity: 0;
    transform: translateY(-4px) scale(.97);
  }
}

.site-nav .dropdown-menu a {
  display: block;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 15px;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}

.site-nav .dropdown-menu a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .site-nav .dropdown-menu a:hover { background: var(--sand-200); color: var(--ink); }
}

/* Actions à droite */
.site-header__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 12px 0 0;
  list-style: none;
  border-right: 1px solid rgba(255, 255, 255, .45);
}

.lang-item {
  display: block;
  padding: 6px 7px;
  border-radius: 6px;
  color: rgba(255, 255, 255, .62);
  font: 500 13px/1 var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}

.lang-item.active,
.lang-item:hover {
  color: #fff;
}

.is-scrolled .lang-list {
  border-color: var(--line);
}

.is-scrolled .lang-item {
  color: var(--ink-3);
}

.is-scrolled .lang-item.active,
.is-scrolled .lang-item:hover {
  color: var(--ink);
}

.currency {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: #fff;
}

.currency select {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 6px 18px 6px 2px;
  font: 500 13px/1 var(--font-body);
  letter-spacing: .08em;
  cursor: pointer;
  field-sizing: content;
}

.currency option {
  color: var(--ink);
}

.currency .icon {
  position: absolute;
  right: 0;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.is-scrolled .currency {
  color: var(--ink);
}

.is-scrolled .btn-glass {
  border-color: rgba(42, 35, 30, .15);
  background: var(--ink);
  color: var(--sand-50);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

@media (hover: hover) and (pointer: fine) {
  .is-scrolled .btn-glass:hover { background: #40352d; color: var(--sand-50); }
}

.menu-toggle,
.menu-close {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  cursor: pointer;
  transition: transform .16s var(--ease-out), background-color .2s ease;
}

.menu-toggle .icon,
.menu-close .icon {
  width: 22px;
  height: 22px;
}

.menu-toggle:active,
.menu-close:active {
  transform: scale(.94);
}

.is-scrolled .menu-toggle {
  border-color: var(--line);
  background: var(--ink);
  color: var(--sand-50);
}

.menu-close {
  display: grid;
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

/* ---------- 05. Menu mobile (tiroir) ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .45s;
}

.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 35, 30, .35);
  opacity: 0;
  transition: opacity .3s ease;
}

.mobile-menu.is-open .mobile-menu__backdrop {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  width: min(440px, calc(100% - 20px));
  display: flex;
  flex-direction: column;
  padding: 18px 22px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--sand-50) 0%, var(--sand-200) 100%);
  box-shadow: var(--shadow-lg);
  transform: translateX(calc(100% + 20px));
  transition: transform .45s var(--ease-drawer);
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: none;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.mobile-menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu__list > li {
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateX(18px);
  transition: opacity .3s ease, transform .45s var(--ease-out);
  transition-delay: 0s;
}

.mobile-menu.is-open .mobile-menu__list > li {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 45ms + 120ms);
}

.mobile-menu__list .nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 2px;
  color: var(--ink);
  font: 600 26px/1.1 var(--font-display);
  letter-spacing: -0.025em;
  text-decoration: none;
}

.mobile-menu__list .caret {
  display: none;
}

.mobile-menu__list .dropdown-toggle::after {
  margin-right: 6px;
}

.mobile-menu__list li.is-open > .dropdown-toggle::after {
  transform: translateY(3px) rotate(-135deg);
}

.mobile-menu__list .dropdown-menu {
  position: static;
  display: none;
  margin: 0;
  padding: 0 0 14px 4px;
  list-style: none;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mobile-menu__list li.is-open > .dropdown-menu {
  display: block;
}

.mobile-menu__list .dropdown-menu a {
  display: block;
  padding: 8px 0;
  color: var(--ink-2);
  font-size: 17px;
  text-decoration: none;
}

.mobile-menu__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 32px;
}

.lang-list--dark {
  border: 0;
  padding: 0;
}

.lang-list--dark .lang-item {
  color: var(--ink-3);
}

.lang-list--dark .lang-item.active,
.lang-list--dark .lang-item:hover {
  color: var(--ink);
}

/* ---------- 06. Hero (accueil) ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  max-height: 1180px;
  background: var(--sand-300);
  isolation: isolate;
}

.hero__frame {
  position: absolute;
  inset: var(--frame);
  z-index: -1;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .55);
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 50% 60%;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(48, 24, 10, .4) 0%, rgba(48, 24, 10, 0) 30%),
    linear-gradient(0deg, var(--sand-300) 0%, rgba(245, 211, 166, .7) 12%, rgba(245, 211, 166, 0) 34%);
}

.hero__title {
  position: absolute;
  inset: clamp(96px, 12vh, 150px) 0 auto;
  margin: 0;
  text-align: center;
  pointer-events: none;
}

.hero__word {
  display: block;
  font: 700 clamp(64px, 20.4vw, 390px)/.86 var(--font-display);
  letter-spacing: -0.05em;
  background: var(--sun-fill);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__word.is-split,
.places__title.is-split,
.page-hero__title.is-split {
  background: none;
}

.hero__word .split__char,
.places__title .split__char {
  background: var(--sun-fill);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__aside {
  position: absolute;
  right: calc(var(--frame) + clamp(16px, 2.4vw, 36px));
  bottom: clamp(44px, 8vh, 96px);
  width: clamp(270px, 21vw, 330px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__thumbs {
  display: grid;
  gap: 12px;
}

.hero__thumb {
  display: block;
  aspect-ratio: 16 / 8.6;
  overflow: hidden;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, .8);
  box-shadow: var(--shadow-md);
}

.hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .hero__thumb:hover img { transform: scale(1.06); }
}

.hero-search {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.hero__scroll {
  position: absolute;
  left: calc(var(--frame) + clamp(20px, 3vw, 44px));
  bottom: clamp(36px, 6vh, 64px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--brown);
  font: 600 11px/1 var(--font-body);
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
}

.hero__scroll::after {
  content: "";
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, var(--brown) 0 30%, rgba(122, 74, 34, .25) 30% 100%);
  background-size: 200% 100%;
  animation: scroll-cue 2.4s var(--ease-in-out) infinite;
}

@keyframes scroll-cue {
  from { background-position: 100% 0; }
  to { background-position: -40% 0; }
}

/* Champs de formulaire (recherche) */
.field {
  display: grid;
  gap: 7px;
  margin: 0;
}

.field__label {
  font: 600 10.5px/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field__control {
  position: relative;
  display: block;
}

.field__control select {
  width: 100%;
  appearance: none;
  padding: 12px 40px 12px 14px;
  border: 1px solid rgba(42, 35, 30, .15);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: 400 15px/1.2 var(--font-body);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field__control select:hover {
  border-color: rgba(42, 35, 30, .32);
}

.field__control select:focus-visible {
  outline: none;
  border-color: var(--sand-600);
  box-shadow: 0 0 0 3px rgba(224, 167, 102, .32);
}

.field__control .icon {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 16px;
  height: 16px;
  translate: 0 -50%;
  pointer-events: none;
  color: var(--ink-2);
}

/* ---------- 07. Luxury expertise + bandeau d'images ---------- */
.expertise {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 72px) 0 clamp(90px, 10vw, 150px);
  background: linear-gradient(180deg, var(--sand-300) 0%, #F7DCB6 45%, var(--sand-100) 82%, var(--sand-50) 100%);
  text-align: center;
}

.expertise__title {
  margin: 0 0 clamp(28px, 4vw, 56px);
  font: 800 clamp(40px, 9.4vw, 196px)/.92 var(--font-display);
  letter-spacing: -0.005em;
  text-transform: uppercase;
  white-space: nowrap;
}

.expertise__title span {
  display: inline-block;
  background: var(--white-fill);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.expertise__text {
  max-width: 40ch;
  margin: 0 auto 30px;
  color: var(--brown);
  font: 400 clamp(19px, 1.85vw, 28px)/1.5 var(--font-body);
  letter-spacing: .005em;
  text-wrap: balance;
}

.strip {
  margin-top: clamp(56px, 7vw, 100px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.strip__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: strip-loop 70s linear infinite;
}

.strip__track img {
  width: clamp(240px, 29vw, 440px);
  aspect-ratio: 2.55 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, .75);
  box-shadow: var(--shadow-sm);
}

@keyframes strip-loop {
  to { transform: translateX(calc(-50% - 10px)); }
}

@media (hover: hover) and (pointer: fine) {
  .strip:hover .strip__track { animation-play-state: paused; }
}

/* ---------- 08. En-têtes de section + coverflow ---------- */
.collection {
  padding: clamp(60px, 8vw, 120px) 0 clamp(40px, 5vw, 72px);
  background: var(--sand-50);
  overflow: hidden;
}

.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(36px, 5vw, 80px);
  padding: 26px 0 30px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.sec-head__title {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: #3A3530;
  font-family: var(--font-body);
  line-height: .98;
}

.sec-head__title span {
  font-size: clamp(36px, 4.3vw, 64px);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.sec-head__title em {
  font-size: clamp(42px, 5.6vw, 84px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
}

.sec-head__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 36px;
  text-align: right;
}

.sec-head__aside p {
  max-width: 44ch;
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  letter-spacing: .02em;
}

.cover {
  --swiper-wrapper-transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.cover .swiper {
  padding: 24px 0 36px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}

.cover .swiper-slide {
  width: clamp(272px, 27vw, 400px);
  transition: opacity .4s ease;
}

.cover .swiper-slide:not(.swiper-slide-active) {
  opacity: .9;
}

.cover__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

/* ---------- 09. Carte bien ---------- */
.pcard {
  position: relative;
  aspect-ratio: 400 / 575;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, .9);
  background: var(--sand-200);
  box-shadow: var(--shadow-md);
}

.pcard__cover {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.pcard__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out);
}

.pcard__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 62px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
}

.pcard__panel {
  position: relative;
  z-index: 2;
  padding: 14px 14px 12px;
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, .8);
  background: rgba(250, 245, 238, .84);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  backdrop-filter: blur(16px) saturate(1.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 12px 26px -16px rgba(60, 30, 10, .5);
  pointer-events: none;
}

.pcard__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.pcard__title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font: 600 18px/1.22 var(--font-display);
  letter-spacing: -0.015em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pcard__link {
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}

.pcard__go {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: background-color .25s ease, color .25s ease;
}

.pcard__go .icon {
  width: 17px;
  height: 17px;
  transition: transform .25s var(--ease-out);
}

.pcard__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  margin: 6px 0 0;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.3;
}

.pcard__meta .icon {
  width: 15px;
  height: 15px;
  margin-right: -2px;
  color: var(--ink);
}

.pcard__meta span + span::before {
  content: "•";
  margin-right: 8px;
  color: var(--ink);
}

.pcard__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.pcard__eye {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.pcard__eye .icon {
  width: 16px;
  height: 16px;
}

.pcard__specs {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font: 500 15px/1 var(--font-cond);
}

.pcard__specs li {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
}

.pcard__specs li:first-child {
  padding-left: 0;
}

.pcard__specs li + li {
  border-left: 1px solid var(--line);
}

.pcard__specs .icon {
  width: 15px;
  height: 15px;
}

.pcard__price {
  margin-left: auto;
  color: var(--ink);
  font: 600 22px/1 var(--font-cond);
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-align: right;
}

/* mention ("À partir de") et période ("/Mois", "/Jour") du prix */
.pcard__price small,
.price-card__price small {
  color: var(--ink-3);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0;
}

.pcard__price small {
  font-size: 12px;
}

.pcard__price .price__from {
  display: block;
  margin-bottom: 4px;
}

@media (hover: hover) and (pointer: fine) {
  .pcard:hover .pcard__media img { transform: scale(1.06); }
  .pcard:hover .pcard__go { background: var(--ink); color: #fff; }
  .pcard:hover .pcard__go .icon { transform: translateX(2px); }
}

.pcard:focus-within {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.pcard__link:focus-visible {
  outline: none;
}

/* ---------- 10. Journal (bento) ---------- */
.journal {
  padding: clamp(40px, 6vw, 90px) 0 clamp(70px, 9vw, 130px);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(150px, auto);
  gap: 14px;
  grid-template-areas:
    "intro intro intro intro intro intro t1 t1 t1 t2 t2 t2"
    "intro intro intro intro intro intro t1 t1 t1 t2 t2 t2"
    "t3 t3 t3 t4 t4 t4 villa villa villa villa villa villa"
    "t5 t5 t5 t5 t5 t5 villa villa villa villa villa villa";
}

.bento__intro { grid-area: intro; }
.bento__villa { grid-area: villa; }
.tile--1 { grid-area: t1; }
.tile--2 { grid-area: t2; }
.tile--3 { grid-area: t3; }
.tile--4 { grid-area: t4; }
.tile--5 { grid-area: t5; }

.panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(24px, 3.2vw, 46px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: var(--shadow-sm);
}

.panel p {
  max-width: 46ch;
  margin: 0;
  color: var(--ink-2);
}

.panel .pill {
  align-self: flex-start;
  margin-top: 10px;
}

.panel--sand {
  background: linear-gradient(160deg, #FADFB9 0%, #F5D0A0 100%);
}

.panel--cream {
  border-color: rgba(42, 35, 30, .12);
  background: rgba(255, 251, 245, .85);
}

.panel__title {
  margin: 0;
  color: #3A2A20;
  font: 600 clamp(24px, 2.4vw, 34px)/1.12 var(--font-display);
  letter-spacing: -0.02em;
}

.panel__title--wine {
  color: var(--wine);
  font-weight: 700;
}

.tile {
  position: relative;
  display: flex;
  min-height: 150px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, .75);
  box-shadow: var(--shadow-sm);
  color: #fff;
}

.tile__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out);
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(28, 16, 8, .55) 0%, rgba(28, 16, 8, .12) 46%, rgba(28, 16, 8, .3) 100%);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 240, 220, .2), transparent 45%);
  opacity: 0;
  transition: opacity .3s ease;
}

.tile__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
}

.tile__eyebrow {
  margin: 0;
  font: 500 11px/1.3 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .92;
}

.tile__title {
  display: -webkit-box;
  max-width: 20ch;
  margin: 0;
  overflow: hidden;
  color: #fff;
  font: 600 clamp(18px, 1.55vw, 23px)/1.15 var(--font-display);
  letter-spacing: -0.015em;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tile__link {
  color: inherit;
  text-decoration: none;
}

.tile__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tile__link:hover {
  color: inherit;
}

.tile .pill {
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 14px;
  font-size: 14px;
}

.tile:focus-within {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

.tile__link:focus-visible {
  outline: none;
}

@media (hover: hover) and (pointer: fine) {
  .tile:hover .tile__media { transform: scale(1.07); }
  .tile:hover::after { opacity: 1; }
  .tile:hover .pill--glass { background: rgba(255, 255, 255, .34); }
  .tile:hover .pill .icon--arrow-up-right { transform: translate(2px, -2px); }
}

/* ---------- 11. Cartes vitrées + orbes ---------- */
.atelier {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(90px, 13vw, 210px) var(--gutter);
  background: linear-gradient(180deg, var(--sand-50) 0%, #FBE7CC 42%, var(--sand-300) 100%);
}

.atelier--entrust {
  background: linear-gradient(180deg, var(--sand-50) 0%, #FBE9D2 50%, #F6D6AC 100%);
}

.orb {
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #F9DDB4 0%, #EFC48D 72%);
}

.orb--1 { width: clamp(110px, 12vw, 180px); left: 6%; top: 30%; }
.orb--2 { width: clamp(170px, 19vw, 290px); right: 6%; top: 16%; }
.orb--3 { width: clamp(130px, 14vw, 210px); left: 5%; bottom: 12%; }
.orb--4 { width: clamp(80px, 9vw, 140px); right: -2%; bottom: 18%; }

.glass-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 72px);
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) clamp(26px, 5.5vw, 80px);
  border-radius: clamp(28px, 3vw, 46px);
  border: 1px solid rgba(255, 255, 255, .8);
  background: rgba(250, 240, 228, .5);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -1px 0 rgba(255, 255, 255, .3), 0 44px 90px -44px rgba(122, 74, 34, .5);
}

.glass-card__title {
  margin: 0 0 18px;
  color: #241E18;
  font: 800 clamp(28px, 3.1vw, 46px)/1.04 var(--font-display);
  letter-spacing: -0.04em;
}

.glass-card__main p {
  max-width: 46ch;
  margin: 0;
  color: #3D342D;
}

.glass-card__head {
  margin: 0 0 20px;
  color: #241E18;
  font: 700 15px/1.25 var(--font-display);
  letter-spacing: 0;
  text-transform: uppercase;
}

.glass-card__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  margin: 0 0 24px;
}

.glass-card__list div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-strong);
}

.glass-card__list dt {
  margin-bottom: 4px;
  color: #3D342D;
  font: 500 11px/1.2 var(--font-body);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.glass-card__list dd {
  margin: 0;
  color: #241E18;
  font: 600 16px/1.25 var(--font-display);
  letter-spacing: -0.01em;
}

/* ---------- 12. Interior design (plein cadre) ---------- */
.showcase {
  padding: 0 var(--frame);
  background: linear-gradient(180deg, var(--sand-300) 0%, var(--sand-50) 100%);
}

.showcase__frame {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  max-height: 1060px;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .6);
}

.showcase__media {
  position: absolute;
  top: -8%;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 116%;
  object-fit: cover;
}

.showcase__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(236, 132, 58, .5) 0%, rgba(236, 132, 58, .12) 38%, rgba(236, 132, 58, 0) 55%),
    linear-gradient(0deg, rgba(26, 14, 6, .62) 0%, rgba(26, 14, 6, 0) 42%);
}

.showcase__title {
  position: absolute;
  top: clamp(26px, 5vw, 72px);
  left: clamp(18px, 4vw, 56px);
  margin: 0;
  font: 800 clamp(64px, 14.6vw, 270px)/.78 var(--font-display);
  letter-spacing: -0.055em;
}

.showcase__title .line {
  display: block;
  overflow: hidden;
  padding: .04em .06em .26em 0;
  margin-bottom: -.3em;
}

.showcase__title .line > span {
  display: block;
  padding-bottom: .24em;
  margin-bottom: -.24em;
  background: var(--sun-fill-strong);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.showcase__text {
  position: absolute;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(22px, 4vw, 48px);
  max-width: 62ch;
  margin: 0;
  color: #fff;
  font: 500 clamp(12px, 1vw, 15px)/1.7 var(--font-display);
  letter-spacing: .02em;
  text-align: right;
  text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .35);
}

/* ---------- 12b. Off market (accueil) : bandeau slim ---------- */
.vault-band {
  padding: clamp(12px, 2.4vw, 32px) var(--frame);
}

.vault-band__frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .6);
}

.vault-band__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vault-band__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(42, 35, 30, .55) 0%, rgba(42, 35, 30, .25) 55%, rgba(42, 35, 30, .05) 100%);
}

.vault-band__content {
  padding-block: clamp(28px, 3.6vw, 52px);
}

.vault-band__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px clamp(20px, 2.4vw, 36px);
  max-width: 980px;
  padding: clamp(20px, 2.2vw, 30px) clamp(22px, 2.6vw, 36px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 251, 245, .86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.vault-band__card .vault__icon {
  width: 52px;
  height: 52px;
  margin: 0;
}

.vault-band__card .vault__icon .icon {
  width: 22px;
  height: 22px;
}

.vault-band__body .eyebrow {
  margin-bottom: 6px;
}

.vault-band__title {
  margin: 0 0 6px;
  color: var(--ink);
  font: 600 clamp(20px, 1.9vw, 26px)/1.15 var(--font-display);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.vault-band__text {
  max-width: 62ch;
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}

.vault-band__actions {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.vault-band__help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin: 0;
  color: var(--ink-3);
  font-size: 13px;
}

/* tablette : l'action passe sous le texte */
@media (max-width: 1100px) {
  .vault-band__card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .vault-band__actions {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
  }
}

@media (max-width: 640px) {
  .vault-band__frame {
    border-radius: 22px;
  }

  .vault-band__card {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 20px;
  }

  .vault-band__actions {
    grid-column: auto;
  }

  .vault-band__actions .btn {
    width: 100%;
    padding-inline: 14px;
    font-size: 15px;
  }
}

/* ---------- 13. Localisations ---------- */
.places {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(30px, 5vw, 70px);
  background: #F6D6AC;
}

.places__sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .7) 20%, #000 42%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .7) 20%, #000 42%);
}

.places__sky img {
  position: absolute;
  top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center 65%;
  filter: sepia(.35) saturate(1.4) brightness(1.03);
}

.places__sky::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(246, 180, 110, .55) 0%, rgba(236, 130, 60, .28) 55%, rgba(40, 20, 8, .3) 100%);
}

.places__title {
  margin: 0;
  padding-top: clamp(110px, 16vw, 270px);
  text-align: center;
  font: 800 clamp(58px, 15.8vw, 300px)/.84 var(--font-display);
  letter-spacing: -0.05em;
  background: var(--sun-fill);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.places__slider {
  margin-top: clamp(-80px, -4.5vw, -28px);
  padding-bottom: 28px;
}

.places .swiper-slide {
  width: clamp(250px, 33vw, 470px);
}

.place {
  position: relative;
  display: block;
  aspect-ratio: 1.52;
  overflow: hidden;
  isolation: isolate;
  border-radius: 22px;
  border: 1.5px solid rgba(255, 255, 255, .6);
  box-shadow: var(--shadow-md);
  color: #fff;
  text-decoration: none;
}

.place img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out);
}

.place::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(14, 8, 4, .72) 0%, rgba(14, 8, 4, 0) 52%);
}

.place__name {
  position: absolute;
  right: 12px;
  bottom: 22px;
  left: 12px;
  text-align: center;
  font: 500 clamp(22px, 2.2vw, 32px)/1 var(--font-cond);
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .35s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .place:hover { color: #fff; }
  .place:hover img { transform: scale(1.07); }
  .place:hover .place__name { transform: translateY(-4px); }
}

.places__band {
  position: relative;
  padding: 26px 0 30px;
  background: #EAC48F;
}

.places__band .round-btn {
  border-color: var(--ink);
}

/* ---------- 14. Newsletter ---------- */
.newsletter {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(80px, 9vw, 130px) 0 clamp(60px, 7vw, 100px);
  background: linear-gradient(180deg, var(--sand-50) 0%, #FCEFDD 100%);
  text-align: center;
}

.newsletter__art {
  position: absolute;
  top: clamp(80px, 9vw, 120px);
  left: 0;
  z-index: -1;
  width: 100%;
  height: auto;
  fill: none;
  stroke: var(--sand-500);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.newsletter__title {
  margin: 0 0 14px;
  color: #141110;
  font: 800 italic clamp(44px, 5.4vw, 78px)/1 var(--font-display);
  letter-spacing: -0.04em;
}

.newsletter__lead {
  max-width: 60ch;
  margin: 0 auto 30px;
  color: var(--ink-2);
}

.newsletter__form {
  max-width: 620px;
  margin: 0 auto;
}

.newsletter__row {
  display: flex;
  gap: 12px;
}

.newsletter__field {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  height: 56px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid rgba(42, 35, 30, .18);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .75);
  color: var(--ink-2);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.newsletter__field .icon {
  width: 22px;
  height: 22px;
}

.newsletter__field:focus-within {
  border-color: var(--sand-600);
  box-shadow: 0 0 0 3px rgba(224, 167, 102, .3);
}

.newsletter__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: 400 16px/1 var(--font-body);
}

.newsletter__row .btn {
  height: 56px;
  font-weight: 600;
}

.msgbox {
  text-align: left;
}

.msgbox .alert {
  margin-bottom: 14px;
  border-radius: 14px;
  font-size: 14px;
}

/* ---------- 15. Pied de page ---------- */
.site-footer {
  padding: clamp(40px, 5vw, 70px) 0 26px;
  background: linear-gradient(180deg, #FCEFDD 0%, #F8E0BD 55%, #F3CF9F 100%);
  color: var(--ink-2);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.25fr;
  gap: 40px;
}

.site-footer__brand p {
  max-width: 34ch;
  margin: 24px 0 22px;
  color: var(--ink);
  font-size: 15px;
}

.socials {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1.5px solid var(--brown);
  color: var(--brown);
  font-size: 18px;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .socials a:hover { background: var(--brown); color: var(--sand-100); }
}

.site-footer .eyebrow {
  margin-bottom: 20px;
  color: var(--brown);
  font-weight: 600;
  letter-spacing: .22em;
}

.footer-nav {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
}

.footer-nav a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--sand-600);
  transform: rotate(45deg);
  transition: transform .25s var(--ease-out), background-color .2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer-nav a:hover { color: var(--brown); }
  .footer-nav a:hover::before { transform: rotate(225deg); background: var(--brown); }
}

.footer-info {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
}

.footer-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
}

.footer-info .icon,
.footer-info .fab {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--brown);
  font-size: 17px;
  text-align: center;
}

.footer-info a {
  color: var(--ink);
  text-decoration: none;
}

.footer-info a:hover {
  color: var(--brown);
}

.footer-info__name {
  color: var(--ink-3);
}

.site-footer .link-arrow {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font: 500 15px/1.2 var(--font-body);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid rgba(122, 74, 34, .35);
  font-size: 13px;
  color: var(--ink);
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__bottom li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  margin: 0 18px;
  vertical-align: middle;
  background: rgba(122, 74, 34, .45);
}

.site-footer__bottom a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: var(--brown);
}

.to-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: var(--z-totop);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .85);
  background: rgba(255, 249, 240, .8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.95);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), background-color .2s ease;
}

.to-top .icon {
  width: 20px;
  height: 20px;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.to-top:active {
  transform: scale(.94);
}

@media (hover: hover) and (pointer: fine) {
  .to-top:hover { background: #fff; }
}

/* ---------- 16. Pages intérieures ---------- */
.main-area {
  background: var(--sand-50);
}

.page-hero {
  position: relative;
  height: clamp(440px, 70svh, 760px);
  isolation: isolate;
  background: var(--sand-50);
}

.page-hero__frame {
  position: absolute;
  inset: var(--frame);
  z-index: -1;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .55);
  background: var(--sand-300);
}

.page-hero__media {
  position: absolute;
  top: -8%;
  left: 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
}

.page-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(48, 24, 10, .48) 0%, rgba(48, 24, 10, 0) 32%),
    linear-gradient(0deg, rgba(40, 20, 8, .62) 0%, rgba(40, 20, 8, .08) 58%),
    linear-gradient(0deg, rgba(236, 140, 70, .18), rgba(236, 140, 70, .18));
}

.page-hero__content {
  position: absolute;
  right: 0;
  bottom: clamp(40px, 6vw, 76px);
  left: 0;
}

.page-hero__title {
  max-width: 15ch;
  margin: 16px 0 0;
  font: 800 clamp(44px, 8.2vw, 132px)/.9 var(--font-display);
  letter-spacing: -0.045em;
  background: var(--sun-fill-strong);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero__title .split__char {
  background: var(--sun-fill-strong);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero__title--long {
  max-width: 24ch;
  font-size: clamp(32px, 4.6vw, 74px);
  line-height: .98;
  letter-spacing: -0.035em;
}

.crumbs ol {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 8px 16px;
  list-style: none;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  max-width: 34ch;
}

.crumbs li[aria-current] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
}

.crumbs li + li::before {
  content: "/";
  margin: 0 9px;
  opacity: .6;
}

.crumbs a {
  color: #fff;
  text-decoration: none;
}

.crumbs a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.big-title {
  margin: 0 0 clamp(24px, 3vw, 40px);
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  color: #3A3530;
  font: 300 clamp(30px, 3.6vw, 52px)/1.05 var(--font-body);
  letter-spacing: -0.01em;
}

.product-list,
.page-cms,
.team-page,
.contact-section {
  padding: clamp(56px, 7vw, 110px) 0;
}

/* Barre de recherche des listes */
.searchbox {
  margin-bottom: clamp(32px, 4vw, 56px);
  padding: 14px;
  border-radius: 22px;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, .66);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}

.searchbox__form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 12px;
}

.searchbox .btn {
  height: 46px;
  padding: 0 26px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.empty-state {
  padding: 48px 24px;
  border: 1px dashed rgba(42, 35, 30, .25);
  border-radius: 22px;
  color: var(--ink-3);
  text-align: center;
}

.empty-state p {
  max-width: 52ch;
  margin: 0 auto 22px;
}

/* Pagination */
.div-pagination {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination .page-link {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  margin: 0 !important;
  padding: 0 14px;
  border: 1px solid rgba(42, 35, 30, .18);
  border-radius: var(--r-pill) !important;
  background: rgba(255, 255, 255, .6);
  color: var(--ink);
  font-weight: 500;
  box-shadow: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.pagination .page-link .icon {
  width: 18px;
  height: 18px;
}

.pagination .page-link:hover {
  border-color: rgba(42, 35, 30, .38);
  background: #fff;
  color: var(--ink);
}

.pagination .page-link.page-link-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--sand-50);
}

/* Fiche bien */
.product-detail {
  padding: clamp(48px, 6vw, 96px) 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  align-items: start;
  gap: clamp(32px, 5vw, 76px);
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.spec-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(42, 35, 30, .08);
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.spec-chips .icon {
  width: 18px;
  height: 18px;
  color: var(--sand-600);
}

.spec-chips__label {
  color: var(--ink-3);
  font-weight: 400;
}

.prose {
  max-width: 70ch;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.75;
}

.prose--page {
  margin: 0 auto;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  margin: 1.6em 0 .6em;
  color: var(--ink);
}

.prose h1 { font-size: clamp(30px, 3vw, 40px); }
.prose h2 { font-size: clamp(26px, 2.4vw, 32px); }
.prose h3 { font-size: 22px; }
.prose h4 { font-size: 18px; }

.prose > :first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1.1em;
}

.prose img {
  height: auto !important;
  margin: 1.4em 0;
  border-radius: 18px;
}

/* cartes Google Maps, vidéos saisies dans l'éditeur : jamais plus larges que la colonne */
.prose iframe,
.prose video {
  max-width: 100%;
  border: 0;
  border-radius: 18px;
}

.prose a {
  color: var(--terracotta);
  text-underline-offset: 3px;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li::marker {
  color: var(--sand-600);
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--sand-400);
  color: var(--ink);
  font-size: 1.1em;
  font-style: italic;
}

.detail-block {
  margin-top: 56px;
}

.detail-block__title {
  margin: 0 0 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
  color: #3A3530;
  font: 300 clamp(26px, 2.6vw, 34px)/1.1 var(--font-body);
  letter-spacing: -0.01em;
}

.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.amenities li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px 8px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(42, 35, 30, .08);
  background: var(--sand-100);
  color: var(--ink);
  font-size: 14px;
}

.amenities img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 150px;
  gap: 10px;
}

.item-gallery {
  display: block;
  overflow: hidden;
  border-radius: 16px;
}

.item-gallery:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.item-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .item-gallery:hover img { transform: scale(1.06); }
}

/* la colonne prend la hauteur de la fiche : la carte peut y rester collée au scroll */
.detail-aside {
  align-self: stretch;
}

.price-card {
  --sticky-offset: 112px;
  position: sticky;
  top: var(--sticky-top, var(--sticky-offset)); /* --sticky-top : posé par sunset.js si la carte dépasse l'écran */
  padding: 26px;
  border-radius: 26px;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
}

.price-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.price-card__label {
  margin: 0;
  color: var(--ink-3);
  font: 500 12px/1.3 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.price-card__price {
  margin: 6px 0 22px;
  color: var(--ink);
  font: 600 40px/1 var(--font-cond);
  letter-spacing: -0.005em;
}

.price-card__price small {
  font-size: 16px;
}

.form-stack {
  display: grid;
  gap: 10px;
}

.form-stack .btn {
  margin-top: 6px;
}

.form-control,
.form-control:focus {
  height: auto;
  padding: 13px 16px;
  border: 1px solid rgba(42, 35, 30, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  font: 400 15px/1.4 var(--font-body);
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-control::placeholder {
  color: var(--ink-3);
  opacity: 1;
}

.form-control:focus {
  border-color: var(--sand-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(224, 167, 102, .28);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.collection--similar {
  padding-top: clamp(30px, 4vw, 60px);
}

/* Ma sélection : bouton cœur */
.select-btn {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .85);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .16s var(--ease-out);
}

.select-btn .icon {
  width: 20px;
  height: 20px;
  transition: fill .2s ease;
}

.select-btn[aria-pressed="true"] .icon {
  fill: currentColor;
}

.select-btn:active {
  transform: scale(.92);
}

.select-btn--icon {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 252, 247, .82);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}

.select-btn--icon[aria-pressed="true"] {
  color: var(--terracotta);
}

.select-btn--pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-color: rgba(42, 35, 30, .14);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink-2);
  font: 500 13px/1 var(--font-body);
}

.select-btn--pill .icon {
  width: 18px;
  height: 18px;
}

.select-btn--pill[aria-pressed="true"] {
  border-color: rgba(185, 91, 51, .35);
  background: #FBEDE4;
  color: var(--terracotta);
}

@media (hover: hover) and (pointer: fine) {
  .select-btn--icon:hover { background: #fff; color: var(--terracotta); }
  .select-btn--pill:hover { border-color: rgba(42, 35, 30, .3); color: var(--ink); }
  .select-btn--pill[aria-pressed="true"]:hover { color: var(--terracotta); }
}

.price-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* libellé long ("Prix à partir de") : il passe à la ligne, le bouton garde sa place */
.price-card__top .price-card__label {
  min-width: 0;
}

.price-card__top .select-btn {
  flex: none;
}

/* Cœur de l'en-tête vers « Ma sélection » */
.header-fav {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.header-fav .icon {
  width: 20px;
  height: 20px;
}

.header-fav__count {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--terracotta);
  color: #fff;
  font: 600 11px/1 var(--font-body);
}

.is-scrolled .header-fav {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .header-fav:hover { background: rgba(255, 255, 255, .3); color: #fff; }
  .is-scrolled .header-fav:hover { background: var(--sand-100); color: var(--terracotta); }
}

/* Page « Ma sélection » */
.selection__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 40px);
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.selection__count {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}

.selection__count strong {
  color: var(--ink);
  font: 600 22px/1 var(--font-cond);
}

.selection__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.selection__clear {
  cursor: pointer;
}

.selection__empty-icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #FBEDE4;
  color: var(--terracotta);
}

.selection__empty-icon .icon {
  width: 26px;
  height: 26px;
}

/* Partage */
.share {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.share__label {
  margin: 0 0 12px;
  color: var(--ink-3);
  font: 500 12px/1.3 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.share__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.share__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(42, 35, 30, .14);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease-out), background-color .2s ease, color .2s ease, border-color .2s ease;
}

.share__btn .icon {
  width: 18px;
  height: 18px;
}

.share__btn:active {
  transform: scale(.94);
}

/* Copie du lien : l'icône lien laisse place à une coche */
.share__icon-link,
.share__icon-check {
  grid-area: 1 / 1;
  transition: opacity .2s ease, transform .2s var(--ease-out);
}

.share__icon-check {
  opacity: 0;
  transform: scale(.6);
}

/* plus spécifique que l'état de survol : la confirmation reste visible sous la souris */
.share__btn.share__btn--copy.is-copied {
  border-color: #2F6B4A;
  background: #2F6B4A;
  color: #fff;
}

.share__btn--copy.is-copied .share__icon-link {
  opacity: 0;
  transform: scale(.6);
}

.share__btn--copy.is-copied .share__icon-check {
  opacity: 1;
  transform: none;
}

.share__status {
  min-height: 1.4em;
  margin: 10px 0 0;
  color: #2F6B4A;
  font-size: 13px;
}

@media (hover: hover) and (pointer: fine) {
  .share__btn:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--sand-50);
    transform: translateY(-2px);
  }

  .share__btn--whatsapp:hover { border-color: #1F8F4E; background: #1F8F4E; }
  .share__btn--facebook:hover { border-color: #1D5FD1; background: #1D5FD1; }
  .share__btn--linkedin:hover { border-color: #0A66C2; background: #0A66C2; }
}

@media (prefers-reduced-motion: reduce) {
  .share__btn,
  .share__icon-link,
  .share__icon-check {
    transition: background-color .2s ease, color .2s ease, opacity .2s ease;
  }

  .share__btn:hover {
    transform: none;
  }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 56px);
}

.contact-card {
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-md);
}

.contact-header__title {
  margin: 0 0 10px;
  color: var(--ink);
  font: 700 clamp(26px, 2.6vw, 38px)/1.1 var(--font-display);
  letter-spacing: -0.03em;
}

.contact-header p {
  max-width: 56ch;
  margin: 0;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 20px;
}

.field-float {
  display: block;
  margin: 0;
}

.field-float--full {
  grid-column: 1 / -1;
}

.contact-aside {
  position: sticky;
  top: 112px;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 28px;
  background: linear-gradient(160deg, #FADFB9 0%, #F2C895 100%);
  box-shadow: var(--shadow-sm);
}

.contact-aside .eyebrow {
  color: var(--brown);
  font-weight: 600;
}

.contact-info {
  display: grid;
  gap: 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}

.contact-info__icon {
  display: grid;
  flex: 0 0 46px;
  place-items: center;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .65);
  color: var(--brown);
}

.contact-info__icon .icon {
  width: 20px;
  height: 20px;
}

.contact-info a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  word-break: break-word;
}

.contact-info a:hover {
  color: var(--brown);
}

/* Blog */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 18px;
}

.tile--post {
  min-height: 320px;
}

.back-link {
  margin: 48px 0 0;
  text-align: center;
}

/* Off market : accès par mot de passe */
.vault {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 60px) clamp(24px, 5vw, 56px);
  border-radius: 28px;
  border: 1px solid #fff;
  background: linear-gradient(160deg, rgba(255, 255, 255, .85) 0%, rgba(250, 230, 203, .75) 100%);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.vault__icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--sand-300);
}

.vault__icon .icon {
  width: 28px;
  height: 28px;
}

.vault__title {
  margin: 0 0 12px;
  font: 700 clamp(26px, 2.8vw, 38px)/1.1 var(--font-display);
  letter-spacing: -0.03em;
}

.vault__text {
  max-width: 48ch;
  margin: 0 auto 28px;
}

.vault__row {
  display: flex;
  gap: 10px;
}

.vault__field {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(42, 35, 30, .2);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink-3);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.vault__field:focus-within {
  border-color: var(--sand-600);
  box-shadow: 0 0 0 3px rgba(224, 167, 102, .3);
}

.vault__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font: 400 16px/1 var(--font-body);
}

.vault__row .btn {
  height: 54px;
}

.vault__error {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #F9E1DA;
  color: #8A2E1C;
  font-size: 14px;
}

.vault__closed {
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
}

.vault__help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  margin: 26px 0 0;
  color: var(--ink-3);
  font-size: 14px;
}

.offmarket__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 40px);
  border-top: 1px solid var(--line-strong);
}

.offmarket__head .big-title {
  margin: 0;
  border-top: 0;
}

.offmarket__head .pill {
  cursor: pointer;
}

.offmarket__intro {
  margin-bottom: clamp(24px, 3vw, 40px);
}

@media (max-width: 640px) {
  .vault__row {
    flex-direction: column;
  }

  /* empilé en colonne, flex: 1 écraserait la hauteur du champ */
  .vault__field {
    flex: none;
  }
}

/* Témoignages */
.quotes {
  padding: clamp(56px, 7vw, 110px) 0;
}

.quotes__intro {
  max-width: 62ch;
  margin: 0 auto clamp(40px, 5vw, 72px);
  color: var(--brown);
  font: 400 clamp(18px, 1.6vw, 22px)/1.6 var(--font-body);
  text-align: center;
  text-wrap: balance;
}

.quotes__intro p {
  margin: 0;
}

.quotes__intro strong {
  color: var(--ink);
  font-weight: 600;
}

.quote {
  position: relative;
  margin: 0;
  padding: clamp(26px, 3vw, 40px);
  border-radius: 24px;
  border: 1px solid #fff;
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-sm);
  break-inside: avoid;
}

.quote__mark {
  position: absolute;
  top: -.2em;
  left: 22px;
  color: var(--sand-400);
  font: 800 120px/1 var(--font-display);
  pointer-events: none;
}

.quote__text {
  margin: 22px 0 24px;
  color: var(--ink);
  font: 400 17px/1.75 var(--font-body);
}

.quote__text p {
  margin: 0;
}

.quote__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.quote__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sand-300), var(--sand-600));
  color: #fff;
  font: 600 15px/1 var(--font-display);
  letter-spacing: .04em;
}

.quote__who {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.quote__who strong {
  color: var(--ink);
  font: 600 16px/1.2 var(--font-display);
}

.quote__who span {
  color: var(--ink-3);
  font: 500 11.5px/1.2 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.quote--featured {
  margin-bottom: clamp(20px, 2.4vw, 32px);
  padding: clamp(36px, 5vw, 72px) clamp(26px, 6vw, 96px);
  border-color: rgba(255, 255, 255, .85);
  background: linear-gradient(160deg, #FADFB9 0%, #F3CB98 100%);
}

.quote--featured .quote__mark {
  top: -.08em;
  left: clamp(16px, 4vw, 60px);
  color: #fff;
  font-size: clamp(140px, 16vw, 240px);
  opacity: .8;
}

.quote--featured .quote__text {
  max-width: 42ch;
  margin-top: clamp(48px, 6vw, 84px);
  color: #2E211A;
  font: 500 clamp(21px, 2.3vw, 32px)/1.42 var(--font-display);
  letter-spacing: -0.015em;
}

.quote--featured .quote__author {
  border-color: rgba(122, 74, 34, .25);
}

.quotes__grid {
  columns: 2 340px;
  column-gap: clamp(20px, 2.4vw, 32px);
}

.quotes__grid .quote {
  display: block;
  width: 100%;
  margin-bottom: clamp(20px, 2.4vw, 32px);
}

.quotes-cta {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: clamp(32px, 5vw, 72px);
}

.quotes-cta > div {
  display: grid;
  gap: 10px;
  max-width: 60ch;
}

/* Netlinking */
.netlinking__intro {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.netlinking__subtitle {
  color: var(--ink);
  font: 500 clamp(19px, 1.7vw, 23px)/1.45 var(--font-display);
  letter-spacing: -0.01em;
}

/* Équipe */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}

.item-team {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(42, 35, 30, .06);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.item-team__media {
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  background: var(--sand-200);
}

.item-team__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-team__body {
  padding: 20px 22px 24px;
}

.item-team__body h3 {
  margin: 0 0 4px;
  font-size: 22px;
}

.item-team__body ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.item-team__body li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.item-team__body .icon {
  width: 17px;
  height: 17px;
  color: var(--brown);
}

.item-team__body a {
  color: var(--ink);
  text-decoration: none;
  word-break: break-word;
}

/* Fancybox : fond assorti */
.fancybox-bg {
  background: #1E1611;
}

/* ---------- 16b. Partenaire illi rugs (section Design d'intérieur + page dédiée) ---------- */
.partner {
  padding: clamp(56px, 7vw, 110px) 0;
}

/* juste sous le texte d'une page : pas de double marge */
.page-cms + .partner,
.page-cms + .illi-collections {
  padding-top: 0;
}

.partner__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.partner--reverse .partner__media {
  order: 2;
}

.partner__media {
  position: relative;
  margin: 0;
}

.partner__media > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.partner__logo {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: clamp(76px, 8vw, 104px);
  aspect-ratio: 1;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(255, 251, 245, .82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.partner__logo img {
  width: 62%;
  height: auto;
}

.partner__title {
  margin-bottom: 22px;
}

.partner__heading {
  margin: 0 0 18px;
  color: var(--ink);
  font: 600 clamp(30px, 3.4vw, 48px)/1.05 var(--font-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.partner__text {
  max-width: 54ch;
  margin: 0 0 24px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.7;
}

.partner__points {
  display: grid;
  gap: 12px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-weight: 500;
}

.partner__points li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.partner__points .icon {
  flex: none;
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 50%;
  background: var(--sand-200);
  color: var(--terracotta);
}

.partner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.rug-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  margin-block: 0;
  padding: 0;
  list-style: none;
}

.rug-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.rug-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 413 / 537;
  border-radius: var(--r-md);
  background: var(--sand-200);
}

.rug-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out);
}

.rug-card__name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  color: var(--ink);
  font: 600 17px/1.25 var(--font-display);
}

.rug-card__name .icon {
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform .2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .rug-card a:hover .rug-card__media img { transform: scale(1.05); }
  .rug-card a:hover .rug-card__name .icon { transform: translate(2px, -2px); }
}

@media (max-width: 900px) {
  .partner__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .partner--reverse .partner__media {
    order: 0;
  }

  .partner__media {
    max-width: 560px;
  }

  .rug-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .rug-card__media img,
  .rug-card__name .icon {
    transition: none;
  }
}

/* ---------- 17. Responsive ---------- */
@media (max-width: 1420px) {
  /* Le menu complet (6 entrées) occupe la largeur : le bouton Contact reste accessible dans le menu */
  .site-header__cta {
    display: none;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-nav .navbar-nav .nav-link {
    padding: 11px 12px;
  }
}

@media (max-width: 1180px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .site-nav,
  .site-header__cta,
  .site-header__actions > .lang-list {
    display: none !important;
  }

  .menu-toggle {
    display: grid;
  }

  .glass-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .searchbox__form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .searchbox .btn {
    grid-column: 1 / -1;
  }

  .detail-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .price-card,
  .contact-aside {
    position: static;
  }
}

@media (max-width: 900px) {
  :root {
    --frame: 8px;
  }

  .hero {
    min-height: 600px;
  }

  .hero__title {
    inset: clamp(110px, 16vh, 150px) 0 auto;
  }

  .hero__aside {
    right: calc(var(--frame) + 16px);
    left: calc(var(--frame) + 16px);
    bottom: 26px;
    width: auto;
  }

  .hero__thumbs,
  .hero__scroll {
    display: none;
  }

  .hero-search {
    grid-template-columns: 1fr 1fr;
  }

  .hero-search .btn {
    grid-column: 1 / -1;
  }

  .sec-head {
    grid-template-columns: 1fr;
  }

  .sec-head__aside {
    align-items: flex-start;
    gap: 16px;
    text-align: left;
  }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(210px, auto);
    grid-template-areas:
      "intro intro"
      "t1 t2"
      "t3 t4"
      "t5 t5"
      "villa villa";
  }

  .showcase__text {
    left: clamp(18px, 4vw, 56px);
    text-align: left;
  }

  .product-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 12px;
  }

  .brand__logo {
    width: 160px;
  }

  .brand__img {
    width: 220px;
  }

  .hero-search {
    grid-template-columns: 1fr;
  }

  .bento {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "t1"
      "t2"
      "t3"
      "t4"
      "t5"
      "villa";
  }

  .glass-card__list {
    grid-template-columns: 1fr;
  }

  .newsletter__row {
    flex-direction: column;
  }

  .newsletter__art {
    top: 40px;
    opacity: .6;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom li + li::before {
    margin: 0 10px;
  }

  .searchbox__form,
  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .cover .swiper-slide {
    width: 78vw;
  }

  .cover__nav .dots {
    display: none;
  }

  .places .swiper-slide {
    width: 74vw;
  }

  .crumbs li {
    max-width: 22ch;
  }
}

/* ---------- 18. Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .strip {
    overflow-x: auto;
  }

  .strip__track,
  .hero__scroll::after {
    animation: none;
  }

  .pcard__media img,
  .tile__media,
  .place img,
  .hero__thumb img,
  .item-gallery img {
    transition: none;
  }

  .mobile-menu__panel {
    transition: transform .01s linear;
  }

  .mobile-menu__list > li {
    transform: none;
  }
}
