/* ═══════════════════════════════════════════════════════
   ARBORÉA — Premium Real Estate Landing Page
   Palette: Forest Green, Sage, Sand, Gold
   Fonts: Fraunces (display) + Outfit (body)
   ═══════════════════════════════════════════════════════ */

/* ─── VARIABLES ─────────────────────────────────────── */
:root {
  --forest: #2C3E2D;
  --forest-90: rgba(44, 62, 45, 0.9);
  --sage: #7A8B6F;
  --sage-light: #a3b196;
  --sand: #E8E0D4;
  --sand-light: #F3EDE5;
  --gold: #B8956A;
  --gold-hover: #a17e56;
  --gold-light: rgba(184, 149, 106, 0.15);
  --white: #FFFFFF;
  --off-white: #FAFAF7;
  --dark: #1A1A1A;
  --dark-bg: #111311;
  --text: #3a3a3a;
  --text-light: #6b6b6b;
  --text-on-dark: #E8E0D4;

  --font-display: 'Source Serif 4', Georgia, serif;
  --font-body: 'Outfit', -apple-system, sans-serif;

  --max-width: 1200px;
  --section-py: clamp(4rem, 10vw, 7rem);
  --gap: clamp(1.5rem, 3vw, 2.5rem);
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(44, 62, 45, 0.08);
  --shadow-lg: 0 12px 48px rgba(44, 62, 45, 0.12);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ─────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--off-white);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

h1, h2, h3, h4, h5, h6, p, li, blockquote {
  text-wrap: balance;
}

/* ─── UTILITIES ─────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section {
  padding: var(--section-py) 0;
}

.text-center {
  text-align: center;
}

.text-center .section__label {
  margin-left: auto;
  margin-right: auto;
}

.section--sand { background: var(--sand-light); }
.section--white { background: var(--white); }
.section--dark { background: var(--dark-bg); }
.section--galerie { background: var(--forest); }

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 1rem;
  background: rgba(44, 62, 45, 0.08);
  padding: 0.45rem 1rem;
  border-radius: 6px;
}

.section__label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.section__label--light {
  color: var(--gold);
  background: rgba(184, 149, 106, 0.12);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.15;
  color: var(--forest);
  margin-bottom: 1.25rem;
}

.section__title--light { color: var(--white); }

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.section__subtitle--light {
  color: var(--text-on-dark);
  opacity: 0.8;
}

/* ─── BUTTONS ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}

.btn--gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 149, 106, 0.3);
}

.btn--sm { padding: 0.6rem 1.5rem; font-size: 0.85rem; }
.btn--lg { padding: 1rem 2.75rem; font-size: 1.05rem; letter-spacing: 0.03em; }
.btn--full { width: 100%; padding: 1rem; font-size: 1rem; }

/* ─── NAVIGATION ────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(44, 62, 45, 0.97);
  backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.15);
}

.nav__logo,
.nav__link,
.nav__lang-btn {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.nav.scrolled .nav__logo,
.nav.scrolled .nav__link,
.nav.scrolled .nav__lang-btn {
  text-shadow: none;
}


.nav.scrolled .nav__link { color: rgba(255, 255, 255, 0.85); }
.nav.scrolled .nav__link:hover { color: var(--gold); }
.nav.scrolled .nav__lang-btn { color: rgba(255, 255, 255, 0.5); }
.nav.scrolled .nav__lang-btn.active { color: var(--white); }
.nav.scrolled .nav__lang-sep { color: rgba(255, 255, 255, 0.3); }

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  position: relative;
}

.nav__logo-img {
  height: 72px;
  width: auto;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.3));
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled .nav__logo-img {
  height: 56px;
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__link:hover::after { width: 100%; }
.nav__link:hover { color: var(--white); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__lang-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
  padding: 0.2rem;
}

.nav__lang-btn.active { color: var(--white); }
.nav__lang-sep { color: rgba(255, 255, 255, 0.3); font-size: 0.75rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav.scrolled .nav__burger span { background: var(--white); }

/* ─── HERO ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.15) 0%,
    rgba(26, 26, 26, 0.05) 40%,
    rgba(26, 26, 26, 0.25) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 1.5rem 2rem;
}

.hero__logo {
  display: block;
  width: 320px;
  max-width: 65vw;
  height: auto;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.35));
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(184, 149, 106, 0.25);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(184, 149, 106, 0.6);
  padding: 0.65rem 2rem;
  border-radius: 50px;
  margin-bottom: 2.5rem;
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  line-height: 1.05;
  color: var(--white);
  margin: 0 auto 2.5rem;
  max-width: 18ch;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero__stats {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.hero__stat {
  padding: 1.25rem 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  flex: 1;
  max-width: 200px;
  transition: background var(--transition);
}

.hero__stat:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero__stat-icon {
  display: block;
  width: 26px;
  height: 26px;
  margin: 0 auto 0.4rem;
  color: var(--white);
}

.hero__stat-icon svg {
  width: 100%;
  height: 100%;
}

.hero__stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.hero__stat-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 0.25rem;
}

/* ─── PROJET ────────────────────────────────────────── */
.projet {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

.projet__desc {
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.projet__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.highlight:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.highlight__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-light);
  border-radius: 8px;
  color: var(--gold);
}

.highlight__icon svg {
  width: 20px;
  height: 20px;
}

.highlight__title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--forest);
  margin-bottom: 0.15rem;
}

.highlight__text {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* Projet card */
.projet__card {
  background: #F7F2EA;
  border: 1px solid rgba(184, 149, 106, 0.18);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  color: var(--forest);
  position: sticky;
  top: 100px;
}

.projet__card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(44, 62, 45, 0.12);
  color: var(--forest);
}

.projet__card-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(44, 62, 45, 0.08);
}

.projet__card-row:last-child { border-bottom: none; }

.projet__card-row svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 0.2rem;
}

.projet__card-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(44, 62, 45, 0.55);
  margin-bottom: 0.15rem;
}

.projet__card-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
  line-height: 1.4;
}

.projet__card-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--forest);
}

/* ─── CTA BANNER ────────────────────────────────────── */
.cta-banner {
  background: var(--forest);
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
}

.cta-banner__eyebrow {
  font-size: 1rem;
  color: var(--sage-light);
  margin-bottom: 0.5rem;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 2rem;
}

/* ─── SITUATION ─────────────────────────────────────── */
.situation {
  display: block;
  margin-bottom: 3rem;
}

.situation__text {
  margin-bottom: 2.5rem;
  max-width: 750px;
}

.situation__map {
  width: 100%;
}

#leafletMap {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: var(--radius-lg);
  z-index: 1;
}

/* Leaflet custom popup */
.leaflet-popup-content-wrapper {
  background: var(--forest);
  color: var(--sand);
  border-radius: 12px;
  font-family: var(--font-body);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.leaflet-popup-tip {
  background: var(--forest);
}
.leaflet-popup-content {
  margin: 14px 18px;
  line-height: 1.5;
  font-size: 0.9rem;
}
.leaflet-popup-content strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
}
.leaflet-popup-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.leaflet-popup-content a:hover {
  color: var(--sand);
}

/* Leaflet zoom controls */
.leaflet-control-zoom a {
  background: var(--forest) !important;
  color: var(--sand) !important;
  border: none !important;
  border-radius: 0 !important;
  width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
  font-size: 16px !important;
}
.leaflet-control-zoom {
  border: none !important;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15) !important;
}
.leaflet-control-zoom a:hover {
  background: var(--sage) !important;
}

/* Custom marker */
.custom-marker {
  background: none !important;
  border: none !important;
}
.custom-marker svg {
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
  transition: transform 0.3s ease;
}
.custom-marker:hover svg {
  transform: scale(1.1) translateY(-2px);
}

/* POI markers */
.poi-marker {
  background: none !important;
  border: none !important;
}
.poi-marker__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  line-height: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.poi-marker:hover .poi-marker__icon {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* City markers — larger with accent border */
.poi-marker--city .poi-marker__icon {
  width: 38px;
  height: 38px;
  font-size: 18px;
  border: 2px solid var(--forest);
  box-shadow: 0 2px 10px rgba(44, 62, 45, 0.3);
}

/* Attribution style */
.leaflet-control-attribution {
  background: rgba(255,255,255,0.8) !important;
  font-size: 10px !important;
  border-radius: 6px 0 0 0 !important;
}
.leaflet-control-attribution a {
  color: var(--sage) !important;
}

.situation__subtitle {
  font-size: 1.05rem;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.situation__desc {
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.distances {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.distance {
  background: var(--white);
  border: 1px solid rgba(232, 224, 212, 0.7);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
}

.distance:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.distance__dest {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--forest);
  margin-bottom: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(44, 62, 45, 0.1);
}

.distance__modes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.distance__mode-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.distance__mode-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
}

.distance__mode-label {
  font-size: 0.8rem;
  color: var(--text-light);
  width: 55px;
  flex-shrink: 0;
}

.distance__mode-time {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--forest);
  margin-left: auto;
  text-align: right;
  min-width: 55px;
}

/* ─── GALERIE / CAROUSEL ────────────────────────────── */
.section--galerie .section__label,
.section--galerie .section__title,
.section--galerie .section__subtitle {
  text-align: center;
  color: var(--white);
}

.section--galerie .section__label {
  margin-left: auto;
  margin-right: auto;
  color: var(--sage-light);
}

.section--galerie .section__subtitle {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.75);
}

.carousel {
  position: relative;
  margin-top: 1.5rem;
  width: 100%;
  max-width: 100%;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel__slide {
  flex: 0 0 100%;
  position: relative;
  aspect-ratio: 16 / 10;
}

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

.carousel__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 3;
}

.carousel__btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.carousel__btn svg {
  width: 22px;
  height: 22px;
}

.carousel__btn--prev { left: 1.5rem; }
.carousel__btn--next { right: 1.5rem; }

.carousel__dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 3;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.carousel__dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 5px;
}

.carousel__counter {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  z-index: 3;
}

/* ─── APPARTEMENTS ──────────────────────────────────── */
.appt-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.appt-block__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--forest);
  margin-bottom: 1rem;
  padding-left: 0.25rem;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.appt-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.9rem;
}

.appt-table thead {
  background: var(--forest);
  color: var(--white);
}

.appt-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.appt-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(232, 224, 212, 0.6);
  color: var(--text);
}

.appt-table tbody tr {
  transition: background var(--transition);
}

.appt-table tbody tr:hover {
  background: var(--sand-light);
}

.appt-table .price {
  font-weight: 600;
  color: var(--forest);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.badge--available {
  background: #e6f4ea;
  color: #1e7e34;
}

.badge--available::before {
  background: #1e7e34;
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 126, 52, 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(30, 126, 52, 0); }
}

.badge--reserved {
  background: #e67e00;
  color: #fff;
  font-size: 0.78rem;
  padding: 0.4rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  animation: pulse-reserved 2.5s ease-in-out infinite;
}

@keyframes pulse-reserved {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230, 126, 0, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(230, 126, 0, 0); }
}

.badge--reserved::before {
  background: #fff;
}

.badge--sold {
  background: #c62828;
  color: #fff;
  font-size: 0.78rem;
  padding: 0.4rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.badge--sold::before {
  background: #fff;
}

/* Lignes réservées / vendues */
.appt-table tbody tr.row--reserved {
  background: rgba(230, 126, 0, 0.06);
}

.appt-table tbody tr.row--reserved td {
  color: var(--text-light);
}

.appt-table tbody tr.row--reserved .price {
  text-decoration: line-through;
  text-decoration-color: rgba(230, 126, 0, 0.5);
  color: var(--text-light);
}

.appt-table tbody tr.row--sold {
  background: rgba(198, 40, 40, 0.05);
}

.appt-table tbody tr.row--sold td {
  color: var(--text-light);
  text-decoration: line-through;
  text-decoration-color: rgba(198, 40, 40, 0.3);
}

.appt-table tbody tr.row--sold td:last-child {
  text-decoration: none;
}

.appt-table tbody tr.row--sold .price {
  text-decoration: line-through;
  text-decoration-color: rgba(198, 40, 40, 0.5);
  color: var(--text-light);
}

.appt-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 1.5rem;
  font-style: italic;
}

/* ─── PRESTATIONS ───────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.feature-card {
  background: var(--off-white);
  border: 1px solid rgba(232, 224, 212, 0.5);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-light);
  border-radius: 12px;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.feature-card__icon svg {
  width: 26px;
  height: 26px;
}

.feature-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.feature-card__text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ─── PROCESSUS ─────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
}

.step {
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 2;
}

.step__line {
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 2px;
  background: var(--sand);
  z-index: 1;
}

.step:last-child .step__line { display: none; }

.step__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.step__text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ─── CONTACT ───────────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__subtitle {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact__person {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}

.contact__person-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--forest);
  margin-bottom: 0.25rem;
}

.contact__person-role {
  font-size: 0.9rem;
  color: var(--text-light);
}

.contact__details {
  background: var(--sand-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.contact__details-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--forest);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.contact__procite-logo {
  display: block;
  width: 180px;
  height: auto;
  margin-bottom: 1.25rem;
}

.contact__details-text {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-weight: 500;
  color: var(--forest);
  font-size: 0.95rem;
}

.contact__row a {
  color: var(--forest);
  text-decoration: none;
  transition: color 0.2s;
}

.contact__row a:hover {
  color: var(--gold);
}

.contact__row svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
}

/* Form */
.contact__form-wrap {
  background: var(--white);
  border: 1px solid rgba(232, 224, 212, 0.6);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-form__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--forest);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(232, 224, 212, 0.8);
  border-radius: var(--radius);
  background: var(--off-white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b6b' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form__note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 1rem;
}

/* ─── FOOTER ────────────────────────────────────────── */
.footer {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  display: block;
  width: 180px;
  height: auto;
  margin-bottom: 1.5rem;
}

.footer__heading {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer__text {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ─── SCROLL ANIMATIONS ─────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .projet {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .projet__card {
    position: static;
  }

  #leafletMap {
    height: 350px;
  }

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

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

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .step__line { display: none; }

  .contact {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {

  /* ── Nav mobile ─────────────────────────────── */
  .nav {
    padding: 0.85rem 0;
  }

  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 45, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .nav__links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav__links .nav__link {
    font-size: 1.5rem;
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--white);
    padding: 0.85rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.35s ease, transform 0.35s ease, color 0.2s ease;
  }

  .nav__links.open .nav__link {
    opacity: 1;
    transform: translateY(0);
  }

  .nav__links.open .nav__link:nth-child(1) { transition-delay: 0.08s; }
  .nav__links.open .nav__link:nth-child(2) { transition-delay: 0.14s; }
  .nav__links.open .nav__link:nth-child(3) { transition-delay: 0.20s; }
  .nav__links.open .nav__link:nth-child(4) { transition-delay: 0.26s; }
  .nav__links.open .nav__link:nth-child(5) { transition-delay: 0.32s; }
  .nav__links.open .nav__link:nth-child(6) { transition-delay: 0.38s; }

  .nav__links .nav__link::after {
    bottom: 0;
    height: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
  }

  .nav__links .nav__link:hover::after {
    width: 40px;
  }

  .nav__burger {
    display: flex;
    z-index: 1001;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }

  .nav__burger span {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
  }

  .nav__burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__burger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav__burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .nav__burger.open span {
    background: var(--white);
  }

  .nav__right .btn { display: none; }

  .nav__lang {
    z-index: 1001;
  }

  /* ── Nav mobile ──────────────────────────────── */
  .nav__logo-img {
    height: 48px;
  }

  .nav.scrolled .nav__logo-img {
    height: 40px;
  }

  /* ── Hero mobile ────────────────────────────── */
  .hero {
    min-height: 100svh;
  }

  .hero__bg img {
    object-position: center 40%;
    transform: scale(1.05);
    animation: none;
  }

  .hero__content {
    padding: 5rem 1.25rem 2rem;
  }

  .hero__badge {
    font-size: 0.7rem;
    padding: 0.5rem 1.25rem;
    margin-bottom: 1.75rem;
    letter-spacing: 0.14em;
  }

  .hero__badge::before {
    width: 6px;
    height: 6px;
  }

  .hero__title {
    font-size: clamp(2.75rem, 11vw, 4rem);
    margin-bottom: 2rem;
  }

  .btn--lg {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    width: auto;
    max-width: none;
  }

  .hero__stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    margin-top: 0;
    background: var(--forest);
    z-index: 2;
  }

  .hero__stat {
    padding: 0.75rem 0.5rem;
    flex: 1;
    max-width: none;
    border-radius: 0;
    background: none;
    backdrop-filter: none;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero__stat:last-child {
    border-right: none;
  }

  .hero__stat-icon {
    display: none;
  }

  .hero__stat-value {
    font-size: 0.95rem;
  }

  .hero__stat-label {
    font-size: 0.55rem;
    letter-spacing: 0.06em;
  }

  /* ── Sections mobile ────────────────────────── */
  .section {
    padding: clamp(3rem, 8vw, 5rem) 0;
  }

  .section__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    margin-bottom: 1rem;
  }

  .section__subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .section__label {
    font-size: 0.72rem;
    padding: 0.4rem 0.85rem;
  }

  /* ── Projet mobile ──────────────────────────── */
  .projet__desc {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .projet__highlights {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .highlight {
    padding: 0.85rem;
  }

  .highlight__icon {
    width: 36px;
    height: 36px;
  }

  .highlight__icon svg {
    width: 18px;
    height: 18px;
  }

  .projet__card {
    padding: 2rem 1.5rem;
    border-radius: 14px;
  }

  .projet__card-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

  .projet__card-row {
    padding: 0.85rem 0;
  }

  /* ── CTA Banner mobile ──────────────────────── */
  .cta-banner {
    padding: clamp(2.5rem, 6vw, 4rem) 0;
  }

  .cta-banner__eyebrow {
    font-size: 0.9rem;
  }

  .cta-banner__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 1.5rem;
  }

  /* ── Situation mobile ───────────────────────── */
  .situation__subtitle {
    font-size: 0.95rem;
  }

  .situation__desc {
    font-size: 0.95rem;
  }

  /* ── Features / Prestations mobile ──────────── */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
  }

  .feature-card__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .feature-card__title {
    font-size: 1rem;
  }

  .feature-card__text {
    font-size: 0.88rem;
  }

  #leafletMap {
    height: 280px;
    border-radius: 12px;
  }

  .distances {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .distance {
    padding: 1.25rem 1rem;
    border-radius: 12px;
  }

  .distance__dest {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.5rem;
  }

  .distance__mode-time {
    font-size: 0.95rem;
  }

  /* ── Galerie mobile ─────────────────────────── */
  .carousel__slide {
    aspect-ratio: 4 / 3;
    max-height: none;
  }

  .carousel__btn {
    width: 38px;
    height: 38px;
  }

  .carousel__btn svg {
    width: 18px;
    height: 18px;
  }

  .carousel__btn--prev { left: 0.5rem; }
  .carousel__btn--next { right: 0.5rem; }

  .carousel__caption {
    font-size: 0.8rem;
    padding: 1.25rem 0.75rem 0.75rem;
  }

  .carousel__counter {
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
    top: 0.75rem;
    right: 0.75rem;
  }

  .carousel__dots {
    margin-top: 1rem;
    gap: 0.4rem;
  }

  .carousel__dot {
    width: 8px;
    height: 8px;
  }

  .carousel__dot.active {
    width: 24px;
  }

  /* ── Appartements mobile — Layout cartes ─────── */
  .appt-block__title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    padding-left: 0;
    text-align: center;
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
  }

  /* Hide Étage (col 3) and Terrasse (col 5) on mobile */
  .appt-table th:nth-child(3),
  .appt-table td:nth-child(3),
  .appt-table th:nth-child(5),
  .appt-table td:nth-child(5) {
    display: none;
  }

  .appt-table {
    font-size: 0.78rem;
    min-width: auto;
  }

  .appt-table th {
    padding: 0.65rem 0.5rem;
    font-size: 0.65rem;
    white-space: nowrap;
  }

  .appt-table td {
    padding: 0.7rem 0.5rem;
    white-space: nowrap;
  }

  .appt-table .price {
    font-size: 0.82rem;
  }

  .appt-note {
    font-size: 0.8rem;
    padding: 0 0.5rem;
  }

  .appt-grid {
    gap: 3.5rem;
  }

  /* ── Prestations mobile ─────────────────────── */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }

  .feature-card__icon {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
  }

  .feature-card__title {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
  }

  .feature-card__text {
    font-size: 0.85rem;
  }

  /* ── Processus mobile ───────────────────────── */
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
    padding-left: 3rem;
  }

  /* Ligne verticale continue */
  .steps::before {
    content: '';
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 27px;
    width: 2px;
    background: var(--sand);
  }

  .step {
    text-align: left;
    padding: 0 0 2rem 1.5rem;
    position: relative;
  }

  .step:last-child {
    padding-bottom: 0;
  }

  .step__number {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    margin: 0;
    position: absolute;
    left: -3rem;
    top: 0;
  }

  .step__title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    padding-top: 0.5rem;
  }

  .step__text {
    font-size: 0.85rem;
  }

  /* ── Contact mobile ─────────────────────────── */
  .contact {
    gap: 2rem;
  }

  .contact__subtitle {
    font-size: 0.95rem;
  }

  .contact__photo {
    width: 64px;
    height: 64px;
    border-width: 2px;
  }

  .contact__person-name {
    font-size: 1.05rem;
  }

  .contact__details {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .contact__details-title {
    font-size: 1.1rem;
  }

  .contact__row {
    font-size: 0.9rem;
    padding: 0.5rem 0;
  }

  .contact__form-wrap {
    padding: 1.75rem 1.25rem;
    border-radius: 12px;
  }

  .contact-form__title {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-group label {
    font-size: 0.82rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.85rem 0.9rem;
    font-size: 1rem;
    border-radius: 8px;
  }

  .contact-form__note {
    font-size: 0.75rem;
  }

  /* ── Footer mobile ──────────────────────────── */
  .footer {
    padding-top: 3rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-bottom: 2rem;
    text-align: center;
  }

  .footer__logo {
    margin: 0 auto 1.5rem;
  }


  .footer__text {
    font-size: 0.85rem;
  }

  .footer__links a {
    font-size: 0.85rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
    padding: 1.25rem 0;
    font-size: 0.75rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2.75rem, 11vw, 4rem);
  }

  .hero__stat {
    flex: 1 1 calc(50% - 0.25rem);
  }

  .hero__stat-value {
    font-size: 0.95rem;
  }

  .hero__stat-label {
    font-size: 0.55rem;
  }

  .distances {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .distance {
    padding: 1rem;
  }

  .distance__dest {
    font-size: 0.95rem;
  }

  .section__title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  .contact__form-wrap {
    padding: 1.25rem 1rem;
  }

  .feature-card {
    padding: 1.25rem;
    flex-direction: column;
    gap: 0.75rem;
  }

  .feature-card__icon {
    width: 44px;
    height: 44px;
  }

  .appt-table {
    min-width: auto;
  }

  .steps {
    padding-left: 2.75rem;
  }

  .step__number {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
    left: -2.75rem;
  }

  .steps::before {
    left: 20px;
    top: 21px;
    bottom: 21px;
  }
}

/* Extra small — iPhone SE, etc. */
@media (max-width: 380px) {
  .container {
    padding: 0 1rem;
  }

  .hero__content {
    padding: 4.5rem 1rem 1.5rem;
  }

  .hero__badge {
    font-size: 0.62rem;
    padding: 0.4rem 1rem;
  }

  .hero__stats {
    padding: 1rem 0.5rem 0;
  }

  .hero__stat {
    padding: 0.75rem 0.5rem;
  }

  .hero__stat-value {
    font-size: 0.85rem;
  }

  .nav__logo {
    font-size: 1.4rem;
  }

  .nav__logo-img {
    height: 42px;
  }

  .nav.scrolled .nav__logo-img {
    height: 36px;
  }

  .section__title {
    font-size: 1.5rem;
  }

  .projet__card {
    padding: 1.5rem 1.25rem;
  }

  .btn--lg {
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ─── SAFE AREA (notch / dynamic island) ────── */
@supports (padding-top: env(safe-area-inset-top)) {
  .nav {
    padding-top: max(0.85rem, env(safe-area-inset-top));
  }

  .footer__bottom {
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  }

  .hero {
    min-height: calc(100svh - env(safe-area-inset-top));
  }
}

/* ─── TOUCH DEVICE OPTIMIZATIONS ──────────────── */
@media (hover: none) and (pointer: coarse) {
  .highlight:hover,
  .distance:hover,
  .feature-card:hover,
  .appt-table tbody tr:hover {
    transform: none;
    box-shadow: var(--shadow);
  }

  .hero__stat:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .btn--gold:hover {
    transform: none;
  }

  /* Better tap targets */
  .nav__link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .carousel__btn {
    min-width: 44px;
    min-height: 44px;
  }
}

/* ─── LANDSCAPE MOBILE ────────────────────────── */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero__content {
    padding-top: 5rem;
    padding-bottom: 1rem;
  }

  .hero__title {
    margin-bottom: 1.5rem;
  }

  .hero__badge {
    margin-bottom: 1rem;
  }

  .hero__stats {
    padding-top: 1rem;
  }

  .hero__stat {
    flex: 1 1 20%;
    padding: 0.75rem 0.5rem;
  }
}

/* ═══════════════════════════════════════════════════════
   FLOATING ACTION BUTTON — Brochure
   ═══════════════════════════════════════════════════════ */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  background: var(--forest);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(44, 62, 45, 0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.25s ease, box-shadow 0.25s ease;
  pointer-events: none;
}

.fab.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fab:hover {
  background: var(--gold);
  box-shadow: 0 6px 28px rgba(184, 149, 106, 0.35);
}

.fab__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.fab__label {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .fab {
    bottom: 1.25rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(20px);
    padding: 0.7rem 1.25rem 0.7rem 1rem;
    font-size: 0.8rem;
  }

  .fab.visible {
    transform: translateX(-50%) translateY(0);
  }

  body {
    padding-bottom: 4.5rem;
  }
}

/* ═══════════════════════════════════════════════════════
   MODAL — Demande d'information
   ═══════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  width: min(90vw, 440px);
  box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal__close:hover {
  background: var(--sand-light);
  color: var(--dark);
}

.modal__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--forest);
  margin-bottom: 0.35rem;
}

.modal__subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.modal__field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.modal__field input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal__field input::placeholder {
  color: var(--text-light);
  opacity: 0.6;
}

.modal__field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-light);
}

.modal__form .btn {
  margin-top: 0.5rem;
}

@media (max-width: 480px) {
  .modal {
    width: min(94vw, 440px);
    padding: 2rem 1.5rem 1.75rem;
    border-radius: 14px;
  }

  .modal__title {
    font-size: 1.35rem;
  }

  .modal__subtitle {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }

  .modal__field input {
    padding: 0.8rem 0.9rem;
    font-size: 1rem;
  }

  .modal__close {
    width: 40px;
    height: 40px;
  }
}