/* ==========================================================================
   Maison Orée — Agence immobilière de prestige
   Palette : marine, blanc, gris clair, or discret
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap");

:root {
  --marine: #0b1c2d;
  --marine-soft: #132a40;
  --marine-muted: #1e3a52;
  --gold: #b8956c;
  --gold-light: #d4b896;
  --gold-dim: rgba(184, 149, 108, 0.15);
  --white: #ffffff;
  --off-white: #f7f6f3;
  --gray-100: #eef0f2;
  --gray-200: #dfe3e8;
  --gray-400: #8a93a0;
  --gray-600: #5a6472;
  --gray-800: #2c3440;
  --black: #0a0a0a;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --shell-max: 1180px;
  --shell-pad: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 4.5rem;
  --radius: 2px;
  --shadow-soft: 0 12px 40px rgba(11, 28, 45, 0.08);
  --shadow-card: 0 8px 32px rgba(11, 28, 45, 0.07);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.35s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background var(--transition),
    border-color var(--transition), opacity var(--transition);
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--marine);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   Shell — même largeur / marges pour header & footer
   -------------------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

.section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.section--gray {
  background: var(--off-white);
}

.section--marine {
  background: var(--marine);
  color: var(--white);
}

.section--marine h2,
.section--marine h3 {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Typography helpers
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 36rem;
}

.gold-rule {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 1rem 0 0;
}

.section-head--center .gold-rule {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn--primary:hover {
  background: var(--marine);
  border-color: var(--marine);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--secondary:hover {
  background: var(--white);
  color: var(--marine);
  border-color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--marine);
  border-color: var(--marine);
}

.btn--outline:hover {
  background: var(--marine);
  color: var(--white);
}

.btn--ghost-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn--ghost-gold:hover {
  background: var(--gold);
  color: var(--white);
}

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

.btn--sm {
  padding: 0.65rem 1.25rem;
  font-size: 0.72rem;
}

/* --------------------------------------------------------------------------
   Header — full width, space-between, mêmes marges que footer
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(11, 28, 45, 0.06);
  border-bottom-color: var(--gray-100);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex-shrink: 0;
}

.logo__mark {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--marine);
  line-height: 1;
}

.logo__mark em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.logo__tag {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--marine);
  position: relative;
  padding-block: 0.25rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.is-active {
  color: var(--gold);
}

.nav-cta {
  background: var(--marine);
  color: var(--white);
  padding: 0.7rem 1.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--marine);
  transition: var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

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

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

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(11, 28, 45, 0.35) 0%,
    rgba(11, 28, 45, 0.25) 40%,
    rgba(11, 28, 45, 0.78) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2.5rem, 6vw, 4rem);
}

.hero__title {
  font-size: clamp(2.6rem, 6.5vw, 4.25rem);
  color: var(--white);
  font-weight: 500;
  max-width: 14ch;
  margin-bottom: 1rem;
}

.hero__text {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 300;
  max-width: 34rem;
  opacity: 0.92;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Search bar */
.search-bar {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr 1.1fr auto;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  max-width: 860px;
  margin-bottom: 1.75rem;
}

.search-bar__field {
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1.15rem;
  border-right: 1px solid var(--gray-100);
  min-width: 0;
}

.search-bar__field label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.3rem;
}

.search-bar__field select,
.search-bar__field input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.92rem;
  color: var(--marine);
  font-weight: 500;
  width: 100%;
}

.search-bar__field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%238a93a0' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.2rem;
}

.search-bar__submit {
  background: var(--marine);
  color: var(--white);
  padding: 0 1.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--transition);
  align-self: stretch;
}

.search-bar__submit:hover {
  background: var(--gold);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Page hero compact (Biens / Contact) */
.page-hero {
  position: relative;
  min-height: 38vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

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

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 28, 45, 0.82) 0%,
    rgba(11, 28, 45, 0.55) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.5rem, 8vw, 5rem);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-hero p {
  opacity: 0.88;
  font-weight: 300;
  max-width: 32rem;
}

/* --------------------------------------------------------------------------
   About / Presentation
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual__main {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
}

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

.about-visual__accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 48%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-soft);
}

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

.about-visual__frame {
  position: absolute;
  top: 1.5rem;
  left: -1rem;
  width: 70%;
  height: 70%;
  border: 1px solid var(--gold);
  z-index: -1;
  pointer-events: none;
}

.about-body h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 1.25rem;
}

.about-body p + p {
  margin-top: 1rem;
}

.about-body p {
  color: var(--gray-600);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.about-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--marine);
  line-height: 1.1;
}

.about-stats span {
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Property cards
   -------------------------------------------------------------------------- */

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

.listing-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(11, 28, 45, 0.12);
}

.listing-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
}

.listing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.listing-card:hover .listing-card__media img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 1;
  padding: 0.35rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--marine);
  color: var(--white);
}

.badge--gold {
  background: var(--gold);
}

.badge--muted {
  background: rgba(255, 255, 255, 0.92);
  color: var(--marine);
}

.listing-card__body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.listing-card__city {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.listing-card__body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

.listing-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 1.1rem;
}

.listing-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.listing-card__meta svg {
  width: 14px;
  height: 14px;
  opacity: 0.55;
}

.listing-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.listing-card__price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--marine);
}

.listing-card__link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.listing-card__link:hover {
  color: var(--marine);
}

.section-cta {
  text-align: center;
  margin-top: 2.75rem;
}

/* --------------------------------------------------------------------------
   Estimation band
   -------------------------------------------------------------------------- */

.estimation {
  position: relative;
  overflow: hidden;
}

.estimation__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.estimation h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}

.estimation p {
  opacity: 0.85;
  margin-bottom: 1.75rem;
  max-width: 32rem;
  font-weight: 300;
}

.estimation__panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem;
  border-radius: var(--radius);
}

.estimation__panel h3 {
  color: var(--gold-light);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.estimation__list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.estimation__list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  opacity: 0.9;
}

.estimation__list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  background: var(--gold);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-card);
}

.step-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--gold-dim);
  color: rgba(184, 149, 108, 0.35);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

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

.testimonial {
  background: var(--white);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--marine);
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--marine);
  color: var(--gold-light);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  flex-shrink: 0;
}

.testimonial__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--marine);
}

.testimonial__meta {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* --------------------------------------------------------------------------
   Figures / Stats band
   -------------------------------------------------------------------------- */

.figures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.figure-item {
  padding: 1rem;
}

.figure-item__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.25rem);
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.figure-item__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.cta-final {
  text-align: center;
  background:
    linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.cta-final h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.85rem;
}

.cta-final p {
  color: var(--gray-600);
  margin-bottom: 1.75rem;
  max-width: 28rem;
  margin-inline: auto;
}

.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

/* --------------------------------------------------------------------------
   Filters (Biens)
   -------------------------------------------------------------------------- */

.filters {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding-block: 1.25rem;
  position: sticky;
  top: var(--header-h);
  z-index: 50;
}

.filters__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.filters select {
  padding: 0.7rem 2rem 0.7rem 1rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--marine);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%238a93a0' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  min-width: 9rem;
}

.filters select:focus {
  outline: 1px solid var(--gold);
  border-color: var(--gold);
}

/* --------------------------------------------------------------------------
   Property detail
   -------------------------------------------------------------------------- */

.property-detail {
  border-top: 1px solid var(--gray-100);
}

.property-detail__intro {
  margin-bottom: 2rem;
}

.property-detail__intro h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  margin-bottom: 0.35rem;
}

.property-detail__ref {
  font-size: 0.8rem;
  color: var(--gray-400);
  letter-spacing: 0.06em;
}

.gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
  min-height: 420px;
}

.gallery__main {
  grid-row: span 2;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gray-100);
}

.gallery__main img,
.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__thumb {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--gray-100);
  min-height: 200px;
}

.property-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.property-info h3 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.property-info h3 + p,
.property-info p + p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.25rem;
  margin: 1.75rem 0 2rem;
  padding: 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius);
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
}

.feature span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.feature strong {
  color: var(--marine);
  font-weight: 500;
}

.property-info ul {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.property-info ul li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.property-info ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.visit-card {
  background: var(--off-white);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
}

.visit-card__price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--marine);
  margin-bottom: 0.25rem;
}

.visit-card__city {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.visit-card h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--marine);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

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

.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

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

.form-note {
  font-size: 0.72rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 0.85rem;
  line-height: 1.4;
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(184, 149, 108, 0.12);
  border: 1px solid var(--gold-light);
  color: var(--marine);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border-radius: var(--radius);
}

.form-success.is-visible {
  display: block;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-block {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-block:first-child {
  padding-top: 0;
}

.contact-block h3 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.55rem;
}

.contact-block p,
.contact-block a {
  font-size: 1.05rem;
  color: var(--marine);
  font-weight: 500;
}

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

.contact-block small {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gray-600);
  margin-top: 0.25rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.socials a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--gray-200);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--marine);
  border-radius: var(--radius);
}

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

.contact-form-panel {
  background: var(--off-white);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}

.contact-form-panel h2 {
  font-size: 1.85rem;
  margin-bottom: 0.4rem;
}

.contact-form-panel > p {
  color: var(--gray-600);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.map-block {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  background: var(--gray-100);
}

.map-block__canvas {
  width: 100%;
  height: 360px;
  position: relative;
  background:
    linear-gradient(135deg, #dce3ea 0%, #c5d0db 40%, #b0bfcc 100%);
}

/* Fictive map pattern */
.map-block__canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(11, 28, 45, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 28, 45, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
}

.map-block__roads {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.map-block__roads span {
  position: absolute;
  background: rgba(255, 255, 255, 0.55);
}

.map-block__roads span:nth-child(1) {
  width: 100%;
  height: 10px;
  top: 42%;
  left: 0;
}

.map-block__roads span:nth-child(2) {
  width: 12px;
  height: 100%;
  top: 0;
  left: 35%;
}

.map-block__roads span:nth-child(3) {
  width: 8px;
  height: 100%;
  top: 0;
  left: 68%;
  opacity: 0.7;
}

.map-block__roads span:nth-child(4) {
  width: 100%;
  height: 6px;
  top: 70%;
  left: 0;
  opacity: 0.65;
}

.map-pin {
  position: absolute;
  top: 38%;
  left: 48%;
  transform: translate(-50%, -100%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.map-pin__dot {
  width: 18px;
  height: 18px;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(11, 28, 45, 0.3);
}

.map-pin__card {
  background: var(--white);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
  border-radius: var(--radius);
  min-width: 180px;
}

.map-pin__card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--marine);
}

.map-pin__card span {
  font-size: 0.8rem;
  color: var(--gray-600);
}

/* --------------------------------------------------------------------------
   Footer — noir, full width, space-between, mêmes marges que header
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--black);
  color: #9aa0a8;
  width: 100%;
  padding-top: clamp(3.5rem, 6vw, 5rem);
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #222;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1 1 220px;
  max-width: 280px;
}

.footer-brand .logo__mark {
  color: var(--white);
  margin-bottom: 0.35rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-top: 1rem;
}

.footer-col {
  flex: 1 1 140px;
  min-width: 120px;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.15rem;
}

.footer-col ul li {
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.site-footer__bottom {
  padding-block: 1.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
}

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

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    max-width: 480px;
  }

  .about-visual__accent {
    right: 0;
  }

  .estimation__grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    min-height: 320px;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-actions {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 2rem var(--shell-pad);
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-actions.is-open {
    transform: none;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .nav-link {
    font-size: 1.05rem;
  }

  .nav-cta {
    text-align: center;
    width: 100%;
    padding: 1rem;
  }

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

  .search-bar__field {
    border-right: none;
    border-bottom: 1px solid var(--gray-100);
  }

  .search-bar__submit {
    padding: 1rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

  .property-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .visit-card {
    position: static;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .gallery__main {
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }

  .gallery__thumb {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .gallery__thumb:last-child {
    display: none;
  }
}

@media (max-width: 640px) {
  .listings-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

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

  .features {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 88vh;
  }

  .site-footer__top {
    flex-direction: column;
    gap: 2rem;
  }

  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .about-visual__accent {
    width: 42%;
    bottom: -1rem;
    right: 0;
    border-width: 4px;
  }

  .about-visual__frame {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .listing-card,
  .listing-card__media img {
    transition: none;
  }
}
