/*
Theme Name: My Immo Market
Theme URI: https://myimmomarket.fr
Author: My Immo Market
Description: Thème de l’agence My Immo Market : maisons à acheter (réservation avec 10 % d’acompte), appartements à louer au mois et séjours à la nuit, en France, en Allemagne et en Espagne. Site en français, anglais, allemand et espagnol. À l’activation, les pages, les pages légales et des biens de démonstration sont créés automatiquement.
Version: 1.5.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-immo-market
*/

/* ═══════════════════════════════════════════════════════════
   MY IMMO MARKET — feuille de style
   Palette : blanc dominant, bleu ciel en accent, encre foncée.
   ═══════════════════════════════════════════════════════════ */

:root {
  --white: #ffffff;
  --soft: #f4f8fa;          /* sections alternées */
  --ink: #141a22;           /* texte, boutons principaux */
  --muted: #5d6876;         /* texte secondaire */
  --line: #e4e9ee;          /* filets */
  --sky: #a9e7f5;           /* accent bleu ciel */
  --sky-soft: #e8f8fc;      /* fonds d'icônes */
  --sky-deep: #1b6f8c;      /* bleu lisible sur blanc */

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -18px rgba(20, 26, 34, 0.22);
  --shadow-sm: 0 6px 22px -10px rgba(20, 26, 34, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, select { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* ═══════════ BOUTONS ═══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, select:focus-visible { outline: 2px solid var(--sky-deep); outline-offset: 3px; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #26303c; box-shadow: var(--shadow-sm); }
.btn-sky { background: var(--sky); color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-sky:hover { background: #c3eff9; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--sky); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.75); color: var(--white); background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }
.link-btn { background: none; border: 0; color: var(--sky-deep); font-weight: 600; text-decoration: underline; cursor: pointer; }

/* ═══════════ EN-TÊTE ═══════════ */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20, 26, 34, 0.35); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; white-space: nowrap; }
.logo-mark svg { width: 32px; height: 32px; display: block; }
.logo-mark circle { fill: var(--ink); stroke: none; }
.logo-mark path { fill: var(--sky); stroke: none; }
.logo-light .logo-mark circle { fill: var(--sky); }
.logo-light .logo-mark path { fill: var(--ink); }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; white-space: nowrap; }
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--sky); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { font-weight: 600; }
.nav-cta-mobile { display: none !important; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions .btn { height: 42px; padding: 0 18px; font-size: 14px; }

/* ─── sélecteur de langue ─── */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 42px; padding: 0 12px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.lang-btn:hover { border-color: rgba(20, 26, 34, 0.3); }
.lang-btn svg { width: 17px; height: 17px; }
.lang-btn .lang-caret { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.lang.is-open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 160px; padding: 6px;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .2s, transform .25s var(--ease);
}
.lang.is-open .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; }
.lang-menu a:hover { background: var(--soft); }
.lang-menu a[aria-current] { background: var(--sky-soft); font-weight: 700; }
.nav-langs { display: none; }

.menu-btn {
  display: none;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--ink); border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.menu-btn span { width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  height: clamp(420px, 54vh, 560px);
  display: flex; align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; animation: heroZoom 2.4s var(--ease) both; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 16, 24, 0.18) 0%, rgba(10, 16, 24, 0.42) 55%, rgba(10, 16, 24, 0.55) 100%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero-content { text-align: center; padding-bottom: 56px; }
.hero-kicker {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(169, 231, 245, 0.22); border: 1px solid rgba(169, 231, 245, 0.45);
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.08; letter-spacing: -0.025em; font-weight: 700;
  margin-bottom: 30px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.hero-title { margin-bottom: 14px; }
.hero-sub { font-size: 18px; color: rgba(255, 255, 255, 0.9); margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-content > * { animation: fadeUp .9s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: .12s; }
.hero-content > :nth-child(3) { animation-delay: .24s; }
.hero-content > :nth-child(4) { animation-delay: .32s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ═══════════ RECHERCHE ═══════════ */
.search-wrap { position: relative; z-index: 5; margin-top: -64px; }
.search {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px 10px 10px;
  animation: fadeUp .9s .35s var(--ease) both;
}
.search-tabs { display: flex; gap: 4px; padding: 4px 6px 10px; }
.search-tab {
  border: 0; background: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--muted);
  padding: 7px 16px; border-radius: 999px;
  transition: background-color .25s, color .25s;
}
.search-tab:hover { color: var(--ink); }
.search-tab.is-on { background: var(--sky); color: var(--ink); }

.search-fields { display: flex; align-items: stretch; gap: 6px; }
.field {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  cursor: pointer;
  transition: background-color .2s;
}
.field:hover { background: #ebf2f6; }
.field-label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.field-label svg { width: 15px; height: 15px; color: var(--sky-deep); }
.field select {
  appearance: none; -webkit-appearance: none;
  border: 0; background: transparent;
  font-size: 15px; font-weight: 600; color: var(--ink);
  padding: 2px 22px 2px 0; cursor: pointer; width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141a22' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; background-size: 14px;
}
.field select:focus-visible { outline: none; }
.field:focus-within { box-shadow: 0 0 0 2px var(--sky-deep) inset; }
.search-btn { height: auto; min-height: 56px; padding: 0 28px; border-radius: var(--radius-sm); }
.search-btn svg { width: 18px; height: 18px; }

/* ═══════════ SERVICES ═══════════ */
.services {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  margin-top: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px;
}
.service { display: flex; align-items: center; gap: 14px; padding: 4px 10px; }
.service + .service { border-left: 1px solid var(--line); }
.service-icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sky-soft); color: var(--sky-deep);
}
.service-icon svg { width: 22px; height: 22px; }
.service div strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.service div span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ═══════════ SECTIONS ═══════════ */
.section { padding: 84px 0; }
.section-soft { background: var(--soft); }
#acheter { padding-top: 56px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-head > div:first-child { flex: 1 1 auto; min-width: 0; }
.section-head-center { justify-content: center; text-align: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky-deep); margin-bottom: 8px; }
.section-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 700; }
.section-sub { color: var(--muted); margin-top: 8px; max-width: 560px; }
.section-link { font-size: 15px; font-weight: 600; white-space: nowrap; display: inline-flex; gap: 6px; padding-bottom: 2px; border-bottom: 1.5px solid var(--sky); transition: border-color .25s, color .25s; }
.section-link:hover { color: var(--sky-deep); border-color: var(--sky-deep); }
.section-head-gap { margin-top: 72px; }
.stats dt small { font-size: 18px; font-weight: 600; color: var(--muted); }
.results { font-size: 14px; color: var(--muted); white-space: nowrap; }
.section-more { display: flex; justify-content: center; margin-top: 40px; }
.agency-more { margin-top: 30px; }
.empty { padding: 30px; text-align: center; color: var(--muted); background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ═══════════ FICHES DE BIENS ═══════════ */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 12px; font-weight: 700;
  background: var(--sky); color: var(--ink);
  padding: 5px 11px; border-radius: 999px;
}
.card-country {
  position: absolute; top: 14px; right: 14px;
  font-size: 12px; font-weight: 600;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  padding: 5px 11px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.card-body { padding: 18px 20px 20px; }
.card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card-title { font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.card-price { font-size: 18px; font-weight: 700; white-space: nowrap; letter-spacing: -0.02em; }
.card-price small { font-size: 13px; font-weight: 500; color: var(--muted); }
.card-place { display: flex; align-items: center; gap: 5px; font-size: 14px; color: var(--muted); margin-top: 4px; }
.card-place svg { width: 15px; height: 15px; flex: none; }
.card-specs {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink);
}
.card-specs li { display: flex; align-items: center; gap: 6px; }
.card-specs svg { width: 17px; height: 17px; color: var(--sky-deep); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.card-note { font-size: 13px; color: var(--muted); }
.card-note strong { color: var(--ink); font-weight: 600; }
.card-book {
  flex: none; font-size: 13px; font-weight: 700;
  background: var(--ink); color: var(--white);
  padding: 7px 14px; border-radius: 999px;
  transition: background-color .25s, color .25s;
}
.card:hover .card-book { background: var(--sky); color: var(--ink); }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }
.rating svg { width: 15px; height: 15px; fill: #f2b01e; stroke: none; }
.rating small { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 2px; }
.card-link { position: absolute; inset: 0; z-index: 1; }
.card { position: relative; }

/* ═══════════ DESTINATIONS ═══════════ */
.destinations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dest {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 3; border-radius: 18px; color: var(--white);
}
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.dest::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 16, 24, 0) 35%, rgba(10, 16, 24, 0.72) 100%); }
.dest:hover img { transform: scale(1.05); }
.dest-body { position: absolute; left: 22px; right: 22px; bottom: 20px; display: grid; gap: 2px; }
.dest-body strong { font-size: 26px; letter-spacing: -0.02em; line-height: 1.15; }
.dest-body span { font-size: 15px; color: rgba(255, 255, 255, 0.88); }
.dest-body small { margin-top: 8px; font-size: 13px; font-weight: 600; justify-self: start; background: var(--sky); color: var(--ink); padding: 5px 11px; border-radius: 999px; }

/* ═══════════ ESTIMATION ═══════════ */
.estimate {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch;
  background: var(--sky-soft);
  border-radius: 22px;
  overflow: hidden;
}
.estimate-text { padding: 56px; }
.estimate-text > p:not(.eyebrow) { color: var(--muted); margin: 14px 0 22px; max-width: 480px; }
.steps { display: grid; gap: 12px; margin-bottom: 30px; }
.steps li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.steps span {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--sky-deep); font-size: 14px; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.estimate-media { position: relative; min-height: 320px; }
.estimate-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ═══════════ AGENCE ═══════════ */
.agency { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.agency-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
.agency-text > p:not(.eyebrow) { color: var(--muted); margin-top: 16px; max-width: 540px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.stats > div { background: var(--white); border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--line); }
.stats dt { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.stats dd { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ═══════════ AVIS ═══════════ */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.stars { display: flex; gap: 3px; color: #f2b01e; }
.stars svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.review blockquote { font-size: 16px; line-height: 1.65; flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--sky); color: var(--ink); font-weight: 700; font-size: 15px;
}
.review-author div strong { display: block; font-size: 15px; }
.review-author div span { display: block; font-size: 13px; color: var(--muted); }

/* ═══════════ PIED DE PAGE ═══════════ */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: 72px 0 28px; }
.footer-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 34px 40px; border-radius: 20px;
  background: rgba(169, 231, 245, 0.08);
  border: 1px solid rgba(169, 231, 245, 0.2);
  margin-bottom: 60px;
}
.footer-cta h2 { color: var(--white); font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; line-height: 1.25; }
.footer-cta p { margin-top: 6px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo { color: var(--white); }
.footer-about { margin-top: 14px; max-width: 280px; font-size: 15px; }
.footer h3 { color: var(--white); font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.footer-grid a:not(.logo) { display: block; font-size: 15px; padding: 3px 0; transition: color .2s; }
.footer-grid a:hover { color: var(--sky); }
.footer-grid p { font-size: 15px; }
.footer-email { color: var(--white) !important; font-weight: 600; }
.socials { display: flex; gap: 16px; margin-top: 10px; }
.socials a { display: inline !important; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}
.footer-bottom a:hover { color: var(--sky); }

/* ═══════════ BANNIÈRE DES PAGES INTÉRIEURES ═══════════ */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(260px, 36vh, 340px);
  display: flex; align-items: flex-end;
  color: var(--white);
  padding: 48px 0 84px;
}
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 2.4s var(--ease) both; }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 16, 24, 0.25), rgba(10, 16, 24, 0.62)); }
.page-hero-content > * { animation: fadeUp .9s var(--ease) both; }
.page-hero-content > :nth-child(2) { animation-delay: .08s; }
.page-hero-content > :nth-child(3) { animation-delay: .16s; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.8); margin-bottom: 14px; }
.crumbs a:hover { color: var(--sky); }
.crumbs [aria-current] { color: var(--white); font-weight: 600; }
.page-title { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.page-lead { margin-top: 12px; max-width: 620px; font-size: 17px; color: rgba(255, 255, 255, 0.88); }

/* ═══════════ NOS BIENS ═══════════ */
.search-wrap-page { margin-top: -40px; }
.search-wrap-page .search { animation-delay: .2s; }
.section-results { padding-top: 48px; }
.toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.toolbar-title { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; line-height: 1.2; }
.toolbar .results { margin-top: 4px; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.sort select {
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  padding: 9px 36px 9px 16px; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141a22' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
}
.offmarket { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.offmarket p:not(.eyebrow) { color: var(--muted); margin-top: 10px; max-width: 620px; }

/* ═══════════ À PROPOS ═══════════ */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.split-text p:not(.eyebrow) { color: var(--muted); margin-top: 16px; max-width: 560px; }
.split-media img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; border-radius: 22px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.value { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.value-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-soft); color: var(--sky-deep); margin-bottom: 20px; }
.value-icon svg { width: 24px; height: 24px; }
.value h3, .method-step h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 8px; }
.value p, .method-step p { color: var(--muted); font-size: 15px; }
.method { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.method-step { border-top: 2px solid var(--ink); padding-top: 22px; }
.method-num { display: inline-block; font-size: 14px; font-weight: 700; color: var(--sky-deep); background: var(--sky-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }
.stats-row { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  background: var(--sky-soft); border-radius: 22px; padding: 44px 48px;
}
.cta-band h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; line-height: 1.2; }
.cta-band p { color: var(--muted); margin-top: 6px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ═══════════ FORMULAIRES (réserver, contact) ═══════════ */
.booking, .contact { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow-sm); }
.form { display: grid; gap: 18px; }
.form-title { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 4px; }
.form-block { border: 0; display: grid; gap: 16px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.form-block:last-of-type { border-bottom: 0; padding-bottom: 6px; }
.form-legend { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.form-legend span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); font-size: 13px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.input { display: grid; gap: 7px; }
.input > span { font-size: 14px; font-weight: 600; }
.input input, .input select, .input textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--soft); padding: 13px 14px; font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.input select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141a22' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
}
.input textarea { resize: vertical; min-height: 110px; }
.input input:focus, .input select:focus, .input textarea:focus { outline: none; border-color: var(--sky-deep); background: var(--white); box-shadow: 0 0 0 3px rgba(27, 111, 140, 0.12); }
.input input:user-invalid, .input textarea:user-invalid, .input select:user-invalid { border-color: #c2412d; }
[hidden] { display: none !important; }

.choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input, .slot input { position: absolute; opacity: 0; pointer-events: none; }
.choice > span {
  display: grid; gap: 3px; height: 100%;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.choice strong { font-size: 15px; }
.choice small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.choice:hover > span { border-color: rgba(20, 26, 34, 0.3); }
.choice input:checked + span { border-color: var(--sky-deep); background: var(--sky-soft); box-shadow: 0 0 0 1px var(--sky-deep) inset; }
.choice input:focus-visible + span, .slot input:focus-visible + span { outline: 2px solid var(--sky-deep); outline-offset: 2px; }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.slot { position: relative; cursor: pointer; }
.slot > span {
  display: block; text-align: center; font-size: 14px; font-weight: 600;
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 8px; background: var(--white);
  transition: border-color .2s, background-color .2s;
}
.slot:hover > span { border-color: rgba(20, 26, 34, 0.3); }
.slot input:checked + span { background: var(--sky); border-color: var(--sky); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.btn-block { width: 100%; height: 52px; font-size: 16px; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }
.muted { color: var(--muted); }

.form-success { text-align: center; padding: 30px 10px; display: grid; justify-items: center; gap: 12px; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); margin-bottom: 6px; }
.success-icon svg { width: 30px; height: 30px; stroke-width: 2.2; }
.form-success h2 { font-size: 26px; letter-spacing: -0.02em; }
.form-success p { max-width: 460px; }

.booking-aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.summary img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.summary-body { padding: 18px 20px 20px; }
.summary-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky-deep); }
.summary-title { font-size: 17px; font-weight: 600; margin: 4px 0 2px; line-height: 1.35; }
.summary-price { font-size: 20px; font-weight: 700; margin-top: 10px; letter-spacing: -0.02em; }
.summary-price small { font-size: 13px; font-weight: 500; color: var(--muted); }
.summary-specs { font-size: 14px; color: var(--muted); }
.summary-empty { padding: 22px; color: var(--muted); font-size: 15px; background: var(--sky-soft); }
.aside-card { background: var(--soft); border-radius: var(--radius); padding: 22px; }
.aside-card h3 { font-size: 16px; margin-bottom: 12px; }
.aside-card p + p { margin-top: 4px; font-size: 14px; }
.checklist { display: grid; gap: 10px; font-size: 14px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { width: 18px; height: 18px; color: var(--sky-deep); flex: none; margin-top: 2px; stroke-width: 2.2; }
.footer-email-dark { font-weight: 600; color: var(--ink); }
.footer-email-dark:hover { color: var(--sky-deep); }

/* ═══════════ RÉSERVATION & PAIEMENT ═══════════ */
.progress { display: flex; gap: 8px; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.progress li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.progress li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; border: 1.5px solid var(--line); flex: none; transition: background-color .3s, border-color .3s, color .3s; }
.progress li.is-on { color: var(--ink); }
.progress li.is-on span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.progress li.is-done span { background: var(--sky); border-color: var(--sky); color: var(--ink); }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.field-hint { font-size: 13px; color: var(--muted); margin-top: -4px; }
#saleHint { margin-top: 0; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--sky-soft); color: var(--ink); line-height: 1.55; }
.consent a { color: var(--ink); text-decoration: underline; position: relative; z-index: 1; }

.pay { display: grid; gap: 18px; }
.demo-banner { font-size: 14px; padding: 12px 16px; border-radius: var(--radius-sm); background: #fff6e0; color: #6b4b00; border: 1px solid #f3dd9c; }
.pay-amount { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--sky-soft); }
.pay-amount span { font-weight: 600; }
.pay-amount strong { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; }
.pay-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pay-method { position: relative; cursor: pointer; }
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method > span {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  font-size: 14px; font-weight: 600; padding: 16px 10px; height: 100%;
  border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.pay-method svg { width: 24px; height: 24px; color: var(--sky-deep); }
.pay-method:hover > span { border-color: rgba(20, 26, 34, 0.3); }
.pay-method input:checked + span { border-color: var(--sky-deep); background: var(--sky-soft); box-shadow: 0 0 0 1px var(--sky-deep) inset; }
.pay-method input:focus-visible + span { outline: 2px solid var(--sky-deep); outline-offset: 2px; }
.pay-note { font-size: 13px; }
.pay-back { justify-self: center; text-decoration: none; }
.btn[disabled] { opacity: .75; cursor: progress; transform: none; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: var(--white); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.booking-ref { font-size: 15px; }
.booking-ref strong { font-size: 17px; letter-spacing: 0.04em; background: var(--sky-soft); padding: 3px 10px; border-radius: 8px; }

.price-lines { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.price-lines div { display: flex; justify-content: space-between; gap: 12px; }
.price-lines dt { color: var(--muted); }
.price-lines dd { font-weight: 600; white-space: nowrap; }
.price-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.price-total span { font-weight: 600; }
.price-total strong { font-size: 22px; letter-spacing: -0.02em; }
.price-later { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.summary .rating { margin-top: 6px; }
.summary-body .summary-empty { margin: 16px -20px -20px; }

/* ═══════════ CONTACT ═══════════ */
.contact-info { display: grid; gap: 14px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.info-icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-soft); color: var(--sky-deep); }
.info-icon svg { width: 22px; height: 22px; }
.info-card > div { min-width: 0; }
.info-card h3 { font-size: 15px; margin-bottom: 2px; }
.info-card a[data-email], .aside-card [data-email] { overflow-wrap: anywhere; }
.info-card p, .info-card a { font-size: 15px; color: var(--muted); }
.info-card a:hover { color: var(--sky-deep); }
.info-card a[data-email] { color: var(--ink); font-weight: 600; }
.info-socials { display: flex; gap: 14px; flex-wrap: wrap; }
.info-cta { display: grid; gap: 4px; background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 22px; transition: transform .3s var(--ease); }
.info-cta:hover { transform: translateY(-2px); }
.info-cta span { color: var(--sky); font-size: 15px; }
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 30px 18px 0; position: relative;
  font-weight: 600; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding-bottom: 18px; }

/* ═══════════ PAGES LÉGALES / CONTENU ÉDITABLE ═══════════ */
.legal { max-width: 820px; }
.legal > * + * { margin-top: 14px; }
.legal h2 { font-size: clamp(21px, 2.2vw, 26px); letter-spacing: -0.02em; line-height: 1.25; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 28px; }
.legal h3 { font-size: 17px; margin-top: 22px; }
.legal p, .legal li { color: #39424e; }
.legal ul, .legal ol { padding-left: 22px; }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li + li { margin-top: 6px; }
.legal li::marker { color: var(--sky-deep); }
.legal a { color: var(--sky-deep); text-decoration: underline; }
.legal em { color: var(--muted); }
.legal > p:first-child em { display: block; padding: 12px 16px; border-radius: var(--radius-sm); background: #fff6e0; color: #6b4b00; font-style: normal; font-size: 14px; }

/* ═══════════ PAIEMENT WOOCOMMERCE (page « Paiement ») ═══════════ */
.legal .woocommerce { max-width: 820px; }
.legal .woocommerce h2 { border-top: 0; padding-top: 0; margin-top: 32px; }
.legal .woocommerce table.shop_table { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); border-collapse: separate; border-spacing: 0; overflow: hidden; margin: 0; }
.legal .woocommerce table.shop_table th,
.legal .woocommerce table.shop_table td { padding: 14px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 15px; }
.legal .woocommerce table.shop_table thead th { border-top: 0; background: var(--soft); font-weight: 600; }
.legal .woocommerce table.shop_table tfoot th { font-weight: 600; }
.legal .woocommerce table.shop_table tfoot tr:last-child td,
.legal .woocommerce table.shop_table tfoot tr:last-child th { font-size: 17px; font-weight: 700; }
.legal .woocommerce .wc-item-meta { list-style: none; padding: 0; margin-top: 6px; color: var(--muted); font-size: 14px; }
.legal .woocommerce .wc-item-meta li + li { margin-top: 2px; }
.legal .woocommerce .wc-item-meta p { display: inline; }
.legal .woocommerce table.shop_table .product-total,
.legal .woocommerce table.shop_table tfoot td,
.legal .woocommerce table.shop_table .product-quantity { white-space: nowrap; }
.legal .woocommerce table.shop_table .product-name { width: 100%; }
.legal .woocommerce #payment { background: var(--soft); border-radius: var(--radius); margin-top: 24px; }
.legal .woocommerce #payment ul.payment_methods { list-style: none; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.legal .woocommerce #payment ul.payment_methods li { color: var(--ink); font-weight: 600; }
.legal .woocommerce #payment ul.payment_methods li input { margin-right: 8px; accent-color: var(--ink); }
.legal .woocommerce #payment div.payment_box { background: var(--white); color: var(--muted); font-weight: 400; border-radius: var(--radius-sm); padding: 14px 16px; margin-top: 12px; font-size: 14.5px; }
.legal .woocommerce #payment div.payment_box::before { display: none; }
.legal .woocommerce #payment div.form-row { padding: 20px 22px; margin: 0; }
.legal .woocommerce button.button,
.legal .woocommerce a.button,
.legal .woocommerce #payment #place_order {
  display: inline-flex; align-items: center; justify-content: center; float: none;
  height: 50px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--white); font: 600 15px/1 var(--font); cursor: pointer;
  transition: background-color .25s;
}
.legal .woocommerce #payment #place_order { width: 100%; }
.legal .woocommerce button.button:hover,
.legal .woocommerce a.button:hover { background: #2a3440; color: var(--white); }
.legal .woocommerce ul.order_details { list-style: none; padding: 0; display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 18px 0 0; }
.legal .woocommerce ul.order_details::before,
.legal .woocommerce ul.order_details::after { display: none; }
.legal .woocommerce ul.order_details li { flex: 1 1 auto; min-width: 0; margin: 0; padding: 14px 16px; border: 0; border-right: 1px solid var(--line); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); float: none; overflow-wrap: anywhere; }
.legal .woocommerce ul.order_details li:last-child { border-right: 0; }
.legal .woocommerce ul.order_details li strong { display: block; margin-top: 4px; font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.legal .woocommerce .woocommerce-bacs-bank-details { background: var(--sky-soft); border-radius: var(--radius); padding: 22px 24px; margin-top: 28px; }
.legal .woocommerce .woocommerce-bacs-bank-details h2 { margin-top: 0; }
.legal .woocommerce .woocommerce-bacs-bank-details h3 { margin-top: 12px; font-size: 16px; }
.legal .woocommerce .woocommerce-bacs-bank-details ul.order_details { background: var(--white); }
.legal .woocommerce .woocommerce-notice--success,
.legal .woocommerce .woocommerce-thankyou-order-received { background: var(--sky-soft); border-radius: var(--radius-sm); padding: 14px 18px; font-weight: 600; color: var(--ink); }
.legal .woocommerce .woocommerce-customer-details address { font-style: normal; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.legal .woocommerce .woocommerce-error,
.legal .woocommerce .woocommerce-info,
.legal .woocommerce .woocommerce-message { list-style: none; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--soft); border: 0; }
@media (max-width: 640px) {
  .legal .woocommerce ul.order_details li { border-right: 0; border-bottom: 1px solid var(--line); }
  .legal .woocommerce table.shop_table th, .legal .woocommerce table.shop_table td { padding: 12px; font-size: 14px; }
}

/* ═══════════ BLOCS GUTENBERG (pages modifiables dans l'éditeur) ═══════════ */
/* Remise à zéro des marges par défaut des blocs */
body .wp-block-image { margin: 0; }
body .wp-block-image img { height: auto; }
body .wp-block-columns { margin-bottom: 0; }
.wp-block-columns.estimate { gap: 0; }

/* Boutons : styles « Noir », « Bleu ciel », « Contour », « Blanc », « Contour blanc » */
body .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
body .wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font); font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; text-decoration: none;
  background: var(--ink); color: var(--white);
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
body .wp-block-button .wp-block-button__link:hover { transform: translateY(-1px); background: #26303c; box-shadow: var(--shadow-sm); }
body .wp-block-button.is-style-sky .wp-block-button__link { background: var(--sky); color: var(--ink); }
body .wp-block-button.is-style-sky .wp-block-button__link:hover { background: #c3eff9; }
body .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 0 22px; }
body .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ink); color: var(--white); }
body .wp-block-button.is-style-light .wp-block-button__link { background: var(--white); color: var(--ink); }
body .wp-block-button.is-style-light .wp-block-button__link:hover { background: var(--sky); }
body .wp-block-button.is-style-outline-light .wp-block-button__link { background: rgba(255, 255, 255, 0.06); color: var(--white); border-color: rgba(255, 255, 255, 0.75); backdrop-filter: blur(4px); }
body .wp-block-button.is-style-outline-light .wp-block-button__link:hover { background: var(--white); color: var(--ink); }

/* Bandeaux photo (bloc Couverture) */
body .wp-block-cover.hero, body .wp-block-cover.page-hero { padding: 0; color: var(--white); }
body .wp-block-cover.hero { height: clamp(420px, 54vh, 560px); min-height: 0; align-items: center; }
body .wp-block-cover.page-hero { min-height: clamp(260px, 36vh, 340px); align-items: flex-end; padding: 48px 0 84px; }
.wp-block-cover.hero .wp-block-cover__image-background,
.wp-block-cover.page-hero .wp-block-cover__image-background { animation: heroZoom 2.4s var(--ease) both; }
.wp-block-cover.hero .wp-block-cover__image-background { object-position: center 40%; }
body .wp-block-cover.hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(10, 16, 24, 0.18) 0%, rgba(10, 16, 24, 0.42) 55%, rgba(10, 16, 24, 0.55) 100%) !important; opacity: 1 !important; }
body .wp-block-cover.page-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(10, 16, 24, 0.25), rgba(10, 16, 24, 0.62)) !important; opacity: 1 !important; }
.wp-block-cover.hero .wp-block-cover__inner-container, .wp-block-cover.page-hero .wp-block-cover__inner-container { width: 100%; color: inherit; }
.hero-actions.wp-block-buttons { justify-content: center; }

/* Sections, en-têtes de section */
p.section-link { display: inline-block; }
p.section-link a { color: inherit; }

/* Avantages (sous la recherche) */
.service .service-title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.service .service-text { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* Étapes numérotées (liste) */
.wp-block-list.steps { counter-reset: step; padding: 0; list-style: none; }
.wp-block-list.steps li { counter-increment: step; display: flex; align-items: center; gap: 12px; font-weight: 500; }
.wp-block-list.steps li::before {
  content: counter(step); width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--sky-deep); font-size: 14px; font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* Chiffres clés */
.stats .stat-value { font-size: 32px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.stats .stat-label { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* Images dans les colonnes */
.estimate .estimate-media { position: relative; min-height: 320px; }
.estimate .estimate-media .wp-block-image { position: absolute; inset: 0; }
.estimate .estimate-media .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.agency-media .wp-block-image img, .split-media .wp-block-image img { width: 100%; object-fit: cover; border-radius: 22px; }
.agency-media .wp-block-image img { aspect-ratio: 4 / 5; }
.split-media .wp-block-image img { aspect-ratio: 9 / 7; }

/* Questions fréquentes (bloc Détails) */
.faq .wp-block-details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq .wp-block-details summary { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; position: relative; font-weight: 600; font-size: 16px; }

/* Aperçu des blocs automatiques dans l'éditeur */
.mim-block-preview { display: grid; gap: 4px; padding: 22px 24px; border: 2px dashed var(--sky-deep); border-radius: var(--radius); background: var(--sky-soft); color: var(--ink); font-family: var(--font); }
.mim-block-preview strong { font-size: 16px; }
.mim-block-preview span { font-size: 14px; color: var(--muted); }
.editor-styles-wrapper .reveal { opacity: 1 !important; transform: none !important; }

@media (max-width: 860px) {
  .agency-media .wp-block-image img { aspect-ratio: 16 / 10; }
  .estimate .estimate-media { min-height: 240px; order: -1; }
}
@media (max-width: 640px) {
  body .wp-block-cover.hero { height: 480px; }
  body .wp-block-cover.page-hero { min-height: 240px; padding: 36px 0 60px; }
  .stats .stat-value { font-size: 26px; }
  .hero-actions.wp-block-buttons .wp-block-button { flex: 1 1 auto; }
  .hero-actions.wp-block-buttons .wp-block-button__link { width: 100%; }
  .cta-band-actions.wp-block-buttons .wp-block-button { flex: 1 1 100%; }
  .cta-band-actions.wp-block-buttons .wp-block-button__link { width: 100%; }
}

/* ═══════════ RÉVÉLATIONS AU SCROLL (discrètes) ═══════════ */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in-view { opacity: 1; transform: none; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1180px) {
  .header-inner { gap: 20px; }
  .nav { gap: 20px; }
  .header-actions .btn { display: none; }
}
@media (max-width: 1000px) {
  .header-inner, .nav { gap: 14px; }
  .nav a { font-size: 14px; }
  .logo { font-size: 17px; }
}

@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .services { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .service:nth-child(3) { border-left: 0; }
  .grid, .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .destinations { gap: 16px; }
  .dest-body strong { font-size: 22px; }
  .reviews .review:last-child { grid-column: 1 / -1; }
  .search-fields { flex-wrap: wrap; }
  .field { flex: 1 1 calc(50% - 6px); }
  .search-btn { flex: 1 1 100%; min-height: 50px; }
  .agency { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .lang { display: none; }
  .nav-langs { display: flex; gap: 6px; padding: 10px 14px 4px; }
  .nav-langs a { flex: 1; text-align: center; padding: 9px 0 !important; border: 1px solid var(--line); border-radius: 999px !important; font-size: 14px !important; font-weight: 600; }
  .nav-langs a[aria-current] { background: var(--sky); border-color: var(--sky); }
  .menu-btn { display: flex; }
  .nav {
    position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 6px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 10px;
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .25s, transform .3s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 14px; border-radius: 10px; font-size: 16px; }
  .nav a:not(.btn)::after { display: none; }
  .nav a:not(.btn):hover { background: var(--soft); }
  .nav-cta-mobile { display: flex !important; margin-top: 6px; color: var(--white) !important; }

  .estimate { grid-template-columns: minmax(0, 1fr); }
  .estimate-text { padding: 36px 28px; }
  .estimate-media { min-height: 240px; order: -1; }
  .agency { grid-template-columns: minmax(0, 1fr); }
  .agency-media img { aspect-ratio: 16 / 10; }
  .section { padding: 64px 0; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .hero { height: 480px; }
  .hero-content { padding-bottom: 64px; }
  .hero-kicker { font-size: 10px; padding: 6px 12px; margin-bottom: 16px; }
  .hero-title { margin-bottom: 10px; font-size: clamp(29px, 8.4vw, 36px); }
  .hero-title br { display: none; }
  .search-wrap { margin-top: -48px; }
  .search { padding: 8px; }
  .search-tabs { flex-wrap: wrap; gap: 2px; }
  .search-tab { padding: 7px 11px; font-size: 13px; }
  .progress li { flex-direction: column; align-items: flex-start; }
  .search-tabs { padding: 2px 2px 8px; }
  .search-fields { gap: 6px; }
  .field { flex: 1 1 calc(50% - 3px); padding: 7px 12px; }
  .field select { font-size: 14px; }
  .search-btn { min-height: 48px; }
  .services { grid-template-columns: 1fr 1fr; gap: 0; padding: 4px 0; margin-top: 12px; }
  .service { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px; }
  .service + .service { border-left: 0; }
  .service:nth-child(even) { border-left: 1px solid var(--line); }
  .service:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-icon { width: 38px; height: 38px; }
  .service-icon svg { width: 19px; height: 19px; }
  .service div strong { font-size: 14px; }
  .service div span { font-size: 12px; }
  #acheter { padding-top: 44px; }
  .grid, .reviews { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .destinations { grid-template-columns: minmax(0, 1fr); }
  .dest { aspect-ratio: 16 / 9; }
  .reviews .review:last-child { grid-column: auto; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 24px; }
  .section-head-center { align-items: center; }
  .stats dt { font-size: 26px; }
  .stats { gap: 10px; }
  .stats > div { padding: 16px; }
  .footer-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .logo { font-size: 17px; }
}

/* ═══════════ RESPONSIVE — PAGES INTÉRIEURES ═══════════ */
@media (max-width: 1080px) {
  .booking, .contact { grid-template-columns: minmax(0, 1fr); }
  .booking-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-aside .summary { grid-column: 1 / -1; }
  .contact-info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-cta { grid-column: 1 / -1; }
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .values, .method { grid-template-columns: 1fr; gap: 16px; }
  .method-step { padding-top: 18px; }
  .cta-band, .offmarket { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 32px 28px; }
  .choices { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr 1fr; }
  .form-row-3 .input:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .page-hero { min-height: 240px; padding: 36px 0 60px; }
  .page-lead { font-size: 15px; }
  .search-wrap-page { margin-top: -28px; }
  .toolbar { flex-direction: column; align-items: flex-start; gap: 14px; }
  .form-card { padding: 22px 18px; border-radius: 16px; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .pay-methods { grid-template-columns: 1fr; }
  .pay-method > span { flex-direction: row; justify-content: flex-start; padding: 14px 16px; }
  .progress li { font-size: 12px; gap: 6px; }
  .hero-sub { font-size: 15px; margin-bottom: 20px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .section-head-gap { margin-top: 52px; }
  .card-foot { flex-wrap: wrap; }
  .booking-aside, .contact-info { grid-template-columns: minmax(0, 1fr); }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ═══════════ AJUSTEMENTS WORDPRESS ═══════════ */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
.legal .wp-block-heading { font-weight: 700; }
.legal img { height: auto; border-radius: var(--radius); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ═══════════ FICHE DÉTAILLÉE D'UN BIEN (photos, description, tarifs) ═══════════ */
html.bm-open { overflow: hidden; }
.bien-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.bien-modal[hidden] { display: none; }
.bm-backdrop { position: absolute; inset: 0; background: rgba(20, 26, 34, 0.62); backdrop-filter: blur(3px); }
.bm-panel {
  position: relative; width: min(980px, 100%);
  max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.bm-close {
  position: sticky; top: 12px; z-index: 3;
  display: block; margin: 12px 12px -56px auto;
  width: 44px; height: 44px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, 0.94); color: var(--ink);
  font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm);
}
.bm-gallery { position: relative; background: var(--soft); }
.bm-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 3 / 2; }
.bm-track::-webkit-scrollbar { display: none; }
.bm-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.bm-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 999px; border: 0;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm);
}
.bm-prev { left: 14px; }
.bm-next { right: 14px; }
.bm-count {
  position: absolute; bottom: 14px; right: 14px;
  font-size: 12px; font-weight: 600;
  background: rgba(20, 26, 34, 0.7); color: var(--white);
  padding: 5px 11px; border-radius: 999px;
}
.bm-thumbs { display: flex; gap: 8px; padding: 12px 28px 0; overflow-x: auto; scrollbar-width: thin; }
.bm-thumbs button {
  flex: none; width: 76px; height: 56px; padding: 0;
  border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--soft); cursor: pointer; opacity: .7;
  transition: opacity .2s, border-color .2s;
}
.bm-thumbs button.is-on, .bm-thumbs button:hover { opacity: 1; border-color: var(--sky-deep); }
.bm-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.bm-body { padding: 22px 28px 28px; }
.bm-kicker { font-size: 13px; font-weight: 600; color: var(--sky-deep); text-transform: uppercase; letter-spacing: .06em; }
.bm-title { font-size: clamp(22px, 3vw, 30px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-top: 6px; }
.bm-body h3 { font-size: 16px; font-weight: 700; margin: 0 0 10px; }
.bm-prices { margin-top: 22px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--sky-soft); }
.bm-prices dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 0; }
.bm-prices dt { font-size: 13px; color: var(--muted); }
.bm-prices dd { margin: 2px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.bm-prices dd small { font-size: 13px; font-weight: 500; color: var(--muted); }
.bm-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
.bm-desc { margin-top: 24px; }
.bm-desc p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink); }
.bm-desc p + p { margin-top: 12px; }
.bm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 640px) {
  .bien-modal { padding: 0; align-items: stretch; }
  .bm-panel { max-height: none; height: 100%; border-radius: 0; }
  .bm-thumbs { padding: 10px 16px 0; }
  .bm-body { padding: 18px 16px 24px; }
  .bm-actions .btn { flex: 1 1 100%; }
}

/* ═══════════ CHOIX DU MOYEN DE PAIEMENT (virement ou carte) ═══════════ */
.pay-choice .pay-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
.pay-choice-note { margin-top: 10px; font-size: 13px; }
@media (max-width: 640px) {
  .pay-choice .pay-methods { grid-template-columns: 1fr; }
}

/* ═══════════ OFFRE SANS BIEN PUBLIÉ (masquée par main.js) ═══════════ */
.is-empty-offer { display: none !important; }
