/* ==========================================================
   PAGE BIEN - KAZAMOI
   ========================================================== */

.kz-property-page{
  background:#FFFFFF;
}

/* ==========================================================
   HERO
   ========================================================== */

.kz-property-hero{
  padding:32px 0 24px;
}

.kz-property-hero__grid{
  display:grid;
  grid-template-columns:minmax(0, 1.3fr) minmax(320px, 420px);
  gap:32px;
  align-items:start;
}

.kz-property-hero__breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:14px;
  font-size:14px;
  color:#6E6E6E;
}

.kz-property-hero__breadcrumbs a{
  color:#6E6E6E;
  text-decoration:none;
}

.kz-property-hero__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
  padding:8px 14px;
  border-radius:999px;
  background:#F3F8F7;
  color:#1E3D36;
  font-size:13px;
  font-weight:700;
}

.kz-property-hero__title{
  margin:0 0 10px;
  font-size:44px;
  font-weight:800;
  line-height:1.08;
  letter-spacing:-0.02em;
  color:#1F1F1F;
}

.kz-property-hero__meta{
  margin:0 0 12px;
  font-size:16px;
  font-weight:500;
  color:#5E5E5E;
}

.kz-property-hero__price{
  margin:0 0 12px;
  font-size:40px;
  font-weight:800;
  line-height:1.08;
  color:#1F1F1F;
}

.kz-property-hero__infos{
  font-size:16px;
  line-height:1.6;
  color:#5F5F5F;
}

.kz-property-hero__aside{
  padding:24px;
  border:1px solid #E7EFED;
  border-radius:20px;
  background:#F8FBFA;
}

.kz-property-hero__aside-title{
  margin:0 0 10px;
  font-size:24px;
  font-weight:800;
  line-height:1.2;
  color:#1F1F1F;
}

.kz-property-hero__aside-text{
  margin:0 0 18px;
  font-size:16px;
  line-height:1.6;
  color:#5E5E5E;
}

.kz-property-hero__aside-actions{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.kz-property-hero__cta,
.kz-property-apply__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:54px;
  padding:0 24px;
  border:none;
  border-radius:14px;
  background:#3EA49D;
  color:#FFFFFF;
  text-decoration:none;
  font-size:16px;
  font-weight:700;
  box-shadow:0 10px 22px rgba(62,164,157,.18);
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.kz-property-hero__cta:hover,
.kz-property-apply__cta:hover{
  background:#35938d;
  transform:translateY(-1px);
  box-shadow:0 14px 24px rgba(62,164,157,.22);
}

.kz-property-hero__help,
.kz-property-apply__secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 22px;
  border:1px solid #DCE8E5;
  border-radius:14px;
  background:#FFFFFF;
  color:#1E3D36;
  text-decoration:none;
  font-size:15px;
  font-weight:700;
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
}

.kz-property-hero__help:hover,
.kz-property-apply__secondary:hover{
  background:#F7FAF9;
  border-color:#C8DAD5;
  transform:translateY(-1px);
}

/* Aside visible au scroll sur desktop */
@media (min-width: 1181px){
  .kz-property-hero__aside{
    position:sticky;
    top:110px;
  }
}

/* ==========================================================
   GALERIE
   ========================================================== */

.kz-property-gallery{
  padding:0 0 56px;
}

.kz-property-gallery__grid{
  display:grid;
  grid-template-columns:minmax(0, 1.6fr) minmax(260px, .8fr);
  gap:20px;
}

.kz-property-gallery__main{
  border-radius:22px;
  overflow:hidden;
  background:#F5F7F6;
}

.kz-property-gallery__main-image{
  width:100%;
  aspect-ratio:16 / 10;
  max-height:680px;
  object-fit:cover;
  display:block;
}

.kz-property-gallery__thumbs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.kz-property-gallery__thumb{
  border-radius:14px;
  overflow:hidden;
  background:#F5F7F6;
}

.kz-property-gallery__thumb img{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  display:block;
}

/* ==========================================================
   BLOCS GÉNÉRAUX
   ========================================================== */

.kz-property-preview,
.kz-property-summary,
.kz-property-eligibility,
.kz-property-apply,
.kz-property-similar{
  padding:0 0 56px;
}

.kz-property-section-head{
  max-width:760px;
  margin:0 0 24px;
}

.kz-property-section-title{
  margin:0 0 10px;
  font-size:36px;
  font-weight:800;
  line-height:1.12;
  color:#1F1F1F;
}

.kz-property-section-subtitle{
  margin:0;
  font-size:17px;
  line-height:1.6;
  color:#5E5E5E;
}

/* ==========================================================
   PRÉVISITE
   ========================================================== */

.kz-property-preview__note{
  margin:0 0 20px;
  padding:14px 16px;
  border-radius:14px;
  background:#F3F8F7;
  color:#1E3D36;
  font-size:15px;
  font-weight:600;
}

.kz-property-preview__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.kz-property-media-card{
  padding:24px;
  border:1px solid #E7EFED;
  border-radius:20px;
  background:#F8FBFA;
  min-height:100%;
}

.kz-property-media-card__title{
  margin:0 0 10px;
  font-size:22px;
  font-weight:800;
  color:#1F1F1F;
}

.kz-property-media-card__text{
  margin:0 0 18px;
  font-size:16px;
  line-height:1.65;
  color:#5E5E5E;
}

.kz-property-media-card__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 22px;
  border-radius:14px;
  background:#3EA49D;
  color:#FFFFFF;
  text-decoration:none;
  font-size:15px;
  font-weight:700;
  box-shadow:0 10px 22px rgba(62,164,157,.18);
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.kz-property-media-card__link:hover{
  background:#35938d;
  transform:translateY(-1px);
  box-shadow:0 14px 24px rgba(62,164,157,.22);
}

.kz-property-media-card__empty{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:180px;
  padding:24px;
  text-align:center;
  color:#5E5E5E;
  font-size:15px;
  line-height:1.6;
}

.kz-property-media-card__empty--compact{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:140px;
  padding:24px;
  border:1px dashed #D8E5E2;
  border-radius:16px;
  background:#FFFFFF;
  text-align:center;
  font-size:15px;
  line-height:1.6;
  color:#5E5E5E;
}

/* ==========================================================
   FICHE SYNTHÈSE
   ========================================================== */

.kz-property-summary__grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.kz-property-summary__item{
  padding:18px;
  border:1px solid #E7EFED;
  border-radius:16px;
  background:#FFFFFF;
}

.kz-property-summary__label{
  margin-bottom:8px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.02em;
  text-transform:uppercase;
  color:#6E6E6E;
}

.kz-property-summary__value{
  font-size:20px;
  font-weight:700;
  line-height:1.35;
  color:#1F1F1F;
}

.kz-property-summary__description{
  margin-top:24px;
  font-size:16px;
  line-height:1.8;
  color:#4F4F4F;
}

/* ==========================================================
   ÉLIGIBILITÉ
   ========================================================== */

.kz-property-eligibility__box{
  padding:24px;
  border:1px solid #E7EFED;
  border-radius:20px;
  background:#F8FBFA;
}

.kz-property-eligibility__list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:14px;
}

.kz-property-eligibility__item{
  font-size:16px;
  line-height:1.65;
  color:#1F1F1F;
}

.kz-property-eligibility__item-label{
  font-weight:700;
}

.kz-property-eligibility__empty{
  margin:0;
  font-size:16px;
  line-height:1.65;
  color:#5E5E5E;
}

/* ==========================================================
   CTA BAS DE PAGE
   ========================================================== */

.kz-property-apply__box{
  padding:28px;
  border:1px solid #E7EFED;
  border-radius:20px;
  background:#FFFFFF;
  box-shadow:0 10px 24px rgba(19,37,35,.05);
}

.kz-property-apply__actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:18px;
}

/* ==========================================================
   BIENS SIMILAIRES
   ========================================================== */

.kz-property-similar__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(320px, 420px));
  gap:24px;
  align-items:start;
  justify-content:start;
}

.kz-property-card{
  width:100%;
  max-width:420px;
  border:1px solid #E7EFED;
  border-radius:22px;
  overflow:hidden;
  background:#FFFFFF;
  box-shadow:0 12px 26px rgba(19,37,35,.05);
}

.kz-property-card__media{
  position:relative;
  display:block;
  aspect-ratio:4 / 3;
  background:#F5F7F6;
}

.kz-property-card__image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.kz-property-card__badge{
  position:absolute;
  top:14px;
  left:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  font-size:13px;
  font-weight:700;
  color:#1E3D36;
}

.kz-property-card__content{
  padding:20px;
}

.kz-property-card__meta{
  margin-bottom:8px;
  font-size:15px;
  font-weight:500;
  color:#5E5E5E;
}

.kz-property-card__price{
  margin-bottom:10px;
  font-size:28px;
  font-weight:800;
  line-height:1.1;
  color:#1F1F1F;
}

.kz-property-card__infos{
  margin-bottom:18px;
  font-size:15px;
  line-height:1.55;
  color:#5F5F5F;
}

.kz-property-card__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:46px;
  border:1px solid #DCE8E5;
  border-radius:12px;
  background:#F3F8F7;
  color:#1E3D36;
  text-decoration:none;
  font-size:15px;
  font-weight:700;
}

/* ==========================================================
   TABLETTE
   ========================================================== */

@media (max-width: 1180px){
  .kz-property-hero__grid,
  .kz-property-gallery__grid,
  .kz-property-preview__grid{
    grid-template-columns:1fr;
  }

  .kz-property-similar__grid{
    grid-template-columns:repeat(auto-fit, minmax(280px, 420px));
    justify-content:start;
  }
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767px){
  .kz-property-hero{
    padding:24px 0 18px;
  }

  .kz-property-hero__title{
    font-size:32px;
    line-height:1.12;
  }

  .kz-property-hero__price{
    font-size:30px;
  }

  .kz-property-hero__meta,
  .kz-property-hero__infos,
  .kz-property-hero__aside-text{
    font-size:15px;
  }

  .kz-property-gallery,
  .kz-property-preview,
  .kz-property-summary,
  .kz-property-eligibility,
  .kz-property-apply,
  .kz-property-similar{
    padding-bottom:40px;
  }

  .kz-property-gallery__thumbs{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .kz-property-section-title{
    font-size:28px;
  }

  .kz-property-section-subtitle{
    font-size:16px;
  }

  .kz-property-summary__grid{
    grid-template-columns:1fr;
  }

  .kz-property-hero__grid,
  .kz-property-preview__grid{
    grid-template-columns:1fr;
  }

  .kz-property-hero__aside{
    position:static;
  }

  .kz-property-media-card{
    padding:20px;
  }

  .kz-property-media-card__link,
  .kz-property-hero__cta,
  .kz-property-hero__help,
  .kz-property-apply__cta,
  .kz-property-apply__secondary{
    width:100%;
  }

  .kz-property-media-card__empty--compact{
    min-height:120px;
  }

  .kz-property-apply__actions{
    flex-direction:column;
  }

  .kz-property-similar__grid{
    grid-template-columns:1fr;
    gap:18px;
    justify-content:stretch;
  }

  .kz-property-card{
    max-width:none;
  }
}
/* ==========================================================
   PRÉVISITE RENFORCÉE — VIDÉO / 360 / CONFIRMATION
   ========================================================== */

.kz-property-previsit-status{
  margin:0 0 20px;
  padding:16px 18px;
  border-radius:16px;
  border:1px solid #DCE8E5;
  background:#FFFFFF;
}

.kz-property-previsit-status strong{
  display:block;
  margin-bottom:6px;
  font-size:16px;
  font-weight:900;
  color:#1E3D36;
}

.kz-property-previsit-status p{
  margin:0;
  font-size:15px;
  line-height:1.6;
  color:#4F4F4F;
}

.kz-property-previsit-status--ok{
  background:#F3F8F7;
  border-color:#CFE3DF;
}

.kz-property-previsit-status--warning{
  background:#FFF8E8;
  border-color:#F2DA9B;
}

.kz-property-media-card__embed{
  position:relative;
  width:100%;
  margin:0 0 16px;
  border-radius:16px;
  overflow:hidden;
  background:#EAF2F0;
  aspect-ratio:16 / 9;
}

.kz-property-media-card__embed iframe,
.kz-property-media-card__embed object,
.kz-property-media-card__embed embed,
.kz-property-media-card__embed video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

.kz-property-media-card__embed--tour{
  aspect-ratio:16 / 10;
}

@media (max-width: 767px){
  .kz-property-previsit-status{
    padding:14px 15px;
  }
}


/* ==========================================================
   INFORMATIONS RÉGLEMENTAIRES ANNONCE
   ========================================================== */

.kz-property-regulatory{
  padding:34px 0;
  background:#FFFFFF;
}

.kz-property-regulatory__box{
  padding:26px;
  border-radius:22px;
  border:1px solid #E2ECE9;
  background:#F8FBFA;
}

.kz-property-regulatory__grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}

.kz-property-regulatory__item{
  padding:14px 16px;
  border-radius:16px;
  background:#FFFFFF;
  border:1px solid #E5EFEC;
}

.kz-property-regulatory__label{
  margin-bottom:4px;
  font-size:13px;
  font-weight:800;
  color:#3C6A4F;
  text-transform:uppercase;
  letter-spacing:.02em;
}

.kz-property-regulatory__value{
  color:#1E3D36;
  font-weight:700;
  line-height:1.45;
}

.kz-property-regulatory__empty{
  margin:12px 0 0;
  color:#5D6B66;
  line-height:1.6;
}

.kz-property-regulatory__admin-warning{
  margin-top:18px;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid #E7C46C;
  background:#FFF7E0;
  color:#694800;
  line-height:1.5;
}

@media (max-width: 767px){
  .kz-property-regulatory__box{
    padding:20px;
  }

  .kz-property-regulatory__grid{
    grid-template-columns:1fr;
  }
}
