/* ============================================================
   29 Couillard — feuille de style partagée
   Vibe : épuré, doux, éditorial. Les photos parlent d'elles-mêmes.
   ============================================================ */

:root {
  --ivory:      #FAF8F4;
  --ivory-2:    #F2EEE7;
  --stone:      #E7E0D6;
  --taupe:      #9B8C7A;
  --taupe-deep: #7A6E5F;
  --ink:        #2A2724;
  --ink-soft:   #5A554E;
  --line:       #E3DCD1;
  --white:      #FFFFFF;
  --radius:     14px;
  --maxw:       1120px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 104px; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Arrière-plan du site : alterne entre le dessin et la photo d'hiver
   (choisi au hasard à chaque chargement — voir le script dans index.html). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: var(--bgimg, url("hero-hiver.jpg?v=25"));
  background-position: var(--bgpos, center center);
  background-size: var(--bgsize, cover);
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.16;
  pointer-events: none;
}
/* Le dessin (plus clair) : on le rend un peu plus présent que la photo. */
:root.bg-dessin body::before { opacity: 0.22;
}

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

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Typographie ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--taupe-deep);
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Barre de navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,244,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { font-family: var(--serif); font-size: 2rem; font-weight: 600; letter-spacing: 0.5px; text-decoration: none; line-height: 1; }
.brand span { color: var(--taupe-deep); font-style: italic; font-weight: 400; }
.brand small { display: block; font-family: var(--sans); font-size: 0.58rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; color: var(--taupe-deep); margin-top: 4px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { text-decoration: none; font-size: 0.92rem; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  color: #3a2e10; font-weight: 600;
  padding: 10px 18px; border-radius: 100px; font-size: 0.88rem;
  background: linear-gradient(115deg, #b8860b 0%, #f6d873 22%, #e8b923 46%, #fbe38a 62%, #b8860b 100%);
  background-size: 250% 100%;
  box-shadow: 0 2px 12px -2px rgba(184,134,11,0.55);
  transform-origin: center;
  animation: goldshine 4.5s linear infinite, ctaBreath 3.4s ease-in-out infinite;
}
.nav-cta:hover { filter: brightness(1.08); color: #2a2208; animation-play-state: paused; transform: scale(1.05); }
@keyframes goldshine { to { background-position: -250% 0; } }
@keyframes ctaBreath {
  0%, 100% { transform: scale(1); box-shadow: 0 2px 12px -2px rgba(184,134,11,0.5); }
  50% { transform: scale(1.045); box-shadow: 0 4px 18px -3px rgba(184,134,11,0.7); }
}
@media (prefers-reduced-motion: reduce) { .nav-cta { animation: none; } }

/* Sélecteur de langue */
.lang-switch { display: inline-flex; gap: 2px; border: 1px solid var(--line); border-radius: 100px; padding: 3px; background: var(--white); }
.lang-switch button {
  border: none; background: transparent; cursor: pointer;
  font-family: var(--sans); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink-soft); padding: 5px 10px; border-radius: 100px; transition: all .18s;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.on { background: var(--ink); color: var(--ivory); }

/* ---------- Héro (rotation texte + image) ---------- */
.hero { padding: 84px 0 88px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero .eyebrow { margin-bottom: 24px; }
.hero h1 { margin-bottom: 24px; font-size: clamp(2.9rem, 6.5vw, 5rem); min-height: 2.2em; }
.hero .lead { margin-bottom: 38px; min-height: 4.9em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.swap { transition: opacity 0.55s ease, transform 0.55s ease; }
.swap.out { opacity: 0; transform: translateY(10px); }

.hero-portrait {
  margin: 0; position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--stone);
  aspect-ratio: 4 / 5;
  box-shadow: 0 34px 80px -36px rgba(42,39,36,0.5);
}
.hero-portrait img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  opacity: 0; transition: opacity 0.5s ease, transform 8s ease;
  transform: scale(1.02);
}
.hero-portrait img.on { opacity: 1; transform: scale(1.085); }
.hero-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.hero-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(250,248,244,0.5); transition: all .3s; padding: 0;
}
.hero-dots button.on { background: var(--ivory); width: 22px; border-radius: 100px; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-portrait img { transition: opacity 0.3s; transform: none; }
}

/* Bandeau plein cadre pour les sections quartier, etc. */
.hero-figure {
  margin-top: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--stone);
  aspect-ratio: 16 / 7;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  padding: 13px 26px; border-radius: 100px; font-size: 0.95rem; font-weight: 500;
  border: 1px solid transparent; transition: all .2s;
}
.btn-primary { background: var(--ink); color: var(--ivory); }
.btn-primary:hover { background: var(--taupe-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--taupe); background: var(--ivory-2); }

/* ---------- Section ---------- */
.section { padding: 70px 0; }
.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head h2 { margin: 14px 0 16px; }

/* ---------- Cartes logements ---------- */
.listings { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: 0 22px 60px -26px rgba(42,39,36,0.34); transform: translateY(-4px); }
.card-media {
  aspect-ratio: 4 / 3;
  background: var(--stone);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.photo-count {
  position: absolute; bottom: 14px; right: 14px; z-index: 2;
  background: rgba(42,39,36,0.72); color: var(--ivory);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 5px 11px; border-radius: 100px; backdrop-filter: blur(4px);
}

/* ---------- Galerie plein écran (lightbox) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,18,16,0.92); backdrop-filter: blur(6px);
  display: none; align-items: center; justify-content: center;
}
.lightbox.on { display: flex; }
.lb-img { max-width: 90vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6); }
.lb-close, .lb-nav {
  position: absolute; background: rgba(250,248,244,0.14); color: var(--ivory);
  border: none; cursor: pointer; border-radius: 50%;
  width: 52px; height: 52px; font-size: 1.6rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(250,248,244,0.28); }
.lb-close { top: 22px; right: 24px; font-size: 1.2rem; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: var(--ivory); font-size: 0.9rem; letter-spacing: 0.08em; }
@media (max-width: 620px) {
  .lb-close, .lb-nav { width: 44px; height: 44px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}
.media-placeholder {
  text-align: center; color: var(--taupe-deep);
  font-family: var(--serif); font-size: 1.05rem;
}
.media-placeholder small {
  display: block; font-family: var(--sans); font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase; margin-top: 8px; opacity: 0.7;
}
.badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(250,248,244,0.92);
  color: var(--ink); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 100px;
}
.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card-top { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.card-top h3 { font-size: 1.55rem; line-height: 1.15; }
.price { font-family: var(--serif); font-size: 1.4rem; white-space: nowrap; }
.price small { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-soft); font-weight: 500; }
.meta { display: flex; gap: 16px; font-size: 0.9rem; color: var(--ink-soft); }
.meta span::before { content: "— "; color: var(--taupe); }
.card p { margin: 0; color: var(--ink-soft); }
.incl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip {
  background: var(--ivory-2); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 100px; font-size: 0.8rem; color: var(--ink-soft);
}
.card .btn { margin-top: auto; text-align: center; }

/* ---------- Bande "inclusions" ---------- */
.strip { background: var(--ivory-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 54px; padding-bottom: 54px; }
.strip .feat h3 { font-size: 1.15rem; margin-bottom: 6px; }
.strip .feat p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.strip .feat .k { font-family: var(--serif); font-size: 2.2rem; color: var(--taupe-deep); line-height: 1; margin-bottom: 10px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.85rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--taupe);
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Galerie du quartier ---------- */
.quartier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quartier-grid .q-tile {
  position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden;
  background: var(--stone); border: 1px solid var(--line);
}
.quartier-grid .q-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.quartier-grid .q-tile.clickable { cursor: zoom-in; }
.quartier-grid .q-tile.clickable:hover img { transform: scale(1.06); }
.quartier-grid .q-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(20,18,16,0.78));
  color: var(--ivory); font-size: 0.82rem; font-weight: 500;
  padding: 22px 14px 12px;
}
.quartier-grid .q-tile.placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--taupe-deep); font-family: var(--serif); font-size: 1rem; padding: 16px;
}
.quartier-grid .q-tile.placeholder small { display: block; font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 8px; opacity: 0.7; }

/* ---------- Sélecteur de durée (cartes) ---------- */
.duree { background: var(--ivory-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.duree-head { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 8px; }
.duree-head strong { color: var(--ink); font-weight: 600; }
.duree input[type=range] { width: 100%; accent-color: var(--taupe-deep); }
.duree-note { margin: 8px 0 0; font-size: 0.8rem; color: var(--taupe-deep); }

/* ---------- Calendrier de séjour (style Airbnb / Google Flights) ---------- */
.cal { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head .cal-title { font-family: var(--serif); font-size: 1.15rem; text-transform: capitalize; }
.cal-nav { background: none; border: 1px solid var(--line); border-radius: 50%; width: 34px; height: 34px; cursor: pointer; font-size: 1rem; color: var(--ink); line-height: 1; }
.cal-nav:hover { background: var(--ivory-2); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { text-align: center; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); padding: 6px 0; }
.cal-day {
  border: 1px solid transparent; border-radius: 9px;
  min-height: 46px; padding: 5px 2px 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  cursor: pointer; font-size: 0.88rem; line-height: 1;
}
.cal-day .n { font-weight: 500; }
.cal-day .p { font-size: 0.62rem; color: var(--taupe-deep); }
.cal-day:hover:not(.off):not(.dis) { border-color: var(--taupe); }
.cal-day.off { visibility: hidden; }
.cal-day.dis { color: #C9C2B6; cursor: default; }
.cal-day.dis .p { display: none; }
.cal-day.sel { background: var(--ink); color: var(--ivory); }
.cal-day.sel .p { color: var(--stone); }
.cal-day.range { background: var(--ivory-2); }
.cal-day.semi { background: var(--ivory-2); border-color: var(--stone); }
.cal-day.semi .p { color: var(--taupe); }
.cal-note { margin: 12px 0 0; font-size: 0.85rem; color: var(--taupe-deep); }
.cal-resume { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 0.92rem; display: none; }
.cal-resume strong { font-family: var(--serif); font-size: 1.25rem; }

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0; color: var(--ink-soft); font-size: 0.9rem; }
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer a { color: var(--taupe-deep); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-portrait { aspect-ratio: 5 / 6; max-height: 62vh; }
  .listings { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .quartier-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .strip .wrap { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .nav .wrap { height: 68px; }
  .brand { font-size: 1.6rem; }
  .brand small { letter-spacing: 0.22em; font-size: 0.52rem; }
  .nav-cta { padding: 8px 13px; font-size: 0.8rem; }
  .lang-switch button { padding: 5px 8px; font-size: 0.7rem; }
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); min-height: 0; }
  .hero .lead { min-height: 0; }
  .section { padding: 52px 0; }
  .cal-day { min-height: 42px; font-size: 0.82rem; }
  .cal-day .p { font-size: 0.56rem; }
}

/* ============================================================
   Carte satellite du quartier
   ============================================================ */
.map-figure {
  margin: 26px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ivory-2);
  box-shadow: 0 12px 34px rgba(42, 39, 36, 0.08);
}
.map-figure iframe { width: 100%; height: 440px; border: 0; display: block; filter: saturate(1.04); }
.map-cap {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.map-cap .map-pin { font-size: 1rem; }
.map-cap .map-3d {
  margin-left: auto; white-space: nowrap;
  color: var(--taupe-deep); font-weight: 600; font-size: 0.84rem;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
.map-cap .map-3d:hover { color: var(--ink); }
@media (max-width: 520px) {
  .map-figure iframe { height: 320px; }
  .map-cap { flex-wrap: wrap; }
  .map-cap .map-3d { margin-left: 24px; }
}

/* ============================================================
   Pop-up Airbnb (appartement 4)
   ============================================================ */
.airbnb-pop {
  position: fixed; right: 22px; bottom: 24px; z-index: 60;
  max-width: 306px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(42, 39, 36, 0.20);
  opacity: 0; transform: translateY(16px) scale(0.98); pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease, bottom 0.4s ease;
}
.airbnb-pop.show { opacity: 1; transform: none; pointer-events: auto; }
body.cookie-open .airbnb-pop { bottom: 108px; }
.airbnb-pop-link {
  display: flex; align-items: center; gap: 13px;
  padding: 15px 17px; text-decoration: none; color: var(--ink);
}
.airbnb-pop-ico {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: #FFF0F3;
}
.airbnb-pop-txt { display: flex; flex-direction: column; gap: 2px; }
.airbnb-pop-txt strong { font-size: 0.96rem; font-weight: 600; }
.airbnb-pop-txt span { font-size: 0.82rem; color: var(--ink-soft); }
.airbnb-pop-link:hover .airbnb-pop-txt span { color: #FF385C; }
.airbnb-pop-x {
  position: absolute; top: -11px; right: -11px;
  width: 27px; height: 27px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white);
  color: var(--ink-soft); cursor: pointer; font-size: 0.78rem; line-height: 1;
  box-shadow: 0 4px 12px rgba(42, 39, 36, 0.16);
}
.airbnb-pop-x:hover { background: var(--ivory-2); color: var(--ink); }
@media (max-width: 560px) {
  .airbnb-pop { right: 12px; left: 12px; max-width: none; }
}

/* ============================================================
   Barre de témoins (cookies)
   ============================================================ */
/* Bandeau fin, sur une seule ligne */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; align-items: center; gap: 18px;
  padding: 9px 22px;
  background: rgba(250, 248, 244, 0.98);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(42, 39, 36, 0.07);
  color: var(--ink-soft); font-size: 0.85rem;
  transform: translateY(100%); transition: transform 0.5s ease;
}
.cookie-bar.show { transform: none; }
.cookie-txt { flex: 1 1 auto; line-height: 1.35; min-width: 0; }
.cookie-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.cookie-link {
  background: none; border: none; color: var(--taupe-deep); cursor: pointer;
  font-family: var(--sans); font-size: 0.85rem; text-decoration: underline; padding: 7px 6px; white-space: nowrap;
}
.cookie-link:hover { color: var(--ink); }
.cookie-btn {
  font-family: var(--sans); font-size: 0.82rem; font-weight: 500;
  padding: 7px 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); white-space: nowrap; transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.cookie-refuse { background: var(--white); color: var(--ink); }
.cookie-refuse:hover { background: var(--ivory-2); }
.cookie-accept { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.cookie-accept:hover { background: var(--taupe-deep); border-color: var(--taupe-deep); }
.cookie-save { background: var(--taupe-deep); color: var(--ivory); border-color: var(--taupe-deep); }
.cookie-save:hover { background: var(--ink); border-color: var(--ink); }

/* Fenêtre de préférences */
.cookie-modal {
  position: fixed; inset: 0; z-index: 90; display: none;
  align-items: center; justify-content: center;
  background: rgba(42, 39, 36, 0.5); padding: 20px;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.cookie-modal.show { display: flex; }
.cookie-modal-box {
  position: relative; width: 100%; max-width: 520px;
  background: var(--ivory); border-radius: 16px;
  padding: 30px 28px 24px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
  max-height: 88vh; overflow: auto;
}
.cookie-modal-box h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.7rem; }
.cookie-modal-intro { margin: 0 0 16px; font-size: 0.88rem; color: var(--ink-soft); }
.cookie-modal-x {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  font-size: 1.1rem; color: var(--ink-soft); cursor: pointer; line-height: 1;
}
.cookie-modal-x:hover { color: var(--ink); }
.cookie-cat { border-top: 1px solid var(--line); padding: 14px 0; }
.cookie-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cookie-cat-head strong { font-size: 0.98rem; color: var(--ink); }
.cookie-cat p { margin: 6px 0 0; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; }
.cookie-always { font-size: 0.76rem; font-weight: 600; color: var(--taupe-deep); white-space: nowrap; }
.cookie-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; justify-content: flex-end; }

/* Interrupteur (toggle) */
.cookie-toggle { position: relative; display: inline-block; width: 44px; height: 24px; flex: 0 0 auto; cursor: pointer; }
.cookie-toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cookie-slider { position: absolute; inset: 0; background: var(--stone); border-radius: 999px; transition: background 0.2s ease; }
.cookie-slider::before {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}
.cookie-toggle input:checked + .cookie-slider { background: var(--taupe-deep); }
.cookie-toggle input:checked + .cookie-slider::before { transform: translateX(20px); }

@media (max-width: 680px) {
  .cookie-bar { flex-wrap: wrap; gap: 8px 12px; padding: 12px 16px; }
  .cookie-txt { flex: 1 1 100%; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
  body.cookie-open .airbnb-pop { bottom: 128px; }
}

/* ============================================================
   Signature photo — même ton/couleur sur toutes les images
   (chaud, légèrement désaturé, éditorial). Ajustable ici.
   ============================================================ */
.card-media img,
.quartier-grid .q-tile img,
.hero-portrait img,
.lb-img {
  filter: saturate(0.92) contrast(1.04) brightness(1.02) sepia(0.07);
}
