/* ============================================================
   CASA IMMO v2 — nouveau design (rose/blanc, Poppins)
   Remplace visuellement template-casa.css sur les pages refaites.
   ============================================================ */
:root {
  --rose: #cc4b12;
  --rose-dark: #ab3a09;
  --rose-soft: #fbede6;
  --rose-line: #f3d9c9;
  --green: #1f9d55;
  --green-dark: #177a41;
  --green-soft: #e9f7ef;
  --danger: #d32f2f;
  --danger-dark: #a82424;
  --ink: #2a2121;
  --ink-2: #6b615e;
  --grey: #6b615e;
  --grey-light: #9a908c;
  --line: rgba(42, 33, 33, .12);
  --bg-soft: #f5f1ec;
  --acc: var(--rose);
  --acc-dark: var(--rose-dark);
  --acc-soft: var(--rose-soft);
  --radius-sm: 3px;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow-sm: 0 2px 12px rgba(42, 33, 33, .05);
  --shadow: 0 10px 34px rgba(42, 33, 33, .09);
  --shadow-lg: 0 20px 55px rgba(42, 33, 33, .14);
  --header-h: 76px;
  --container: 1440px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  /* Certaines pages non refaites (comparateur, 404…) chargent encore l'ancien
     thème (template-casa.css / style.css), qui définit ses titres/textes en
     Cormorant Garamond / Poppins via ces variables. On les réaligne ici sur
     Space Grotesk / Inter pour que tous les textes du site partagent la même
     police, sans toucher à --icon-font (glyphes Font Awesome). */
  --font-serif: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --title-font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth
}

#contact-form {
  scroll-margin-top: calc(var(--header-h) + 20px)
}

.civ2 {
  all: initial
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6
}

.civ2-page h1,
.civ2-page h2,
.civ2-page h3,
.site-header h1,
.site-header h2,
.site-header h3,
.footer-casa h1,
.footer-casa h2,
.footer-casa h3,
.footer-casa h4,
.logo-text b,
.logo b {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -.015em
}

.civ2-page *,
.civ2-page *::before,
.civ2-page *::after {
  box-sizing: border-box
}

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

/* :where() annule la spécificité de .civ2-page : ces resets ne doivent jamais
   l'emporter sur une classe de composant à une seule classe (.tab, .chip, .btn--primary...) */
:where(.civ2-page) a {
  color: inherit;
  text-decoration: none
}

:where(.civ2-page) button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit
}

:where(.civ2-page) input,
:where(.civ2-page) select,
:where(.civ2-page) textarea {
  font-family: inherit
}

:where(.civ2-page) ul {
  margin: 0;
  padding: 0;
  list-style: none
}

/* Filet de sécurité : un <svg><use> sans taille CSS explicite hérite de la taille par défaut
   du navigateur (300x150px environ). Toute règle plus spécifique ci-dessous prend le dessus. */
svg:not([aria-hidden="true"]) {
  width: 1em;
  height: 1em;
  flex-shrink: 0
}

/* header.php/footer.php sont chargés hors de .civ2-page : reset explicite ici aussi
   (un <ul> en display:flex ne supprime pas seul les puces des <li> sur certains navigateurs) */
ul.nav-list,
ul.footer-links {
  list-style: none;
  margin: 0;
  padding: 0
}

ul.nav-list li,
ul.footer-links li {
  list-style: none
}

/* header.php/footer.php sont hors de .civ2-page : pas de soulignement de liens par défaut ici non plus */
.site-header a,
.mobile-menu a,
.footer-casa a {
  text-decoration: none
}

.civ2-page h1,
.civ2-page h2,
.civ2-page h3,
.civ2-page h4 {
  margin: 0;
  line-height: 1.2;
  font-weight: 600
}

.civ2-page p {
  margin: 0
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 64px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease)
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0
}

.btn--primary {
  background: var(--acc);
  color: #fff;
  box-shadow: 0 6px 20px rgba(227, 86, 24, .24)
}

.btn--primary:hover {
  background: var(--acc-dark);
  transform: translateY(-2px)
}

.btn--outline {
  border: 1.5px solid var(--acc);
  color: var(--acc);
  background: #fff
}

.btn--outline:hover {
  background: var(--acc);
  color: #fff
}

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: #fff
}

.btn--ghost:hover {
  border-color: var(--acc);
  color: var(--acc)
}

.btn--white {
  background: #fff;
  color: var(--ink)
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18)
}

/* ============================================================
   EN-TÊTE
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease)
}

.site-header.is-stuck {
  box-shadow: 0 2px 18px rgba(42, 33, 33, .09)
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 64px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0
}

.logo-mark {
  width: 36px;
  height: 34px;
  color: var(--rose);
  flex-shrink: 0
}

.logo-text b,
.logo b {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--ink)
}

.logo-text b em,
.logo b em {
  font-style: normal;
  color: var(--rose)
}

.logo-text span,
.logo span {
  display: block;
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .18em;
  color: var(--grey);
  margin-top: 4px;
  text-transform: uppercase
}

.nav {
  margin: 0 auto
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color .2s var(--ease)
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  background: var(--rose);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .3s var(--ease)
}

.nav-link:hover,
.nav-link.active {
  color: var(--rose)
}

.nav-link.active::after {
  transform: scaleX(1)
}

.nav-item {
  position: relative
}

.nav-caret {
  width: 12px;
  height: 12px;
  margin-left: 3px;
  color: var(--grey-light);
  transition: transform .2s var(--ease), color .2s var(--ease)
}

.nav-link:hover .nav-caret,
.nav-link.active .nav-caret {
  color: var(--rose)
}

.nav-item:hover .nav-caret {
  transform: rotate(180deg)
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 50
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none
}

.nav-dropdown a {
  display: block;
  padding: 9px 14px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--ink-2)
}

.nav-dropdown a:hover {
  background: var(--rose-soft);
  color: var(--rose)
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0
}

button.icon-btn {
  position: relative;
  border: none;
  background: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--ink-2) !important;
  transition: color .2s var(--ease), background-color .2s var(--ease)
}

.icon-btn-badge {
  display: none;
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center
}

.icon-btn-badge.is-visible {
  display: block
}

.icon-btn svg {
  width: 22px;
  height: 22px
}

.icon-btn:hover {
  color: var(--rose);
  background: var(--rose-soft)
}

.icon-btn.is-on svg {
  fill: currentColor;
  color: var(--rose)
}

.currency-selector {
  position: relative
}

.currency-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink)
}

.currency-btn img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover
}

.currency-btn svg {
  width: 12px;
  height: 12px;
  color: var(--grey);
  transition: transform .25s var(--ease)
}

.currency-selector.active .currency-btn svg {
  transform: rotate(180deg)
}

.currency-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 130px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 60
}

.currency-selector.active .currency-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none
}

.currency-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--ink-2)
}

.currency-dropdown a img {
  width: 16px;
  height: 16px;
  border-radius: 50%
}

.currency-dropdown a:hover,
.currency-dropdown a.active {
  background: var(--rose-soft);
  color: var(--rose)
}

.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  background: var(--rose);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(227, 86, 24, .24);
  transition: background-color .25s var(--ease), transform .25s var(--ease)
}
.phone-btn:hover{
  color: #fff;
}

.phone-btn svg {
  width: 17px;
  height: 17px
}

.phone-btn:hover {
  background: var(--rose-dark);
  transform: translateY(-2px)
}

.menu-toggle,
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--bg-soft);
  border: none;
}

.menu-toggle span,
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: background-color .2s
}

.menu-toggle span::before,
.menu-toggle span::after,
.burger span::before,
.burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease)
}

.menu-toggle span::before,
.burger span::before {
  top: -7px
}

.menu-toggle span::after,
.burger span::after {
  top: 7px
}

.burger.is-open span,
.menu-toggle.active span {
  background: transparent
}

.burger.is-open span::before,
.menu-toggle.active span::before {
  top: 0;
  transform: rotate(45deg)
}

.burger.is-open span::after,
.menu-toggle.active span::after {
  top: 0;
  transform: rotate(-45deg)
}

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 199;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 10px 24px 20px;
  box-shadow: var(--shadow);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto
}

.mobile-menu.is-open,
.nav-links.active {
  transform: none;
  opacity: 1;
  visibility: visible
}

.mobile-menu a {
  display: block;
  padding: 13px 4px;
  font-size: 16px;
  border-bottom: 1px solid #ece7e2;
  color: #000
}

.mobile-menu .sub-links {
  display: none;
  padding-left: 14px
}

.mobile-menu .sub-links.is-open {
  display: block
}

.mobile-menu .sub-links a {
  font-size: 14px;
  color: var(--grey);
  border-bottom: none;
  padding: 8px 4px
}

.mobile-menu .mm-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ece7e2
}

.mobile-menu .mm-row a {
  border-bottom: none;
  flex: 1;
  
}

.mobile-menu .mm-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  flex-shrink: 0;
  background: none;
  border: none;
}

.mobile-menu .mm-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform .25s var(--ease)
}

.mobile-menu .mm-toggle.is-open svg {
  transform: rotate(180deg)
}

/* fil d'ariane générique */
.crumbs,
.breadcrumb-casa {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 13px;
  color: var(--grey);
  font-weight: 300
}

.crumbs a,
.page-hero-content .breadcrumb-casa a {
  color: rgba(255, 255, 255, .75)
}

.crumbs a:hover,
.breadcrumb-casa a:hover {
  color: #fff
}

.crumbs svg {
  width: 12px;
  height: 12px;
  color: var(--grey-light)
}

.crumbs b,
.breadcrumb-casa .current,
.breadcrumb-casa span:last-child {
  font-weight: 400;
  color: #fff
}

.breadcrumb-casa .sep svg {
  width: 11px;
  height: 11px
}

/* Bannière de page (Acheter/Louer/Meublé/Neuf/Vendre/L'agence/Contact/Estimer/Détail) */
.page-hero-casa {
  position: relative;
  isolation: isolate;
  padding: 60px 0;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--ink)
}

.page-hero-casa::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(94deg, rgba(20, 18, 17, .92) 0%, rgba(20, 18, 17, .74) 40%, rgba(20, 18, 17, .35) 100%)
}

.page-hero-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 64px
}

.hero-label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose-line);
  margin-bottom: 14px
}

.page-hero-casa h1 {
  /* Le bundle legacy (build/default.min.css) fixe "h1{color:var(--title-color)}" en noir
     sur toutes les pages : une déclaration explicite bat toujours l'héritage, donc on doit
     forcer le blanc ici au lieu de compter sur l'héritage de .page-hero-casa{color:#fff}. */
  color: #fff;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.02em
}

.page-hero-desc {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, .86);
  max-width: 520px
}

.page-hero-casa .breadcrumb-casa {
  margin-top: 16px
}

/* ============================================================
   PIED DE PAGE
   ============================================================ */
.footer-casa {
  background: var(--ink);
  color: #fff;
  padding: 58px 0 0
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 44px
}

.footer-casa .logo-text b,
.footer-casa .logo b {
  color: #fff
}

.footer-about p {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, .66);
  max-width: 300px;
  line-height: 1.7
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
  color: var(--rose)
}

.socials a:hover {
  background: var(--rose);
  transform: translateY(-3px)
}

.socials svg {
  width: 17px;
  height: 17px
}

.footer-casa h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff
}

.footer-links li {
  margin-bottom: 11px
}

.footer-links a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, .66);
  transition: color .2s var(--ease), padding-left .2s var(--ease)
}

.footer-links a:hover {
  color: var(--rose);
  padding-left: 5px
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, .66); 

}
ul.footer-contact {
  padding: 0;
}

.footer-contact svg {
  width: 17px;
  height: 17px;
  color: var(--rose);
  flex-shrink: 0;
  margin-top: 3px
}

.footer-contact a {
  color: rgba(255, 255, 255, .66);
  transition: color .2s var(--ease)
}

.footer-contact a:hover {
  color: var(--rose)
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  max-width: var(--container);
  margin: 0 auto;
  padding: 22px 64px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, .5)
}

.footer-bottom a {
  color: rgba(255, 255, 255, .5)
}

.footer-bottom a:hover {
  color: var(--rose)
}

/* Boutons flottants + loader + toast (utilisés par index.php) */
.floating-btn-casa {
  position: fixed;
  right: 22px;
  z-index: 150;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  transition: transform .3s var(--ease)
}

.floating-fav-casa {
  bottom: 22px;
  background: var(--rose);
  color: #fff
}

.floating-compare-casa {
  bottom: 90px;
  background: #fff;
  color: var(--rose);
  border: 1px solid var(--rose-line)
}

.floating-btn-casa i {
  font-size: 19px
}

.floating-btn-casa:hover {
  transform: scale(1.07)
}

.badge-casa {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center
}

.social-fixed-casa {
  position: fixed;
  left: 18px;
  bottom: 22px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.social-fixed-casa a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
  display: grid;
  place-items: center;
  transition: transform .25s var(--ease)
}

.social-fixed-casa a:hover {
  transform: scale(1.08)
}

.back-top-casa {
  position: fixed;
  right: 22px;
  bottom: 158px;
  z-index: 150;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s var(--ease)
}

.back-top-casa.show {
  opacity: 1;
  visibility: visible;
  transform: none
}

.back-top-casa:hover {
  background: var(--rose)
}

.loader,
#loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .4s var(--ease), visibility .4s
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.loader-content {
  text-align: center
}

.loader-logo {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.02em
}

.loader-logo span {
  color: var(--rose)
}

.loader-bar {
  width: 120px;
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  margin: 16px auto 0;
  overflow: hidden;
  position: relative
}

.loader-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--rose);
  border-radius: 3px;
  animation: loaderMove 1s ease-in-out infinite
}

@keyframes loaderMove {
  0% {
    transform: translateX(-100%)
  }

  100% {
    transform: translateX(350%)
  }
}

.toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end
}

.toast-item {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--rose);
  color: var(--ink);
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  max-width: 340px;
  animation: civ2ToastIn .3s var(--ease)
}

.toast-item i {
  color: var(--rose);
  font-size: 16px;
  flex-shrink: 0
}

.toast-item.toast-danger,
.toast-item.toast-error {
  border-left-color: #e35618
}

.toast-item.toast-removing {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .35s var(--ease), transform .35s var(--ease)
}

@keyframes civ2ToastIn {
  from {
    opacity: 0;
    transform: translateX(24px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@media (max-width:520px) {
  .toast-container {
    left: 16px;
    right: 16px;
    top: auto;
    bottom: 16px;
    align-items: stretch
  }

  .toast-item {
    max-width: none
  }
}

/* Modal "Mandat de recherche" — panneau glissant depuis la droite.
   style.css (thème hérité) est volontairement exclu des pages civ2, donc tout
   le nécessaire (positionnement .modal.right + habillage du formulaire) est
   redéfini ici pour rester cohérent avec le design ink/orange. */
/* Le build minifié de bootstrap.min.css livré ici définit .modal en z-index:9
   et .modal-backdrop en z-index:8 (au lieu des 1050/1040 standards), donc la
   modale se retrouvait sous le header sticky (z-index:200) et les boutons
   flottants favoris/comparateur (z-index:150). On la remonte au-dessus de tout. */
#modal-demande.modal {
  z-index: 1000
}

.modal-backdrop {
  z-index: 900
}

.modal.right .modal-dialog,
.modal.left .modal-dialog {
  position: fixed;
  top: 0;
  bottom: 0;
  margin: 0;
  width: 440px;
  max-width: 92vw;
  height: 100%;
  transform: none
}

.modal.right .modal-dialog {
  right: 0
}

.modal.left .modal-dialog {
  left: 0
}

.modal.right.fade .modal-dialog {
  right: -440px;
  max-width: 92vw;
  transition: right .35s var(--ease)
}

.modal.right.fade.show .modal-dialog {
  right: 0
}

.modal.left.fade .modal-dialog {
  left: -440px;
  transition: left .35s var(--ease)
}

.modal.left.fade.show .modal-dialog {
  left: 0
}

.modal.right .modal-content,
.modal.left .modal-content {
  height: 100%;
  border-radius: 0;
  border: none;
  overflow-y: auto;
  font-family: 'Inter', sans-serif
}

#modal-demande .modal-content {
  border-radius: var(--radius)
}

#modal-demande .modal-header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
  background: var(--ink)
}

#modal-demande .modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff
}

#modal-demande .modal-header .close {
  color: #fff;
  opacity: .7;
  text-shadow: none;
  font-size: 24px;
  line-height: 1
}

#modal-demande .modal-header .close:hover {
  opacity: 1;
  color: var(--rose)
}

#modal-demande .modal-body {
  padding: 26px
}

#modal-demande .form-group {
  margin-bottom: 16px
}

#modal-demande .form-control,
#modal-demande textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s var(--ease)
}

#modal-demande textarea.form-control {
  min-height: 90px;
  resize: vertical
}

/* Champ téléphone (plugin intl-tel-input) : le conteneur .iti est en inline-block par
   défaut (ne prend pas toute la largeur) et son padding-left nécessaire pour le drapeau
   (52px) était écrasé par la règle générale #modal-demande .form-control ci-dessus, plus
   spécifique que celle du plugin — d'où le drapeau qui chevauchait l'indicatif affiché. */
#modal-demande .iti {
  display: block;
  width: 100%
}

#modal-demande .iti input.form-control {
  padding-left: 52px
}

/* Même souci de conteneur .iti en inline-block pour les champs téléphone des formulaires
   "classiques" (contact, accueil, estimer, bien détail) : le champ ressortait plus étroit
   que ses voisins dans la grille .frow, donnant l'impression d'un formulaire mal centré. */
.fld .iti,
.field .iti {
  display: block;
  width: 100%
}

#modal-demande .form-control:focus,
#modal-demande textarea:focus {
  outline: none;
  border-color: var(--rose)
}

#modal-demande .bootstrap-select {
  width: 100% !important;
  display: block !important
}

#modal-demande .bootstrap-select > .dropdown-toggle,
#modal-demande .bootstrap-select > .dropdown-toggle.btn-light,
#modal-demande .bootstrap-select > .dropdown-toggle.btn-default {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  padding: 0 34px 0 14px !important;
  line-height: normal !important;
  font-size: 14px !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 400 !important;
  color: var(--ink) !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: none !important
}

#modal-demande .bootstrap-select .filter-option {
  display: flex !important;
  align-items: center;
  height: auto !important;
  overflow: hidden
}

#modal-demande .bootstrap-select .filter-option-inner,
#modal-demande .bootstrap-select .filter-option-inner-inner {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

#modal-demande .bootstrap-select .bs-caret {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%)
}

#modal-demande .bootstrap-select .bs-caret .caret {
  border-top-color: var(--ink-2) !important
}

#modal-demande .bootstrap-select.open > .dropdown-toggle,
#modal-demande .bootstrap-select > .dropdown-toggle:focus,
#modal-demande .bootstrap-select > .dropdown-toggle:active {
  border-color: var(--rose) !important;
  outline: none !important
}

#modal-demande .bootstrap-select .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-family: 'Inter', sans-serif;
  font-size: 14px
}

#modal-demande .bootstrap-select .dropdown-menu .dropdown-item,
#modal-demande .bootstrap-select .dropdown-menu li > a {
  color: var(--ink) !important;
  font-size: 14px
}

#modal-demande .bootstrap-select .dropdown-menu .dropdown-item.active,
#modal-demande .bootstrap-select .dropdown-menu .dropdown-item:active,
#modal-demande .bootstrap-select .dropdown-menu li.selected > a,
#modal-demande .bootstrap-select .dropdown-menu li > a:hover {
  background: var(--rose-soft) !important;
  color: var(--rose) !important
}

#modal-demande .bootstrap-select .bs-searchbox .form-control {
  height: 40px;
  border-radius: var(--radius)
}

#modal-demande .btn-primary,
#modal-demande .vs-btn,
#modal-demande #send-demande-form {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: var(--rose);
  border: 1px solid var(--rose);
  border-radius: var(--radius);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s var(--ease)
}

#modal-demande .btn-primary:hover,
#modal-demande .vs-btn:hover,
#modal-demande #send-demande-form:hover {
  background: var(--ink)
}

#modal-demande .success .alert {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 13.5px
}

#modal-demande .success .alert-danger {
  background: #fdecea;
  color: #b3261e
}

#modal-demande .success .alert-success {
  background: #e9f7ef;
  color: #1e7e42
}

@media (max-width: 560px) {
  .modal.right .modal-dialog,
  .modal.left .modal-dialog {
    width: 100%;
    max-width: 100vw
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease)
}

.reveal.is-in {
  opacity: 1;
  transform: none
}

@media (prefers-reduced-motion:reduce) {

  .civ2-page *,
  .civ2-page *::before,
  .civ2-page *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important
  }

  .reveal {
    opacity: 1;
    transform: none
  }
}

/* ============================================================
   CARTE BIEN (.pcard) — accueil, listings, meublé/neuf, similaires
   ============================================================ */
.results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px
}

.results.is-list {
  grid-template-columns: 1fr
}

#resultsGrid.results {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

#resultsGrid.results.is-list {
  grid-template-columns: 1fr
}

@media (max-width: 1100px) {
  #resultsGrid.results {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width: 640px) {
  #resultsGrid.results {
    grid-template-columns: 1fr
  }
}

.pcard {
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease)
}

.pcard:hover {
  box-shadow: 0 30px 60px -30px rgba(42, 33, 33, .3);
  border-color: #ddd6d0
}

.pcard-media {
  position: relative;
  display: block;
  aspect-ratio: 16/11;
  overflow: hidden;
  background: #efe9e3
}

.pcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease)
}

.pcard:hover .pcard-media img {
  transform: scale(1.06)
}

.pcard .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--rose);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 5px 12px
}

.pcard .badge--rent {
  background: var(--green)
}

.pcard .badge--sold {
  background: var(--danger)
}

.pcard .badge--ref {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(20, 18, 17, .72);
  color: #fff;
  font-size: 10.5px;
  padding: 5px 11px;
  backdrop-filter: blur(3px)
}

.pcard .fav,
.pcard .compare {
  position: absolute;
  top: 11px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .4));
  transition: color .2s var(--ease), transform .2s var(--ease)
}

.pcard .fav {
  right: 11px
}

.pcard .compare {
  right: 53px
}

.pcard .fav svg,
.pcard .compare svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.9
}

.pcard .fav:hover,
.pcard .fav.is-on,
.pcard .compare:hover,
.pcard .compare.is-on {
  color: var(--rose);
  transform: scale(1.1)
}

.pcard .fav.is-on svg {
  fill: currentColor
}

.pcard-body {
  padding: 17px 18px 18px
}

.pcard-body h3 {
  font-size: 16px;
  font-weight: 600
}

.pcard-body h3 a {
  color: #000
}

.pcard-body h3 a:hover {
  color: var(--rose)
}

.pcard-body .place {
  font-size: 13px;
  color: var(--grey);
  font-weight: 300;
  margin-top: 4px
}

.pspecs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line)
}

.pspecs span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 300
}

.pspecs svg {
  width: 15px;
  height: 15px;
  color: var(--ink-2);
  flex-shrink: 0
}

.pdesc {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--grey);
  line-height: 1.6
}

.pfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px
}

.pprice {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em
}

.pprice small {
  font-size: 11px;
  font-weight: 400;
  color: var(--grey)
}

.pdetail-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2)
}

.pdetail-link:hover {
  color: var(--rose)
}

.results.is-list .pcard {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: start;
  gap: 20px
}

.results.is-list .pcard-media {
  aspect-ratio: 16/10;
  width: 100%
}

.results.is-list .pcard-body {
  padding: 18px 20px 18px 2px;
  display: flex;
  flex-direction: column
}

.results.is-list .pcard-body h3 {
  font-size: 18px
}

.results.is-list .pfoot {
  margin-top: auto
}

.results.is-list .pprice {
  font-size: 20px
}

.pref {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--grey-light);
  background: var(--bg-soft);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap
}

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: var(--grey)
}

.empty-state svg {
  width: 44px;
  height: 44px;
  color: var(--grey-light);
  margin: 0 auto 14px
}

.empty-state h3 {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 10px
}

.saved-search-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 14px;
  background: #fff;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease)
}

.saved-search-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--rose-line)
}

.ssc-body b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink)
}

.ssc-body small {
  display: block;
  font-size: 12.5px;
  color: var(--grey);
  font-weight: 300;
  margin-top: 4px
}

.ssc-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0
}

.ssc-actions .btn {
  padding: 10px 18px;
  font-size: 13px;
  white-space: nowrap
}

@media (max-width:620px) {
  .saved-search-card {
    flex-direction: column;
    align-items: flex-start
  }

  .ssc-actions {
    width: 100%
  }

  .ssc-actions .btn {
    flex: 1
  }
}

@media (max-width:1200px) {
  .results {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }
}

@media (max-width:1000px) {
  .results {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .results.is-list .pcard {
    grid-template-columns: 200px minmax(0, 1fr)
  }
}

@media (max-width:620px) {
  .results {
    grid-template-columns: 1fr
  }

  .results.is-list .pcard {
    grid-template-columns: 1fr
  }
}

/* ============================================================
   SECTIONS GÉNÉRIQUES (utilisées par plusieurs pages)
   ============================================================ */
.section {
  padding: 62px 0
}

.section--soft {
  background: var(--bg-soft)
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px
}

.section-head .kicker,
.kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 12px
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -.02em
}

.section-head h2 em {
  font-style: normal;
  color: var(--rose)
}

.section-head p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--grey);
  font-weight: 300
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap
}

.sec-head h2, .sec-head h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -.015em
}

.sec-head h2 em, .sec-head h3 em {
  font-style: normal;
  color: var(--rose)
}

.sec-head p {
  font-size: 13.5px;
  color: var(--grey);
  font-weight: 300;
  margin-top: 6px
}

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--rose);
  transition: gap .25s var(--ease);
  white-space: nowrap
}

.see-all svg {
  width: 17px;
  height: 17px
}

.see-all:hover {
  gap: 14px
}

/* ============================================================
   ACCUEIL — Héro + recherche
   ============================================================ */
.home-hero {
  position: relative;
  isolation: isolate;
  padding: 96px 0 40px;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden
}

.home-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ink)
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%
}

.home-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(94deg, rgba(16, 18, 22, .86) 0%, rgba(16, 18, 22, .62) 26%, rgba(16, 18, 22, .18) 46%, rgba(16, 18, 22, .04) 60%)
}

.home-hero-copy {
  max-width: 640px
}

.home-hero h1 {
  font-size: clamp(2.2rem, 4.1vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
  color: #fff
}

.home-hero h1 em {
  font-style: normal;
  color: var(--rose);
  display: block
}

.home-hero-sub {
  margin-top: 16px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 300;
  line-height: 1.55
}

.search-block {
  margin-top: 20px;
  max-width: 1050px
}

.search-panel {
  background: #fff;
  border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
  padding: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .18);
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap
}

.sf {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease);
  background: #fff
}

.sf:hover {
  border-color: #ddd0c4
}

.sf svg.sf-ico {
  width: 20px;
  height: 20px;
  color: var(--ink-2);
  flex-shrink: 0
}

.sf svg.sf-chev {
  width: 14px;
  height: 14px;
  color: var(--grey-light);
  flex-shrink: 0;
  pointer-events: none
}

.sf:focus-within {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(227, 86, 24, .1)
}

.sf-text {
  min-width: 0;
  flex: 1
}

.sf-text span {
  display: block;
  font-size: 11px;
  color: var(--grey-light);
  font-weight: 300
}

.sf-text b {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.sf select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
  background: none;
  margin: 0;
  padding: 0
}

.search-panel .btn {
  padding-inline: 28px;
  flex-shrink: 0
}

.popular {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px
}

.popular>span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .9);
  font-weight: 300
}

a.chip {
  display: inline-block;
  padding: 6px 15px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 300;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
  text-decoration: none
}

a.chip:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff !important
}

.cats-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  padding: 22px 0;
  box-shadow: var(--shadow-sm)
}

.cat {
  display: grid;
  justify-items: center;
  gap: 11px;
  padding: 6px 10px;
  text-align: center;
  transition: transform .25s var(--ease)
}

.cat svg {
  width: 32px;
  height: 32px;
  color: var(--rose)
}

.cat span {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink)
}

.cat:hover {
  transform: translateY(-4px)
}

.cat:hover span {
  color: var(--rose)
}

.carousel {
  position: relative;
  min-width: 0
}

.track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab
}

.track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto
}

.track::-webkit-scrollbar {
  display: none
}

.track .pcard,
.track .pcard-v3 {
  flex: 0 0 calc((100% - 66px)/4);
  min-width: 280px;
  scroll-snap-align: start
}

@media (max-width:1050px) {
  .track .pcard,
  .track .pcard-v3 {
    flex: 0 0 calc((100% - 22px)/2)
  }
}

@media (max-width:620px) {
  .track .pcard,
  .track .pcard-v3 {
    flex: 0 0 100%
  }
}

.car-nav {
  position: absolute;
  top: 34%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  z-index: 4;
  color: var(--ink-2);
  transition: all .2s var(--ease)
}

.car-nav svg {
  width: 16px;
  height: 16px
}

.car-nav:hover {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose)
}

.car-prev {
  left: -18px
}

.car-next {
  right: -18px
}

@media (max-width:1400px) {
  .car-prev {
    left: 0
  }

  .car-next {
    right: 0
  }
}

.car-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ded6cf;
  border: none;
  padding: 0;
  transition: width .3s var(--ease), background-color .3s var(--ease)
}

.dot.is-active {
  width: 24px;
  border-radius: 100px;
  background: var(--rose)
}

.featured {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-58%);
  width: 322px;
  background: rgba(24, 26, 30, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 22px 24px 24px;
  color: #fff;
  z-index: 3
}

.featured .badge {
  display: inline-block;
  background: var(--rose);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 5px 11px;
  border-radius: 5px
}

.featured .fav {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  display: grid;
  place-items: center;
  transition: background-color .2s var(--ease)
}

.featured .fav svg {
  width: 19px;
  height: 19px;
  color: #fff
}

.featured .fav:hover,
.featured .fav.is-on {
  background: var(--rose)
}

.featured .fav.is-on svg {
  fill: currentColor
}

.featured h3 {
  font-size: 19px;
  font-weight: 600;
  margin-top: 16px
}

.featured .place {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, .78);
  margin-top: 4px
}

.featured .pspecs {
  margin-top: 14px;
  gap: 8px 16px
}

.featured .pspecs span {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, .9)
}

.featured .pspecs svg {
  color: rgba(255, 255, 255, .85)
}

.featured .price {
  font-size: 24px;
  font-weight: 600;
  margin-top: 18px;
  letter-spacing: -.01em
}

.featured .more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 400;
  color: #fff;
  transition: gap .25s var(--ease)
}

.featured .more svg {
  width: 19px;
  height: 19px
}

.featured .more:hover {
  gap: 18px;
  color: var(--rose)
}

@media (max-width:1200px) {
  .featured {
    position: static;
    transform: none;
    width: 100%;
    max-width: 420px;
    margin-top: 28px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(24, 26, 30, .82)
  }
}

/* Tabs Acheter / Louer / Vendre au-dessus du panneau de recherche */
.search-tabs {
  display: flex;
  gap: 0
}

button.tab {
  border: none;
  padding: 13px 32px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .85) !important;
  background: rgba(20, 22, 26, .62) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 10px 10px 0 0;
  transition: background-color .25s var(--ease), color .25s var(--ease)
}

button.tab:hover {
  color: #fff !important;
  background: rgba(20, 22, 26, .8) !important
}

button.tab.is-active {
  background: var(--rose) !important;
  color: #fff !important
}

button.more-filters {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2) !important;
  background: none;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease)
}

.more-filters svg {
  width: 18px;
  height: 18px;
  color: var(--ink-2)
}

.more-filters:hover {
  background: var(--bg-soft);
  color: var(--rose) !important
}

.more-filters:hover svg {
  color: var(--rose)
}

.adv {
  display: none;
  flex: 0 0 100%;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line)
}

.adv.is-open {
  display: grid
}

.adv label {
  display: block;
  font-size: 11.5px;
  color: var(--grey);
  margin-bottom: 6px
}

.adv .sf {
  width: 100%
}

@media (max-width:1050px) {
  .search-panel {
    flex-wrap: wrap
  }

  .sf {
    flex: 1 1 calc(50% - 7px)
  }

  .more-filters {
    flex: 1 1 auto;
    justify-content: flex-start
  }

  .search-panel .btn {
    flex: 1 1 auto
  }
}

@media (max-width:760px) {
  .tab {
    padding: 11px 22px;
    font-size: 13.5px
  }

  .search-panel {
    padding: 14px;
    gap: 10px
  }
}

.estim-art {
  margin: auto -16px 0;
  padding-top: 26px
}

.estim-art svg {
  width: 100%;
  height: auto;
  display: block
}

.perks-bar {
  background: var(--bg-soft);
  padding: 24px 0
}

.perks-bar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr))
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 6px 18px;
  border-left: 1px solid #e4ded7;
  min-width: 0
}

.perk-item:first-child {
  border-left: none;
  padding-left: 0
}

.perk-item-ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rose-soft);
  display: grid;
  place-items: center;
  color: var(--rose);
  flex-shrink: 0
}

.perk-item-ico svg {
  width: 21px;
  height: 21px
}

.perk-item b {
  display: block;
  font-size: 13.5px;
  font-weight: 500
}

.perk-item small {
  display: block;
  font-size: 11.5px;
  color: var(--grey);
  font-weight: 300
}

@media (max-width:1050px) {
  .perks-bar-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  .perk-item {
    border-left: none
  }
}

@media (max-width:620px) {
  .perks-bar-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:760px) {
  .perks-bar {
    display: none
  }
}

.recent-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: stretch
}

.recent-layout>div {
  min-width: 0
}

@media (max-width:1050px) {
  .recent-layout {
    grid-template-columns: 1fr
  }
}

.estim-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px 0;
  display: flex;
  flex-direction: column;
  overflow: hidden
}

.estim-card h2 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.35
}

.estim-card h2 em {
  font-style: normal;
  color: var(--rose);
  display: block
}

.estim-card p {
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 300;
  margin-top: 16px;
  line-height: 1.85
}

.estim-card .btn {
  align-self: flex-start;
  margin-top: 24px;
  padding: 13px 24px;
  font-weight: 600
}

.estim-card .btn {
  margin-top: 22px
}

.estim-band {
  background: #131316;
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 38px 42px;
  display: grid;
  grid-template-columns: minmax(0, .85fr) 1px minmax(0, 1.15fr);
  gap: 42px;
  align-items: center
}

.estim-band .sep {
  background: rgba(255, 255, 255, .14);
  width: 1px;
  height: 100%;
  min-height: 120px
}

.estim-band h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.28
}

.estim-band h2 em {
  font-style: normal;
  color: var(--rose);
  display: block
}

.estim-band p {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, .72);
  line-height: 1.65;
  max-width: 320px
}

.estim-band .btn {
  margin-top: 24px
}

.band-right {
  display: grid;
  gap: 26px
}

.band-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px
}

.band-stat {
  text-align: center;
  position: relative
}

.band-stat+.band-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: rgba(255, 255, 255, .14)
}

.band-stat b {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--rose);
  letter-spacing: -.02em
}

.band-stat small {
  display: block;
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, .66);
  margin-top: 2px
}

.band-zone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 20px;
  align-items: center
}

.band-zone b {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--rose);
  letter-spacing: -.01em
}

.band-zone span {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  margin-top: 4px
}

.band-map svg {
  width: 100%;
  height: auto;
  display: block
}

@media (max-width:620px) {
  .band-zone {
    grid-template-columns: 1fr
  }

  .band-map {
    max-width: 240px
  }
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px
}

.sector-media {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ede6e0
}

.sector-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease)
}

.sector:hover .sector-media img {
  transform: scale(1.07)
}

.sector span {
  display: block;
  text-align: center;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--ink-2);
  margin-top: 12px
}

.sector:hover span {
  color: var(--rose)
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px
}

.journey {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  position: relative;
  margin-top: 8px
}

.jstep {
  text-align: center
}

.jicon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--rose-line);
  display: grid;
  place-items: center;
  color: var(--rose);
  margin: 0 auto 16px
}

.jicon svg {
  width: 24px;
  height: 24px
}

.jnum {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--rose);
  margin-bottom: 6px
}

.jstep h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px
}

.jstep p {
  font-size: 12.5px;
  color: var(--grey);
  font-weight: 300;
  line-height: 1.55
}

.testis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px
}

.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px
}

.testi-card .quote {
  width: 28px;
  height: 28px;
  color: var(--rose-line)
}

.testi-card>p {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 300;
  line-height: 1.75;
  margin-top: 14px
}

.stars {
  display: flex;
  gap: 4px;
  margin-top: 16px
}

.stars svg {
  width: 15px;
  height: 15px;
  color: var(--rose);
  fill: currentColor
}

.testi-who {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #ece7e2
}

.testi-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0
}

.testi-who b {
  display: block;
  font-size: 14px;
  font-weight: 600
}

.testi-who small {
  display: block;
  font-size: 12.5px;
  color: var(--grey);
  font-weight: 300
}

.faq {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  gap: 40px;
  align-items: start
}

.faq-list {
  display: grid;
  gap: 12px
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden
}

.faq-item.is-open {
  border-color: var(--rose-line)
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  color: var(--ink)
}

.faq-q i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .3s var(--ease), background-color .25s var(--ease)
}

.faq-q i svg {
  width: 13px;
  height: 13px
}

.faq-item.is-open .faq-q i {
  transform: rotate(180deg);
  background: var(--rose);
  color: #fff
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease)
}

.faq-a p {
  padding: 0 20px 18px;
  font-size: 13.5px;
  color: var(--grey);
  font-weight: 300;
  line-height: 1.7
}

/* Bloc contact générique (accueil + page contact) */
.ctc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 30px;
  align-items: stretch
}

.ctc-info {
  background: linear-gradient(150deg, #e35618 0%, #c2450f 100%);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  color: #fff;
  display: flex;
  flex-direction: column
}

.ctc-info h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.3
}

.ctc-info>p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, .86);
  margin-top: 12px;
  line-height: 1.65
}

.ctc-list {
  margin-top: 24px;
  display: grid;
  gap: 16px
}

.ctc-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start
}

.ctc-list .ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  display: grid;
  place-items: center;
  flex-shrink: 0
}

.ctc-list .ico svg {
  width: 18px;
  height: 18px;
  color: #fff
}

.ctc-list b {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, .75)
}

.ctc-list span {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  margin-top: 2px;
  color: #fff
}

.ctc-info .ctc-list a {
  color: #fff
}

.ctc-list a:hover {
  text-decoration: underline
}

.ctc-socials {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px
}

.ctc-info .ctc-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  display: grid;
  place-items: center;
  color: #fff
}

.ctc-socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor
}

.ctc-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px
}

.ctc-form h2 {
  font-size: 19px;
  font-weight: 600
}

.ctc-form>p {
  font-size: 13px;
  color: var(--grey);
  font-weight: 300;
  margin-top: 8px
}

/* Formulaires réutilisables (contact / accueil / évaluer) */
.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px
}

.fld,
.field {
  display: block
}

.fld.full,
.field.full {
  grid-column: 1/-1
}

.fld label,
.field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 7px
}

.fld input,
.fld select,
.fld textarea,
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease)
}

.fld textarea,
.field textarea {
  resize: vertical;
  min-height: 110px
}

.fld input:focus,
.fld select:focus,
.fld textarea:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(227, 86, 24, .1)
}

.form-submit-msg {
  margin-top: 14px;
  font-size: 13.5px;
  min-height: 20px
}

.form-submit-msg.ok {
  color: var(--green)
}

.form-submit-msg.ko {
  color: var(--rose)
}

/* ============================================================
   LISTINGS (Acheter / Louer)
   ============================================================ */
.listing {
  padding: 28px 0 60px
}

.listing-layout {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  gap: 30px;
  align-items: start
}

.filters {
  border: 1px solid var(--line);
  border-top: 3px solid var(--rose);
  background: var(--paper, #fff);
  padding: 24px 22px;
  position: sticky;
  top: 96px;
  box-shadow: 0 20px 50px -30px rgba(42, 33, 33, .25)
}

.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line)
}

.filters-head h2 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em
}

.filters .reset,
.reset {
  font-size: 13px;
  color: var(--rose);
  font-weight: 500
}

.filters .reset:hover,
.reset:hover {
  text-decoration: underline
}

.filters .fgroup>label:not(.check),
.filters .fgroup>span.lbl {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 9px
}

.filters .sel {
  position: relative
}

.filters .sel select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding: 11px 36px 11px 14px;
  font-size: 13.5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer
}

.filters .sel select:focus {
  outline: none;
  border-color: var(--rose)
}

.filters .sel svg {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  color: var(--grey-light);
  pointer-events: none
}

.filters .check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 300;
  margin-bottom: 10px;
  cursor: pointer
}

.filters .check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0
}

.filters .check i {
  width: 17px;
  height: 17px;
  border: 1.5px solid #ddd5cd;
  border-radius: 4px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background-color .2s var(--ease), border-color .2s var(--ease)
}

.filters .check i svg {
  width: 11px;
  height: 11px;
  color: #fff;
  opacity: 0;
  transition: opacity .15s var(--ease)
}

.filters .check input:checked+i {
  background: var(--rose);
  border-color: var(--rose)
}

.filters .check input:checked+i svg {
  opacity: 1
}

.filters .range {
  margin: 14px 0 6px
}

.filters .range input {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--rose) 0 100%);
  outline: none
}

.filters .range input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--rose);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25)
}

.filters .range input::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--rose);
  cursor: pointer;
  border: 2px solid #fff
}

.filters .fgroup {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line)
}

.filters .fgroup:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0
}

.filters .fgroup>label:not(.check) {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 8px
}

.filters select.form-control,
.bootstrap-select>.dropdown-toggle {
  width: 100%;
  padding: 10px 14px;
  font-size: 13.5px;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-sm) !important;
  background: #fff !important;
  color: var(--ink-2) !important;
  box-shadow: none !important
}

.bootstrap-select>.dropdown-toggle:focus {
  outline: none !important;
  border-color: var(--rose) !important
}

.bootstrap-select .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow)
}

.bootstrap-select .dropdown-menu li a {
  font-size: 13.5px
}

.bootstrap-select .dropdown-menu li a.active,
.bootstrap-select .dropdown-menu li a:hover {
  background: var(--rose-soft);
  color: var(--rose)
}

.civ2-page .form-check-input:checked {
  background-color: var(--rose);
  border-color: var(--rose)
}

.filters input[type=text].form-control,
.filters input[type=number].form-control {
  padding: 10px 12px;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm)
}

.filters .row.g-3 {
  display: flex;
  flex-direction: column;
  gap: 0
}

.filters .btn-search-internal {
  width: 100%;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px;
  border-radius: var(--radius-sm);
  background: var(--rose);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border: none
}

.filters .btn-search-internal:hover {
  background: var(--rose-dark)
}

.filters .form-group {
  position: relative;
  margin-bottom: 16px
}

.filters .form-group i {
  display: none
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0
}

.qf {
  position: relative
}

.qf select {
  appearance: none;
  -webkit-appearance: none;
  padding: 11px 34px 11px 16px;
  font-size: 13.5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-2);
  cursor: pointer
}

.qf select:focus {
  outline: none;
  border-color: var(--rose)
}

.qf input[type="text"] {
  padding: 11px 34px 11px 16px;
  font-size: 13.5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  width: 170px
}

.qf input[type="text"]:focus {
  outline: none;
  border-color: var(--rose)
}

.qf-ref-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: none;
  border: none;
  border-radius: 50%;
  color: var(--grey-light);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease)
}

.qf-ref-btn:hover {
  background: var(--rose-soft);
  color: var(--rose)
}

.qf-ref-btn svg {
  position: static;
  width: 13px;
  height: 13px
}

.qf svg {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  color: var(--grey-light);
  pointer-events: none
}

.toolbar .spacer {
  margin-left: auto
}

.count {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px
}

h2.count {
  margin-bottom: 4px
}

.count b {
  color: var(--rose)
}

.listing-view-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden
}

.listing-view-toggle.listing-view-toggle a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  font-size: 13.5px;
  color: var(--grey)
}

.listing-view-toggle a.active {
  background: var(--rose-soft);
  color: var(--rose)
}

@media (max-width:760px) {
  .toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

  .qf {
    width: 100%
  }

  .qf select {
    width: 100%
  }

  .toolbar .spacer {
    display: none
  }

  .qf--type {
    order: 1
  }

  .qf--sort {
    order: 2
  }

  .qf--location {
    order: 3
  }

  .qf--budget {
    order: 4
  }

  .listing-view-toggle {
    order: 5;
    grid-column: 1/-1;
    justify-self: center;
    width: fit-content
  }

  .listing-view-toggle a {
    padding: 9px 13px;
    font-size: 13px
  }
}

.pagination-casa {
  margin-top: 34px
}

.pagination-casa,
.pagination-casa>div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap
}

.pagination-casa ul {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap
}

.pagination-casa a  {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s var(--ease);
  text-decoration: none
}

.pagination-casa a:hover {
  border-color: var(--rose);
  color: var(--rose)
}

.pagination-casa a.active,
.pagination-casa .active a,
.pagination-casa .active span {
  background: var(--rose) !important;
  border-color: var(--rose) !important;
  color: #fff !important
}

.pagination-casa span i {
  font-size: 12px
}

@media (max-width:1000px) {
  .listing-layout {
    grid-template-columns: 1fr
  }

  .filters {
    position: static
  }
}

@media (max-width:760px) {
  .listing-layout .filters {
    order: 2
  }

  .listing-layout>div {
    order: 1
  }
}

/* ============================================================
   PAGE DÉTAIL
   ============================================================ */
.detail {
  padding: 20px 0 0
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 356px;
  gap: 26px;
  align-items: start
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff
}

.detail-gallery-wrapper {
  position: relative
}

.detail-gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #ede6e0
}

.detail-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.gallery-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--rose);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 6px 13px;
  border-radius: 6px
}

.gallery-tag.rent {
  background: var(--green)
}

.gallery-tag.sold {
  background: var(--danger)
}

.gallery-photo-count {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(24, 22, 23, .72);
  color: #fff;
  font-size: 12.5px;
  padding: 7px 13px;
  border-radius: 8px
}

.gallery-photo-count svg {
  width: 14px;
  height: 14px
}

.detail-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px
}

.detail-gallery-thumb-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/11;
  background: #ede6e0
}

.detail-gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.gallery-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 17, .6);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: grid;
  place-items: center
}

.detail-gallery-placeholder {
  border-radius: var(--radius-lg);
  aspect-ratio: 16/10;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  color: var(--grey)
}

.detail-mobile-header {
  display: none
}

.gal-tools {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 10px;
  z-index: 2
}

.round {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
  transition: color .2s var(--ease), transform .2s var(--ease)
}

.round svg {
  width: 18px;
  height: 18px
}

.round:hover {
  color: var(--rose);
  transform: scale(1.08)
}

.round.is-on {
  color: var(--rose)
}

.round.is-on svg {
  fill: currentColor
}

.more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--rose);
  font-weight: 500
}

.more-btn svg {
  width: 13px;
  height: 13px;
  transition: transform .25s var(--ease)
}

.more-btn.is-open svg {
  transform: rotate(180deg)
}

.more-txt {
  display: none
}

.more-txt.is-open {
  display: block
}

.sell-cta {
  background: linear-gradient(135deg, var(--rose) 0%, #c2450f 100%);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  color: #fff;
  margin-top: 22px
}

.sell-cta .ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .16);
  display: grid;
  place-items: center;
  margin-bottom: 16px
}

.sell-cta .ico svg {
  width: 22px;
  height: 22px;
  color: #fff
}

.sell-cta h2 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3
}

.sell-cta p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, .88);
  margin-top: 10px;
  line-height: 1.6
}

.sell-cta .btn {
  width: 100%;
  margin-top: 18px
}

.detail-back-casa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--grey);
  margin-bottom: 16px
}

.detail-back-casa:hover {
  color: var(--rose)
}

.detail-section-casa {
  padding: 26px 0;
  border-top: 1px solid var(--line);
  margin-top: 0
}

.detail-section-casa:first-of-type {
  border-top: none;
  padding-top: 30px
}

.detail-section-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--rose)
}

.detail-description {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 300;
  line-height: 1.75
}

.detail-description.is-clamped {
  max-height: 8.75em;
  overflow: hidden;
  position: relative
}

.detail-description.is-clamped::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.4em;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff)
}

.detail-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 20px
}

.detail-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0
}

.detail-feature-item svg {
  width: 17px;
  height: 17px;
  color: var(--rose);
  flex-shrink: 0;
  padding: 9px;
  box-sizing: content-box;
  border-radius: 50%;
  background: var(--rose-soft)
}

.detail-feature-item .feature-label {
  display: block;
  font-size: 11px;
  color: var(--grey)
}

.detail-feature-item .feature-value {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink)
}

.detail-summary-table {
  display: grid;
  gap: 0
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px
}

.summary-row:last-child {
  border-bottom: none
}

.summary-label {
  color: var(--grey)
}

.summary-value {
  font-weight: 500;
  color: var(--ink)
}

.criteria-group {
  margin-bottom: 18px
}

.criteria-group-title {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--rose);
  margin-bottom: 10px
}

.criteria-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px
}

.criteria-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--bg-soft);
  padding: 7px 12px;
  border-radius: 100px
}

.criteria-tag svg {
  width: 12px;
  height: 12px;
  color: var(--green)
}

.leaflet-container svg {
  width: auto;
  height: auto
}

.detail-map-casa {
  border-radius: var(--radius);
  overflow: hidden;
  height: 340px;
  background: var(--bg-soft)
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: #fff
}

.share-btn svg {
  width: 15px;
  height: 15px
}

.share-btn.facebook {
  background: #1877f2
}

.share-btn.linkedin {
  background: #0a66c2
}

.share-btn.whatsapp {
  background: #25d366
}

.share-btn.twitter {
  background: #111
}

.detail-sidebar-casa {
  position: sticky;
  top: 96px
}

.detail-sidebar-card {
  padding: 26px 26px 28px
}

.detail-sidebar-meta {
  font-size: 13px;
  color: var(--grey);
  font-weight: 300
}

.detail-sidebar-title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-top: 6px
}

.detail-sidebar-price {
  font-size: 27px;
  font-weight: 700;
  color: var(--rose);
  letter-spacing: -.02em;
  margin-top: 14px
}

.detail-sidebar-price-m2 {
  font-size: 13px;
  color: var(--grey);
  margin-top: 2px
}

.detail-sidebar-specs {
  margin: 20px 0
}

.sidebar-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px
}

.sidebar-spec-row:last-child {
  border-bottom: none
}

.spec-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--grey)
}

.spec-label svg {
  width: 14px;
  height: 14px;
  color: var(--rose)
}

.spec-value {
  font-weight: 500;
  color: var(--ink)
}

.detail-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--rose);
  color: #fff;
  font-size: 14.5px;
  font-weight: 500;
  margin-top: 6px
}

.detail-btn-primary:hover {
  background: var(--rose-dark);
  color: #fff;
}


.detail-btn-primary svg {
  width: 16px;
  height: 16px
}

.detail-btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--rose);
  color: var(--rose);
  font-size: 14.5px;
  font-weight: 500;
  margin-top: 10px
}

.detail-btn-outline svg {
  width: 16px;
  height: 16px
}
.detail-btn-outline:hover{
  color: #000;
}

.detail-agent-casa {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line)
}

.agent-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose);
  font-weight: 700;
  font-size: 15px;
  display: grid;
  place-items: center;
  flex-shrink: 0
}

.agent-name {
  font-size: 14px;
  font-weight: 600
}

.agent-location {
  font-size: 12px;
  color: var(--grey)
}

.detail-sidebar-form {
  padding: 24px 26px;
  border-top: 1px solid var(--line)
}

.form-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.form-fields label {
  display: block
}

.field-label {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 6px
}

.form-fields input,
.form-fields textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 13.5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm)
}

.form-fields button {
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-sm);
  background: var(--rose);
  color: #fff;
  font-weight: 500;
  font-size: 14px
}

.form-fields button:hover {
  background: var(--rose-dark)
}

.form-message {
  margin-top: 10px;
  font-size: 13px
}

.detail-related-section {
  margin-top: 34px
}

.recaptcha-wrapper {
  transform-origin: left;
  overflow: hidden
}

@media (max-width:1150px) {
  .detail-grid {
    grid-template-columns: minmax(0, 1fr)
  }

  .detail-sidebar-casa {
    position: static
  }

  .detail-gallery-thumbs {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media (max-width:820px) {
  .detail-features-grid {
    grid-template-columns: 1fr 1fr
  }
}

/* ============================================================
   HÉRO RICHE (Vendre / L'agence) — 2 colonnes texte + carte
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  padding: 76px 0;
  overflow: hidden;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-color: var(--ink)
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(94deg, rgba(20, 17, 16, .93) 0%, rgba(20, 17, 16, .74) 30%, rgba(20, 17, 16, .28) 60%, rgba(20, 17, 16, .06) 100%)
}

.hero-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 46px;
  align-items: center
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.18
}

.hero h1 em {
  font-style: normal;
  color: var(--rose);
  display: block
}

.hero .lede {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, .86);
  max-width: 470px;
  line-height: 1.6
}

.hero .btn {
  margin-top: 26px
}

.hero .warranty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, .8)
}

.hero .warranty svg {
  width: 17px;
  height: 17px;
  color: var(--rose)
}

.hero-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  color: var(--ink);
  box-shadow: var(--shadow-lg)
}

.hero-box li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #ece6e0
}

.hero-box li:last-child {
  border-bottom: none
}

.hero-box .ico {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rose-soft);
  display: grid;
  place-items: center;
  color: var(--rose);
  flex-shrink: 0
}

.hero-box .ico svg {
  width: 19px;
  height: 19px
}

.hero-box b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--rose)
}

.hero-box small {
  display: block;
  font-size: 12.5px;
  color: var(--grey);
  font-weight: 300;
  line-height: 1.45
}

.ticks {
  margin-top: 24px;
  display: grid;
  gap: 13px
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #fff;
  font-weight: 300
}

.ticks svg {
  width: 18px;
  height: 18px;
  color: var(--rose);
  flex-shrink: 0;
  margin-top: 2px
}

@media (max-width:900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px
  }
}
@media (max-width:500px) {
  .hero-grid {
    padding: 0 25px
  }
  .strip {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* ============================================================
   PAGES STATIQUES (Vendre / L'agence)
   ============================================================ */
.steps {
  display: grid;
  gap: 26px;
  position: relative
}

.steps--7 {
  grid-template-columns: repeat(7, minmax(0, 1fr))
}

.steps--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr))
}

.steps::before {
  content: '';
  position: absolute;
  top: 17px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--rose-line) 0 8px, transparent 8px 16px)
}

.step {
  text-align: center;
  position: relative
}

.step-num {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px #fff
}

.section--soft .step-num {
  box-shadow: 0 0 0 6px var(--bg-soft)
}

.step-ico {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--rose-soft);
  display: grid;
  place-items: center;
  color: var(--rose);
  margin: 0 auto 16px
}

.step-ico svg {
  width: 28px;
  height: 28px
}

.step h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px
}

.step p {
  font-size: 12.5px;
  color: var(--grey);
  font-weight: 300;
  line-height: 1.55
}

.cards {
  display: grid;
  gap: 20px
}

.cards--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr))
}

.cards--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr))
}

.cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr))
}

.acard {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease)
}

.acard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--rose-line)
}

.acard .ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rose-soft);
  display: grid;
  place-items: center;
  color: var(--rose);
  margin: 0 auto 16px
}

.acard .ico svg {
  width: 25px;
  height: 25px
}

.acard h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px
}

.acard p {
  font-size: 13px;
  color: var(--grey);
  font-weight: 300;
  line-height: 1.7
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #ede7e1
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.vendre-step-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center
}

.vendre-step-num {
  font-size: 46px;
  font-weight: 700;
  color: var(--rose);
  opacity: .35;
  line-height: 1;
  margin-bottom: 14px
}

.vendre-step-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3
}

.vendre-step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.stats {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr))
}

.stats--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr))
}

.stat {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 24px 26px;
  border-right: 1px solid var(--line)
}

.stat:last-child {
  border-right: none
}

.stat .ico,
.stat-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rose-soft);
  display: grid;
  place-items: center;
  color: var(--rose);
  flex-shrink: 0
}

.stat .ico svg,
.stat-ico svg {
  width: 21px;
  height: 21px
}

.stat b {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--rose);
  line-height: 1.2
}

.stat small {
  display: block;
  font-size: 12px;
  color: var(--grey);
  font-weight: 300
}

.values-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start
}

.vcards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.vcard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  background: #fff
}

.vcard .ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rose-soft);
  display: grid;
  place-items: center;
  color: var(--rose);
  margin-bottom: 14px
}

.vcard .ico svg {
  width: 21px;
  height: 21px
}

.vcard h3 {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 7px
}

.vcard p {
  font-size: 12.5px;
  color: var(--grey);
  font-weight: 300;
  line-height: 1.6
}

.team {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  background: #ede7e1
}

.team img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0
}

.team-quote {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px;
  color: #fff;
  background: linear-gradient(0deg, rgba(20, 17, 16, .9) 0%, rgba(20, 17, 16, .55) 55%, transparent 100%)
}

.team-quote svg {
  width: 24px;
  height: 24px;
  color: var(--rose);
  margin-bottom: 8px
}

.team-quote b {
  display: block;
  font-size: 15px;
  font-weight: 600
}

.team-quote p {
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, .8);
  margin-top: 6px;
  line-height: 1.55
}

.head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px
}

.head .kicker {
  margin-bottom: 12px
}

.head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -.02em
}

.head h2 em {
  font-style: normal;
  color: var(--rose)
}

.head p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--grey);
  font-weight: 300
}

.testi {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px
}

.testi svg.q {
  width: 30px;
  height: 30px;
  color: var(--rose-line)
}

.testi p {
  font-size: 14.5px;
  color: var(--ink-2);
  font-weight: 300;
  line-height: 1.75;
  margin-top: 12px
}

.testi b {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600
}

.testi small {
  font-size: 12.5px;
  color: var(--grey);
  font-weight: 300
}

.cta {
  background: var(--rose-soft);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center
}

.cta h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -.015em
}

.cta h2 em {
  font-style: normal;
  color: var(--rose)
}

.cta p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 300
}

.cta-actions {
  display: grid;
  gap: 12px;
  min-width: 250px
}

.cta-actions .btn {
  width: 100%
}

.cta-media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/11
}

.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.cta--media {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) auto
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-top: 34px
}

.strip div {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 24px;
  border-right: 1px solid var(--line)
}

.strip div:last-child {
  border-right: none
}

.strip .ico {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rose-soft);
  display: grid;
  place-items: center;
  color: var(--rose);
  flex-shrink: 0
}

.strip .ico svg {
  width: 19px;
  height: 19px
}

.strip b {
  display: block;
  font-size: 13.5px;
  font-weight: 600
}

.strip small {
  display: block;
  font-size: 12px;
  color: var(--grey);
  font-weight: 300
}

.about-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  text-align: center
}

.about-badge .number {
  font-size: 26px;
  font-weight: 700;
  color: var(--rose)
}

.about-badge .label {
  font-size: 11px;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: .05em
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 30px;
  align-items: start
}

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px
}

.info-card h2 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 20px
}

.info-list li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px
}

.info-list .ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rose-soft);
  display: grid;
  place-items: center;
  color: var(--rose);
  flex-shrink: 0
}

.info-list .ico svg {
  width: 20px;
  height: 20px
}

.info-list b {
  display: block;
  font-size: 13px;
  color: var(--grey);
  font-weight: 400
}

.info-list span {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  margin-top: 2px
}

.info-list a {
  color: #000
}

.info-list a:hover {
  color: var(--rose)
}

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px
}

.form-card h2 {
  font-size: 19px;
  font-weight: 600
}

.form-card>p {
  font-size: 13.5px;
  color: var(--grey);
  font-weight: 300;
  margin-top: 8px
}

.form-card .btn {
  width: 100%;
  margin-top: 16px
}

.map-wrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 22px
}

.map-qrcode {
  position: absolute;
  right: 0;
    bottom: 0;
    width: 150px;
    height: 150px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm)
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px
}

.contact-info-grid .acard {
  padding: 30px 20px
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px
}

.social-row a {
  width: 44px;
  height: 44px;
  background: var(--rose-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--rose)
}

.social-row a:hover {
  background: var(--rose);
  color: #fff
}

.social-row svg {
  width: 17px;
  height: 17px;
  fill: currentColor
}

/* ============================================================
   ESTIMER — page standard : héro simple (partagé avec vendre/l'agence)
   + formulaire complet dans le corps de page, scopé .evaluer-page
   ============================================================ */
.evaluer-page .eval-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px 40px 40px
}

.evaluer-page .eval-form-card h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -.01em
}

.evaluer-page .eval-form-card>p {
  font-size: 13.5px;
  color: var(--grey);
  font-weight: 300;
  margin-top: 8px;
  line-height: 1.55
}

.evaluer-page .form-grid {
  margin-top: 24px;
  display: grid;
  gap: 18px
}

.evaluer-page .row {
  display: grid;
  gap: 16px
}

.evaluer-page .row--3 {
  grid-template-columns: repeat(3, 1fr)
}

.evaluer-page .row--2 {
  grid-template-columns: repeat(2, 1fr)
}

.evaluer-page .field label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 8px
}

.evaluer-page .control {
  position: relative
}

.evaluer-page .control input,
.evaluer-page .control select,
.evaluer-page .control textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease)
}

.evaluer-page .control textarea {
  min-height: 100px;
  resize: vertical
}

.evaluer-page .control select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  cursor: pointer
}

.evaluer-page .control input::placeholder,
.evaluer-page .control textarea::placeholder {
  color: #b3b3bb;
  font-weight: 300
}

.evaluer-page .control input:hover,
.evaluer-page .control select:hover {
  border-color: #ddd0c4
}

.evaluer-page .control input:focus,
.evaluer-page .control select:focus,
.evaluer-page .control textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(227, 86, 24, .1)
}

.evaluer-page .control .chev {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  color: var(--grey-light);
  pointer-events: none;
  transition: transform .25s var(--ease)
}

.evaluer-page .control select:focus~.chev {
  transform: translateY(-50%) rotate(180deg);
  color: var(--rose)
}

.evaluer-page .control.is-filled input,
.evaluer-page .control.is-filled select {
  border-color: var(--rose)
}

.evaluer-page .form-error {
  font-size: 12.5px;
  color: var(--rose);
  margin-top: 8px;
  min-height: 0
}

.evaluer-page .form-section-title {
  font-size: 15px;
  font-weight: 600;
  margin: 6px 0 2px;
  padding-top: 22px;
  border-top: 1px solid var(--line)
}

.evaluer-page .form-section-title:first-of-type {
  padding-top: 0;
  border-top: none;
  margin-top: 0
}

.status-banner {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px
}

.status-banner.alert-success {
  background: var(--green-soft);
  color: var(--green-dark)
}

.status-banner.alert-danger {
  background: var(--rose-soft);
  color: var(--rose-dark)
}

.field-error {
  color: var(--rose);
  font-size: 12px;
  margin-top: 6px
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  z-index: 0;
}

.upload-zone {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 34px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s var(--ease)
}

.upload-zone:hover {
  border-color: var(--rose)
}

.upload-zone svg {
  width: 30px;
  height: 30px;
  color: var(--rose);
  margin: 0 auto 10px
}

.upload-zone span {
  display: block;
  font-size: 13.5px;
  color: var(--grey)
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 20px
}

.check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-2)
}

.check-item input {
  width: 16px;
  height: 16px;
  accent-color: var(--rose)
}

.eval-approve {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 6px
}

.eval-approve input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--rose)
}

.btn-submit-eval {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--rose);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  margin-top: 10px;
  transition: background-color .2s var(--ease)
}

.btn-submit-eval:hover {
  background: var(--rose-dark)
}

/* Récapitulatif après soumission — équivalent honnête (données réelles) du bloc "résultat" du template */
.evaluer-page .results {
  padding: 44px 0 60px
}

.evaluer-page .results-title {
  text-align: center;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 34px
}

.evaluer-page .results-title em {
  font-style: normal;
  color: var(--rose)
}

.evaluer-page .results-grid {
  display: grid;
  grid-template-columns: 2.35fr 1fr;
  gap: 28px;
  align-items: start
}

.evaluer-page .result-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px
}

.evaluer-page .result-card>* {
  min-width: 0
}

.evaluer-page .prop-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/11;
  background: #ede6e0
}

.evaluer-page .prop-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.evaluer-page .prop-photo .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--rose);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 6px
}

.evaluer-page .prop-place {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 500
}

.evaluer-page .prop-place svg {
  width: 16px;
  height: 16px;
  color: var(--rose)
}

.evaluer-page .prop-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 14px
}

.evaluer-page .prop-specs span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 300
}

.evaluer-page .prop-specs svg {
  width: 15px;
  height: 15px;
  color: var(--grey-light);
  flex-shrink: 0
}

.evaluer-page .market {
  border-left: 1px solid var(--line);
  padding-left: 30px
}

.evaluer-page .market h3 {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 20px
}

.evaluer-page .market li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
  list-style: none
}

.evaluer-page .market ul {
  padding: 0;
  margin: 0
}

.evaluer-page .market li:last-child {
  margin-bottom: 0
}

.evaluer-page .market-ico {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--rose-soft);
  display: grid;
  place-items: center;
  color: var(--rose);
  flex-shrink: 0
}

.evaluer-page .market-ico svg {
  width: 18px;
  height: 18px
}

.evaluer-page .market b {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink)
}

.evaluer-page .market small {
  display: block;
  font-size: 12.5px;
  color: var(--grey);
  font-weight: 300;
  margin-top: 1px
}

.evaluer-page .disclaimer {
  grid-column: 1/-1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #faf8f5;
  border-radius: var(--radius);
  padding: 15px 18px;
  margin-top: 4px
}

.evaluer-page .disclaimer svg {
  width: 17px;
  height: 17px;
  color: var(--grey-light);
  flex-shrink: 0;
  margin-top: 2px
}

.evaluer-page .disclaimer p {
  font-size: 12.5px;
  color: var(--grey);
  font-weight: 300;
  line-height: 1.6
}

.evaluer-page .sell-card {
  background: var(--rose-soft);
  border: 1px solid var(--rose-line);
  border-radius: var(--radius-lg);
  padding: 30px 28px
}

.evaluer-page .sell-head {
  display: flex;
  gap: 16px;
  align-items: flex-start
}

.evaluer-page .sell-head svg {
  width: 42px;
  height: 42px;
  color: var(--rose);
  flex-shrink: 0
}

.evaluer-page .sell-head h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35
}

.evaluer-page .sell-head p {
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 300;
  line-height: 1.6;
  margin-top: 10px
}

.evaluer-page .sell-list {
  margin: 26px 0;
  padding: 0
}

.evaluer-page .sell-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 300;
  margin-bottom: 14px;
  list-style: none
}

.evaluer-page .sell-list svg {
  width: 17px;
  height: 17px;
  color: var(--rose);
  flex-shrink: 0
}

.evaluer-page .sell-card .btn {
  width: 100%;
  justify-content: center
}

.evaluer-page .sell-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  color: var(--rose);
  font-size: 19px;
  font-weight: 600;
  justify-content: center
}

.evaluer-page .sell-phone svg {
  width: 20px;
  height: 20px
}
:where(.civ2-page) a {
  color: var(--rose)
}

@media (max-width:1150px) {
  .evaluer-page .results-grid {
    grid-template-columns: 1fr
  }

  .evaluer-page .result-card {
    grid-template-columns: 1fr 1fr
  }

  .evaluer-page .market {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 24px
  }
}

@media (max-width:760px) {
  .evaluer-page .result-card {
    grid-template-columns: 1fr;
    gap: 24px
  }
}

@media (max-width:1150px) {

  .evaluer-page .row--3,
  .evaluer-page .row--2 {
    grid-template-columns: 1fr
  }

  .check-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:760px) {
  .evaluer-page .eval-form-card {
    padding: 26px 22px 28px
  }
}

/* ============================================================
   RESPONSIVE — commun
   ============================================================ */
@media (max-width:1400px) {

  .container,
  .page-hero-content,
  .header-inner,
  .footer-inner,
  .footer-bottom {
    padding-left: 40px;
    padding-right: 40px
  }
}

@media (max-width:1200px) {
  .nav {
    display: none
  }

  .burger,
  .menu-toggle {
    display: flex
  }

  .header-right {
    margin-left: auto
  }

  .pgrid,
  .cards--5,
  .cards--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .sectors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .journey {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .steps--7,
  .steps--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .steps::before {
    display: none
  }

  .stats,
  .stats--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .stat {
    border-bottom: 1px solid var(--line)
  }

  .stat:nth-child(2n) {
    border-right: none
  }

  .values-grid {
    grid-template-columns: 1fr
  }

  .strip {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .strip div {
    border-bottom: 1px solid var(--line)
  }

  .strip div:nth-child(2n) {
    border-right: none
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .faq {
    grid-template-columns: 1fr;
    gap: 26px
  }

  .estim-band {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px 26px
  }

  .estim-band .sep {
    display: none
  }
}

@media (max-width:900px) {

  .home-hero-grid,
  .split,
  .vendre-step-grid {
    grid-template-columns: 1fr;
    gap: 26px
  }

  .contact-grid,
  .ctc,
  .evaluer-hero-grid {
    grid-template-columns: 1fr
  }

  .cta,
  .cta--media {
    grid-template-columns: 1fr
  }

  .cta-media {
    max-height: 220px
  }
}

@media (max-width:760px) {

  .container,
  .page-hero-content,
  .header-inner,
  .footer-inner,
  .footer-bottom {
    padding-left: 20px;
    padding-right: 20px
  }

  .phone-btn span {
    display: none
  }

  .phone-btn {
    padding: 13px 16px
  }

  .currency-selector {
    display: none
  }

  .pgrid,
  .cards--5,
  .cards--6,
  .cards--3 {
    grid-template-columns: 1fr
  }

  .sectors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .cats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0
  }

  .journey {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .steps--7,
  .steps--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .testis {
    grid-template-columns: 1fr
  }

  .vcards {
    grid-template-columns: 1fr
  }

  .frow,
  .eval-row--3,
  .eval-row--2 {
    grid-template-columns: 1fr
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px
  }

  .contact-info-grid {
    grid-template-columns: 1fr
  }

  .info-card,
  .form-card {
    padding: 20px
  }

  .g-recaptcha {
    transform: scale(.78);
    transform-origin: 0 0
  }

  .search-panel {
    padding: 14px;
    gap: 10px
  }

  .sf {
    flex: 1 1 100%
  }

  .detail-features-grid {
    grid-template-columns: 1fr
  }

  .check-grid {
    grid-template-columns: 1fr
  }
}

@media (max-width:520px) {

  .logo-text b,
  .logo b {
    font-size: 21px
  }

  .logo-text span,
  .logo span {
    font-size: 8.5px;
    letter-spacing: .14em
  }

  .estim-card {
    padding: 26px 22px
  }
      .strip {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* ============================================================
   BLOG (liste + détail)
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px
}

.blog-card {
  background: var(--paper, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .3s var(--ease)
}

.blog-card:hover {
  box-shadow: var(--shadow)
}

.blog-card-media {
  display: block;
  height: 210px;
  overflow: hidden
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.06)
}

.blog-card-body {
  padding: 22px 24px
}

.blog-card-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--grey);
  font-weight: 500
}

.blog-card-date svg {
  width: 14px;
  height: 14px
}

.blog-card-body h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0 8px;
  line-height: 1.35
}

.blog-card-body h2 a {
  color: var(--ink)
}

.blog-card-body h2 a:hover {
  color: var(--rose)
}

.blog-card-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  font-weight: 300;
  margin-bottom: 14px
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 48px;
  align-items: start
}

.blog-detail-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
  font-weight: 300
}

.blog-detail-body img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 20px 0
}

.blog-detail-side {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: calc(var(--header-h) + 20px)
}

.blog-detail-side h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px
}

.blog-side-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line)
}

.blog-side-item:first-of-type {
  border-top: none
}

.blog-side-media {
  width: 64px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden
}

.blog-side-media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.blog-side-item b {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 4px
}

.blog-side-item:hover b {
  color: var(--rose)
}

.blog-side-item small {
  font-size: 12px;
  color: var(--grey)
}

/* ============================================================
   NOS AGENCES
   ============================================================ */
.agencies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px
}

.agency-card {
  background: var(--paper, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow .3s var(--ease)
}

.agency-card:hover {
  box-shadow: var(--shadow)
}

.agency-card-ico {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose);
  margin-bottom: 18px
}

.agency-card-ico svg {
  width: 24px;
  height: 24px
}

.agency-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--rose);
  margin-bottom: 10px
}

.agency-card-desc {
  font-size: 13.5px;
  color: var(--ink-2);
  font-weight: 300;
  margin-bottom: 16px
}

.agency-card-list {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  text-align: left
}

.agency-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-2)
}

.agency-card-list svg {
  width: 16px;
  height: 16px;
  color: var(--rose);
  flex-shrink: 0;
  margin-top: 2px
}

.agency-card-list a {
  color: var(--ink-2)
}

.agency-card-list a:hover {
  color: var(--rose)
}

@media (max-width: 900px) {
  .blog-grid,
  .agencies-grid {
    grid-template-columns: 1fr
  }

  .blog-detail-layout {
    grid-template-columns: 1fr
  }

  .blog-detail-side {
    position: static
  }
}

/* ============================================================
   ACCUEIL v3 — héro plein cadre + carte de recherche flottante
   (fidèle à la maquette EDF fournie par le client)
   ============================================================ */
.hero-v3 {
  position: relative;
  height: 88vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  overflow: hidden
}

.hero-v3-media {
  position: absolute;
  inset: 0;
  z-index: 0
}

.hero-v3-media img,
.hero-v3-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6
}

.hero-v3::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(42, 33, 33, .35) 0%, rgba(42, 33, 33, .15) 40%, rgba(20, 15, 15, .95) 100%)
}

.hero-v3-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 64px 90px;
  width: 100%
}

.hero-v3-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rose);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 22px
}

.hero-v3-tag::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--rose)
}

.hero-v3-title {
  font-size: clamp(2.2rem, 5vw, 64px);
  line-height: 1.03;
  color: #fff;
  max-width: 720px;
  font-weight: 600;
  letter-spacing: -.02em
}

.hero-v3-title em {
  font-style: normal;
  color: var(--rose)
}

.hero-v3-content .hero-v3-lede {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .75);
  max-width: 480px;
  font-weight: 300
}

.hero-v3-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px
}

.hero-v3-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px
}

.hero-v3-cats a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  font-weight: 500;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease)
}

.hero-v3-cats a svg {
  width: 15px;
  height: 15px
}

.hero-v3-cats a:hover {
  border-color: var(--rose);
  background: var(--rose);
  color: #fff
}

.search-bar-v3 {
  max-width: var(--container);
  margin: -64px auto 0;
  padding: 0 64px;
  position: relative;
  z-index: 5
}

.search-inner-v3 {
  background: var(--paper, #fff);
  box-shadow: 0 30px 70px -30px rgba(42, 33, 33, .35);
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  border-top: 4px solid var(--rose)
}

.search-field-v3 {
  flex: 1;
  min-width: 180px;
  padding: 22px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid transparent
}

.search-field-v3:last-of-type {
  border-right: none
}

.search-field-v3 label {
  display: block;
  font-size: 11.5px;
  color: var(--ink-2);
  margin-bottom: 7px;
  font-weight: 500
}

.search-field-v3 select,
.search-field-v3 input {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  width: 100%;
  outline: none;
  font-weight: 500
}

.search-submit-v3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 40px;
  background: var(--ink);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color .25s var(--ease);
  white-space: nowrap
}

.search-submit-v3 svg {
  width: 16px;
  height: 16px
}

.search-submit-v3:hover {
  background: var(--rose)
}

.stats-v3-band {
  position: relative;
  margin: 90px 0 0;
  padding: 72px 24px;
  background: var(--ink);
  overflow: hidden
}

.stats-v3-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 260px at 12% 0%, rgba(227, 86, 24, .28), transparent 70%),
    radial-gradient(560px 320px at 92% 100%, rgba(227, 86, 24, .18), transparent 70%);
  pointer-events: none
}

.stats-v3-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0
}

.stat-v3 {
  position: relative;
  padding: 0 28px;
  text-align: center
}

.stat-v3+.stat-v3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(255, 255, 255, .12)
}

.stat-v3-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(227, 86, 24, .16);
  border: 1px solid rgba(227, 86, 24, .4);
  color: var(--rose);
  margin-bottom: 18px
}

.stat-v3-ico svg {
  width: 24px;
  height: 24px
}

.stat-v3-num .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em
}

.stat-v3-lbl {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .55);
  margin-top: 10px;
  max-width: 190px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5
}

@media (max-width: 900px) {
  .hero-v3 {
    height: auto;
    min-height: 560px;
    padding-top: 60px
  }

  .hero-v3-content {
    text-align: center;
    padding: 0 24px 50px
  }

  .hero-v3-title,
  .hero-v3-lede {
    margin-left: auto;
    margin-right: auto
  }

  .hero-v3-ctas,
  .hero-v3-cats {
    justify-content: center
  }

  .search-bar-v3 {
    margin-top: -40px;
    padding: 0 20px
  }

  .search-inner-v3 {
    flex-direction: column
  }

  .search-field-v3 {
    border-right: none;
    border-bottom: 1px solid var(--line)
  }

  .search-submit-v3 {
    padding: 18px 40px
  }

  .stats-v3-band {
    padding: 48px 16px;
    margin-top: 60px
  }

  .stats-v3-inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px
  }

  .stat-v3+.stat-v3::before {
    display: none
  }

  .stat-v3:nth-child(3)::before,
  .stat-v3:nth-child(2)::before {
    display: none
  }
}

@media (max-width: 560px) {
  .stats-v3-inner {
    grid-template-columns: 1fr;
    row-gap: 28px
  }

  .stat-v3 {
    padding: 0 16px
  }

  .stat-v3-num .num {
    font-size: 34px
  }
}

/* ============================================================
   CARTE BIEN v3 — prix en incrustation sur la photo
   ============================================================ */
.pcard-v3 {
  background: var(--paper, #fff);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease)
}

.pcard-v3:hover {
  box-shadow: 0 30px 60px -30px rgba(42, 33, 33, .3);
  border-color: #ddd6d0
}

.pcard-v3-media {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-soft)
}

.pcard-v3-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease)
}

.pcard-v3:hover .pcard-v3-media img {
  transform: scale(1.06)
}

.ptag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--rose);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 6px 14px;
  border-radius: 999px
}

.ptag--rent {
  background: var(--green)
}

.ptag--sold {
  background: var(--danger)
}

.pcard-v3-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.pact {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  box-shadow: 0 2px 8px rgba(42, 33, 33, .18);
  transition: background-color .2s var(--ease), color .2s var(--ease)
}

.pact svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.9
}

.pact:hover,
.pact.is-on {
  background: var(--rose);
  color: #fff
}

.pact.is-on svg {
  fill: currentColor
}

.pcard-v3-pricebar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 30px 16px 12px;
  background: linear-gradient(180deg, rgba(20, 15, 15, 0) 0%, rgba(20, 15, 15, .78) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px
}

.pcard-v3-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.01em
}

.pcard-v3-ref {
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .16);
  padding: 4px 9px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
  white-space: nowrap
}

.pcard-v3-body {
  padding: 18px 20px 20px
}

.pcard-v3-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px
}

.pcard-v3-body h3 a {
  color: #000
}

.pcard-v3-body h3 a:hover {
  color: var(--rose)
}

.pcard-v3-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 300;
  margin-bottom: 15px
}

.pcard-v3-loc svg {
  width: 14px;
  height: 14px;
  color: var(--grey);
  flex-shrink: 0
}

.pcard-v3-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px
}

.pcard-v3-chips .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 999px
}

.pcard-v3-chips .chip svg {
  width: 13px;
  height: 13px;
  color: var(--rose)
}

.pcard-v3-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease)
}

.pcard-v3-cta svg {
  width: 14px;
  height: 14px;
  transition: transform .2s var(--ease)
}

.pcard-v3-cta:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink)
}

.pcard-v3-cta:hover svg {
  transform: translateX(3px)
}

/* ============================================================
   ZONES D'INTERVENTION v3 — vignettes plein cadre + dégradé
   ============================================================ */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px
}

.zone-card {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-soft)
}

.zone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease)
}

.zone-card:hover img {
  transform: scale(1.08)
}

.zone-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 33, 33, 0) 45%, rgba(20, 15, 15, .88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px
}

.zone-card-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.01em
}

.zone-card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  display: grid;
  place-items: center;
  color: #fff;
  margin-top: 10px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease)
}

.zone-card:hover .zone-card-arrow {
  opacity: 1;
  transform: none;
  background: var(--rose)
}

.zone-card-arrow svg {
  width: 13px;
  height: 13px
}

@media (max-width: 900px) {
  .zones-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media (max-width: 560px) {
  .zones-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

/* ============================================================
   TÉMOIGNAGES v3 — bandeau sombre
   ============================================================ */
.testis-v3-band {
  background: var(--ink);
  padding: 100px 64px
}

.testis-v3-band .sec-head h2 {
  color: #fff
}

.testis-v3-band .sec-head h2 em {
  color: var(--rose);
  font-style: normal
}

.testis-v3-band .sec-head p {
  color: rgba(255, 255, 255, .6) !important
}

.testis-v3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px
}

.testi-v3 {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 32px 28px
}

.testi-v3-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px
}

.testi-v3-stars svg {
  width: 15px;
  height: 15px;
  color: var(--rose);
  fill: currentColor
}

.testi-v3 p {
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .78);
  font-weight: 300;
  margin-bottom: 24px
}

.testi-v3-who {
  border-left: 2px solid var(--rose);
  padding-left: 14px
}

.testi-v3-who b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #fff
}

.testi-v3-who span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .5)
}

@media (max-width: 900px) {
  .testis-v3-band {
    padding: 70px 24px
  }

  .testis-v3 {
    grid-template-columns: 1fr
  }
}

/* ============================================================
   CONTACT v3 — bandeau sombre + carte formulaire flottante
   ============================================================ */
.ctc-v3-band {
  background: linear-gradient(150deg, #2a2121 0%, #1c1615 100%);
  padding: 100px 64px;
  position: relative;
  overflow: hidden
}

.ctc-v3-band::before {
  content: '';
  position: absolute;
  left: -160px;
  top: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 86, 24, .30), transparent 70%);
  pointer-events: none
}

.ctc-v3-band::after {
  content: '';
  position: absolute;
  right: -180px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 86, 24, .16), transparent 70%);
  pointer-events: none
}

.ctc-v3 {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start
}

/* Le reCAPTCHA dans .ctc-v3-form garde sa largeur réelle de 304px pour le calcul de
   layout même une fois réduit visuellement par transform:scale() (voir plus bas) — sans
   min-width:0, un élément de grille ne peut pas rétrécir sous la largeur de son contenu,
   ce qui poussait le formulaire à déborder de sa colonne sur la droite en mobile. */
.ctc-v3-info,
.ctc-v3-form {
  min-width: 0
}

.ctc-v3-info h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin: 12px 0 14px;
  font-weight: 600;
  letter-spacing: -.02em
}

.ctc-v3-info h2 em {
  color: var(--rose);
  font-style: normal
}

.ctc-v3-info > p {
  color: rgba(255, 255, 255, .65);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 420px;
  font-weight: 300
}

.ctc-v3-list {
  display: grid;
  gap: 20px;
  margin-bottom: 30px
}

.ctc-v3-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start
}

.ctc-v3-list .ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--rose) 0%, var(--rose-dark) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(227, 86, 24, .35)
}

.ctc-v3-list .ico svg {
  width: 18px;
  height: 18px
}

.ctc-v3-list b {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, .5)
}

.ctc-v3-list li > span:last-child {
  font-size: 14.5px;
  font-weight: 500;
  color: #fff;
  margin-top: 3px;
  display: block
}

.ctc-v3-socials {
  display: flex;
  gap: 10px
}

.ctc-v3-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background-color .2s var(--ease), color .2s var(--ease)
}

.ctc-v3-socials a:hover {
  background: var(--rose)
}

.ctc-v3-form {
  background: #fff;
  padding: 36px 34px;
  border-top: 4px solid var(--rose);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5)
}

.ctc-v3-form h2 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px
}

.ctc-v3-form > p {
  font-size: 13.5px;
  color: var(--ink-2);
  margin-bottom: 22px
}

@media (max-width: 900px) {
  .ctc-v3-band {
    padding: 70px 24px
  }

  .ctc-v3 {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .ctc-v3-form {
    padding: 28px 22px
  }
}

/* ============================================================
   GALERIE PHOTO — flèches + puces sur la carte bien (.pcard-v3-media)
   ============================================================ */
.pimg-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: var(--ink);
  display: grid;
  place-items: center;
  z-index: 3;
  border: none;
  cursor: pointer;
  opacity: 0;
  box-shadow: 0 2px 8px rgba(42, 33, 33, .18);
  transition: opacity .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease)
}

.pcard-v3-media:hover .pimg-nav {
  opacity: 1
}

.pimg-prev {
  left: 10px
}

.pimg-next {
  right: 10px
}

.pimg-nav svg {
  width: 14px;
  height: 14px
}

.pimg-nav:hover {
  background: var(--rose);
  color: #fff
}

.pimg-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 64px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 5px
}

.pimg-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  transition: background-color .2s var(--ease), transform .2s var(--ease)
}

.pimg-dots span.is-active {
  background: #fff;
  transform: scale(1.35)
}

/* ============================================================
   CALENDRIER DE DISPONIBILITÉ (location saisonnière) — habillage FullCalendar
   ============================================================ */
.detail-availability-card #availability {
  font-family: inherit
}

.detail-availability-card .fc {
  font-size: 12.5px
}

.detail-availability-card .fc-toolbar h2 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink)
}

.detail-availability-card .fc-toolbar .fc-button {
  background: var(--paper, #fff);
  border: 1px solid var(--line);
  color: var(--ink-2);
  box-shadow: none;
  text-shadow: none;
  border-radius: 0;
  padding: 5px 9px
}

.detail-availability-card .fc-toolbar .fc-button:hover {
  background: var(--bg-soft);
  color: var(--rose)
}

.detail-availability-card .fc-toolbar .fc-state-active,
.detail-availability-card .fc-toolbar .fc-button:active {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff
}

.detail-availability-card .fc-day-header {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--grey);
  text-transform: uppercase;
  padding: 6px 0
}

.detail-availability-card .fc-widget-header,
.detail-availability-card .fc-widget-content {
  border-color: var(--line)
}

.detail-availability-card .fc-today {
  background: var(--rose-soft)
}

.detail-availability-card .fc-event {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
  font-size: 10.5px;
  padding: 1px 4px
}

.detail-availability-card .loader-bg {
  display: grid;
  place-items: center
}

/* ============================================================
   PAGE COMPARATEUR (/comparateur) — le widget React (#root) reste
   du code tiers non retouché, mais il héritait d'un correctif
   "thème sombre" de style.css (.card{background:#1a1712!important})
   pensé pour d'autres pages : les fiches biens comparées ressortaient
   en noir au-dessus d'un tableau resté clair. On réaligne ici sur le
   design ink/orange, sans toucher au widget lui-même.
   ============================================================ */
#root {
  max-width: 100%;
  overflow-x: auto
}

/* Les flèches du carrousel (react-slick) sont positionnées par le thème Slick en
   left:-25px / right:-25px, donc en dehors de la boîte de #root — l'overflow-x:auto
   ci-dessus les découpait (la flèche "précédent" en particulier n'était plus jamais
   atteignable). On les ramène à l'intérieur des limites de #root. */
#root .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm)
}

#root .slick-prev {
  left: 4px
}

#root .slick-next {
  right: 4px
}

#root .slick-arrow.slick-disabled {
  opacity: .35;
  pointer-events: none
}

/* Le widget utilise des classes de grille Bootstrap 3 (col-xs-*, col-md-* hors media
   query) que Bootstrap 5 (seule version chargée depuis que /comparateur est passée en
   page "civ2") ne définit plus — d'où les lignes de spécifications qui s'empilaient
   verticalement au lieu de s'aligner par bien comparé. */
#root .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px
}

#root .row > [class*="col-"] {
  padding-left: 15px;
  padding-right: 15px
}

#root .col-md-2 {
  flex: 0 0 16.6667%;
  max-width: 16.6667%
}

#root .col-md-3,
#root .col-xs-6 {
  flex: 0 0 25%;
  max-width: 25%
}

#root .col-md-7 {
  flex: 0 0 58.3333%;
  max-width: 58.3333%
}

#root .col-md-10 {
  flex: 0 0 83.3333%;
  max-width: 83.3333%
}

#root .col-hidden {
  display: none
}

/* Lignes du tableau de spécifications (Titre/Type/vocation…) : le widget les rend en
   ".col-container > .col" avec la largeur de chaque colonne fixée en style inline
   (flex:1.15 / flex:2), mais aucune feuille de style ne définit .col-container en
   display:flex — ces styles inline restaient donc sans effet et les colonnes
   s'empilaient verticalement. */
#root .col-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line)
}

#root .card,
#root .card-header,
#root .card-body,
#root .card-footer {
  background: transparent !important;
  border-color: var(--line) !important;
  color: var(--ink) !important
}

#root .card-title,
#root .card-header h1,
#root .card-header h2,
#root .card-header h3,
#root .card-header h4,
#root .card-header h5,
#root .card-header h6 {
  color: var(--ink) !important
}

#root .card-text,
#root .card-body p,
#root .card-body span,
#root .card-body div {
  color: var(--ink-2) !important
}

#root .card > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 15px;
  overflow: hidden
}

#root .card-header {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px !important
}

#root .card-header button.float-left,
#root .card-header button.float-right {
  float: none;
  width: 32px !important;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft) !important;
  color: var(--ink-2) !important;
  padding: 0 !important;
  transition: background-color .2s var(--ease), color .2s var(--ease)
}

#root .card-header button.float-left:hover,
#root .card-header button.float-right:hover {
  background: var(--rose-soft) !important;
  color: var(--rose) !important
}

#root .card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px
}

#root .card-title a {
  color: var(--ink) !important;
  transition: color .2s var(--ease)
}

#root .card-title a:hover {
  color: var(--rose) !important
}

#root .img-thumbnail {
  border-radius: var(--radius);
  border-color: var(--line) !important;
  background: #fff !important
}

#root .specifications .fa-check-square {
  color: var(--rose) !important;
  font-size: 16px
}

#root .specifications .fa-square {
  color: var(--grey-light) !important;
  font-size: 16px
}

#root .col-container .col:first-child {
  color: var(--ink) !important;
  font-family: 'Space Grotesk', sans-serif
}

#root .slick-arrow,
#root .slick-arrow i {
  color: var(--ink) !important
}

#root .slick-arrow:hover {
  background: var(--rose) !important
}

#root .slick-arrow:hover i {
  color: #fff !important
}

/* Chaque carte affiche la référence deux fois : une fois dans le header (à côté des
   boutons verrou/supprimer) et une fois en "card-title" juste au-dessus de la photo
   (Card.js du widget). On masque la seconde, redondante. */
#root .card-body .card-title {
  display: none
}

/* L'image n'a qu'une hauteur fixée en style inline (height:100px), sans largeur ni
   object-fit : selon le ratio de la photo source, elle s'étirait ou débordait de sa
   carte. */
#root .card-body img.img-thumbnail {
  width: 100%;
  height: 140px !important;
  object-fit: cover
}

/* Le thème Slick dessine un chevron "→"/"←" par défaut via :before, superposé
   derrière l'icône Font Awesome de nos boutons personnalisés (Buttons.js) — on le
   supprime pour ne garder qu'une seule flèche visible de chaque côté. */
#root .slick-prev:before,
#root .slick-next:before {
  content: none
}

