/* ============================================================
   SÉJOURS PRESTIGE — styles.css
   ⚠️  Above-fold vars/reset/nav/hero dupliqués en <style> inline index.html
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { cursor: pointer; }

/* === CSS VARS === */
:root {
  --bg:          #FAF7F2;
  --bg-alt:      #F0E8D8;
  --bg-card:     #FFFFFF;
  --gold:        #B8892A;
  --gold-light:  #D4A040;
  --gold-dim:    rgba(184,137,42,0.08);
  --gold-border: rgba(184,137,42,0.22);
  --text:        #1A1510;
  --muted:       #8A7E6E;
  --border:      rgba(26,21,16,0.08);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --section-pad: clamp(64px, 10vw, 120px);
  --container: 1200px;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow:      0 4px 24px rgba(26,21,16,0.07);
  --shadow-gold: 0 0 40px rgba(184,137,42,0.12);
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === SKIP LINK === */
.skip-link {
  position: absolute; top: -60px; left: 1rem;
  padding: 12px 24px; background: var(--gold); color: #000;
  font-weight: 600; border-radius: 0 0 8px 8px;
  transition: top 0.2s; z-index: 9999; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* === LAYOUT === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}
.section { padding: var(--section-pad) 0; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 4.5rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 400; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; }
p { color: var(--muted); }

/* === NAVIGATION === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 32px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(250,247,242,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 32px;
  box-shadow: 0 2px 20px rgba(26,21,16,0.06);
}
.nav-logo {
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 500;
  letter-spacing: 0.02em; color: var(--text); text-decoration: none;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.875rem;
  font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--gold); color: #fff !important;
  padding: 10px 24px; border-radius: 40px;
  font-size: 0.875rem; font-weight: 600; text-decoration: none;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

/* Mobile burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); transition: var(--transition); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(250,247,242,0.99); backdrop-filter: blur(24px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu-inner { text-align: center; display: flex; flex-direction: column; gap: 32px; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mobile-menu a {
  display: block; padding: 14px 32px;
  font-family: var(--font-serif); font-size: 1.8rem; font-weight: 400;
  color: var(--text); text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(
      100deg,
      rgba(250,247,242,0.92) 0%,
      rgba(245,237,220,0.70) 40%,
      rgba(237,224,196,0.22) 65%,
      rgba(237,224,196,0.08) 100%
    ),
    url('images/villa-azuree.png') center/cover no-repeat;
}
.hero-bg::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,137,42,0.06) 0%, transparent 65%);
  top: -200px; right: -150px; pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,137,42,0.04) 0%, transparent 65%);
  bottom: -80px; left: 8%; pointer-events: none;
}
/* Content column — left */
.hero-content {
  position: relative; z-index: 2;
  padding: 120px clamp(20px,4vw,60px) 80px clamp(24px,5vw,80px);
  max-width: 620px;
}
/* 3D column — right */
.hero-3d-wrap {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 80px clamp(20px,4vw,60px) 80px 0;
  min-height: 100vh;
}
#house-canvas {
  width: 100%;
  max-width: 440px;
  height: 380px;
  display: block;
  flex-shrink: 0;
}
/* Floating property mini-cards */
.hero-float-cards {
  display: flex; flex-direction: column; gap: 12px;
  width: 100%; max-width: 380px;
  margin-top: 8px;
}
.hero-float-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(245,237,220,0.90);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(184,137,42,0.18);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(26,21,16,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.hero-float-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(26,21,16,0.12); }
.hfc-1 { animation: hfcFloat 3.5s ease-in-out infinite; }
.hfc-2 { animation: hfcFloat 3.5s ease-in-out 1.75s infinite; }
.hero-float-card img {
  width: 60px; height: 60px;
  object-fit: cover; border-radius: 12px; flex-shrink: 0;
}
.hfc-info { display: flex; flex-direction: column; gap: 3px; }
.hfc-name { font-size: 0.84rem; font-weight: 600; color: var(--text); }
.hfc-price { font-family: var(--font-serif); color: var(--gold); font-size: 1.05rem; font-weight: 600; }
.hfc-price small { font-size: 0.72rem; color: var(--muted); font-family: var(--font-sans); font-weight: 400; }
.hfc-stars { color: var(--gold); font-size: 0.7rem; letter-spacing: 2px; }
.hfc-badge {
  margin-left: auto; font-size: 0.65rem; font-weight: 700;
  background: var(--gold-dim); color: var(--gold);
  border: 1px solid var(--gold-border); border-radius: 20px;
  padding: 3px 10px; white-space: nowrap;
}
@keyframes hfcFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.hero-label {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px; position: relative;
  animation: heroFade 1s ease both;
}
.hero-label::before,
.hero-label::after { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); opacity: 0.6; }
.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem); font-weight: 400;
  line-height: 1.08; letter-spacing: -0.01em;
  color: var(--text); max-width: 800px;
  position: relative; animation: heroUp 1s ease 0.15s both;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem); color: var(--muted);
  max-width: 460px; margin: 20px auto 48px;
  animation: heroUp 1s ease 0.3s both;
}

/* Hero stats */
.hero-stats {
  display: flex; align-items: center; gap: 0;
  margin-top: 40px; animation: heroFade 1s ease 0.6s both;
  border: 1px solid rgba(184,137,42,0.18); border-radius: 14px;
  background: rgba(240,232,216,0.82); backdrop-filter: blur(12px);
  overflow: hidden; box-shadow: 0 4px 20px rgba(26,21,16,0.06);
}
.hero-stat { padding: 16px 28px; text-align: center; }
.hero-stat-divider { width: 1px; background: var(--border); align-self: stretch; }
.stat-num { display: block; font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold); font-weight: 500; }
.stat-label { display: block; font-size: 0.75rem; color: var(--muted); letter-spacing: 0.04em; margin-top: 2px; }

/* === SEARCH BAR === */
.search-bar {
  background: rgba(245,237,220,0.92); backdrop-filter: blur(20px);
  border: 1px solid rgba(184,137,42,0.22); border-radius: 20px;
  padding: 8px 8px 8px 0;
  display: flex; align-items: center;
  max-width: 840px; width: 100%;
  animation: heroUp 1s ease 0.45s both;
  box-shadow: 0 8px 40px rgba(26,21,16,0.1);
}
.search-field {
  display: flex; flex-direction: column;
  padding: 12px 20px; flex: 1; min-width: 100px;
  border-right: 1px solid rgba(184,137,42,0.18);
}
.search-field:last-of-type { border-right: none; }
.search-field label {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 4px;
}
.search-field input {
  background: none; border: none; color: var(--text);
  font-size: 0.9rem; font-family: var(--font-sans); outline: none; width: 100%;
}
.search-field input::placeholder { color: var(--muted); }
.search-field input[type="date"]::-webkit-calendar-picker-indicator { opacity: 0.5; }
.search-submit {
  background: var(--gold); color: #fff; border: none;
  border-radius: 14px; padding: 14px 28px;
  font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap; flex-shrink: 0; margin-left: 8px;
  font-family: var(--font-sans); transition: var(--transition);
}
.search-submit:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(201,168,76,0.3); }

/* === SECTION HEADER === */
.section-header { text-align: center; margin-bottom: 56px; }
.section-label-tag {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px; padding: 6px 16px;
  border: 1px solid var(--gold-border); border-radius: 40px;
}
.section-header h2 { color: var(--text); margin-bottom: 12px; }
.section-header p { max-width: 480px; margin: 0 auto; }

/* === HOW IT WORKS === */
.section-how { background: var(--bg-alt); }
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.how-card {
  text-align: center; padding: 40px 28px;
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.how-card:hover { border-color: var(--gold-border); transform: translateY(-4px); }
.how-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--gold-dim) 0%, transparent 70%);
  opacity: 0; transition: opacity 0.3s;
}
.how-card:hover::before { opacity: 1; }
.how-number {
  font-family: var(--font-serif); font-size: 3.5rem; font-weight: 400;
  color: var(--border); line-height: 1; margin-bottom: 16px;
  position: absolute; top: 16px; right: 20px;
}
.how-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; position: relative;
}
.how-card h3 { color: var(--text); margin-bottom: 10px; }
.how-card p { font-size: 0.925rem; }

/* === PROPERTY CARDS === */
.section-properties { background: var(--bg); }
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.property-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  transition: transform 0.4s ease, border-color 0.3s, box-shadow 0.4s;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(26,21,16,0.05);
}
.property-card:hover {
  transform: perspective(1200px) translateY(-10px) rotateX(2deg);
  border-color: var(--gold-border);
  box-shadow: 0 24px 60px rgba(26,21,16,0.14), var(--shadow-gold);
}
.card-image {
  position: relative; height: 240px;
  background: var(--bg-card);
  overflow: hidden;
}
.card-image a { display: block; height: 100%; }
.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.property-card:hover .card-image img { transform: scale(1.06); }
.card-img-inner {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}
.card-badge {
  position: absolute; bottom: 12px; left: 12px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #000;
  background: var(--gold); padding: 4px 10px; border-radius: 40px;
}
.card-badge--villa { background: #4a9eff; color: #fff; }
.card-badge--chalet { background: #7fbfff; color: #0a1a2a; }
.card-heart {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  border: 1px solid rgba(26,21,16,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: var(--transition);
  box-shadow: 0 2px 8px rgba(26,21,16,0.1);
}
.card-heart:hover { background: rgba(184,137,42,0.1); border-color: var(--gold); color: var(--gold); }
.card-heart.active { color: #e74c3c; border-color: #e74c3c; background: rgba(231,76,60,0.15); }
.card-heart.active svg { fill: #e74c3c; }

.card-body { padding: 20px; }
.card-location {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.75rem; color: var(--muted); margin-bottom: 6px;
}
.card-title { font-size: 1.15rem; color: var(--text); margin-bottom: 8px; }
.card-meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: 0.8rem; color: var(--muted); margin-bottom: 16px;
}
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.card-price .price-amount {
  font-family: var(--font-serif); font-size: 1.35rem;
  font-weight: 500; color: var(--gold);
}
.card-price .price-unit { font-size: 0.8rem; color: var(--muted); }
.card-cta {
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold-border); padding: 8px 18px;
  border-radius: 40px; font-size: 0.8rem; font-weight: 600;
  text-decoration: none; transition: var(--transition);
  white-space: nowrap;
}
.card-cta:hover { background: var(--gold); color: #fff; }

.section-cta-row { text-align: center; margin-top: 48px; }

/* === SERVICES === */
.section-services { background: var(--bg-alt); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  padding: 32px 28px; background: var(--bg-card);
  border-radius: var(--radius); border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s;
}
.service-card:hover { border-color: var(--gold-border); transform: translateY(-3px); }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--gold);
}
.service-card h3 { color: var(--text); margin-bottom: 8px; font-size: 1.05rem; }
.service-card p { font-size: 0.875rem; line-height: 1.65; }

/* === STATS === */
.section-stats {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(48px, 6vw, 80px) 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; text-align: center;
}
.stat-block {
  padding: 32px 20px;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: row; flex-wrap: wrap;
  justify-content: center; align-items: baseline; gap: 4px;
}
.stat-block:last-child { border-right: none; }
.stat-big {
  font-family: var(--font-serif); font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 400; color: var(--gold); line-height: 1;
}
.stat-suffix { font-family: var(--font-serif); font-size: 1.4rem; color: var(--gold-light); margin-left: 2px; }
.stat-block > span:first-child,
.stat-block > span:nth-child(2) { display: inline; }
.stat-block .stat-label { font-size: 0.8rem; color: var(--muted); width: 100%; text-align: center; margin-top: 6px; letter-spacing: 0.04em; }

/* === TESTIMONIALS === */
.section-testimonials { background: var(--bg-alt); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: border-color 0.3s;
}
.testimonial-card:hover { border-color: var(--gold-border); }
.testi-stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 3px; }
.testimonial-card p { color: var(--muted); font-size: 0.925rem; line-height: 1.7; flex: 1; font-style: italic; }
.testimonial-card footer { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--gold);
  flex-shrink: 0;
}
.testi-name { font-family: var(--font-serif); font-size: 0.95rem; color: var(--text); font-style: normal; display: block; }
.testi-info { font-size: 0.75rem; color: var(--muted); }

/* === FINAL CTA === */
.section-final-cta { background: var(--bg); }
.final-cta-box {
  background: linear-gradient(135deg, #FFF9F0 0%, #F5ECD8 100%);
  border: 1px solid var(--gold-border); border-radius: var(--radius-lg);
  padding: clamp(48px, 6vw, 80px);
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 48px rgba(26,21,16,0.08);
}
.final-cta-box::before {
  content: ''; position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,137,42,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta-box .section-label-tag { margin-bottom: 20px; }
.final-cta-box h2 { color: var(--text); margin-bottom: 16px; }
.final-cta-box p { margin-bottom: 36px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* === BUTTONS === */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #fff;
  padding: 14px 32px; border-radius: 40px;
  font-weight: 700; font-size: 0.9rem; text-decoration: none;
  transition: var(--transition); border: none; font-family: var(--font-sans);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(201,168,76,0.3); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); border: 1px solid var(--gold-border);
  padding: 12px 28px; border-radius: 40px;
  font-weight: 600; font-size: 0.875rem; text-decoration: none;
  transition: var(--transition); background: transparent;
}
.btn-secondary:hover { background: var(--gold-dim); border-color: var(--gold); }
.btn-outline {
  display: inline-flex; align-items: center;
  color: var(--muted); border: 1px solid var(--border);
  padding: 14px 32px; border-radius: 40px;
  font-weight: 500; font-size: 0.9rem; text-decoration: none;
  transition: var(--transition);
}
.btn-outline:hover { color: var(--text); border-color: var(--muted); }
.btn-large { padding: 16px 40px; font-size: 1rem; }

/* === FOOTER === */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: clamp(48px, 6vw, 80px) 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer nav h4,
.footer-contact h4 {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.footer nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer nav a { font-size: 0.875rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer nav a:hover { color: var(--text); }
.footer-contact p { font-size: 0.875rem; margin-bottom: 6px; }
.footer-contact a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  text-align: center;
}
.footer-bottom p { font-size: 0.8rem; }

/* === FILTERS (logements.html) === */
.filters-section { background: var(--bg-alt); padding: 24px 0; border-bottom: 1px solid var(--border); }
.filters-bar-wrap { overflow: hidden; }
.filters-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter-group { display: flex; align-items: center; gap: 8px; }
.filter-group label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.filter-btn {
  padding: 8px 18px; border-radius: 40px; border: 1px solid var(--border);
  background: transparent; color: var(--muted); font-size: 0.8rem; font-weight: 500;
  font-family: var(--font-sans); cursor: pointer; transition: var(--transition);
  white-space: nowrap;
}
.filter-btn:hover { border-color: var(--gold-border); color: var(--text); }
.filter-btn.active { background: var(--gold); color: #fff; border-color: var(--gold); font-weight: 700; }
.filter-divider { width: 1px; height: 24px; background: var(--border); margin: 0 4px; }
.no-results { text-align: center; padding: 80px 20px; }
.no-results h3 { color: var(--text); margin-bottom: 8px; }

/* Page hero (internal pages) */
.page-hero {
  text-align: center; padding: 140px 24px 60px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('images/mas-provencal.png') center/cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(250,247,242,0.72) 0%,
    rgba(245,237,220,0.85) 100%
  );
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 2; }
.page-hero .section-label-tag { margin-bottom: 16px; }
.page-hero h1 { color: var(--text); margin-bottom: 12px; }
.page-hero p { max-width: 520px; margin: 0 auto; }

/* === RESERVATION FORM === */
.form-section { background: var(--bg); padding: var(--section-pad) 0; }
.form-container { max-width: 720px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.form-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 16px;
  color: var(--text); font-size: 0.9rem; font-family: var(--font-sans);
  transition: border-color 0.2s; outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input.error,
.form-group select.error { border-color: #e74c3c; }
.form-error { font-size: 0.75rem; color: #e74c3c; margin-top: 2px; }
.form-submit { width: 100%; margin-top: 8px; justify-content: center; padding: 16px; font-size: 1rem; }
.form-info { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 16px; }

/* === SERVICE PILLS (reservation.html) === */
.services-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border: 1.5px solid var(--border);
  border-radius: 40px;
  background: var(--bg-card);
  color: var(--muted);
  font-size: .84rem;
  font-family: var(--font-sans);
  font-weight: 500;
  transition: border-color .2s, background .2s, color .2s, box-shadow .2s;
  user-select: none;
}
.service-pill:hover {
  border-color: var(--gold-border);
  color: var(--text);
  background: var(--gold-dim);
}
.service-pill.selected {
  border-color: var(--gold);
  background: var(--gold-dim);
  color: var(--text);
  box-shadow: 0 0 0 3px rgba(184,137,42,0.10);
}
.service-pill.selected::after {
  content: '✓';
  font-size: .75rem;
  color: var(--gold);
  font-weight: 700;
  margin-left: 4px;
}
.form-success {
  text-align: center; padding: 40px;
  display: none;
}
.form-success.show { display: block; }
.form-success h3 { color: var(--gold); font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: 12px; }

/* === REVEAL ANIMATION === */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.visible { animation: fadeInUp 0.7s ease both; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; } }

/* === RESPONSIVE === */

/* Search bar wraps at medium widths (hero 2-col, tight column) */
@media (max-width: 1180px) and (min-width: 901px) {
  .search-bar { flex-wrap: wrap; padding: 12px; gap: 0; }
  .search-field {
    flex: 1 1 calc(50% - 1px);
    min-width: 110px;
    border-right: none;
    border-bottom: 1px solid rgba(184,137,42,0.18);
    padding: 10px 12px;
  }
  .search-field:nth-child(odd) { border-right: 1px solid rgba(184,137,42,0.18); }
  .search-field:nth-child(3),
  .search-field:nth-child(4) { border-bottom: none; }
  .search-submit { width: 100%; justify-content: center; margin-left: 0; margin-top: 8px; border-radius: 10px; }
}

@media (max-width: 1024px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-block { border-bottom: 1px solid var(--border); }
  .stat-block:nth-child(2n) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-content { padding: 120px 24px 60px; max-width: 100%; margin: 0 auto; }
  .hero-3d-wrap { display: none; }
  .hero-label { justify-content: center; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .properties-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .search-bar { flex-direction: column; padding: 16px; gap: 0; border-radius: 16px; }
  .search-field { border-right: none; border-bottom: 1px solid var(--border); padding: 12px 0; }
  .search-field:last-of-type { border-bottom: none; }
  .search-submit { width: 100%; justify-content: center; margin-left: 0; margin-top: 12px; }
  .hero-stats { flex-direction: column; }
  .hero-stat-divider { width: 100%; height: 1px; }
  .cta-actions { flex-direction: column; }
  .filters-bar { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .filters-bar::-webkit-scrollbar { display: none; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-block { border-right: none; }
  .nav { padding: 16px 20px; }
  .nav.scrolled { padding: 12px 20px; }
}

/* ============================================================
   DETAIL PAGE — Airbnb-style
   ============================================================ */

/* Breadcrumb */
.breadcrumb {
  padding: 90px 0 0;
  background: var(--bg-alt);
}
.breadcrumb-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 16px clamp(20px,5vw,48px);
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--muted);
}
.breadcrumb-inner a { color: var(--muted); text-decoration: none; }
.breadcrumb-inner a:hover { color: var(--text); text-decoration: underline; }
.breadcrumb-inner span.sep { opacity: 0.5; }

/* Detail header */
.detail-page-header {
  background: var(--bg-alt);
  padding: 16px 0 28px;
  border-bottom: 1px solid var(--border);
}
.detail-page-header-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(20px,5vw,48px);
}
.detail-page-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text); margin-bottom: 10px;
}
.detail-rating-row {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.detail-stars { color: var(--gold); font-size: 0.9rem; }
.detail-score { font-weight: 700; color: var(--text); font-size: 0.9rem; }
.detail-reviews-count { color: var(--muted); font-size: 0.875rem; text-decoration: underline; cursor: pointer; }
.detail-location { display: flex; align-items: center; gap: 4px; font-size: 0.875rem; color: var(--muted); }
.detail-share-save { margin-left: auto; display: flex; gap: 12px; }
.btn-share, .btn-save {
  background: none; border: none; color: var(--muted);
  font-size: 0.8rem; display: flex; align-items: center; gap: 4px;
  padding: 6px 10px; border-radius: 8px; cursor: pointer;
  transition: background 0.2s, color 0.2s; font-family: var(--font-sans);
}
.btn-share:hover, .btn-save:hover { background: var(--gold-dim); color: var(--gold); }

/* Gallery */
.gallery-section {
  background: var(--bg-alt);
  padding-bottom: 0;
}
.gallery-wrap {
  max-width: var(--container); margin: 0 auto;
  padding: 0 clamp(20px,5vw,48px);
  position: relative;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 270px 270px;
  gap: 6px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-cell { overflow: hidden; position: relative; }
.gallery-cell.main { grid-row: 1 / 3; }
.gallery-cell img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, brightness 0.2s;
  cursor: zoom-in;
  display: block;
}
.gallery-cell img:hover { transform: scale(1.03); filter: brightness(0.9); }
.gallery-secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.btn-gallery-all {
  position: absolute; bottom: 16px; right: calc(clamp(20px,5vw,48px) + 8px);
  background: rgba(255,255,255,0.95); color: #111;
  border: none; border-radius: 10px;
  padding: 10px 18px; font-weight: 700; font-size: 0.82rem;
  cursor: pointer; display: flex; align-items: center; gap: 6px;
  transition: background 0.2s; font-family: var(--font-sans); z-index: 5;
}
.btn-gallery-all:hover { background: #fff; }

/* Detail layout */
.detail-content {
  background: var(--bg);
  padding: 0 0 var(--section-pad);
}
.detail-layout {
  max-width: var(--container); margin: 0 auto;
  padding: 48px clamp(20px,5vw,48px) 0;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}
.detail-main { min-width: 0; }

/* Section dividers */
.detail-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.detail-section:last-child { border-bottom: none; }
.detail-section h2 {
  font-size: 1.35rem; color: var(--text);
  margin-bottom: 20px; font-weight: 500;
}

/* Host row */
.host-row {
  display: flex; align-items: center; gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.host-avatar-lg {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.2rem; color: #000; font-weight: 700;
  flex-shrink: 0;
}
.host-info p:first-child { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.host-info p:last-child { font-size: 0.8rem; color: var(--muted); }

/* Highlights */
.highlights-grid { display: flex; flex-direction: column; gap: 20px; }
.highlight-item { display: flex; align-items: flex-start; gap: 16px; }
.highlight-icon { width: 32px; flex-shrink: 0; color: var(--text); margin-top: 2px; }
.highlight-item strong { display: block; color: var(--text); font-size: 0.95rem; }
.highlight-item p { font-size: 0.83rem; margin-top: 2px; }

/* Key stats bar */
.key-stats {
  display: flex; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 32px;
}
.key-stat {
  flex: 1; padding: 16px; text-align: center;
  border-right: 1px solid var(--border);
}
.key-stat:last-child { border-right: none; }
.key-stat-val { font-family: var(--font-serif); font-size: 1.3rem; color: var(--gold); font-weight: 500; }
.key-stat-label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }

/* Amenities */
.amenities-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.amenity {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; font-size: 0.875rem; color: var(--text);
}
.amenity svg { color: var(--gold); flex-shrink: 0; }
.amenity.disabled { color: var(--muted); text-decoration: line-through; }
.amenity.disabled svg { color: var(--muted); }

/* DPE */
.dpe-wrap { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.dpe-chart { display: flex; flex-direction: column; gap: 4px; }
.dpe-row { display: flex; align-items: center; gap: 8px; }
.dpe-bar-fill {
  height: 26px; border-radius: 0 4px 4px 0;
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 8px; font-weight: 800; font-size: 0.78rem; color: #fff;
  position: relative; transition: opacity 0.2s;
}
.dpe-bar-fill.is-active::after {
  content: '◄';
  position: absolute; right: -18px;
  color: var(--text); font-size: 0.7rem;
}
.dpe-row[data-grade="A"] .dpe-bar-fill { width: 60px; background: #00A651; }
.dpe-row[data-grade="B"] .dpe-bar-fill { width: 90px; background: #50B747; }
.dpe-row[data-grade="C"] .dpe-bar-fill { width: 120px; background: #B5D334; color: #333; }
.dpe-row[data-grade="D"] .dpe-bar-fill { width: 155px; background: #FFF200; color: #333; }
.dpe-row[data-grade="E"] .dpe-bar-fill { width: 190px; background: #F7941D; }
.dpe-row[data-grade="F"] .dpe-bar-fill { width: 220px; background: #E31E26; }
.dpe-row[data-grade="G"] .dpe-bar-fill { width: 250px; background: #BE1622; }
.dpe-row:not(.active) .dpe-bar-fill { opacity: 0.45; }
.dpe-row.active .dpe-bar-fill { opacity: 1; box-shadow: 0 0 0 2px var(--gold); border-radius: 0 6px 6px 0; }
.dpe-grade-label { font-size: 0.75rem; color: var(--muted); min-width: 40px; }
.dpe-info { max-width: 200px; }
.dpe-info h4 { color: var(--text); font-size: 0.9rem; margin-bottom: 6px; }
.dpe-info p { font-size: 0.8rem; }

/* Rules */
.rules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.rule-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: var(--text); }
.rule-item svg { color: var(--muted); flex-shrink: 0; margin-top: 2px; }

/* Map placeholder */
.map-placeholder {
  height: 280px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  color: var(--muted); text-align: center;
}
.map-placeholder svg { color: var(--gold); opacity: 0.6; }
.map-area-badge {
  display: inline-block; padding: 4px 12px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  border-radius: 20px; font-size: 0.8rem; color: var(--gold); margin-top: 4px;
}

/* Reviews */
.reviews-summary { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; }
.review-score-big { font-family: var(--font-serif); font-size: 3rem; color: var(--gold); line-height: 1; }
.review-bars { display: flex; flex-direction: column; gap: 6px; }
.review-bar-row { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--muted); }
.review-bar-track { width: 80px; height: 3px; background: var(--border); border-radius: 2px; }
.review-bar-fill { height: 100%; background: var(--gold); border-radius: 2px; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.review-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gold-dim); border: 1px solid var(--gold-border); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: var(--gold); flex-shrink: 0; }
.review-card-header strong { display: block; color: var(--text); font-size: 0.875rem; }
.review-card-header span { font-size: 0.75rem; color: var(--muted); }
.review-stars { color: var(--gold); font-size: 0.7rem; margin-bottom: 8px; }
.review-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.65; font-style: italic; }

/* Booking Widget */
.detail-sidebar { position: relative; }
.booking-widget {
  position: sticky; top: 90px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.widget-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 6px;
}
.widget-price-amount {
  font-family: var(--font-serif); font-size: 1.8rem;
  color: var(--text); font-weight: 500;
}
.widget-price-unit { font-size: 0.875rem; color: var(--muted); }
.widget-rating { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); margin-bottom: 20px; }
.widget-rating span { color: var(--gold); }
.widget-dates {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; margin-bottom: 10px;
}
.widget-date-field { padding: 10px 12px; }
.widget-date-field:first-child { border-right: 1px solid var(--border); }
.widget-date-field label { display: block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.widget-date-field input { background: none; border: none; color: var(--text); font-size: 0.875rem; font-family: var(--font-sans); outline: none; width: 100%; }
.widget-guests-field {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 12px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.widget-guests-field label { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.widget-guests-count { display: flex; align-items: center; gap: 10px; }
.guest-btn { background: none; border: 1px solid var(--border); color: var(--text); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: border-color 0.2s; }
.guest-btn:hover { border-color: var(--gold); color: var(--gold); }
#guests-display { font-size: 0.9rem; color: var(--text); min-width: 20px; text-align: center; }
.widget-cta { width: 100%; margin-bottom: 14px; justify-content: center; font-size: 1rem; padding: 16px; }
.widget-note { text-align: center; font-size: 0.78rem; color: var(--muted); margin-bottom: 20px; }
.widget-breakdown { border-top: 1px solid var(--border); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.widget-line { display: flex; justify-content: space-between; font-size: 0.875rem; }
.widget-line span:first-child { color: var(--muted); text-decoration: underline; cursor: default; }
.widget-line span:last-child { color: var(--text); }
.widget-total { display: flex; justify-content: space-between; font-weight: 700; padding-top: 14px; border-top: 1px solid var(--border); }
.widget-total span { color: var(--text); font-size: 0.95rem; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.96);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 1200px; width: 100%; }
.lightbox-img {
  max-width: 100%; max-height: 90vh;
  object-fit: contain; border-radius: var(--radius);
  display: block; margin: 0 auto;
}
.lightbox-close {
  position: fixed; top: 20px; right: 24px;
  background: rgba(255,255,255,0.1); border: none; color: var(--text);
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px); transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: none; color: var(--text);
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  font-size: 1.4rem; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px); transition: background 0.2s;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-counter {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: var(--muted); font-size: 0.85rem;
}

/* Detail responsive */
@media (max-width: 1024px) {
  .detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .booking-widget { position: static; }
  .gallery-grid { grid-template-rows: 200px 200px; }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; height: 280px; }
  .gallery-cell.main { grid-row: auto; }
  .gallery-secondary { display: none; }
  .key-stats { flex-wrap: wrap; }
  .amenities-grid { grid-template-columns: 1fr; }
  .dpe-wrap { flex-direction: column; }
  .rules-grid { grid-template-columns: 1fr; }
}
