:root {
  --blue-900: #0f234f;
  --blue-800: #163b86;
  --blue-700: #2154b3;
  --blue-600: #2f79d8;
  --orange-500: #f97343;
  --orange-600: #ef6833;
  --green-500: #2fc97a;
  --green-100: #e9fbf2;
  --sky-50: #f7fbff;
  --sky-100: #eef5ff;
  --sky-200: #dceafd;
  --sky-300: #c9dcf8;
  --text-main: #102a57;
  --text-soft: #617496;
  --white: #ffffff;
  --line: #dfe9f7;
  --shadow-soft: 0 12px 28px rgba(24, 58, 120, 0.08);
  --shadow-card: 0 20px 44px rgba(24, 58, 120, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--text-main);
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  max-width: 100vw;
  width: 100%;
}

img,
video,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Manrope', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
}

a {
  color: inherit;
}

.text-muted {
  color: var(--text-soft) !important;
}

/* Empêche Bootstrap de décaler la page quand offcanvas/modal s'ouvre */
body.offcanvas-open,
body.modal-open {
  overflow: hidden !important;
  padding-right: 0 !important;
}

.site-header {
  padding-right: 0 !important;
}

.site-header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(201, 220, 248, 0.7) !important;
  box-shadow: 0 2px 20px rgba(16, 42, 87, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1085;
}

.navbar-brand .fw-bold {
  font-size: 1.85rem;
  font-weight: 800 !important;
  line-height: 1;
}

.brand-wordmark-main {
  color: #162a4d;
}

.brand-wordmark-accent {
  color: #2b5bbb;
}

.brand-icon,
.brand-icon-sm {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-700), #1ea0e8);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(33, 84, 179, 0.2);
}

.brand-icon-sm {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.navbar .nav-link {
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.97rem;
  padding: 0.6rem 0.95rem;
  border-radius: 10px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--blue-700);
  background: var(--sky-100);
}

.btn {
  border-radius: 14px;
  font-weight: 700;
}

.btn-pill {
  border-radius: 14px;
  padding: 0.78rem 1.35rem;
}

.btn-primary,
.publish-btn {
  border: 0;
  background: linear-gradient(135deg, #234ea8, #214aa1);
  color: var(--white);
  box-shadow: 0 12px 22px rgba(33, 84, 179, 0.18);
}

.btn-primary:hover,
.publish-btn:hover {
  color: var(--white);
  background: linear-gradient(135deg, #1d428d, #214aa1);
}

.account-btn {
  background: #fff7f2;
  border-color: #f3d9ca;
  color: #14284d;
}

.account-btn:hover {
  background: #fff1e7;
  border-color: #f0cab4;
  color: #14284d;
}

.home-hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
}

.home-hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(27, 63, 141, 0.88) 0%, rgba(37, 90, 187, 0.82) 45%, rgba(47, 121, 216, 0.74) 100%),
    url("../../img/hero.jpg") center center / cover no-repeat;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 3.6rem;
  padding-bottom: 2rem;
}

.home-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
}

.home-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-500);
}

.home-hero__title {
  max-width: 930px;
  margin: 1.35rem auto 1rem;
  color: var(--white);
  font-size: clamp(3rem, 6.1vw, 5.15rem);
  line-height: 1.02;
}

.home-hero__title span {
  display: block;
  color: var(--orange-500);
}

.home-hero__subtitle {
  max-width: 860px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.55;
}

.home-search {
  width: min(100%, 960px);
  padding: 1.25rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 52px rgba(15, 35, 79, 0.22);
}

.home-search__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  gap: 1.1rem;
}

.home-search__field {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  border-radius: 16px;
  background: #f2f5fa;
  border: 1px solid #ebf0f8;
  color: var(--text-soft);
}

.home-search__field i {
  font-size: 1.3rem;
}

.home-search__field select {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
  outline: none;
}

.home-search__button,
.btn-hero-search {
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(249, 115, 67, 0.22);
}

.home-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.home-stat {
  text-align: center;
  color: var(--white);
}

.home-stat strong {
  display: block;
  font-size: clamp(2.5rem, 4vw, 3.3rem);
  line-height: 1;
  font-weight: 800;
}

.home-stat span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.home-section {
  padding: 4.75rem 0;
}

.home-section--featured,
.home-section--resources {
  background: #ffffff;
}

.home-section--steps,
.home-section--security {
  background: linear-gradient(180deg, #f7fbff 0%, #eff5fd 100%);
}

.home-section__intro {
  max-width: 820px;
  margin: 0 auto 2.8rem;
}

.home-section__eyebrow {
  display: inline-block;
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-section__title,
.home-security-title {
  margin: 0.9rem 0 1rem;
  color: #0d2d63;
  font-size: clamp(2.3rem, 4.3vw, 3.6rem);
  line-height: 1.1;
}

.home-security-title span {
  color: var(--blue-700);
}

.home-section__text {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 1.04rem;
  line-height: 1.7;
}

.home-section__text--left {
  margin: 0;
}

.home-property-card {
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #eaf1fb;
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.home-property-card__media {
  position: relative;
  height: 345px;
  background-size: cover;
  background-position: center;
}

.home-property-card__badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.home-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.home-badge--verified {
  background: linear-gradient(135deg, var(--green-500), #26b86d);
  color: var(--white);
}

.home-badge--type {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-main);
}

.home-property-card__price,
.home-property-card__rating {
  position: absolute;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(16, 42, 87, 0.12);
}

.home-property-card__price {
  left: 16px;
  padding: 0.8rem 0.95rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.home-property-card__price span {
  font-weight: 600;
  color: var(--text-soft);
  margin-left: 0.2rem;
}

.home-property-card__rating {
  right: 16px;
  padding: 0.7rem 0.85rem;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-main);
}

.home-property-card__rating i {
  color: #ffbb2a;
  margin-right: 0.35rem;
}

.home-property-card__body {
  padding: 1.45rem;
}

.home-property-card__body h3 {
  margin: 0 0 0.6rem;
  font-size: 1.55rem;
  color: #132c57;
}

.home-property-card__location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.home-property-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-soft);
}

.home-property-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.home-property-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.2rem;
  min-height: 52px;
  border: 1px solid #d7e3f7;
  border-radius: 14px;
  color: #132c57;
  font-weight: 700;
}

.home-primary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border-radius: 14px;
  background: #234ea8;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(33, 84, 179, 0.18);
}

.home-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.7rem;
  position: relative;
}

.home-steps::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50px;
  height: 2px;
  background: #d4e0f4;
  z-index: 0;
}

.home-step-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  padding: 1.55rem;
  border: 1px solid #e8f0fb;
}

.home-step-card__top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.home-step-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: 0 12px 22px rgba(33, 84, 179, 0.18);
}

.home-step-card__number {
  color: #d5dff2;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.home-step-card h3 {
  margin: 0 0 0.85rem;
  color: #102a57;
  font-size: 1.65rem;
}

.home-step-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.home-security-pills {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.home-security-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.home-security-pill--green {
  background: var(--green-100);
  color: #19a25c;
}

.home-security-pill--blue {
  background: #ebf4ff;
  color: var(--blue-700);
}

.home-security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.home-feature-mini {
  background: var(--white);
  border-radius: 20px;
  padding: 1.35rem;
  border: 1px solid #e8f0fb;
  box-shadow: var(--shadow-soft);
}

.home-feature-mini__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5fb;
  color: var(--blue-700);
  margin-bottom: 0.9rem;
}

.home-feature-mini h3 {
  margin: 0 0 0.55rem;
  font-size: 1.45rem;
}

.home-feature-mini p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.home-resource-card {
  background: var(--white);
  border-radius: 22px;
  padding: 1.5rem;
  border: 1px solid #e8f0fb;
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.home-resource-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5fb;
  color: var(--blue-700);
  margin-bottom: 1rem;
}

.home-resource-card__icon--warning {
  background: #fff6dc;
  color: #e2ad00;
}

.home-resource-card__icon--info {
  background: #eaf7ff;
  color: #1a8fe0;
}

.home-resource-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.8rem;
}

.home-resource-card p {
  color: var(--text-soft);
  line-height: 1.7;
}

.home-resource-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--blue-700);
  text-decoration: none;
  font-weight: 700;
}

.home-owner-cta {
  margin-top: 3rem;
  padding: 3.25rem 1rem;
  text-align: center;
  border-radius: 22px;
  background: linear-gradient(90deg, #244ea8 0%, #2592d3 100%);
  color: var(--white);
  box-shadow: var(--shadow-card);
}

.home-owner-cta h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3vw, 2.9rem);
  color: var(--white);
}

.home-owner-cta p {
  max-width: 760px;
  margin: 0 auto 1.6rem;
  font-size: 1.06rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.home-owner-cta__button,
.btn-owner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  border: 0;
  box-shadow: 0 12px 26px rgba(249, 115, 67, 0.24);
}

.site-footer {
  margin-top: 0 !important;
  background: #0f2248;
  color: rgba(255, 255, 255, 0.86);
}

.footer-brand {
  font-size: 1.6rem;
  font-weight: 800;
}

.site-footer .brand-wordmark-main {
  color: #ffffff;
}

.site-footer .brand-wordmark-accent {
  color: var(--orange-500);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.footer-heading,
.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
}

.footer-links li + li {
  margin-top: 0.8rem;
}

.footer-links a,
.footer-bottom-links a,
.site-footer .link-muted {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-links a:hover,
.footer-bottom-links a:hover,
.site-footer .link-muted:hover {
  color: #ffffff;
}

.footer-social {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
}

.footer-contact-list,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-list div,
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  list-style: none;
  color: rgba(255, 255, 255, 0.82);
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-contact-list a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.feature-card,
.property-card,
.step-card,
.crud-card,
.modal-content {
  border-radius: 18px;
}

.property-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e4edf9;
  box-shadow: 0 14px 34px rgba(18, 50, 112, 0.07);
}

.property-card .img {
  height: clamp(300px, 42vw, 460px) !important;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.property-card .carousel,
.property-card .carousel-inner,
.property-card .carousel-item {
  height: 100%;
}

.property-card .carousel-control-prev,
.property-card .carousel-control-next {
  width: 12%;
}

.property-card .badge-chip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.property-card .badge-verified,
.property-card .badge-type {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(15, 35, 79, 0.12);
}

.property-card .badge-verified {
  background: linear-gradient(135deg, #21bf73, #1ca866);
  color: #ffffff;
}

.property-card .badge-type {
  background: rgba(255, 255, 255, 0.96);
  color: #102a57;
}

.property-card .price-badge,
.property-card .rating-badge {
  position: absolute;
  z-index: 2;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.96);
  color: #102a57;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(15, 35, 79, 0.12);
  font-weight: 800;
}

.property-card .price-badge {
  left: 1rem;
  padding: 0.72rem 0.9rem;
  font-size: 1.02rem;
}

.property-card .rating-badge {
  right: 1rem;
  min-width: 54px;
  padding: 0.64rem 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
}

.equipment-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 12px !important;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  color: #173562 !important;
  border-color: #d7e3f5 !important;
  background: #f8fbff !important;
}

.equipment-badge-blue {
  background: #edf5ff !important;
  color: #214c9c !important;
  border-color: #cfe0fb !important;
}

.equipment-badge-green {
  background: #edf9f2 !important;
  color: #1f7a4d !important;
  border-color: #cae9d7 !important;
}

.icon-chip {
  width: 42px;
  height: 42px;
  margin-bottom: 0.8rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #edf5ff;
  color: #2957ae;
  font-size: 1.15rem;
}

.form-control,
.form-select {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid #dce7f7;
  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: #9abcf6;
  box-shadow: 0 0 0 0.2rem rgba(47, 121, 216, 0.12);
}

.alert {
  border: 0;
  border-radius: 14px;
}

.alert-success {
  background: #ecfbf3;
  color: #139a59;
}

.alert-danger {
  background: #fff0eb;
  color: #d1533b;
}

.toast-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.custom-toast {
  min-width: 300px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1.1rem;
  background: #ffffff;
  border-radius: 14px;
  border-left: 4px solid var(--blue-700);
  box-shadow: var(--shadow-card);
}

.custom-toast.error {
  border-left-color: #de5c49;
}

.custom-toast.success {
  border-left-color: #179f5d;
}

.security-hero {
  padding: 4.25rem 0 4.5rem;
  background: linear-gradient(90deg, #2d58a7 0%, #2f84d9 100%);
  color: var(--white);
}

.security-hero__inner {
  min-height: 305px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.security-hero__icon {
  width: 58px;
  height: 58px;
  margin-bottom: 1.45rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.65rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.security-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.35rem, 4vw, 3.35rem);
  color: var(--white);
}

.security-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
}

.security-section {
  padding: 4.75rem 0;
}

.security-section--alerts {
  padding-top: 3.5rem;
}

.security-section__intro,
.security-alerts__header {
  max-width: 760px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.security-section__intro h2,
.security-alerts__header h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 3vw, 2.75rem);
  color: #0d2759;
}

.security-section__intro p,
.security-alerts__header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.security-card {
  padding: 1.35rem 1.35rem 1.2rem;
  border: 1px solid #d6e3f5;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(26, 61, 128, 0.04);
}

.security-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.security-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e7f2ff;
  color: #2b81d9;
  font-size: 1.2rem;
}

.security-card__pill {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #eef3fb;
  color: #315587;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.security-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.45rem;
  color: #0d2759;
}

.security-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.72;
}

.security-alerts {
  max-width: 960px;
}

.security-alerts__header {
  margin-left: 0;
  text-align: left;
}

.security-alerts__header h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.security-alerts__header h2 i {
  color: #f6b300;
  font-size: 1.5rem;
}

.security-alert-list {
  display: grid;
  gap: 0.9rem;
}

.security-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 16px rgba(18, 49, 107, 0.03);
  border-left: 4px solid #d7e4f7;
}

.security-alert--red {
  border-left-color: #ff4c58;
}

.security-alert--yellow {
  border-left-color: #f4b400;
}

.security-alert--slate {
  border-left-color: #69758f;
}

.security-alert__icon {
  flex: 0 0 auto;
  color: #ff4c58;
  font-size: 1rem;
  line-height: 1;
  padding-top: 0.2rem;
}

.security-alert--yellow .security-alert__icon {
  color: #f4b400;
}

.security-alert--slate .security-alert__icon {
  color: #69758f;
}

.security-alert h3 {
  margin: 0 0 0.25rem;
  font-size: 1.08rem;
  color: #0d2759;
}

.security-alert p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.security-report {
  margin: 3rem auto 0;
  max-width: 620px;
  padding: 2.2rem 2rem;
  border-radius: 18px;
  border: 1px solid #a9cff4;
  background: linear-gradient(180deg, #eff8ff 0%, #ecf5ff 100%);
  text-align: center;
  box-shadow: 0 12px 30px rgba(47, 121, 216, 0.07);
}

.security-report__icon {
  margin-bottom: 1rem;
  color: #2f8bda;
  font-size: 2rem;
}

.security-report h3 {
  margin: 0 0 0.85rem;
  font-size: 1.7rem;
  color: #0d2759;
}

.security-report p {
  margin: 0 auto 1.25rem;
  max-width: 520px;
  color: var(--text-soft);
  line-height: 1.75;
}

.security-report__contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  color: #1d467f;
  font-weight: 700;
}

.security-report__contacts span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.help-hero {
  padding: 3.75rem 0 3.1rem;
  background: #eef4fa;
}

.help-hero__inner {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.help-hero__icon {
  width: 62px;
  height: 62px;
  margin-bottom: 1.35rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dbe5f4;
  color: #274ea7;
  font-size: 1.8rem;
}

.help-hero h1,
.help-section__intro h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: #0d2759;
}

.help-hero p,
.help-section__intro p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.help-quicklinks {
  padding: 2rem 0 1.8rem;
}

.help-quicklinks__grid {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.help-quicklink {
  min-height: 92px;
  padding: 1rem 0.9rem;
  border: 1px solid #d5e2f5;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
  text-align: center;
  color: #0d2759;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(22, 55, 116, 0.03);
}

.help-quicklink i {
  font-size: 1.3rem;
  color: #254ea8;
}

.help-section {
  padding: 3.3rem 0 4.5rem;
}

.help-section--contact {
  padding-top: 2.7rem;
}

.help-section__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.help-faq-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.45rem;
}

.help-faq-card {
  padding: 1.15rem 1.15rem 1.05rem;
  border: 1px solid #d5e2f5;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 24px rgba(18, 50, 112, 0.04);
}

.help-faq-card__title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.95rem;
  color: #0d2759;
  font-size: 1.45rem;
  font-weight: 800;
}

.help-faq-card__title i {
  color: #274ea7;
  font-size: 1.1rem;
}

.help-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid #dbe4f3;
  border-radius: 0;
  background: transparent;
}

.help-accordion .accordion-button {
  padding: 1rem 0;
  background: transparent;
  color: #102a57;
  font-weight: 700;
  box-shadow: none;
}

.help-accordion .accordion-button:not(.collapsed) {
  background: transparent;
  color: #102a57;
}

.help-accordion .accordion-button::after {
  width: 1rem;
  height: 1rem;
  background-size: 1rem;
}

.help-accordion .accordion-body {
  padding: 0 0 1rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.help-contact-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.45rem;
}

.help-contact-form-card,
.help-contact-info__card {
  border: 1px solid #d5e2f5;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 24px rgba(18, 50, 112, 0.04);
}

.help-contact-form-card {
  padding: 1.2rem;
}

.legal-hero {
  padding: 3.75rem 0 3.1rem;
  background: linear-gradient(90deg, #eef5ff 0%, #f7fbff 100%);
}

.legal-hero__inner {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.legal-hero__icon {
  width: 62px;
  height: 62px;
  margin-bottom: 1.35rem;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dceafd;
  color: #244ea8;
  font-size: 1.8rem;
}

.legal-hero h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  color: #0d2759;
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.legal-section {
  padding: 4rem 0 4.8rem;
}

.legal-layout {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) 1fr;
  gap: 1.5rem;
  align-items: start;
}

.legal-summary {
  position: sticky;
  top: 110px;
  padding: 1.25rem;
  border: 1px solid #d5e2f5;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 24px rgba(18, 50, 112, 0.04);
}

.legal-summary__label {
  margin-bottom: 0.35rem;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-summary strong {
  display: block;
  color: #0d2759;
  font-size: 1.15rem;
}

.legal-summary p {
  margin: 0.85rem 0 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.legal-content {
  display: grid;
  gap: 1rem;
}

.legal-block {
  padding: 1.4rem;
  border: 1px solid #d5e2f5;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 24px rgba(18, 50, 112, 0.04);
}

.legal-block--notice {
  border-color: #f5d1bd;
  background: #fff8f3;
}

.legal-block h2 {
  margin: 0 0 0.75rem;
  color: #0d2759;
  font-size: 1.45rem;
}

.legal-block p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
}

.legal-block p + p {
  margin-top: 0.75rem;
}

.legal-block ul {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  color: var(--text-soft);
  line-height: 1.75;
}

.help-contact-form-card__title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: #0d2759;
  font-size: 1.8rem;
  font-weight: 800;
}

.help-contact-form-card__title i {
  color: #274ea7;
  font-size: 1.2rem;
}

.help-contact-form .form-label {
  color: #0d2759;
  font-weight: 700;
}

.help-contact-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.help-contact-form__submit {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 12px;
}

.help-contact-info {
  display: grid;
  gap: 1.2rem;
}

.help-contact-info__card {
  min-height: 98px;
  padding: 1.2rem 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.help-contact-info__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #edf2fc;
  color: #274ea7;
}

.help-contact-info__card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  color: #0d2759;
}

.help-contact-info__card p,
.help-contact-info__card small {
  display: block;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.service-unavailable {
  padding: 4.5rem 0 3rem;
}

.service-unavailable__panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border: 1px solid #dce6f7;
  border-radius: 24px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 24px 60px rgba(16, 39, 87, 0.1);
}

.service-unavailable__icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef5ff;
  color: #1e63d6;
  font-size: 2rem;
}

.service-unavailable h1 {
  margin-bottom: 0.8rem;
  color: #102a57;
  font-weight: 900;
}

.service-unavailable p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-soft);
  line-height: 1.65;
}

.service-unavailable__actions {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.account-messages {
  background: #ffffff;
  border-color: #d9e2ee !important;
  box-shadow: 0 18px 45px rgba(16, 39, 87, 0.08);
}

.account-messages__layout {
  display: grid;
  grid-template-columns: 315px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  border: 1px solid #dde6f2;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
}

.account-messages__sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background: #ffffff;
  border-right: 1px solid #dde6f2;
  min-height: 680px;
}

.account-messages__conversation {
  position: relative;
  padding: 0.9rem 1rem 0.9rem 4.25rem;
  border: 0;
  border-bottom: 1px solid #edf1f6;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  color: var(--text-main);
  min-height: 86px;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.account-messages__conversation:hover {
  background: #f5f8fc;
}

.account-messages__conversation.is-active {
  background: #eef5ff;
  box-shadow: inset 4px 0 0 #2f6ed8;
}

.account-messages__conversation-avatar,
.account-messages__thread-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e63d6, #21a67a);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: none;
}

.account-messages__conversation-avatar {
  position: absolute;
  top: 0.95rem;
  left: 1rem;
}

.account-messages__conversation-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.18rem;
}

.account-messages__conversation-top strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #172033;
  line-height: 1.25;
}

.account-messages__conversation-top span,
.account-messages__conversation-meta,
.account-messages__conversation-preview {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.account-messages__conversation-preview {
  margin-top: 0.32rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.account-messages__thread {
  border: 0;
  border-radius: 0;
  background: #f0f4f8;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 680px;
}

.account-messages__thread-header {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid #dde6f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #ffffff;
}

.account-messages__thread-person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.account-messages__thread-body {
  flex: 1 1 auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background:
    linear-gradient(45deg, rgba(30, 99, 214, 0.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(33, 166, 122, 0.04) 25%, transparent 25%),
    #eef3f7;
  background-size: 24px 24px;
  overflow-y: auto;
}

.account-message {
  max-width: min(74%, 560px);
  padding: 0.55rem 0.75rem 0.5rem;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(16, 39, 87, 0.08);
  word-break: break-word;
}

.account-message--self {
  margin-left: auto;
  background: #d9fdd3;
  color: #172033;
  border-bottom-right-radius: 4px;
}

.account-message--other {
  background: #ffffff;
  border-bottom-left-radius: 4px;
}

.account-message__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #5f6f85;
}

.account-message__body {
  line-height: 1.45;
  font-size: 0.95rem;
}

.account-messages__empty {
  align-self: center;
  margin: auto 0;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #64748b;
  font-size: 0.86rem;
}

.account-messages__composer {
  padding: 0.75rem 0.85rem;
  border-top: 1px solid #dde6f2;
  background: #f6f8fb;
}

.account-messages__composer-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.account-messages__composer .form-control {
  min-height: 46px;
  max-height: 130px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border-color: #d9e2ee;
  background: #ffffff;
  resize: none;
}

.account-messages__send {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(30, 99, 214, 0.22);
}

.account-messages__composer-actions {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.listing-card {
  display: block;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e4edf9;
  box-shadow: 0 14px 34px rgba(18, 50, 112, 0.07);
}

.listing-hero {
  padding: 2.4rem 0 1.1rem;
}

.searchbar {
  min-height: 56px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #d7e3f5;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(18, 50, 112, 0.05);
}

.searchbar input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #102a57;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: none;
}

.searchbar input::placeholder {
  color: #7a8cab;
  font-weight: 500;
}

.filter-panel {
  padding: 1.2rem;
  border: 1px solid #dbe5f6;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(18, 50, 112, 0.05);
}

.listing-card__media {
  position: relative;
  height: 278px;
  overflow: hidden;
}

.listing-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.listing-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(235, 241, 250, 0.12) 48%, rgba(201, 212, 230, 0.66) 100%);
}

.listing-card__badges,
.listing-card__price,
.listing-card__rating {
  position: absolute;
  z-index: 1;
}

.listing-card__badges {
  top: 12px;
  left: 12px;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.listing-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 12px rgba(15, 35, 79, 0.08);
}

.listing-card__badge--verified {
  background: linear-gradient(135deg, #21bf73, #1ca866);
  color: #ffffff;
}

.listing-card__badge--type {
  background: #eff3fa;
  color: #415a85;
}

.listing-card__price,
.listing-card__rating {
  bottom: 12px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 13px;
  box-shadow: 0 10px 18px rgba(15, 35, 79, 0.1);
  color: #102a57;
}

.listing-card__price {
  left: 12px;
  padding: 0.58rem 0.82rem;
  font-size: 0.98rem;
  font-weight: 800;
}

.listing-card__price span {
  margin-left: 0.15rem;
  color: var(--text-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.listing-card__rating {
  right: 12px;
  min-width: 50px;
  padding: 0.48rem 0.72rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  font-size: 0.92rem;
  font-weight: 800;
}

.listing-card__rating i {
  color: #ffbe2e;
}

.listing-card__body {
  padding: 1rem 1rem 0.9rem;
}

.listing-card__body h3 {
  margin: 0 0 0.45rem;
  color: #102a57;
  font-size: 1.52rem;
  line-height: 1.28;
}

.listing-card__location {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  margin-bottom: 0.8rem;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.listing-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.listing-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.listing-card__cta {
  margin-top: 0.95rem;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e4f5;
  border-radius: 12px;
  color: #12356c;
  font-weight: 800;
  background: #fbfdff;
}

@media (max-width: 1199.98px) {
  .home-search__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-steps::before {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .site-header .offcanvas {
    width: min(86vw, 360px);
    height: 100dvh;
    background: #ffffff;
    color: var(--text-main);
    z-index: 1090;
  }

  .site-header .offcanvas-header {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
  }

  .site-header .offcanvas-body {
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    gap: 1.2rem;
    padding: 1rem 1.15rem 1.25rem;
    background: #ffffff;
  }

  .site-header .navbar-nav {
    width: 100%;
    margin: 0 !important;
    gap: 0.35rem;
  }

  .site-header .navbar .nav-link {
    display: block;
    width: 100%;
    padding: 0.85rem 0.95rem;
    color: var(--text-main);
    background: #ffffff;
  }

  .site-header .navbar .nav-link:hover,
  .site-header .navbar .nav-link.active {
    color: var(--blue-700);
    background: var(--sky-100);
  }

  .site-header .offcanvas-body > .d-flex {
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
  }

  .site-header .offcanvas-body .btn {
    width: 100%;
    justify-content: center;
  }

  .home-hero {
    min-height: 620px;
  }

  .home-security-grid {
    grid-template-columns: 1fr;
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .help-quicklinks__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .help-faq-grid,
  .help-contact-grid {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-summary {
    position: static;
  }

  .account-messages__layout {
    grid-template-columns: 1fr;
  }

  .account-messages__sidebar {
    border-right: 0;
    border-bottom: 1px solid #dde6f2;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .home-hero__content {
    padding-top: 2.5rem;
  }

  .home-hero__title {
    font-size: clamp(2.45rem, 11vw, 3.6rem);
  }

  .home-search__grid {
    grid-template-columns: 1fr;
  }

  .home-stats {
    gap: 1.5rem;
  }

  .home-steps {
    grid-template-columns: 1fr;
  }

  .home-property-card__media {
    height: 280px;
  }

  .security-hero {
    padding: 3.5rem 0 3.75rem;
  }

  .security-alerts__header {
    text-align: center;
    margin-left: auto;
  }

  .security-alerts__header h2 {
    justify-content: center;
  }

  .security-report {
    padding: 1.8rem 1.25rem;
  }

  .help-hero {
    padding: 3rem 0 2.6rem;
  }

  .help-quicklinks__grid {
    grid-template-columns: 1fr;
  }

  .help-faq-card__title,
  .help-contact-form-card__title {
    font-size: 1.35rem;
  }

  .account-message {
    max-width: 86%;
  }

  .account-messages__composer-actions,
  .account-messages__thread-header,
  .account-messages__conversation-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .account-messages__sidebar,
  .account-messages__thread {
    min-height: auto;
  }

  .account-messages__send {
    width: 46px;
  }

  .listing-card__body h3 {
    font-size: 1.2rem;
  }

  .property-card .img {
    height: 280px !important;
  }

  .property-card .badge-chip {
    left: 0.75rem;
    right: 0.75rem;
    top: 0.75rem;
  }

  .property-card .price-badge,
  .property-card .rating-badge {
    bottom: 0.75rem;
  }

  .property-card .price-badge {
    left: 0.75rem;
    font-size: 0.94rem;
  }

  .property-card .rating-badge {
    right: 0.75rem;
  }
}

/* ─── Très petits écrans : < 576px ──────────────────────────────────────── */
@media (max-width: 575.98px) {

  /* Header / navbar */
  .site-header .offcanvas {
    width: 100vw !important;
  }

  .navbar-brand .fw-bold {
    font-size: 1.45rem;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  /* Hero section */
  .home-hero {
    min-height: 0;
  }

  .home-hero__content {
    padding-top: 2.2rem;
    padding-bottom: 2rem;
  }

  .home-hero__pill {
    font-size: 0.78rem;
    padding: 0.55rem 1rem;
  }

  .home-hero__title {
    font-size: clamp(2rem, 9.5vw, 2.5rem);
    margin: 1rem auto 0.85rem;
  }

  .home-hero__subtitle {
    font-size: 0.94rem;
    margin-bottom: 1.4rem;
  }

  /* Search box */
  .home-search {
    padding: 1rem;
    border-radius: 18px;
  }

  /* Stats */
  .home-stats {
    gap: 1.8rem;
    margin-top: 1.8rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .home-stat strong {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  /* Sections */
  .home-section {
    padding: 3rem 0;
  }

  .home-section__title,
  .home-security-title {
    font-size: clamp(1.8rem, 7.5vw, 2.4rem);
  }

  /* CTA */
  .home-owner-cta {
    padding: 2.2rem 1rem;
    border-radius: 18px;
    margin-top: 2rem;
  }

  .home-owner-cta h2 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  /* Property card image */
  .home-property-card__media {
    height: 220px;
  }

  /* Step cards */
  .home-step-card {
    padding: 1.1rem;
  }

  .home-step-card h3 {
    font-size: 1.3rem;
  }

  /* Security page hero */
  .security-hero {
    padding: 2.5rem 0 2.8rem;
  }

  /* Logements page */
  .listing-hero {
    padding: 1.8rem 0 0.8rem;
  }

  .listing-card__media {
    height: 220px;
  }

  .listing-card__body h3 {
    font-size: 1.15rem;
  }

  /* Aide page */
  .help-hero {
    padding: 2.2rem 0 2rem;
  }

  /* Logement detail card */
  .property-card .img {
    height: 220px !important;
  }

  /* Buttons full-width on very small */
  .home-owner-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Feature mini grids */
  .home-security-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  /* Footer */
  .footer-bottom {
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

/* ─── Très petits écrans : < 400px ──────────────────────────────────────── */
@media (max-width: 399.98px) {
  .home-hero__title {
    font-size: clamp(1.75rem, 8.5vw, 2rem);
  }

  .home-stats {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .home-section__title,
  .home-security-title {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }
}
