@charset "UTF-8";
/* =============================================
   ABRI IMMOBILIER
   Tous droits réservés
   ============================================= */
/* =========================================
   VARIABLES
   ========================================= */
:root {
  --brown-deep: #3d1a0e;
  --brown-dark: #7F340B;
  --brown-mid: #8b4513;
  --brown-light: #e8c99a;
  --brown-warm: #c17f4b;
  --cream: #f1f1f1;
  --cream-dark: #EDD37D;
  --gold: #c8a96e;
  --gold-light: #dfc08a;
  --white: #ffffff;
  --text-dark: #2a1a0f;
  --text-mid: #5a3d28;
  --text-light: #f7f3ec;
  --text-muted: #9e8070;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --transition: 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius-card: 1.25rem;
  --radius-btn: 0.5rem;
  --shadow-card: 0 8px 32px rgba(42, 26, 15, 0.13);
  --shadow-hover: 0 18px 48px rgba(42, 26, 15, 0.22);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
}

p {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-mid);
}

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

ul {
  list-style: none;
}

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

address {
  font-style: normal;
}

/* =========================================
   REVEAL ANIMATION
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   NAVIGATION
   ========================================= */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 40px;
  background-color: var(--cream);
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(247, 243, 236, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 40px;
  box-shadow: 0 2px 20px rgba(42, 26, 15, 0.09);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18%;
  justify-content: space-around;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brown-deep);
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav__logo-text em {
  font-style: italic;
  font-weight: 400;
  color: var(--brown-dark);
  font-size: 0.9em;
}

.nav__logo-image {
  height: 36px;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

/* Desktop nav links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: 0;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text-dark);
  transition: color 0.2s;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brown-dark);
  transition: width 0.25s ease;
}

.nav__link:hover {
  color: var(--brown-mid);
}

.nav__link:hover::after {
  width: 100%;
}

/* CTA button */
.nav__cta {
  flex-shrink: 0;
  background: var(--brown-deep);
  color: var(--cream) !important;
  padding: 10px 22px;
  border-radius: var(--radius-btn);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform 0.2s;
}

.nav__cta:hover {
  background: var(--brown-dark);
  transform: translateY(-1px);
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown-deep);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.active span:nth-child(2) {
  opacity: 0;
}

.nav__burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--brown-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1100;
}

.nav__mobile.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav__mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 1px solid rgba(247, 243, 236, 0.25);
  color: var(--cream);
  font-size: 1.1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.nav__mobile-close:hover {
  background: rgba(247, 243, 236, 0.1);
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.nav__mobile-link {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  color: var(--cream);
  font-style: italic;
  transition: color 0.2s;
}

.nav__mobile-link:hover {
  color: var(--gold);
}

.nav__mobile-link--cta {
  font-size: 1rem;
  font-family: var(--font-body);
  font-style: normal;
  background: var(--gold);
  color: var(--brown-deep) !important;
  padding: 12px 32px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 8px;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  height: 80vh;
  min-height: 591px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 0 0 3rem 3rem;
  background-color: var(--cream);
}

.hero__bg {
  position: absolute;
  inset: 0;
  margin: 1rem;
  margin-top: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border-radius: 2rem;
  -o-object-position: center 32%;
     object-position: center 32%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  background: linear-gradient(100deg, rgba(42, 26, 15, 0.72) 0%, rgba(42, 26, 15, 0.42) 55%, rgba(42, 26, 15, 0.15) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 580px;
  margin-left: 8%;
  color: var(--cream);
  transition-delay: 0.15s;
}

.hero__supra {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  line-height: 1;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 22px;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(247, 243, 236, 0.85);
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 36px;
}

.hero__btn {
  display: inline-block;
  background: var(--gold);
  color: var(--brown-deep);
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: background var(--transition), transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(200, 169, 110, 0.35);
}

.hero__btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 169, 110, 0.5);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero__scroll span {
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(247, 243, 236, 0.55);
  font-weight: 500;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(247, 243, 236, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  70% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
  71% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}
/* =========================================
   WHY / AGENCE
   ========================================= */
.why {
  padding: 100px 40px;
  background: var(--white);
}

.why__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.why__supra {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-dark);
  margin-bottom: 16px;
  line-height: 1;
}

.why__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.2;
}

.why__desc {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}

.why__btn {
  display: inline-block;
  margin-top: 12px;
  background: var(--brown-deep);
  color: var(--cream);
  padding: 13px 28px;
  border-radius: var(--radius-btn);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform 0.2s;
}

.why__btn:hover {
  background: var(--brown-dark);
  transform: translateY(-2px);
}

/* Images stack */
.why__images {
  position: relative;
  height: 480px;
}

.why__img-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  height: 85%;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.why__img-main img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s ease;
}

.why__img-main:hover img {
  transform: scale(1.04);
}

.why__img-secondary {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45%;
  height: 50%;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 4px solid var(--white);
}

.why__img-secondary img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s ease;
}

.why__img-secondary:hover img {
  transform: scale(1.05);
}

/* Stats */
.why__stats {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px;
  background: var(--cream-dark);
  border-radius: var(--radius-card);
}

.why__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.why__stat strong {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brown-deep);
  line-height: 1;
}

.why__stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* =========================================
   BIENS
   ========================================= */
.biens {
  padding: 100px 40px;
  background: var(--cream-dark);
  border-radius: 3rem;
}

.biens__header {
  max-width: 1200px;
  margin: 0 auto 48px;
  text-align: center;
}

.biens__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* Filtres */
.biens__filters {
  max-width: 1200px;
  margin: 0 auto 52px;
  background: var(--white);
  border-radius: 1rem;
  padding: 28px 32px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  box-shadow: var(--shadow-card);
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* [hidden] écrasé par display:flex — on force le masquage */
.filter-group--advanced[hidden] {
  display: none !important;
}

/* Animation d'apparition des filtres avancés */
.filter-group--advanced {
  animation: filterSlideIn 0.25s ease both;
}

@keyframes filterSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.filter-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.filter-select {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c17f4b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1.5px solid rgba(42, 26, 15, 0.12);
  border-radius: var(--radius-btn);
  padding: 12px 36px 12px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.filter-input {
  background: var(--cream);
  border: 1.5px solid rgba(42, 26, 15, 0.12);
  border-radius: var(--radius-btn);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.filter-select:focus,
.filter-input:focus {
  outline: none;
  border-color: var(--brown-dark);
  box-shadow: 0 0 0 3px rgba(193, 127, 75, 0.15);
}

.filter-actions {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-shrink: 0;
}

.filter-btn {
  padding: 13px 22px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.03em;
  border: none;
}

.filter-btn--reset {
  background: var(--cream);
  color: var(--text-mid);
  border: 1.5px solid rgba(42, 26, 15, 0.15);
}

.filter-btn--reset:hover {
  background: var(--cream-dark);
}

.filter-btn--more {
  background: var(--cream);
  color: var(--text-mid);
  border: 1.5px solid rgba(42, 26, 15, 0.15);
}

.filter-btn--more:hover {
  background: var(--cream-dark);
}

/* État actif : filtres avancés ouverts */
.filter-btn--more[aria-expanded=true] {
  background-color: var(--cream);
  color: var(--brown-warm);
  border-color: 1.5px solid rgba(42, 26, 15, 0.15);
}

.filter-btn--more[aria-expanded=true]:hover {
  background: var(--cream-dark);
  border-color: 1.5px solid rgba(42, 26, 15, 0.15);
  color: var(--brown-warm);
}

.filter-btn--search {
  background: var(--brown-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(193, 127, 75, 0.3);
}

.filter-btn--search:hover {
  background: var(--brown-mid);
}

/* Grille biens */
.biens__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Carte bien */
.bien-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  animation: cardIn 0.4s ease both;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.bien-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.bien-card__gallery {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.bien-card__gallery-main {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}

.bien-card:hover .bien-card__gallery-main {
  transform: scale(1.04);
}

.bien-card__gallery-thumbs {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
}

.bien-card__thumb {
  width: 52px;
  height: 38px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.bien-card__thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.bien-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brown-deep);
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 20px;
}

.bien-card__dpe {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brown-deep);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bien-card__dpe[data-dpe=A] {
  background: #22c55e;
  color: white;
}

.bien-card__dpe[data-dpe=B] {
  background: #84cc16;
  color: white;
}

.bien-card__dpe[data-dpe=C] {
  background: #eab308;
  color: white;
}

.bien-card__dpe[data-dpe=D] {
  background: #f97316;
  color: white;
}

.bien-card__dpe[data-dpe=E] {
  background: #ef4444;
  color: white;
}

.bien-card__body {
  padding: 22px 24px 20px;
}

.bien-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.bien-card__type {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-dark);
}

.bien-card__ref {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.bien-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.25;
}

.bien-card__loc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.bien-card__loc::before {
  content: "📍";
  font-size: 0.78rem;
}

.bien-card__specs {
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.bien-card__spec {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--text-mid);
}

.bien-card__spec-icon {
  font-size: 0.88rem;
  opacity: 0.75;
}

.bien-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(42, 26, 15, 0.08);
}

.bien-card__price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brown-deep);
}

.bien-card__price-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
  font-family: var(--font-body);
  display: block;
  margin-top: 1px;
}

.bien-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--brown-dark);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.1rem;
  transition: background var(--transition), transform 0.2s;
  flex-shrink: 0;
}

.bien-card__cta:hover {
  background: var(--brown-deep);
  transform: scale(1.1);
}

/* Empty state */
.biens__empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 1rem;
}

.biens__empty-reset {
  background: none;
  border: none;
  color: var(--brown-dark);
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

/* Footer biens */
.biens__footer {
  max-width: 1200px;
  margin: 48px auto 0;
  text-align: center;
  transition-delay: 0.2s;
}

.biens__more-btn {
  display: inline-block;
  background: transparent;
  color: var(--brown-deep);
  border: 2px solid var(--brown-deep);
  padding: 13px 32px;
  border-radius: var(--radius-btn);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background var(--transition), color var(--transition), transform 0.2s;
}

.biens__more-btn:hover {
  background: var(--brown-deep);
  color: var(--cream);
  transform: translateY(-2px);
}

/* =========================================
   GROUPEMENT
   ========================================= */
.groupement {
  padding: 100px 0;
}

.groupement__inner {
  max-width: 1320px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.groupement__image {
  border-radius: 0 3rem 3rem 0rem;
  overflow: hidden;
  height: 460px;
  box-shadow: var(--shadow-card);
}

.groupement__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s ease;
}

.groupement__image:hover img {
  transform: scale(1.03);
}

.groupement__supra {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-dark);
  margin-bottom: 16px;
  line-height: 1;
}

.groupement__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.2;
}

.groupement__desc {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}

.groupement__btn {
  display: inline-block;
  margin-top: 12px;
  background: var(--brown-dark);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius-btn);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform 0.2s;
}

.groupement__btn:hover {
  background: var(--brown-mid);
  transform: translateY(-2px);
}

/* =========================================
   LOCATION SECTION
   ========================================= */
.location-section {
  padding: 100px 0;
  display: flex;
  justify-content: flex-end;
}

.location-section__inner {
  max-width: 1320px;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.location-section__supra {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-dark);
  margin-bottom: 16px;
  line-height: 1;
}

.location-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  line-height: 1.2;
}

.location-section__desc {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}

.location-section__btn {
  display: inline-block;
  margin-top: 12px;
  background: var(--brown-dark);
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius-btn);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform 0.2s;
}

.location-section__btn:hover {
  background: var(--brown-mid);
  transform: translateY(-2px);
}

.location-section__image {
  border-radius: 3rem 0rem 0rem 3rem;
  overflow: hidden;
  height: 460px;
  box-shadow: var(--shadow-card);
}

.location-section__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s ease;
}

.location-section__image:hover img {
  transform: scale(1.03);
}

/* =========================================
   CONTACT
   ========================================= */
.contact {
  padding: 100px 40px;
  background: var(--brown-deep);
  color: var(--cream);
}

.contact__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

/* Logo */
.contact__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  margin-bottom: 28px;
}

.contact__logo-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.contact__logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -0.01em;
  line-height: 1;
}

.contact__logo-text em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
  font-size: 0.9em;
}

.contact__logo-image {
  height: 83px;
  filter: brightness(17.5);
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.contact__desc {
  font-size: 0.95rem;
  color: rgba(247, 243, 236, 0.72);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact__infos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact__info-icon {
  font-size: 1rem;
  line-height: 1.5;
  flex-shrink: 0;
}

.contact__info-item a,
.contact__info-item address {
  font-size: 0.95rem;
  color: rgba(247, 243, 236, 0.85);
  line-height: 1.55;
  transition: color 0.2s;
}

.contact__info-item a:hover {
  color: var(--gold-light);
}

/* Form */
.contact__right {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px 36px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__form-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__form-row--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact__form-row--submit {
  align-items: flex-end;
}

.contact__form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact__form-group label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact__form-group input,
.contact__form-group select,
.contact__form-group textarea {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--cream);
  border: 1.5px solid rgba(42, 26, 15, 0.1);
  border-radius: var(--radius-btn);
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.contact__form-group select {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c17f4b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}

.contact__form-group input:focus,
.contact__form-group select:focus,
.contact__form-group textarea:focus {
  border-color: var(--brown-dark);
  box-shadow: 0 0 0 3px rgba(193, 127, 75, 0.12);
}

.contact__form-group input.error,
.contact__form-group textarea.error {
  border-color: #ef4444;
}

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

.contact__form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact__form-check input[type=checkbox] {
  width: auto;
  margin-top: 2px;
  accent-color: var(--brown-dark);
  flex-shrink: 0;
}

.contact__form-btn {
  background: var(--brown-dark);
  color: var(--white);
  border: none;
  border-radius: var(--radius-btn);
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition), transform 0.2s;
  align-self: flex-end;
  box-shadow: 0 4px 16px rgba(193, 127, 75, 0.3);
}

.contact__form-btn:hover {
  background: var(--brown-mid);
  transform: translateY(-2px);
}

.contact__success {
  display: none;
  text-align: center;
  padding: 18px;
  color: #22c55e;
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: 8px;
}

.contact__success.show {
  display: block;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--cream-dark);
  padding: 60px 40px 24px;
  border-top: 1px solid rgba(42, 26, 15, 0.1);
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.footer__logo-icon {
  font-size: 1.3rem;
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown-deep);
  line-height: 1;
}

.footer__logo-text em {
  font-style: italic;
  font-weight: 400;
  color: var(--brown-dark);
  font-size: 0.9em;
}

.footer__logo-image {
  height: 83px;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.footer__nav-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav ul li a {
  font-size: 0.9rem;
  color: var(--text-mid);
  transition: color 0.2s;
}

.footer__nav ul li a:hover {
  color: var(--brown-dark);
}

.footer__bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(42, 26, 15, 0.08);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* =========================================
   MODAL
   ========================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 26, 15, 0.6);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(820px, 94vw);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-card);
  margin: 4vh auto 0;
  box-shadow: 0 32px 80px rgba(42, 26, 15, 0.3);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: var(--cream);
  border: 1px solid rgba(42, 26, 15, 0.12);
  color: var(--text-dark);
  font-size: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.modal__close:hover {
  background: var(--cream-dark);
  transform: scale(1.08);
}

/* Modal content */
.modal__gallery {
  height: 320px;
  position: relative;
  overflow: hidden;
}

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

.modal__gallery-thumbs {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
}

.modal__gallery-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(42, 26, 15, 0.68);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  transition: transform 0.2s, background 0.2s;
}

.modal__gallery-zoom:hover {
  background: rgba(42, 26, 15, 0.85);
  transform: scale(1.07);
}

.modal__gallery-thumb {
  width: 58px;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--white);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.modal__gallery-thumb.active,
.modal__gallery-thumb:hover {
  opacity: 1;
}

.modal__gallery-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.modal__body {
  padding: 32px;
}

.modal__type {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-dark);
  margin-bottom: 8px;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.modal__loc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.modal__specs {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 18px;
  background: var(--cream);
  border-radius: 0.75rem;
}

.modal__spec {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
}

.modal__spec-val {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brown-deep);
}

.modal__spec-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

.modal__desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 28px;
}

.modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(42, 26, 15, 0.08);
  flex-wrap: wrap;
  gap: 16px;
}

.modal__price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brown-deep);
}

.modal__price-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  display: block;
  margin-top: 2px;
}

.modal__contact-btn {
  background: var(--brown-dark);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background var(--transition), transform 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.modal__contact-btn:hover {
  background: var(--brown-mid);
  transform: translateY(-2px);
}

/* =========================================
   IMAGE VIEWER
   ========================================= */
.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.image-viewer.open {
  opacity: 1;
  pointer-events: auto;
}

.image-viewer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 7, 0.88);
}

.image-viewer__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.image-viewer__img {
  max-width: min(1400px, 94vw);
  max-height: 90vh;
  border-radius: 12px;
  -o-object-fit: contain;
     object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.image-viewer__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 1;
}

.image-viewer__nav:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%) scale(1.06);
}

.image-viewer__nav--prev {
  left: 18px;
}

.image-viewer__nav--next {
  right: 18px;
}

.image-viewer__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.image-viewer__close:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.06);
}

/* =========================================
   TOAST
   ========================================= */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--brown-deep);
  color: var(--cream);
  padding: 12px 24px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.35s, transform 0.35s;
  z-index: 9999;
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================================
   MEDIA QUERIES
   ========================================= */
/* ── Grand Ecran 1920 ── */
@media (max-width: 1920px) and (max-height: 1080px) {
  .why__inner {
    max-width: 86%;
  }
  .groupement__inner, .location-section__inner {
    max-width: 90%;
  }
}
/* ── Ordinateur portable 1440 ── */
@media (max-width: 1441px) and (max-height: 900px) {
  .hero {
    height: 90vh;
  }
  .hero__title {
    font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  }
  .why__inner,
  .groupement__inner,
  .location-section__inner {
    gap: 56px;
  }
}
/* ── Ordinateur portable 15" : 1366 x 768 ── */
@media (max-width: 1366px) and (max-height: 768px) {
  .hero {
    height: 89vh;
  }
  .hero__content {
    margin-left: 6%;
  }
  .biens {
    padding: 80px 32px;
  }
}
/* ── Ordinateur portable 13" : 1280 x 800 ── */
@media (max-width: 1280px) and (max-height: 800px) {
  .hero {
    height: 89vh;
  }
  .why,
  .biens,
  .groupement,
  .location-section,
  .contact {
    padding-left: 32px;
    padding-right: 32px;
  }
  .biens__filters {
    gap: 14px;
    padding: 22px 24px;
  }
  .filter-group {
    min-width: 140px;
  }
}
/* ── Tablette ── */
/* Burger caché uniquement sur écrans larges (> 1024px) */
@media (min-width: 1025px) {
  .nav__burger {
    display: none;
  }
  .hero {
    height: 89vh;
  }
  .groupement {
    padding-left: 0;
    padding-right: 20px;
  }
  .groupement .groupement__text {
    padding-left: 20px;
  }
  .location-section {
    padding-left: 20px;
    padding-right: 0;
  }
  .location-section .location-section__text {
    padding-right: 20px;
  }
}
@media (max-width: 1024px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__burger {
    display: flex;
  }
  .nav {
    padding: 18px 24px;
  }
  .hero__content {
    margin-left: 5%;
    max-width: 480px;
  }
  .why__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why__images {
    height: 380px;
    order: -1;
  }
  .why__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .biens {
    padding: 80px 24px;
  }
  .biens__filters {
    flex-direction: column;
    gap: 16px;
  }
  .filter-group {
    min-width: 100%;
  }
  .filter-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .biens__grid {
    grid-template-columns: 1fr;
  }
  .groupement__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .groupement__image {
    height: 340px;
    order: -1;
  }
  .location-section__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .location-section__image {
    height: 340px;
  }
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}
/* ── Mobile ── */
@media (max-width: 640px) {
  .nav {
    padding: 16px 20px;
  }
  .nav__logo-image {
    height: 30px;
  }
  .hero {
    height: 92vh;
  }
  .hero__content {
    margin-left: 45px;
    margin-right: 32px;
    max-width: 100%;
  }
  .hero__title {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }
  .why,
  .biens,
  .groupement,
  .location-section,
  .contact,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
  .groupement {
    padding-left: 0;
    padding-right: 20px;
  }
  .groupement .groupement__text {
    padding-left: 20px;
  }
  .location-section {
    padding-left: 20px;
    padding-right: 0;
  }
  .location-section .location-section__text {
    padding-right: 20px;
  }
  .why {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .why__images {
    height: 300px;
  }
  .why__img-main {
    width: 88%;
    height: 80%;
  }
  .why__img-secondary {
    width: 50%;
    height: 46%;
  }
  .why__stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px;
    gap: 16px;
  }
  .why__stat strong {
    font-size: 1.7rem;
  }
  .biens {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .biens__filters {
    padding: 20px;
  }
  .filter-actions {
    flex-direction: column;
    width: 100%;
  }
  .filter-btn {
    width: 100%;
    text-align: center;
  }
  .bien-card__gallery {
    height: 210px;
  }
  .groupement,
  .location-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .groupement__image,
  .location-section__image {
    height: 280px;
  }
  .contact__right {
    padding: 28px 20px;
  }
  .contact__form-row--half {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer__bottom p {
    font-size: 0.72rem;
  }
  .modal__body {
    padding: 24px 20px;
  }
  .modal__gallery {
    height: 240px;
  }
  .modal__gallery-zoom {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    right: 10px;
    bottom: 10px;
  }
  .image-viewer__inner {
    padding: 16px;
  }
  .image-viewer__img {
    max-width: 96vw;
    max-height: 86vh;
  }
  .image-viewer__close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
  }
  .image-viewer__nav {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }
  .image-viewer__nav--prev {
    left: 10px;
  }
  .image-viewer__nav--next {
    right: 10px;
  }
}
/* ── Très petit mobile (≤ 447px) ── */
@media (max-width: 447px) {
  .hero__supra {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }
  .hero__sub {
    font-size: 0.92rem;
  }
  .hero__btn {
    padding: 12px 24px;
    font-size: 0.88rem;
  }
  .why__stats {
    grid-template-columns: 1fr 1fr;
  }
  .bien-card__specs {
    gap: 10px;
  }
  .agence-yellow-block .location-section .location-section__text {
    padding-left: 0;
    padding-right: 0;
  }
  .modal__specs {
    gap: 14px;
  }
  .modal__footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .modal__contact-btn {
    width: 100%;
    text-align: center;
  }
}
/* ── Très petits mobiles (≤ 375px) ── */
@media (max-width: 375px) {
  .nav__logo-text {
    font-size: 1.1rem;
  }
  .hero {
    height: 88vh;
  }
  .hero__title {
    font-size: 2rem;
  }
  .biens__title,
  .why__title,
  .groupement__title,
  .location-section__title {
    font-size: 1.5rem;
  }
  .why__images {
    height: 260px;
  }
  .bien-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .bien-card__cta {
    align-self: flex-end;
  }
}
/* ── Micro mobiles (≤ 344px) ── */
@media (max-width: 344px) {
  .hero__content {
    margin-left: 41px;
    margin-right: 33px;
  }
  .hero__title {
    font-size: 1.8rem;
  }
  .biens__filters {
    padding: 16px;
  }
  .contact__right {
    padding: 20px 16px;
  }
}
/* =============================================
   PAGE BIENS À ACHETER 
   ============================================= */
/* ── Nav fixe et opaque sur les pages internes ── */
.nav--solid {
  background: rgba(247, 243, 236, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(42, 26, 15, 0.09);
  padding: 14px 40px;
}

.nav__link--active {
  color: var(--brown-warm) !important;
  font-weight: 500;
}

.nav__link--active::after {
  width: 100% !important;
  background: var(--brown-warm);
}

/* ── Hero de page (pas de photo, fond crème) ── */
.page-hero {
  padding: 140px 40px 0;
}

.page-hero__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.page-hero__desc {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* ── Section biens : version page complète ── */
.biens--full-page {
  background: var(--cream-dark);
  border-radius: 3rem 3rem 0 0;
  margin-top: 81px;
  padding-top: 60px;
}

/* Filtres : variante page — pas de card blanche, intégrée dans la section */
.biens__filters--page {
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 0;
  position: relative;
  top: -5rem;
}

/* Compteur de résultats */
.biens__count {
  max-width: 1200px;
  margin: 0 auto 28px;
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding: 0 4px;
}

.biens__count strong {
  color: var(--brown-warm);
  font-weight: 600;
}

/* Grille : version page complète — pas de limite à 4, toujours 2 colonnes */
.biens__grid--full {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding-bottom: 80px;
}

/* ── Section Why : version compacte (pas de stats) ── */
.why--compact {
  padding: 80px 40px;
}

.why--compact .why__inner {
  margin-bottom: 0;
}

/* ── Responsive page biens ── */
/* 1440 */
@media (max-width: 1441px) and (max-height: 900px) {
  .page-hero {
    padding-top: 120px;
  }
}
/* 1366 */
@media (max-width: 1366px) and (max-height: 768px) {
  .page-hero {
    padding-top: 110px;
  }
  .biens--full-page {
    padding-left: 32px;
    padding-right: 32px;
  }
}
/* 1280 */
@media (max-width: 1280px) and (max-height: 800px) {
  .page-hero {
    padding-left: 32px;
    padding-right: 32px;
  }
  .biens--full-page {
    padding-left: 32px;
    padding-right: 32px;
  }
}
/* Tablette 900 */
@media (max-width: 1024px) {
  .nav--solid {
    padding: 14px 24px;
  }
  .page-hero {
    padding: 110px 24px 0;
  }
  .biens--full-page {
    padding-left: 24px;
    padding-right: 24px;
    border-radius: 2rem 2rem 0 0;
    margin-top: 40px;
  }
  .biens__filters--page {
    margin-bottom: 3rem;
    top: 0;
  }
  .biens__grid--full {
    grid-template-columns: 1fr;
  }
  .why--compact .why__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why--compact .why__images {
    height: 340px;
    order: -1;
  }
}
/* Mobile 640 */
@media (max-width: 640px) {
  .nav--solid {
    padding: 14px 20px;
  }
  .page-hero {
    padding: 100px 20px 0;
  }
  .page-hero__title {
    font-size: 1.9rem;
  }
  .biens--full-page {
    padding: 40px 20px;
    border-radius: 1.5rem 1.5rem 0 0;
    margin-top: 32px;
  }
  .biens__filters--page {
    margin-bottom: 3rem;
    top: 0;
  }
  .biens__grid--full {
    grid-template-columns: 1fr;
    padding-bottom: 48px;
  }
  .why--compact {
    padding: 60px 20px;
  }
}
/* Très petit mobile 447 */
@media (max-width: 447px) {
  .biens__filters--page {
    margin-bottom: 3rem;
    top: 0;
  }
  .page-hero__title {
    font-size: 1.6rem;
  }
  .biens--full-page {
    padding: 32px 16px;
  }
}
/* Très petits mobiles 375 */
@media (max-width: 375px) {
  .page-hero__title {
    font-size: 1.4rem;
  }
  .page-hero {
    padding-top: 90px;
  }
}
/* Micro mobiles 344 */
@media (max-width: 344px) {
  .page-hero {
    padding: 85px 16px 0;
  }
  .biens--full-page {
    padding: 28px 12px;
  }
}
/* =============================================
   PAGE NOTRE AGENCE — styles spécifiques
   ============================================= */
/* ── Hero agence : bloc texte en bas à gauche ── */
.hero--agence {
  align-items: flex-end;
  padding-bottom: 60px;
}

.hero__overlay--agence {
  background: linear-gradient(180deg, rgba(42, 26, 15, 0.08) 0%, rgba(42, 26, 15, 0.55) 60%, rgba(42, 26, 15, 0.78) 100%);
}

.hero__content--agence {
  margin-left: 6%;
  margin-bottom: 0;
  max-width: 520px;
}

.hero__title--agence {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero__title--agence em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__sub--agence {
  font-size: 0.97rem;
  font-weight: 300;
  color: rgba(247, 243, 236, 0.85);
  line-height: 1.65;
  max-width: 420px;
}

/* ── Bloc jaune qui englobe groupement + location ── */
.agence-yellow-block {
  background: var(--cream-dark);
  border-radius: 3rem;
  padding: 0;
}

.agence-yellow-block .groupement {
  padding: 80px 0 60px;
}

.agence-yellow-block .location-section {
  padding: 60px 0 80px;
}

/* ── Why version inversée : images à gauche, texte à droite ── */
.why--reversed {
  background: var(--white);
}

.why__inner--reversed {
  /* Images colonne gauche, texte colonne droite */
  grid-template-columns: 1fr 1fr;
}

/* Images stack côté gauche */
.why__img-main--left {
  top: 0;
  left: 0;
  right: auto;
  width: 82%;
  height: 85%;
}

.why__img-secondary--right {
  bottom: 0;
  right: 0;
  left: auto;
  width: 45%;
  height: 50%;
  border-color: var(--white);
}

/* ── Responsive page agence ── */
/* 1441 */
@media (max-width: 1441px) and (max-height: 900px) {
  .hero__title--agence {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
  }
  .agence-yellow-block .groupement .groupement__text {
    padding-left: 5rem;
  }
  .agence-yellow-block .location-section .location-section__text {
    padding-left: 0;
    padding-right: 5rem;
  }
}
/* 900px tablette */
@media (max-width: 1024px) {
  .hero {
    height: 92vh;
  }
  .hero--agence {
    align-items: flex-end;
    padding-bottom: 40px;
  }
  .hero__content--agence {
    margin-left: 3rem;
    margin-bottom: 5rem;
  }
  .hero__title--agence {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }
  .agence-yellow-block .groupement {
    padding: 60px 0 40px;
  }
  .agence-yellow-block .groupement .groupement__text {
    padding-left: 1rem;
  }
  .agence-yellow-block .location-section {
    padding: 40px 0 60px;
  }
  .why--reversed .why__inner--reversed {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why--reversed .why__images {
    height: 340px;
    order: -1;
  }
}
@media (max-width: 900px) {
  .agence-yellow-block .groupement .groupement__text {
    padding-left: 5rem;
  }
  .agence-yellow-block .location-section .location-section__text {
    padding-left: 0;
    padding-right: 5rem;
  }
}
@media (max-width: 768px) {
  .hero {
    height: 92vh;
  }
  .agence-yellow-block .groupement .groupement__text {
    padding-left: 5rem;
  }
  .location-section__text {
    padding-right: 5rem;
  }
}
/* 640px mobile */
@media (max-width: 640px) {
  .hero--agence {
    padding-bottom: 32px;
  }
  .hero__content--agence {
    margin-left: 3rem;
    margin-right: 3rem;
    margin-bottom: 6rem;
  }
  .hero__title--agence {
    font-size: 1.9rem;
  }
  .hero__sub--agence {
    font-size: 0.9rem;
  }
  .agence-separator {
    height: 2rem;
  }
  .why--reversed {
    padding: 60px 20px;
  }
  .why--reversed .why__inner--reversed {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why--reversed .why__images {
    height: 300px;
    order: -1;
  }
  .agence-yellow-block .location-section .location-section__text {
    padding-left: 1rem;
    padding-right: 5rem;
  }
}
/* 447px */
@media (max-width: 447px) {
  .hero__title--agence {
    font-size: 1.6rem;
  }
  .hero__sub--agence {
    font-size: 0.85rem;
  }
  .agence-yellow-block .location-section .location-section__text {
    padding-left: 1rem;
    padding-right: 2rem;
  }
  .agence-yellow-block .groupement .groupement__text {
    padding-left: 3rem;
    padding-right: 2rem;
  }
}
/* 375px */
@media (max-width: 375px) {
  .hero__title--agence {
    font-size: 1.4rem;
  }
}
/* 344px */
@media (max-width: 344px) {
  .hero__title--agence {
    font-size: 1.25rem;
  }
}
/* =============================================
   LOADER — Maison SVG + barre de progression
   ============================================= */
body.is-loading {
  overflow: hidden;
}

/* Plein écran, fond crème, layout colonne unique centré */
.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: opacity 0.7s cubic-bezier(0.76, 0, 0.24, 1), visibility 0.7s cubic-bezier(0.76, 0, 0.24, 1);
}

.loader.loader--exit {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ── Bloc SVG maison ── */
.loader__left {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  margin-bottom: 40px;
}

.loader__svg {
  width: min(200px, 45vw);
  height: auto;
}

/* Tracés SVG */
.loader__path {
  fill: none;
  stroke: var(--brown-deep);
}

/* Forcer l'héritage de couleur depuis le SVG parent */
.loader__svg {
  color: #0e0e0e;
}

.loader__path--chimney {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.loader__path--roof {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
}

.loader__path--body {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}

.loader__path--door {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
}

.loader__path--win-left {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
}

.loader__path--win-right {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
}

/* Cascade de tracés — durée totale ~2s */
.loader__path--chimney {
  animation: loaderDraw 0.7s ease forwards 0.3s;
}

.loader__path--roof {
  animation: loaderDraw 0.9s ease forwards 0.9s;
}

.loader__path--body {
  animation: loaderDraw 0.9s ease forwards 1.7s;
}

.loader__path--door {
  animation: loaderDraw 0.7s ease forwards 2.5s;
}

.loader__path--win-left {
  animation: loaderDraw 0.6s ease forwards 3.1s;
}

.loader__path--win-right {
  animation: loaderDraw 0.6s ease forwards 3.6s;
}

@keyframes loaderDraw {
  to {
    stroke-dashoffset: 0;
  }
}
/* ── texte + barre ── */
.loader__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  gap: 12px;
  width: 100%;
  max-width: 420px;
}

.loader__brand {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--brown-deep);
  letter-spacing: -0.02em;
  line-height: 1;
  opacity: 0;
  transform: translateY(12px);
  animation: loaderFadeUp 0.55s ease forwards 0.3s;
}

.loader__brand em {
  font-style: italic;
  font-weight: 400;
  color: var(--brown-warm);
  font-size: 0.88em;
}

.loader__tagline {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0;
  transform: translateY(8px);
  animation: loaderFadeUp 0.55s ease forwards 0.55s;
}

/* Barre de progression */
.loader__progress-wrap {
  margin-top: 36px;
  width: 100%;
  height: 2px;
  background: rgba(42, 26, 15, 0.1);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: loaderFadeUp 0.4s ease forwards 0.7s;
}

.loader__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--brown-warm);
  border-radius: 2px;
  transition: width 0.12s linear;
}

.loader__percent {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--brown-deep);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 8px;
  opacity: 0;
  animation: loaderFadeUp 0.4s ease forwards 0.7s;
}

@keyframes loaderFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ── Mobile ── */
@media (max-width: 640px) {
  .loader__left {
    margin-bottom: 28px;
  }
  .loader__svg {
    width: min(160px, 50vw);
  }
  .loader__right {
    padding: 0 20px;
    gap: 8px;
  }
  .loader__brand {
    font-size: 2rem;
  }
  .loader__percent {
    font-size: 2.8rem;
  }
}
@media (max-width: 375px) {
  .loader__brand {
    font-size: 1.7rem;
  }
  .loader__percent {
    font-size: 2.2rem;
  }
}/*# sourceMappingURL=style.css.map */