@font-face {
  font-family: "Gotham";
  src: url("../assets/fonts/Gotham-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("../assets/fonts/Gotham-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("../assets/fonts/Gotham-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Adam Palm brand tokens */
:root {
  --ap-dark: #191e24;
  --ap-purple: #773d66;
  --ap-beige: #e1cfb0;
  --ap-white: #ffffff;
  --ap-muted: rgba(225, 207, 176, 0.72);
  --wa: #25d366;
  --wa-dark: #1ebe57;
  --header-h: 80px;

  --global-body-font-family: Marcellus, serif;
  --global-heading-font-family: Marcellus, serif;
  --global-primary-nav-font-family: inherit;
  --global-fallback-font: sans-serif;
  --global-display-fallback-font: sans-serif;
  --global-content-width: 1290px;

  --font: var(--global-body-font-family);
  --font-heading: var(--global-heading-font-family);
  --container: min(var(--global-content-width), calc(100% - 2.5rem));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--global-body-font-family), var(--global-fallback-font);
  font-weight: normal;
  font-size: 17px;
  color: var(--ap-beige);
  background: var(--ap-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* Adam Palm type: Marcellus headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--global-heading-font-family), var(--global-display-fallback-font);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 0.75rem;
  color: var(--ap-beige);
  text-transform: uppercase;
}

p {
  font-weight: normal;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 9999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Buttons — Adam Palm purple + white official WhatsApp pictogram */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 14px 40px;
  border-radius: 100px;
  font-family: var(--global-body-font-family), var(--global-fallback-font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.btn-lg { min-height: 52px; padding: 16px 44px; }

.btn-brand {
  background: var(--ap-purple);
  border-color: var(--ap-purple);
  color: var(--ap-white);
}
.btn-brand:hover {
  background: transparent;
  color: var(--ap-white);
  border-color: var(--ap-white);
}

/* Official WhatsApp glyph — always white on CTAs */
.wa-icon {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
  display: inline-block;
  background-color: #ffffff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Default amenity icons */
.icon-svg {
  width: 48px;
  height: 48px;
  color: var(--ap-beige);
  margin: 0 auto 0.85rem;
}
.icon-svg svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* Header — centered nav+logo cluster; Contactez-nous pinned right */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: 20px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(25, 30, 36, 0.96);
  box-shadow: 0 1px 0 rgba(225, 207, 176, 0.12);
  padding-top: 12px;
}

.header-inner {
  position: relative;
  width: min(var(--global-content-width), calc(100% - 2rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}

.header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0 1.25rem;
  line-height: 0;
}
.brand img {
  width: 110px;
  height: auto;
  filter: brightness(0) invert(1);
  transition: width 0.25s ease;
  margin: 0;
  display: block;
}
.site-header.is-scrolled .brand img {
  width: 90px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.35rem;
  font-family: var(--global-primary-nav-font-family), var(--global-body-font-family), var(--global-fallback-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
  flex-shrink: 0;
}
.nav-desktop a {
  color: #ffffff;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav-desktop a:hover {
  color: var(--ap-beige);
}

.header-cta {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  min-height: 40px;
  padding: 10px 22px;
  font-size: 0.72rem;
  font-weight: 700;
}
.header-cta .wa-icon { display: none !important; }

.menu-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 3;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
}

.mobile-drawer[hidden] { display: none; }
.mobile-drawer { position: fixed; inset: 0; z-index: 200; }
.mobile-drawer__backdrop {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55);
}
.mobile-drawer__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(340px, 88vw);
  height: 100%;
  background: var(--ap-dark);
  padding: 4.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 1px solid rgba(225, 207, 176, 0.15);
}
.mobile-drawer__panel a {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  color: #ffffff;
}
.mobile-drawer__panel a:hover {
  color: var(--ap-beige);
}
.mobile-drawer__close {
  position: absolute;
  top: 1rem; right: 1rem;
  border: 0;
  background: transparent;
  color: var(--ap-beige);
  font-size: 2rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  color: var(--ap-white);
  overflow: hidden;
}
.hero__slider,
.hero__slides,
.hero__slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__slides img {
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__slides img.is-active { opacity: 1; }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(25, 30, 36, 0.58) 0%,
    rgba(25, 30, 36, 0.46) 42%,
    rgba(25, 30, 36, 0.72) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-h) + 1rem) 0 2rem;
  text-align: left;
}
.hero h1 {
  font-family: var(--global-heading-font-family), serif;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  max-width: 14ch;
  color: var(--ap-white);
  text-transform: none;
  line-height: 1.25;
}
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ap-beige);
}
.hero__lead {
  max-width: none;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  text-transform: none;
  font-weight: 300;
}
.hero__offer {
  white-space: nowrap;
}
.hero__price {
  white-space: nowrap;
}
.hero__price::before {
  content: " ";
}
.hero__dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
}
.hero__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
}
.hero__dots button.is-active {
  background: var(--ap-beige);
  width: 22px;
  border-radius: 999px;
}

/* Sections — vertical rhythm comes from each block’s own padding */
.section { padding: 0; }
.section.presentation {
  padding: 60px;
}
.section-label {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ap-purple);
}
.section h2 {
  color: var(--ap-beige);
  font-size: clamp(1.35rem, 2.5vw, 1.7em);
  font-weight: 400;
  line-height: 1.3;
  max-width: 22ch;
}
.section p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 54ch;
}
.section-cta {
  margin-top: 2.25rem;
  text-align: center;
}

/* Presentation — Adam Palm palm bg */
.presentation {
  position: relative;
  background: var(--ap-dark) url("../assets/images/bg-palm.jpg") center / cover no-repeat;
  color: var(--ap-white);
  padding: 60px;
}
.presentation::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 30, 36, 0) 0%, #191e24 100%);
  pointer-events: none;
}
.presentation .container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--global-content-width);
  margin-inline: auto;
  padding: 0;
}
.presentation .section-label {
  display: none; /* match Adam Palm presentation look */
}
.presentation__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.presentation h2 {
  width: 100%;
  max-width: none;
}
.presentation__copy p {
  font-size: 1em;
  color: #ffffff;
  max-width: 48ch;
  text-align: justify;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem 3.5rem;
  width: 100%;
  max-width: 48ch;
  margin: 1.75rem 0 0;
}
.pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  min-width: 88px;
  background: none;
  border: 0;
  padding: 0;
}
.pill img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.pill span {
  font-family: var(--global-heading-font-family), serif;
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ap-beige);
  line-height: 1.2;
}
.presentation__cta {
  margin-top: 1.75rem;
}
.presentation__media {
  position: relative;
  display: grid;
  gap: 0;
  order: -1; /* images left like Adam Palm */
}
.presentation__media > img:first-child {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 767px) {
  .section.presentation,
  .presentation {
    padding: 40px 20px;
  }
  .presentation__media {
    order: 0;
  }
}

/* Typologies — Nourland tabs + Adam Palm look */
.section.typologies {
  padding: 0 60px 60px;
  background: var(--ap-dark);
}
.typologies .container {
  width: 100%;
  max-width: var(--global-content-width);
  padding: 0;
}
.typo-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 2rem;
}
.typo-tab {
  min-width: 160px;
  padding: 0.85rem 1.5rem;
  border: 1px solid rgba(225, 207, 176, 0.35);
  border-radius: 4px;
  background: transparent;
  color: var(--ap-beige);
  font-family: var(--global-body-font-family), serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.typo-tab:hover {
  border-color: var(--ap-beige);
  color: #fff;
}
.typo-tab.is-active {
  background: var(--ap-purple);
  border-color: var(--ap-purple);
  color: #fff;
}
.typo-panel[hidden] { display: none !important; }
.typo-panel__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.typo-block__copy h3 {
  color: var(--ap-beige);
  font-size: clamp(1.35rem, 2.5vw, 1.7em);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}
.typo-block__copy p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 2.5rem;
  max-width: 48ch;
}
.typo-block__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0f1216;
  border-radius: 20px;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}
.carousel-track img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ap-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.carousel-btn.prev { left: 0.75rem; }
.carousel-btn.next { right: 0.75rem; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem 2.75rem;
  margin: 0 0 1.75rem;
  max-width: 48ch;
}
.feature-grid li {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  text-transform: none;
}
.feature-ico {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

@media (max-width: 767px) {
  .section.typologies {
    padding: 0 20px 40px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .typo-tab { min-width: 140px; }
}

@media (min-width: 768px) {
  .typo-panel__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }
}

/* Commodités — Nourland 2-col + Adam Palm look */
.section.commodites {
  background: var(--ap-dark);
  padding: 0 60px 60px;
  text-align: left;
}
.commodites__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
  max-width: var(--global-content-width);
  margin-inline: auto;
}
.commodites__content h2 {
  margin: 0 0 2.25rem;
  text-align: left;
  max-width: none;
  white-space: normal;
}
.commodites__content h2 .title-line {
  white-space: nowrap;
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
  margin: 0 0 2.25rem;
}
.amenity {
  text-align: center;
  padding: 0.25rem 0.5rem;
}
.amenity-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.85rem;
  object-fit: contain;
}
.amenity h3 {
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0;
}

.commodites__media {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 280px;
}
.commodites__media .carousel-track {
  gap: 0;
}
.commodites__media .carousel-track img {
  min-width: 100%;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

@media (min-width: 768px) {
  .amenities-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem 2rem;
  }
}

@media (min-width: 1024px) {
  .commodites__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
  }
  .commodites__media .carousel-track img {
    aspect-ratio: 5 / 4;
    min-height: 420px;
  }
}

@media (max-width: 767px) {
  .section.commodites {
    padding: 0 20px 40px;
  }
  .commodites__grid {
    width: 100%;
    max-width: none;
    gap: 1.5rem;
  }
  .commodites__media {
    min-height: 0;
  }
}

/* Emplacement */
.section.emplacement {
  background: var(--ap-dark);
  padding: 0 60px 60px;
  margin-top: 0;
}
.emplacement__grid {
  display: grid;
  gap: 2.5rem;
  align-items: stretch;
  width: 100%;
  max-width: var(--global-content-width);
  margin-inline: auto;
  padding: 0;
}
.emplacement h2 {
  margin-top: 0;
  max-width: none;
}
.location-list {
  margin: 1.5rem 0 1.75rem;
  display: grid;
  gap: 0;
}
.location-list li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(225, 207, 176, 0.12);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  text-transform: none;
}
.location-list li:last-child {
  border-bottom: 0;
}
.location-list .loc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ap-purple);
}
.location-list strong {
  font-weight: 700;
  color: var(--ap-beige);
  text-transform: uppercase;
  font-size: 0.9em;
}
.emplacement__map {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 260px;
  height: 100%;
}
.emplacement__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

@media (max-width: 767px) {
  .section.emplacement {
    padding: 0 20px 40px;
    margin-top: 0;
  }
  .emplacement__map {
    aspect-ratio: 4 / 3;
    height: auto;
    order: 1;
  }
  .emplacement__grid > div:first-child {
    order: 0;
  }
}

/* Gallery carousel — Nourland peek, Adam Palm style */
.section.galerie {
  background: var(--ap-dark);
  padding: 0 60px 60px;
  text-align: center;
}
.galerie__inner {
  width: 100%;
  max-width: var(--global-content-width);
  margin-inline: auto;
}
.galerie h2 {
  margin: 0 auto 2rem;
  text-align: center;
  max-width: none;
  white-space: nowrap;
}
.gallery-slider {
  position: relative;
  overflow: hidden;
}
.gallery-slider .carousel-track {
  display: flex;
  gap: 1rem;
  height: auto;
}
.gallery-slider .carousel-track img {
  flex: 0 0 100%;
  min-width: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}

@media (max-width: 767px) {
  .section.galerie {
    padding: 0 20px 40px;
  }
  .galerie h2 {
    white-space: normal;
  }
}

/* Mid CTA — Nourland “Envie d’avoir…” */
.mid-cta {
  position: relative;
  padding: clamp(4.5rem, 12vw, 8rem) 0;
  background:
    linear-gradient(rgba(25, 30, 36, 0.55), rgba(25, 30, 36, 0.55)),
    url("../assets/images/jardin-2.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;
}
.mid-cta__inner {
  container-type: inline-size;
}
.mid-cta h2 {
  margin: 0 auto 1.5rem;
  color: var(--ap-white);
  max-width: none;
  white-space: nowrap;
  font-size: clamp(0.6rem, 4.15cqi, 2.05rem);
  line-height: 1.25;
}
.mid-cta p {
  margin: 0 auto 1.6rem;
  max-width: 38ch;
  color: #fff;
  text-align: center;
}

/* Footer — compact bar */
.site-footer {
  background: #101419;
  color: rgba(225, 207, 176, 0.7);
  border-top: 1px solid rgba(225, 207, 176, 0.1);
  padding: 0 60px;
}
.footer-bar {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  max-width: var(--global-content-width);
  margin-inline: auto;
  padding: 0.85rem 0;
}
.footer-logo {
  position: relative;
  z-index: 1;
  width: 80px;
  height: auto;
  flex-shrink: 0;
}
.footer-copy {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: max-content;
  max-width: calc(100% - 8rem);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(225, 207, 176, 0.55);
  text-transform: none;
}
.footer-copy a {
  color: inherit;
  text-decoration: none;
}
.footer-copy a:hover {
  color: var(--ap-beige);
}

@media (max-width: 767px) {
  .site-footer {
    padding: 0 20px;
  }
  .footer-bar {
    flex-direction: column;
    gap: 0.65rem;
    min-height: 0;
    padding: 1rem 0;
  }
  .footer-logo {
    width: 68px;
  }
  .footer-copy {
    position: static;
    transform: none;
    max-width: 100%;
    font-size: 0.68rem;
    line-height: 1.45;
  }
}

/* —— Mobile: type + spacing pass —— */
@media (max-width: 767px) {
  :root {
    --container: min(var(--global-content-width), calc(100% - 40px));
    --header-h: 64px;
  }

  body {
    font-size: 15px;
    line-height: 1.55;
  }

  .header-inner {
    width: min(var(--global-content-width), calc(100% - 40px));
  }

  .brand img {
    width: 88px;
  }
  .site-header.is-scrolled .brand img {
    width: 76px;
  }

  .hero {
    min-height: 0;
    aspect-ratio: 1 / 1;
    align-items: center;
  }
  .hero__slides img {
    object-fit: cover;
    object-position: center;
  }
  .hero__content {
    width: calc(100% - 40px);
    padding: 0;
    text-align: left;
    container-type: inline-size;
  }
  .hero h1 {
    font-size: 1.3rem;
    max-width: 16ch;
    line-height: 1.2;
    margin: 0 0 0.35rem;
  }
  .eyebrow {
    font-size: 0.62rem;
    margin-bottom: 0.3rem;
  }
  .hero__lead {
    font-size: 0.84rem;
    margin: 0 0 0.7rem;
    line-height: 1.4;
  }
  .hero__break {
    display: none;
  }
  .hero__offer {
    white-space: normal;
  }
  .hero__dots {
    bottom: 0.45rem;
  }

  .section h2,
  .typo-block__copy h3,
  .presentation h2,
  .commodites__content h2,
  .galerie h2 {
    font-size: 1.2rem;
    line-height: 1.3;
    max-width: none;
  }

  .section-label {
    font-size: 0.65rem;
    margin-bottom: 0.5rem;
  }

  .presentation__copy p,
  .typo-block__copy p,
  .section p {
    font-size: 0.92rem;
  }

  .presentation__grid,
  .commodites__grid,
  .emplacement__grid,
  .typo-panel__grid {
    gap: 1.5rem;
  }

  .pill-row {
    gap: 1.25rem 1.75rem;
    margin-top: 1.25rem;
  }
  .pill img {
    width: 40px;
    height: 40px;
  }
  .pill span {
    font-size: 0.9rem;
  }

  .presentation__cta {
    margin-top: 1.25rem;
  }

  .typo-tabs {
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }
  .typo-tab {
    min-width: 0;
    flex: 1 1 calc(50% - 0.5rem);
    padding: 0.7rem 0.75rem;
    font-size: 0.72rem;
  }

  .feature-grid {
    gap: 1.45rem;
    margin-bottom: 1.25rem;
  }
  .feature-grid li {
    font-size: 0.88rem;
    gap: 0.7rem;
  }
  .feature-ico {
    width: 24px;
    height: 24px;
  }

  .amenities-grid {
    gap: 1.35rem 0.75rem;
    margin-bottom: 1.5rem;
  }
  .amenity-ico {
    width: 44px;
    height: 44px;
    margin-bottom: 0.55rem;
  }
  .amenity h3 {
    font-size: 0.78rem;
  }

  .commodites__content h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(0.95rem, 4.6vw, 1.2rem);
  }
  .commodites__content h2 .title-line {
    white-space: nowrap;
  }

  .location-list {
    margin: 1rem 0 1.25rem;
  }
  .location-list li {
    padding: 0.7rem 0;
    font-size: 0.88rem;
    gap: 0.55rem;
  }

  .galerie h2 {
    margin-bottom: 1.25rem;
    white-space: normal;
  }
  .gallery-slider .carousel-track {
    gap: 0.65rem;
  }
  .gallery-slider .carousel-track img,
  .commodites__media .carousel-track img,
  .typo-block__media,
  .presentation__media > img:first-child,
  .presentation__media-secondary,
  .emplacement__map,
  .emplacement__map img {
    border-radius: 14px;
  }

  .mid-cta {
    padding: 40px 20px;
  }
  .mid-cta__inner {
    padding: 0;
  }
  .mid-cta h2 {
    margin-bottom: 1.15rem;
    color: var(--ap-white);
  }

  .btn {
    min-height: 44px;
    padding: 0.7rem 1.1rem;
    font-size: 0.72rem;
  }
  .btn-lg {
    min-height: 48px;
    padding: 0.8rem 1.25rem;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
  .carousel-btn.prev { left: 0.4rem; }
  .carousel-btn.next { right: 0.4rem; }

  .wa-fab {
    width: 52px;
    height: 52px;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
  }
  .wa-fab .wa-icon {
    width: 24px;
    height: 24px;
  }
}

.wa-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ap-purple);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(119, 61, 102, 0.45);
  transition: background 0.2s ease, transform 0.2s ease;
}
.wa-fab:hover {
  background: transparent;
  outline: 2px solid #fff;
  transform: scale(1.05);
}
.wa-fab .wa-icon { width: 28px; height: 28px; }

@media (min-width: 768px) {
  .nav-desktop {
    display: inline-flex;
  }
  .header-cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }

  .presentation__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
  .presentation__media {
    order: -1;
  }

  .emplacement__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }

  .typo-panel__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  :root { --header-h: 88px; }
  .brand {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
  .brand img { width: 130px; }
  .nav-desktop { gap: 1.5rem; }
}

/* —— Commerce landing (`/landing-page-commerce`) —— */
.page-commerce .header-cta {
  display: inline-flex;
}
.page-commerce .menu-toggle {
  display: none;
}
.page-commerce .section.emplacement {
  padding: 60px;
}

.commerce-features {
  background:
    linear-gradient(180deg, #14181d 0%, #191e24 45%, #0f1216 100%);
  padding: 60px;
}
.commerce-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 1.25rem;
  width: 100%;
  max-width: var(--global-content-width);
  margin-inline: auto;
}
.commerce-feature {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.65rem;
}
.commerce-feature__ico {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 0.25rem;
}
.commerce-feature h3 {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ap-beige);
  text-transform: none;
  max-width: 18ch;
}
.commerce-feature p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  max-width: 22ch;
  text-transform: none;
}

.page-commerce .section.galerie {
  padding-top: 0;
}

@media (min-width: 900px) {
  .commerce-features__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 1.5rem;
  }
}

@media (max-width: 767px) {
  .commerce-features {
    padding: 40px 20px;
  }
  .commerce-features__grid {
    gap: 1.75rem 0.75rem;
  }
  .commerce-feature__ico {
    width: 48px;
    height: 48px;
  }
  .commerce-feature h3 {
    font-size: 0.92rem;
    max-width: 14ch;
  }
  .commerce-feature p {
    font-size: 0.82rem;
  }
  .page-commerce .header-cta {
    min-height: 36px;
    padding: 8px 14px;
    font-size: 0.65rem;
  }
  .page-commerce .section.emplacement {
    padding: 40px 20px;
  }
}

