/* =====================================================================
   Le Joyau de Shanti — Feuille de style
   Palette vert pastel / jade, typographie luxe, mobile-first
   ===================================================================== */

:root {
  /* Couleurs */
  --sage: #8FA98E;
  --sage-soft: #B7CDB4;
  --sage-deep: #4F6F5A;
  --jade: #2E4B3F;
  --jade-900: #223a30;
  --gold: #C2A15B;
  --gold-soft: #D8C08A;
  --cream: #F4F7F0;
  --ivory: #FBFBF6;
  --ink: #313d37;
  --muted: #6d7d72;
  --line: #e2e9dd;
  --white: #ffffff;
  --danger: #b4553f;

  /* Typo */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", system-ui, sans-serif;

  /* Espacements */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 18px rgba(46, 75, 63, 0.06);
  --shadow-md: 0 14px 40px rgba(46, 75, 63, 0.12);
  --shadow-lg: 0 30px 70px rgba(46, 75, 63, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1240px;
}

/* ------------------------- Reset ------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; color: var(--jade); letter-spacing: .01em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

/* Section titles */
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--gold);
  display: inline-block;
  margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto var(--space-4); }
.section-head h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.02rem; }
.section { padding: clamp(60px, 9vw, 118px) 0; }

/* ------------------------- Buttons ------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-size: .82rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  transition: transform .5s var(--ease), background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  will-change: transform;
}
.btn-primary { background: var(--jade); color: var(--ivory); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-ghost { border: 1px solid var(--jade); color: var(--jade); }
.btn-ghost:hover { background: var(--jade); color: var(--ivory); transform: translateY(-3px); }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-soft)); color: #3b2f12; }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(194,161,91,.35); }
.btn-block { width: 100%; }
.btn svg { width: 17px; height: 17px; }

/* ================================================================
   HEADER / NAV
   ================================================================ */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .5s var(--ease), box-shadow .5s var(--ease), padding .5s var(--ease);
  padding: 20px 0;
}
.header.scrolled {
  background: rgba(251, 251, 246, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(46,75,63,.06);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-logo { display: flex; align-items: center; gap: 12px; }
.brand-logo img { height: 58px; width: auto; transition: height .5s var(--ease), filter .5s var(--ease); }
.header.scrolled .brand-logo img { height: 46px; }
/* logo blanc sur le hero, noir après scroll */
.brand-logo .logo-dark { display: none; }
.header.scrolled .brand-logo .logo-light { display: none; }
.header.scrolled .brand-logo .logo-dark { display: block; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-desktop { display: flex; }
.nav-links a {
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 400;
  color: var(--ivory); position: relative; padding: 4px 0; transition: color .3s;
}
.header.scrolled .nav-links a { color: var(--jade); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold); transition: width .4s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }

.nav-cta { padding: 11px 22px; font-size: .74rem; }
.header:not(.scrolled) .nav-cta { border-color: var(--ivory); color: var(--ivory); }
.header:not(.scrolled) .nav-cta:hover { background: var(--ivory); color: var(--jade); }

.nav-social {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45); color: var(--ivory);
  transition: transform .45s var(--ease), background .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease);
}
.header.scrolled .nav-social { border-color: var(--line); color: var(--jade); }
.nav-social:hover { transform: translateY(-2px); background: var(--gold-soft); border-color: var(--gold-soft); color: var(--jade); }
.nav-social svg { width: 18px; height: 18px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 110; position: relative; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ivory); transition: .35s var(--ease); border-radius: 2px; }
.header.scrolled .nav-toggle span, .nav-open .nav-toggle span { background: var(--jade); }

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed; inset: 0; z-index: 300;
  visibility: hidden; pointer-events: none;
  transition: visibility .45s var(--ease);
}
.mobile-menu.open {
  visibility: visible; pointer-events: auto;
}
.mobile-menu-panel {
  position: absolute; inset: 0;
  background: linear-gradient(165deg, var(--jade) 0%, var(--jade-900) 100%);
  color: var(--ivory);
  display: flex; flex-direction: column;
  padding: max(18px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
  opacity: 0; transform: translateY(12px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mobile-menu.open .mobile-menu-panel {
  opacity: 1; transform: none;
}
.mobile-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: clamp(28px, 8vw, 52px);
}
.mobile-menu-logo img { height: 52px; width: auto; }
.mobile-menu-close {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: var(--ivory);
  border: 1px solid rgba(255,255,255,.18);
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.mobile-menu-close:hover { background: rgba(255,255,255,.16); transform: rotate(90deg); }
.mobile-menu-close svg { width: 20px; height: 20px; }

.mobile-nav {
  display: flex; flex-direction: column; gap: 6px;
  flex: 1; justify-content: center;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.8rem);
  line-height: 1.15; color: var(--ivory);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: color .35s var(--ease), padding-left .35s var(--ease);
}
.mobile-nav a:hover, .mobile-nav a:focus-visible {
  color: var(--gold-soft); padding-left: 8px;
}

.mobile-menu-foot {
  display: grid; gap: 14px; margin-top: 24px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
}
.mobile-instagram, .mobile-mail {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .92rem; letter-spacing: .04em; color: rgba(255,255,255,.88);
  transition: color .35s var(--ease);
}
.mobile-instagram:hover, .mobile-mail:hover { color: var(--gold-soft); }
.mobile-ico {
  width: 36px; height: 36px; min-width: 36px;
  border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); color: var(--gold-soft);
  border: 1px solid rgba(255,255,255,.16); line-height: 0;
}
.mobile-ico svg { width: 16px; height: 16px; display: block; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--ivory); overflow: hidden; text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); will-change: transform; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(34,58,48,.42) 0%, rgba(34,58,48,.10) 35%, rgba(34,58,48,.30) 75%, rgba(34,58,48,.62) 100%);
}
.hero-inner { max-width: 880px; margin: 0 auto; padding: 120px 22px 90px; }
.hero .brand-mark { height: 120px; margin: 0 auto 26px; filter: drop-shadow(0 6px 20px rgba(0,0,0,.25)); }
.hero h1 {
  color: var(--ivory);
  font-size: clamp(2.9rem, 8vw, 6rem);
  font-weight: 500; line-height: 1.02; letter-spacing: .01em;
  text-shadow: 0 4px 34px rgba(0,0,0,.28);
}
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero .lead {
  font-size: clamp(1rem, 2.4vw, 1.3rem); font-weight: 300; margin: 22px auto 0; max-width: 620px;
  color: rgba(255,255,255,.92); text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.hero-cta { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn-ghost { border-color: rgba(255,255,255,.7); color: var(--ivory); }
.hero-cta .btn-ghost:hover { background: var(--ivory); color: var(--jade); border-color: var(--ivory); }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.8);
}
.scroll-hint .mouse { width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 14px; position: relative; }
.scroll-hint .mouse::after {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; background: var(--ivory); border-radius: 2px; animation: scrollWheel 1.7s infinite;
}
@keyframes scrollWheel { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,10px)} 100%{opacity:0} }

/* Marquee / bandeau pièce unique */
.marquee {
  background: var(--jade); color: var(--ivory); overflow: hidden;
  padding: 13px 0; font-size: .78rem; letter-spacing: .26em; text-transform: uppercase;
}
.marquee-track {
  display: flex; flex-wrap: nowrap; width: max-content;
  will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.marquee-track span {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 46px;
  padding-right: 46px; white-space: nowrap;
}
.marquee .dot { color: var(--gold-soft); font-style: normal; }

/* ================================================================
   VALEURS
   ================================================================ */
.values { background: var(--cream); }
.values-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.value {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 32px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.value:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.value .ico {
  width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream); color: var(--sage-deep);
  border: 1px solid var(--line);
}
.value .ico svg { width: 28px; height: 28px; }
.value h3 { font-size: 1.55rem; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: .96rem; }

/* ================================================================
   COLLECTION
   ================================================================ */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.filter {
  padding: 9px 20px; border-radius: 100px; border: 1px solid var(--line); background: var(--white);
  font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  transition: .35s var(--ease);
}
.filter:hover { border-color: var(--sage); color: var(--jade); }
.filter.active { background: var(--jade); color: var(--ivory); border-color: var(--jade); }

.grid {
  display: grid; gap: 26px;
  grid-template-columns: 1fr;
}

.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), opacity .5s;
  display: flex; flex-direction: column; cursor: pointer;
}
.card:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--cream); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }

.badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  background: rgba(251,251,246,.92); color: var(--sage-deep);
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  padding: 7px 13px; border-radius: 100px; backdrop-filter: blur(6px);
  display: inline-flex; align-items: center; gap: 6px;
}
.badge .gem { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.badge-mat {
  left: auto; right: 14px; background: rgba(46,75,63,.85); color: var(--ivory);
}

.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-body .mat { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-deep); }
.card-body h3 { font-size: 1.6rem; line-height: 1.05; }
.card-body .desc { color: var(--muted); font-size: .9rem; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--font-display); font-size: 1.7rem; color: var(--jade); font-weight: 600; }
.price small { font-size: .68rem; font-family: var(--font-body); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.card .reserve {
  padding: 11px 18px; border-radius: 100px; background: var(--cream); color: var(--jade);
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--line); transition: .35s var(--ease); white-space: nowrap;
}
.card .reserve:hover { background: var(--jade); color: var(--ivory); border-color: var(--jade); }

/* Etat réservé / rupture */
.card.sold { }
.card.sold .card-media img { filter: grayscale(1) opacity(.72); }
.card.sold::after {
  content: ""; position: absolute; inset: 0; background: rgba(244,247,240,.35); z-index: 2; pointer-events: none;
}
.sold-flag {
  position: absolute; top: 0; left: 0; right: 0; z-index: 4;
  background: rgba(46,75,63,.92); color: var(--ivory); text-align: center;
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; padding: 9px; font-weight: 500;
  display: none;
}
.card.sold .sold-flag { display: block; }
.card.sold .reserve { background: #e7e7e2; color: #9aa39c; border-color: #e0e0da; pointer-events: none; }
.card.sold .price { color: #9aa39c; }
.card.sold .badge { display: none; }

/* ================================================================
   HISTOIRE / MARQUE
   ================================================================ */
.story { background: var(--cream); overflow: hidden; }
.story-grid { display: grid; gap: 44px; align-items: center; grid-template-columns: 1fr; }
.story-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.story-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.story-media .tag {
  position: absolute; bottom: 18px; left: 18px; background: rgba(251,251,246,.9); backdrop-filter: blur(6px);
  padding: 10px 16px; border-radius: 100px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--jade);
}
.story-text .signature {
  font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--sage-deep); margin-top: 22px;
}
.story-text p { color: var(--ink); font-size: 1.06rem; margin-top: 18px; }
.story-text p.intro { font-family: var(--font-display); font-size: clamp(1.4rem,3vw,1.9rem); color: var(--jade); font-weight: 500; line-height: 1.3; }

/* ================================================================
   UNIVERS (galerie ambiance)
   ================================================================ */
.univers { position: relative; }
.univers-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.uni-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px; box-shadow: var(--shadow-sm); }
.uni-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.uni-card:hover img { transform: scale(1.06); }
.uni-card .cap {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 26px 22px 22px; color: var(--ivory);
  background: linear-gradient(180deg, transparent, rgba(34,58,48,.75));
}
.uni-card .cap h4 { color: var(--ivory); font-size: 1.5rem; }
.uni-card .cap p { font-size: .85rem; color: rgba(255,255,255,.85); }

/* Bandeau feng shui */
.zen {
  position: relative; color: var(--ivory); text-align: center; overflow: hidden;
}
.zen-bg { position: absolute; inset: 0; z-index: -2; }
.zen-bg img { width: 100%; height: 100%; object-fit: cover; }
.zen::after { content:""; position:absolute; inset:0; z-index:-1; background: rgba(34,58,48,.6); }
.zen .container { padding-block: clamp(80px,12vw,150px); }
.zen h2 { color: var(--ivory); font-size: clamp(2rem,5vw,3.4rem); max-width: 900px; margin: 0 auto; font-style: italic; }
.zen p { max-width: 620px; margin: 20px auto 0; color: rgba(255,255,255,.9); }

/* ================================================================
   COMMENT RESERVER
   ================================================================ */
.how { background: var(--cream); }
.steps { display: grid; gap: 26px; grid-template-columns: 1fr; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 30px; position: relative; text-align: center; }
.step .num {
  counter-increment: step; font-family: var(--font-display); font-size: 3rem; color: var(--gold-soft); line-height: 1;
}
.step .num::before { content: "0" counter(step); }
.step h3 { font-size: 1.4rem; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ================================================================
   CONTACT / CTA final
   ================================================================ */
.contact { text-align: center; }
.contact .card-cta {
  background: var(--jade); color: var(--ivory); border-radius: 28px; padding: clamp(48px,7vw,84px) 26px;
  position: relative; overflow: hidden;
}
.contact .card-cta::before {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(194,161,91,.25), transparent 70%); top: -120px; right: -80px;
}
.contact h2 { color: var(--ivory); font-size: clamp(2rem,5vw,3.2rem); }
.contact p { color: rgba(255,255,255,.85); max-width: 520px; margin: 16px auto 30px; }

.contact-connect {
  list-style: none; padding: 0; margin: 28px auto 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  max-width: 680px;
}
.contact-connect a {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 12px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.08);
  color: var(--ivory); transition: transform .45s var(--ease), background .45s var(--ease), border-color .45s var(--ease);
}
.contact-connect a:hover {
  transform: translateY(-2px); background: rgba(255,255,255,.14); border-color: rgba(216,192,138,.55);
}
.contact-ico {
  width: 40px; height: 40px; min-width: 40px; min-height: 40px;
  border-radius: 50%; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); color: var(--gold-soft);
  border: 1px solid rgba(255,255,255,.18); line-height: 0;
}
.contact-ico svg { width: 18px; height: 18px; display: block; flex-shrink: 0; }
.contact-label { font-size: .95rem; letter-spacing: .02em; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer { background: var(--jade-900); color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
.footer .brand-logo img { height: 76px; }
.footer h4 { color: var(--ivory); font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-body); font-weight: 500; margin-bottom: 16px; }
.footer p { font-size: .92rem; font-weight: 300; }
.footer a:hover { color: var(--gold-soft); }
.footer .f-links li { margin-bottom: 10px; font-size: .92rem; }
.footer-privacy-link {
  padding: 0; color: inherit; font-size: inherit; font-weight: 300;
  text-align: left; transition: color .3s;
}
.footer-privacy-link:hover, .footer-privacy-link:focus-visible { color: var(--gold-soft); }
.footer .f-contact li { margin-bottom: 12px; font-size: .92rem; display: flex; gap: 12px; align-items: center; }
.f-ico {
  width: 32px; height: 32px; min-width: 32px; min-height: 32px;
  border-radius: 50%; overflow: hidden; line-height: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); color: var(--gold-soft); flex-shrink: 0;
}
.f-ico svg { width: 15px; height: 15px; display: block; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: rgba(255,255,255,.55);
}
.footer-note { display: inline-flex; align-items: center; gap: 8px; }
.footer-note .gem { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ================================================================
   POLITIQUE DE CONFIDENTIALITÉ
   ================================================================ */
.privacy-modal {
  position: fixed; inset: 0; z-index: 400;
  display: grid; place-items: center; padding: 20px;
  background: rgba(23, 42, 34, .72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s var(--ease), visibility .4s;
}
.privacy-modal.open { opacity: 1; visibility: visible; pointer-events: auto; }
.privacy-dialog {
  position: relative; width: min(760px, 100%); max-height: min(86vh, 820px);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--ivory); border: 1px solid rgba(194,161,91,.28);
  border-radius: 26px; box-shadow: var(--shadow-lg);
  transform: translateY(28px) scale(.98);
  transition: transform .5s var(--ease);
  scrollbar-color: var(--gold-soft) transparent;
}
.privacy-modal.open .privacy-dialog { transform: none; }
.privacy-content { padding: clamp(38px, 6vw, 64px); }
.privacy-content .eyebrow { margin-bottom: 10px; }
.privacy-content h2 { font-size: clamp(2rem, 5vw, 3rem); padding-right: 46px; }
.privacy-updated {
  margin: 8px 0 28px; color: var(--muted);
  font-size: .78rem; letter-spacing: .08em;
}
.privacy-content > p { color: var(--ink); font-size: 1rem; }
.privacy-content section {
  margin-top: 26px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.privacy-content h3 { margin-bottom: 9px; font-size: 1.45rem; }
.privacy-content section p { color: var(--muted); font-size: .95rem; }
.privacy-content a {
  color: var(--sage-deep); font-weight: 500;
  text-decoration: underline; text-underline-offset: 3px;
}
.privacy-close {
  position: sticky; float: right; top: 16px; right: 16px; z-index: 2;
  width: 44px; height: 44px; margin: 16px 16px -60px 0;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--jade);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), background .35s;
}
.privacy-close:hover { transform: rotate(90deg); background: var(--white); }
.privacy-close svg { width: 19px; height: 19px; }

/* ================================================================
   MODAL PRODUIT
   ================================================================ */
.modal {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  background: rgba(34,58,48,.55); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--ivory); border-radius: 24px; max-width: 940px; width: 100%; max-height: 92vh; overflow: auto;
  display: grid; grid-template-columns: 1fr; box-shadow: var(--shadow-lg);
  transform: translateY(24px) scale(.98); transition: transform .5s var(--ease);
}
.modal.open .modal-box { transform: none; }
.modal-media { position: relative; background: var(--cream); aspect-ratio: 1/1; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 34px 32px 38px; display: flex; flex-direction: column; }
.modal-info .mat { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-deep); }
.modal-info h3 { font-size: clamp(2rem,4vw,2.8rem); margin: 6px 0 2px; }
.modal-info .m-price { font-family: var(--font-display); font-size: 2rem; color: var(--jade); font-weight: 600; margin: 8px 0 18px; }
.modal-info .m-desc { color: var(--ink); font-size: 1.02rem; }
.modal-info .m-meta { margin: 22px 0; border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 12px; }
.modal-info .m-meta div { display: flex; gap: 12px; align-items: center; font-size: .92rem; color: var(--muted); }
.modal-info .m-meta svg { width: 18px; height: 18px; color: var(--sage-deep); flex-shrink: 0; }
.modal-info .m-actions { margin-top: auto; padding-top: 18px; }
.m-unique { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.m-unique svg { width: 16px; height: 16px; flex-shrink: 0; }
.m-sold { display:none; background: rgba(180,85,63,.12); color: var(--danger); padding: 12px 16px; border-radius: 12px; font-size:.85rem; margin-bottom:14px; }
.modal.is-sold .m-sold { display:block; }
.modal.is-sold .btn-reserve-modal { background:#e7e7e2; color:#9aa39c; pointer-events:none; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(251,251,246,.9); display: grid; place-items: center; color: var(--jade); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), background .35s;
}
.modal-close:hover { transform: rotate(90deg); background: var(--white); }
.modal-close svg { width: 20px; height: 20px; }

/* ================================================================
   ANIMATIONS AU SCROLL
   ================================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 120%);
  background: var(--jade); color: var(--ivory); padding: 14px 24px; border-radius: 100px;
  box-shadow: var(--shadow-md); z-index: 300; font-size: .88rem; letter-spacing: .04em;
  transition: transform .55s var(--ease); display: inline-flex; align-items: center; gap: 10px;
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--gold-soft); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 599px) {
  .contact-connect { flex-direction: column; align-items: center; }
  .contact-connect a { width: min(100%, 340px); justify-content: flex-start; }
  .privacy-modal { padding: 10px; align-items: end; }
  .privacy-dialog { max-height: 91dvh; border-radius: 24px 24px 14px 14px; }
  .privacy-content { padding: 34px 24px 42px; }
}
@media (min-width: 600px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .univers-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}
@media (min-width: 900px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-grid.reverse .story-media { order: 2; }
  .modal-box { grid-template-columns: 1.05fr 1fr; }
  .modal-media { aspect-ratio: auto; }
  .univers-grid { grid-template-columns: repeat(4, 1fr); }
  .uni-card.wide { grid-column: span 2; }
}
@media (min-width: 1180px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
}

/* ------- Menu mobile ------- */
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ------- Accessibilité : mouvement réduit ------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-bg img { transform: none; }
}
