/* ============================================================
   CASA IMMO v2 — nouveau design (rose/blanc, Poppins)
   Remplace visuellement template-casa.css sur les pages refaites.
   ============================================================ */
:root {
  --rose: #e5195f;
  --rose-dark: #c8114f;
  --rose-soft: #fdeff4;
  --rose-line: #f8d3e0;
  --green: #1f9d55;
  --green-dark: #177a41;
  --green-soft: #e9f7ef;
  --ink: #1d1d24;
  --ink-2: #3a3a44;
  --grey: #75757f;
  --grey-light: #9a9aa4;
  --line: #e9e5e7;
  --bg-soft: #f6f6f8;
  --acc: var(--rose);
  --acc-dark: var(--rose-dark);
  --acc-soft: var(--rose-soft);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 12px rgba(29, 29, 36, .05);
  --shadow: 0 10px 34px rgba(29, 29, 36, .09);
  --shadow-lg: 0 20px 55px rgba(29, 29, 36, .14);
  --header-h: 76px;
  --container: 1440px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth
}

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

.civ2 {
  all: initial
}

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

.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(229, 25, 95, .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;
  transition: box-shadow .3s var(--ease)
}

.site-header.is-stuck {
  box-shadow: 0 2px 18px rgba(29, 29, 36, .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;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  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-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 {
  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 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(229, 25, 95, .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: #fff;
}

.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 #f4eef0;
  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 #f4eef0
}

.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,
.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: #26221f
}

.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 {
  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 h4 {
  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:hover {
  color: var(--rose)
}

/* Boutons flottants + loader + toast (utilisés par index.php) */
/* Pile verticale à droite, de bas en haut : back-to-top, contact, favoris, comparateur */
.floating-btn-casa {
  position: fixed;
  right: 18px;
  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: 154px;
  background: var(--rose);
  color: #fff
}

.floating-compare-casa {
  bottom: 222px;
  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
}

.back-top-casa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  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)
}

/* Bouton de contact flottant (FAB) */
.contact-fab-casa {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 151;
  width: 54px;
  height: 54px;
}

.contact-fab-trigger {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  transition: transform .3s var(--ease), background .3s var(--ease)
}

.contact-fab-trigger:hover {
  transform: scale(1.07)
}

.contact-fab-trigger::before,
.contact-fab-trigger::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--rose);
  opacity: .55;
  animation: contactFabPulse 2.2s ease-out infinite
}

.contact-fab-trigger::after {
  animation-delay: 1.1s
}

.contact-fab-casa.is-open .contact-fab-trigger::before,
.contact-fab-casa.is-open .contact-fab-trigger::after {
  animation: none;
  opacity: 0
}

@keyframes contactFabPulse {
  0% { transform: scale(1); opacity: .55 }
  100% { transform: scale(1.9); opacity: 0 }
}

.contact-fab-trigger svg {
  width: 22px;
  height: 22px;
  position: absolute;
  transition: opacity .25s var(--ease), transform .25s var(--ease)
}

.contact-fab-trigger .icon-close {
  opacity: 0;
  transform: rotate(-45deg)
}

.contact-fab-trigger .icon-open {
  opacity: 1;
  transform: rotate(0)
}

.contact-fab-casa.is-open .contact-fab-trigger {
  background: var(--ink)
}

.contact-fab-casa.is-open .contact-fab-trigger .icon-open {
  opacity: 0;
  transform: rotate(45deg)
}

.contact-fab-casa.is-open .contact-fab-trigger .icon-close {
  opacity: 1;
  transform: rotate(0)
}

.contact-fab-options {
  position: absolute;
  bottom: 64px;
  right: 0;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none
}

.contact-fab-casa.is-open .contact-fab-options {
  pointer-events: auto
}

.contact-fab-option {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  opacity: 0;
  transform: translateY(12px) scale(.7);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease)
}

.contact-fab-option svg {
  width: 20px;
  height: 20px
}

.contact-fab-casa.is-open .contact-fab-option {
  opacity: 1;
  transform: none;
  pointer-events: auto
}

.contact-fab-options a:nth-child(1) { transition-delay: .06s }
.contact-fab-options a:nth-child(2) { transition-delay: .12s }
.contact-fab-options a:nth-child(3) { transition-delay: .18s }
.contact-fab-options a:nth-child(4) { transition-delay: .24s }

.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: #e5195f
}

.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-demande .modal-content {
  border-radius: var(--radius)
}

#modal-demande .modal-header {
  border-bottom: 1px solid var(--line)
}

#modal-demande .btn-primary {
  background: var(--rose);
  border-color: var(--rose)
}

.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(3, minmax(0, 1fr));
  gap: 22px
}

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

/* Carte premium "Nos biens à la une" */
.une-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px
}

.une-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease)
}

.une-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg)
}

.une-media {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f1ecee
}

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

.une-card:hover .une-media img {
  transform: scale(1.05)
}

.une-media .badge {
  position: absolute;
  top: 16px;
  left: 16px
}

.une-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.une-type {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--rose)
}

.une-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.3
}

.une-title a {
  color: var(--ink)
}

.une-title a:hover {
  color: var(--rose)
}

.une-place {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--grey)
}

.une-place svg {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--grey-light)
}

.une-price {
  font-size: 23px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  margin-top: 2px
}

.une-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 0;
  margin: 4px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line)
}

.une-specs span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink-2)
}

.une-specs svg {
  width: 16px;
  height: 16px;
  color: var(--rose)
}

.une-cta {
  align-self: flex-start;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px
}

.une-cta svg {
  width: 15px;
  height: 15px
}

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

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

.pcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #ded8da
}

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

.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: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 6px 13px;
  border-radius: 6px
}

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

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

.pcard .badge--ref {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(20, 18, 17, .72);
  color: #fff;
  font-size: 10.5px;
  padding: 5px 11px;
  border-radius: 6px;
  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: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: 7px 15px;
  margin-top: 14px
}

.pspecs span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  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-size: 17px;
  font-weight: 700;
  color: var(--rose);
  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)
}

.pcard-body-meta a {
  color: inherit;
  text-decoration: none
}

.pcard-body-meta a:hover {
  color: var(--rose);
  text-decoration: underline
}

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

.results.is-list .pcard-media {
  aspect-ratio: 16/10;
  height: 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
}

.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 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -.015em
}

.sec-head h2 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: #20242c
}

.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: #d9ccd1
}

.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(229, 25, 95, .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
}

/* Sélecteur avec recherche intégrée (évite de faire défiler de longues listes de localisations) */
[data-searchable-select].ss-enhanced select {
  pointer-events: none
}

.ss-panel {
  position: fixed;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s
}

.ss-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: none
}

.ss-search {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--ink);
  background: transparent
}

.ss-search:focus {
  outline: none
}

.ss-list {
  max-height: 260px;
  overflow-y: auto;
  padding: 6px 0
}

.ss-panel {
  display: flex;
  flex-direction: column
}

.ss-list {
  padding: 4px 0
}

.ss-gov + .ss-gov {
  border-top: 1px solid var(--line)
}

.ss-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  cursor: pointer;
  user-select: none;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 300;
  transition: background .15s var(--ease)
}

.ss-row:hover {
  background: var(--bg-soft)
}

.ss-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none
}

.ss-box {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 1.5px solid #c9c9cf;
  border-radius: 4px;
  background: #fff;
  position: relative;
  transition: background .15s var(--ease), border-color .15s var(--ease)
}

.ss-row.is-selected .ss-box {
  background: var(--rose);
  border-color: var(--rose)
}

.ss-row.is-selected .ss-box::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg)
}

.ss-row input:focus-visible + .ss-box {
  outline: 2px solid var(--rose);
  outline-offset: 2px
}

.ss-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.ss-row.is-selected .ss-name {
  color: var(--rose)
}

/* Gouvernorat : bandeau de section */
.ss-row--gov {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--rose-soft);
  color: var(--rose);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding-top: 10px;
  padding-bottom: 10px
}

.ss-row--gov:hover {
  background: var(--rose-soft)
}

.ss-row--static {
  cursor: default
}

/* Délégation : titre de groupe */
.ss-deleg {
  padding: 2px 0
}

.ss-row--deleg {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding-top: 9px
}

.ss-count {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 500;
  color: var(--grey);
  background: var(--bg-soft);
  border-radius: 100px;
  padding: 1px 8px
}

/* Quartier : sous la délégation, en retrait */
.ss-row--loc {
  padding-left: 40px;
  font-size: 13px
}

.ss-row--loc::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 0;
  bottom: 0;
  border-left: 1px solid var(--line)
}

.ss-empty {
  padding: 14px;
  font-size: 13px;
  color: var(--grey-light);
  text-align: center
}

.ss-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid var(--line)
}

.ss-clear {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: var(--grey);
  text-decoration: underline;
  cursor: pointer
}

.ss-clear:disabled {
  opacity: .4;
  cursor: default
}

.ss-done {
  background: var(--rose);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer
}

.ss-done:hover {
  filter: brightness(.95)
}

/* Champ en mode multi-sélection : le select natif est masqué, on affiche le libellé */
.filters .sel.ss-enhanced select,
.sf.ss-enhanced select {
  position: absolute;
  inset: 0;
  opacity: 0;
  height: 100%
}

.ss-display {
  display: block;
  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;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.sel.is-open .ss-display {
  border-color: var(--rose)
}

.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 {
  flex: 0 0 calc((100% - 66px)/4);
  min-width: 280px;
  scroll-snap-align: start
}

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

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

.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: #dcd7d9;
  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 #e6e3e5;
  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-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 20px
}

.band-value {
  display: flex;
  align-items: flex-start;
  gap: 12px
}

.band-value svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--rose);
  margin-top: 1px
}

.band-value span {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, .85)
}

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

.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: #efe9eb
}

.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 #f4eef0
}

.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, #e5195f 0%, #b8104b 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-list a {
  color: #fff
}

.ctc-list a:hover {
  color: #fff;
  text-decoration: underline
}

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

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

.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(229, 25, 95, .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-radius: var(--radius-lg);
  padding: 22px;
  position: sticky;
  top: 96px
}

.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px
}

.filters-head h2 {
  font-size: 16px;
  font-weight: 600
}

.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 #d7d1d4;
  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: 18px
}

.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 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
}

.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 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: #efe9eb
}

.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-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: #efe9eb
}

.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%, #b8104b 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 {
  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
}

.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: 19px;
  height: 19px;
  color: var(--rose);
  flex-shrink: 0
}

.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)
}

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

.detail-map-casa.leaflet-container svg,
.detail-map-casa .leaflet-pane > svg {
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
}

.map-note-casa {
  margin-top: 10px;
  font-size: 13px;
  color: var(--grey)
}

.map-note-casa strong {
  color: var(--ink)
}

.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-btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 13px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #25D366;
  background: #25D366;
  color: #fff;
  font-size: 14.5px;
  font-weight: 500;
  margin-top: 10px
}

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

.detail-btn-whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  color: #fff;
}

.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: #221d1c
}

.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 {
  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 #f2eef0
}

.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: #efeaec
}

.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: #efeaec
}

.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: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 {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 22px
}

.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: #d9ccd1
}

.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(229, 25, 95, .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: #f2ecee
}

.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: #faf8f9;
  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
}
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
  }

  .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));
    }
}

