/* ============================================
   SUDAPPART — Global Styles
   Design: Méditerranéen raffiné, solaire, organique
   ============================================ */

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

/* ---- TOKENS ---- */
:root {
  --sand:       #F5F0E8;
  --sand-dark:  #E8DFC8;
  --stone:      #C9BFA8;
  --terra:      #A0522D;
  --terra-light:#C47A52;
  --terra-dark: #6B3520;
  --olive:      #5C6B3A;
  --olive-light:#8A9E60;
  --dusk:       #2C3547;
  --dusk-light: #4A5568;
  --ink:        #1A1612;
  --cream:      #FDFAF4;
  --white:      #FFFFFF;
  --muted:      #7A7060;

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'DM Sans', sans-serif;
  --ff-mono:    'DM Mono', monospace;

  --fs-xs:   11px;
  --fs-sm:   13px;
  --fs-base: 15px;
  --fs-md:   17px;
  --fs-lg:   22px;
  --fs-xl:   32px;
  --fs-2xl:  48px;
  --fs-3xl:  64px;
  --fs-4xl:  88px;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  32px;
  --radius-pill:99px;

  --shadow-sm: 0 1px 4px rgba(26,22,18,.06);
  --shadow-md: 0 4px 20px rgba(26,22,18,.10);
  --shadow-lg: 0 12px 48px rgba(26,22,18,.14);

  --nav-h: 72px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--ff-body); cursor: pointer; border: none; background: none; }

/* ---- TEXTURE OVERLAY ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ---- Hero real photo ---- */
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.35;
  z-index: 1;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  transition: background var(--transition), box-shadow var(--transition);
}

/* Nav transparent — texte blanc au top */
.nav:not(.scrolled) .wordmark,
.nav:not(.scrolled) .nav-links a {
  color: var(--cream);
}
.nav:not(.scrolled) .tagline {
  color: var(--stone);
}
.nav:not(.scrolled) .nav-links a::after {
  background: var(--cream);
}
.nav:not(.scrolled) .nav-cta {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--cream);
  backdrop-filter: blur(8px);
}
.nav:not(.scrolled) .nav-cta:hover {
  background: rgba(255,255,255,0.28);
}
.nav:not(.scrolled) .nav-burger span {
  background: var(--cream);
}

.nav.scrolled {
  background: rgba(253, 250, 244, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--sand-dark);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nav-logo .wordmark {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.nav-logo .tagline {
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--dusk-light);
  letter-spacing: 0.04em;
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--terra);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--terra); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--terra);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--terra-dark); transform: translateY(-1px); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 3rem) 3rem 5rem;
  position: relative;
  overflow: hidden;
  background: var(--dusk);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2C3547 0%, #1A1612 60%, #3D2B1F 100%);
}

/* Decorative geometric sun */
.hero-sun {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(160, 82, 45, 0.15);
  box-shadow:
    inset 0 0 0 40px rgba(160, 82, 45, 0.04),
    inset 0 0 0 80px rgba(160, 82, 45, 0.03),
    inset 0 0 0 140px rgba(160, 82, 45, 0.02);
}
.hero-sun::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(160, 82, 45, 0.12);
}
.hero-sun::after {
  content: '';
  position: absolute;
  inset: 100px;
  border-radius: 50%;
  border: 1px solid rgba(160, 82, 45, 0.10);
  background: rgba(160, 82, 45, 0.04);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra-light);
  font-weight: 400;
  margin-bottom: 2rem;
}
.hero-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--terra-light);
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--terra-light);
}

.hero-sub {
  font-size: var(--fs-md);
  color: var(--stone);
  max-width: 480px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--stone);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--stone));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--terra);
  color: var(--white);
  border-color: var(--terra);
}
.btn-primary:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(160,82,45,0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245,240,232,0.3);
}
.btn-ghost:hover {
  background: rgba(245,240,232,0.08);
  border-color: rgba(245,240,232,0.6);
}
.btn-outline {
  background: transparent;
  color: var(--terra);
  border-color: var(--terra);
}
.btn-outline:hover {
  background: var(--terra);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--dusk);
  color: var(--cream);
  border-color: var(--dusk);
}
.btn-dark:hover {
  background: var(--ink);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 9px 20px;
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
}
.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}

/* Arrow icon */
.arrow-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.btn:hover .arrow-icon { transform: translate(2px, -2px); }

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
}
.container-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 3rem;
}
.section { padding: 7rem 0; }
.section-sm { padding: 4rem 0; }
.section-lg { padding: 10rem 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--terra);
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-title em {
  font-style: italic;
  color: var(--terra);
}

.section-sub {
  font-size: var(--fs-md);
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  margin-top: 1rem;
}

/* ============================================
   OFFRES GRID (Home)
   ============================================ */
.offres-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5px;
  background: var(--stone);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 4rem;
}

.offre-card {
  background: var(--cream);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
  display: flex;
  flex-direction: column;
}
.offre-card:hover { background: var(--sand); }

.offre-card-index {
  font-family: var(--ff-display);
  font-size: 64px;
  font-weight: 300;
  color: var(--sand-dark);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}
.offre-card:hover .offre-card-index { color: var(--terra-light); }

.offre-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  align-self: flex-start;
}
.badge-full { background: #F5DDD3; color: var(--terra-dark); }
.badge-avail { background: #D4E8D0; color: var(--olive); }
.badge-last { background: #FFF0D0; color: #7A5C10; }

.offre-card h3 {
  font-family: var(--ff-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.offre-card .location {
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.offre-card .price {
  font-size: var(--fs-xl);
  font-family: var(--ff-display);
  font-weight: 300;
  color: var(--terra);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}
.offre-card .price sub {
  font-size: var(--fs-sm);
  color: var(--muted);
  font-family: var(--ff-body);
  font-weight: 400;
}

.offre-card-desc {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 2rem;
}

.offre-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--terra);
  transition: gap var(--transition);
}
.offre-card-link:hover { gap: 10px; }

/* ============================================
   AVANTAGES
   ============================================ */
.avantages-section {
  background: var(--dusk);
  color: var(--cream);
}

.avantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.avantage-item { padding: 0; }

.avantage-num {
  font-family: var(--ff-display);
  font-size: 72px;
  font-weight: 300;
  color: var(--terra-light);
  line-height: 1;
  margin-bottom: 1.25rem;
  opacity: 0.6;
}

.avantage-title {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--cream);
}

.avantage-desc {
  font-size: var(--fs-sm);
  color: var(--stone);
  line-height: 1.8;
  font-weight: 300;
}

/* ============================================
   IMAGE PLACEHOLDER
   ============================================ */
.img-placeholder {
  background: var(--sand);
  border: 1px dashed var(--stone);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(0,0,0,0.015) 20px,
    rgba(0,0,0,0.015) 21px
  );
}
.img-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.35;
}

/* ============================================
   LOGEMENT CARDS (inner pages)
   ============================================ */
.logement-list { display: flex; flex-direction: column; gap: 2px; background: var(--stone); border-radius: var(--radius-lg); overflow: hidden; }

.logement-card {
  background: var(--cream);
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 280px;
  transition: background var(--transition);
}
.logement-card:hover { background: var(--sand); }

.logement-img-wrap {
  position: relative;
  overflow: hidden;
  align-self: stretch;
}
.logement-img-wrap .img-placeholder { height: 100%; border-radius: 0; border: none; }

.logement-body {
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--sand-dark);
}

.logement-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.logement-name {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.logement-price {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--terra);
  white-space: nowrap;
}
.logement-price small {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 400;
}

.logement-location {
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.logement-desc {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.charges-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #D4E8D0;
  color: var(--olive);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}
.chip {
  padding: 4px 12px;
  background: var(--sand);
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  color: var(--dusk-light);
  letter-spacing: 0.04em;
}

/* ============================================
   COLIVING — chambre cards
   ============================================ */
.chambres-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  background: var(--stone);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3rem;
}

.chambre-card {
  background: var(--cream);
  padding: 0;
  transition: background var(--transition);
  display: flex;
  flex-direction: column;
}
.chambre-card:hover { background: var(--sand); }

.chambre-img { height: 220px; }
.chambre-img .img-placeholder { height: 100%; border-radius: 0; border: none; }

.chambre-body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }

.chambre-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.chambre-name {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.chambre-price {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 300;
  color: var(--terra);
}
.chambre-price small {
  font-family: var(--ff-body);
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 400;
}

.chambre-subtitle {
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.chambre-desc {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  flex: 1;
}

/* ============================================
   EMPLACEMENT SECTION
   ============================================ */
.emplacement-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 4rem;
}

.emplacement-text h3 {
  font-family: var(--ff-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.emplacement-text p {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.map-placeholder {
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
  margin-top: 4rem;
}

.contact-info h3 {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.contact-links { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--sand);
  border-radius: var(--radius-md);
  border: 1px solid var(--sand-dark);
  transition: background var(--transition), border-color var(--transition);
}
.contact-link:hover {
  background: var(--sand-dark);
  border-color: var(--stone);
}

.contact-link-icon {
  width: 40px;
  height: 40px;
  background: var(--terra);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-link-icon svg { width: 18px; height: 18px; color: var(--white); fill: none; stroke: currentColor; stroke-width: 1.5; }

.contact-link-info { flex: 1; }
.contact-link-info .label {
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-link-info .value {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--ink);
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

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

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

.form-group label {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--dusk-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: var(--sand);
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius-md);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--ink);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terra);
  background: var(--cream);
  box-shadow: 0 0 0 3px rgba(160,82,45,0.08);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink);
  color: var(--stone);
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .wordmark {
  font-family: var(--ff-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--stone);
  line-height: 1.8;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a {
  font-size: var(--fs-sm);
  color: var(--muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: var(--fs-xs); color: var(--muted); }

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  background: var(--dusk);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2C3547 0%, #1A1612 100%);
}

.page-header-accent {
  position: absolute;
  top: -60px; right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(160,82,45,0.12);
  box-shadow: inset 0 0 0 60px rgba(160,82,45,0.04);
}

.page-header-content { position: relative; z-index: 2; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--stone);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--stone); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--terra-light); }
.breadcrumb span { color: var(--muted); }

.page-header h1 {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 1rem;
}
.page-header h1 em { font-style: italic; color: var(--terra-light); }

.page-header p {
  font-size: var(--fs-md);
  color: var(--stone);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.7;
}

/* ============================================
   AVAILABILITY BANNER
   ============================================ */
.avail-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2.5rem;
  font-size: var(--fs-sm);
  font-weight: 500;
}
.avail-banner.full {
  background: #F5DDD3;
  color: var(--terra-dark);
  border: 1px solid #E8C0AB;
}
.avail-banner.available {
  background: #D4E8D0;
  color: var(--olive);
  border: 1px solid #B4D4AE;
}
.avail-banner.last {
  background: #FFF0D0;
  color: #7A5C10;
  border: 1px solid #F0D898;
}
.avail-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}
.full .avail-dot { background: var(--terra); }
.available .avail-dot { background: var(--olive); }
.last .avail-dot { background: #C89820; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================
   A PROPOS PAGE
   ============================================ */
.about-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-top: 4rem;
}

.about-quote {
  font-family: var(--ff-display);
  font-size: 32px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--dusk);
  margin-bottom: 2rem;
}
.about-quote span { color: var(--terra); }

.about-text p {
  font-size: var(--fs-base);
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1.25rem;
}

.about-portrait { border-radius: var(--radius-lg); overflow: hidden; }
.about-portrait img { width: 100%; height: auto; display: block; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--stone);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 5rem;
}

.stat-block {
  background: var(--sand);
  padding: 2.5rem;
  text-align: center;
}
.stat-num {
  font-family: var(--ff-display);
  font-size: 52px;
  font-weight: 300;
  color: var(--terra);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: var(--fs-xs);
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================
   MOBILE NAV
   ============================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  font-family: var(--ff-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--terra); }
.mobile-nav-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  font-size: 28px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
}

/* ============================================
   ANIMATIONS (page load)
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s ease forwards;
}
.fade-up:nth-child(1) { animation-delay: 0.1s; }
.fade-up:nth-child(2) { animation-delay: 0.2s; }
.fade-up:nth-child(3) { animation-delay: 0.3s; }
.fade-up:nth-child(4) { animation-delay: 0.4s; }
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}


/* ============================================
   CAROUSEL
   ============================================ */
.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ink);
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(253,250,244,0.9);
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  z-index: 10;
  box-shadow: var(--shadow-md);
}
.carousel-btn:hover {
  background: var(--cream);
  transform: translateY(-50%) scale(1.08);
}
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.carousel-dot.active {
  background: var(--cream);
  transform: scale(1.3);
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .container, .container-narrow { padding: 0 1.5rem; }
  .offres-grid { grid-template-columns: 1fr; }
  .avantages-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Grille 3 colonnes "offre inclus" → 1 colonne sur mobile */
  .offre-inclus-grid {
    grid-template-columns: 1fr !important;
  }

  /* Logement cards — empilées sur mobile */
  .logement-card {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .logement-img-wrap {
    width: 100%;
    height: auto;
  }
  /* Carousel carré sur mobile — pleine largeur */
  .carousel {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 85vw; /* évite qu'il soit trop grand */
  }
  .logement-body {
    padding: 1.5rem;
    border-left: none;
    border-top: 1px solid var(--sand-dark);
  }
  .logement-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .chambres-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .emplacement-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-intro { grid-template-columns: 1fr; gap: 3rem; }
  .about-stats { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero { padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem; }
  .hero-scroll { display: none; }
  .section { padding: 5rem 0; }
  .form-row { grid-template-columns: 1fr; }

  /* Chambre n°5 — format spécial sur mobile */
  .logement-card > div[style*="grid-template-columns: 400px"] {
    display: flex !important;
    flex-direction: column !important;
  }
  .logement-card > div[style*="grid-template-columns: 400px"] .logement-body {
    border-left: none;
    border-top: 1px solid var(--sand-dark);
  }
}
