* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}
.apimo_container {
  width: 1000px;
  margin: 0 auto;
  margin-bottom: 100px;
}
.apimo_property_gallery {
  margin-top: 48px;
  display: grid;
  gap: 16px;
  position: relative;
}
.apimo_property_gallery a {
  display: none;
  border-radius: 15px;
  overflow: hidden;
}
.apimo_property_gallery a:first-child,
.apimo_property_gallery a:nth-child(2),
.apimo_property_gallery a:nth-child(3) {
  display: block;
}
.apimo_property_gallery a:first-child {
  grid-row: 1 / 3;
}
.apimo_property_gallery a:first-child img {
  width: 602px;
  height: 440px;
}
.apimo_property_gallery a:nth-child(2) {
  grid-row: 1;
}
.apimo_property_gallery a:nth-child(2) img,
.apimo_property_gallery a:nth-child(3) img {
  width: 382px;
  height: 212px;
}
.apimo_view_all_images {
  display: block !important;
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 16px;
  border: none;
  font-size: 14px;
  background-color: #fff;
  color: #101113;
  cursor: pointer;
  border-radius: 8px;
  font-weight: bold;
}
.apimo_view_all_images img {
  vertical-align: text-top;
  width: 20px;
  margin-right: 8px;
}
.apimo_section_compagne {
  margin-top: 48px;
}
.apimo_info_compagne {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.apimo_location_info {
  display: inline-flex;
  align-items: center;
  column-gap: 12px;
  margin: 16px 0 24px;
  color: #6b6c74;
}
.apimo_color {
  font-size: 14px;
  font-weight: 500;
  background-color: #f5f5f5;
  padding: 4px 12px;
}
p {
  margin-bottom: 0 !important;
}
.apimo_title,
.apimo_price {
  font-size: 21px;
  font-weight: bold;
}
.apimo_title {
  color: #101113;
}
.apimo_price {
  color: #eb6753;
}
.apimo_compagne_describe {
  font-size: 14px;
  line-height: 22px;
}
.apimo_list_image {
  display: flex;
  align-items: center;
  column-gap: 32px;
  margin: 24px 0 0;
}
.apimo_list_item {
  display: flex;
  align-items: center;
  column-gap: 8px;
  list-style: none;
  color: #2a2a2e;
  font-size: 14px;
  font-weight: 500;
}
.apimo_line {
  width: 100%;
  height: 1px;
  background-color: #dedee0;
  margin: 48px 0;
}
.apimo_title_h2 {
  font-size: 19px;
  color: #101113;
  margin-bottom: 24px;
}
.apimo_property_list {
  column-count: 2;
}
.apimo_property_list:nth-child(2) .apimo_property_title {
  max-width: 140px;
}
.apimo_property {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.apimo_property_title {
  color: #909097;
  font-weight: normal;
}
.apimo_property_value {
  color: #101113;
  font-weight: 500;
  margin-right: 25px;
}
.apimo_more {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  column-gap: 8px;
  font-size: 14px;
  margin-top: 10px;
  cursor: pointer;
}
.apimo_vector {
  width: 13px;
}
.apimo_iframe {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 24px;
}
.apimo_performance_images {
  margin-left: 0;
  column-count: 2;
  column-gap: 48px;
}
.apimo_performance-paragraph {
  color: #6b6c74;
  font-size: 14px;
  line-height: 20px;
}
.apimo_image {
  margin-top: 12px;
  width: 250px;
}
.apimo_list_video {
  display: flex;
  gap: 24px;
}
.apimo_video {
  border-radius: 15px;
  width: 560px;
  height: 330px;
}

.apimo_list_download {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 0 20px !important;
}
.apimo_item_download {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(235, 103, 83, 0.05);
  padding: 17px 15px;
  border-radius: 15px;
  cursor: pointer;
  width: 490px;
  flex: 1 360px;
}
.apimo_download {
  display: flex;
  align-items: center;
  column-gap: 8px;
}
.apimo_info_download p:nth-child(1) {
  color: #101113;
  font-size: 13px;
  font-weight: 500;
  line-height: 10px;
}
.apimo_info_download p:nth-child(2) {
  color: #6b6c74;
  font-size: 12px;
}
.apimo_info_download {
  margin-top: 10px;
}
.apimo_image_download {
  width: 35px;
}

.apimo_list_prestations {
  column-count: 3;
  margin: 24px 0 0 !important;
}
.apimo_item_prestations {
  margin-bottom: 14px;
  color: #2a2a2e;
  font-size: 14px;
  font-weight: normal;
}
.apimo_item_prestations::before {
  content: "\2713";
  margin-right: 10px;
  font-size: 19px;
  color: #11d45f;
}
.apimo_section_immobilier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(235, 103, 83, 0.05);
  border-radius: 15px;
  padding: 35px 40px;
  margin-top: 48px;
}
.apimo_immobilier {
  display: flex;
  align-items: center;
}
.apimo_user_image {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
}
.apimo_info_immobilier {
  margin-left: 24px;
}
.apimo_info_immobilier p:nth-child(1) {
  font-size: 15px;
  font-weight: bold;
  line-height: 21px;
}
.apimo_info_immobilier p:nth-child(2) {
  color: #6b6c74;
  font-size: 13px;
  font-weight: normal;
}
.apimo_btn {
  /* border: 1px solid #eb6753 !important; */
  font-size: 14px !important;
  font-weight: bold;
  padding: 12px 32px;
  margin-right: 32px;
  border-radius: 8px;
}
/* .apimo_btn:nth-child(1) {
    border-radius: 8px;
    background-color: #ffffff;
    color: #eb6753;
} */
/* .apimo_btn:nth-child(2) {
    background-color: #eb6753;
    color: #ffffff;
} */
.apimo_img {
  width: 19px;
  vertical-align: text-bottom;
  margin-right: 3px;
}

.apimo_btn .apimo_icon {
  margin-right: 7px;
  vertical-align: text-bottom;
}
.apimo_more_element {
  display: none;
}

.apimo_general_information .apimo_property:nth-of-type(n + 3) {
  display: flex;
}

.apimo_regulations .apimo_property:nth-of-type(n + 3) {
  display: flex;
}

.apimo_services .apimo_item_prestations:nth-of-type(n + 3) {
  display: list-item;
}

.apimo_send_email {
  border-radius: 8px !important;
  background-color: #ffffff !important;
}
.call_user {
  color: #ffffff !important;
}

@media screen and (max-width: 1037px) {
  .apimo_container {
    width: 100% !important;
  }
  .apimo_property_gallery {
    grid-template-columns: 1fr;
  }
  .apimo_property_gallery a:first-child {
    grid-row: auto;
  }
  .apimo_property_gallery a:first-child img {
    width: 100%;
    height: 400px;
  }
  .apimo_property_gallery a:nth-child(2) img,
  .apimo_property_gallery a:nth-child(3) img {
    display: none;
  }
  .apimo_view_all_images {
    right: 16px;
    bottom: 30px;
  }
  .apimo_image {
    width: 350px;
  }
  .apimo_video {
    width: 478px;
  }
  .apimo_list_video {
    gap: 7px;
  }
}
@media screen and (max-width: 990px) {
  .apimo_property_gallery a:first-child img,
  .apimo_iframe,
  .apimo_image,
  .apimo_video {
    height: 300px;
  }
  .apimo_list_video {
    flex-wrap: wrap;
  }
  .apimo_video {
    width: 100%;
    height: 350px;
  }
}
@media screen and (max-width: 974px) {
  .apimo_list_download {
    justify-content: center;
  }
}
@media screen and (max-width: 770px) {
  .apimo_item_download {
    flex: 1 280px;
  }
}
@media screen and (max-width: 700px) {
  .apimo_list_image {
    flex-wrap: wrap;
    gap: 17px;
  }
  .apimo_section_immobilier {
    align-items: center;
    justify-content: center;
    gap: 24px 0;
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 550px) {
  .apimo_property_list,
  .apimo_property_list {
    column-count: 1;
  }
  .apimo_list_prestations {
    column-count: 2;
  }
}
@media screen and (max-width: 405px) {
  .apimo_performance_images {
    column-count: 1;
  }
  .apimo_image {
    width: 100%;
  }
  .apimo_performance_images li:nth-child(2) {
    margin-top: 20px;
  }
  .apimo_item_download {
    padding: 14px;
  }
  .apimo_info_download p:nth-child(2) {
    font-size: 11px;
  }
}
@media screen and (max-width: 473px) {
  .apimo_btn {
    display: block;
    text-align: center;
    margin-bottom: 10px;
    padding: 8px 21px;
  }
  .apimo_video {
    height: 250px;
  }
  .apimo_immobilier {
    flex-direction: column !important;
    gap: 10px 0 !important;
  }

  .apimo_section_immobilier {
    flex-direction: column !important;
  }
  .apimo_btn {
    margin-right: 0 !important;
  }
}

.apimo_btn_click {
  display: flex;
  align-items: center;
}

/* Apimo error message styling */
.apimo_error {
    background-color: #f8d7da; /* light red background */
    color: #721c24; /* dark red text */
    border: 1px solid #f5c6cb; /* red border */
    padding: 12px 20px;
    margin: 10px 0;
    border-radius: 5px; /* rounded corners */
    font-size: 14px;
    line-height: 1.5;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* subtle shadow */
}

.apimo_error br {
    line-height: 1.5; /* spacing between errors */
}

/* -------------------------------------------------
   Harmonisation charte liste -> page annonce
   ------------------------------------------------- */
.single-property {
  --apimo-brand-primary: #b75a48;
  --apimo-brand-primary-hover: #9f4d3d;
  --apimo-brand-title: #2f3137;
  --apimo-brand-text: #4f535c;
  --apimo-brand-muted: #6b6c74;
  --apimo-brand-border: #ececec;
  --apimo-brand-soft: #f3f4f6;
}

.single-property .apimo_container {
  color: var(--apimo-brand-text);
}

.single-property .apimo_section_compagne {
  background: #fff;
  border: 1px solid var(--apimo-brand-border);
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
  margin-top: 30px;
}

.single-property .apimo_title {
  color: var(--apimo-brand-title);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
}

.single-property .apimo_price {
  color: var(--apimo-brand-primary);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.single-property .apimo_location_info {
  color: var(--apimo-brand-muted);
}

.single-property .apimo_color {
  background: var(--apimo-brand-soft);
  border-radius: 999px;
  color: var(--apimo-brand-muted);
}

.single-property .apimo_compagne_describe {
  color: var(--apimo-brand-text);
  line-height: 1.6;
  font-size: 15px;
}

.single-property .apimo_title_h2 {
  color: var(--apimo-brand-title);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
}

.single-property .apimo_list_image {
  gap: 10px;
}

.single-property .apimo_list_item {
  background: var(--apimo-brand-soft);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.single-property .apimo_list_item:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.08);
}

.single-property .apimo_line {
  background-color: var(--apimo-brand-border);
}

.single-property .apimo_property_title {
  color: var(--apimo-brand-muted);
}

.single-property .apimo_property_value {
  color: var(--apimo-brand-title);
  font-weight: 600;
}

.single-property .apimo_property_list {
  column-count: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}

.single-property .apimo_property {
  background: #fff;
  border: 1px solid var(--apimo-brand-border);
  border-radius: 12px;
  padding: 11px 14px;
}

.single-property .apimo_list_item {
  color: var(--apimo-brand-title);
}

.single-property .apimo_iframe {
  border: 1px solid var(--apimo-brand-border);
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.single-property .apimo_btn {
  border-radius: 10px;
  font-weight: 600;
}

.single-property .apimo_submit_button {
  background: var(--apimo-brand-primary);
  border-radius: 10px;
  font-weight: 600;
}

.single-property .apimo_submit_button:hover {
  background: var(--apimo-brand-primary-hover);
}

@media screen and (max-width: 900px) {
  .single-property .apimo_title {
    font-size: 30px;
  }
  .single-property .apimo_price {
    font-size: 32px;
  }
  .single-property .apimo_property_list {
    grid-template-columns: 1fr;
  }
}

.single-property .apimo_section_immobilier {
  background: linear-gradient(135deg, rgba(183, 90, 72, 0.14), rgba(183, 90, 72, 0.06));
  border: 1px solid rgba(183, 90, 72, 0.26);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(183, 90, 72, 0.16);
}

.single-property .apimo_info_immobilier p:nth-child(1) {
  color: var(--apimo-brand-title);
}

.single-property .apimo_info_immobilier p:nth-child(2) {
  color: var(--apimo-brand-muted);
}

.single-property .apimo_btn_click {
  gap: 12px;
}

.single-property .apimo_btn.apimo_send_email {
  border: 1px solid rgba(183, 90, 72, 0.35);
  color: var(--apimo-brand-primary) !important;
  background: #fff;
  box-shadow: 0 6px 14px rgba(183, 90, 72, 0.14);
}

.single-property .apimo_btn.call_user {
  background: var(--apimo-brand-primary);
  border: 1px solid var(--apimo-brand-primary);
  color: #fff !important;
  box-shadow: 0 9px 20px rgba(183, 90, 72, 0.3);
}

.single-property .apimo_btn.apimo_send_email:hover,
.single-property .apimo_btn.call_user:hover {
  transform: translateY(-1px);
  filter: brightness(0.97);
}

.single-property .apimo_success_message {
  background: linear-gradient(135deg, var(--apimo-brand-primary), #cf7b68);
  color: #fff;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(183, 90, 72, 0.32);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.single-property .apimo_form_container {
  margin: 18px auto 36px;
}

.single-property .apimo_form_title {
  margin-top: 0;
  margin-bottom: 22px !important;
  color: var(--apimo-brand-title);
}

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

.single-property .apimo_dpe_card {
  border: 1px solid #dadada;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.single-property .apimo_dpe_card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #1f232b;
  font-weight: 700;
}

.single-property .apimo_dpe_value {
  margin: 0 0 10px;
  font-size: 14px;
  color: #5a616d;
  font-weight: 600;
}

.single-property .apimo_dpe_scale {
  margin: 0;
  padding: 0;
}

.single-property .apimo_dpe_row {
  display: grid;
  grid-template-columns: 1fr 34px;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  list-style: none;
  opacity: 0.2;
}

.single-property .apimo_dpe_row.is-active {
  opacity: 1;
}

.single-property .apimo_dpe_row:not(.is-active) .apimo_dpe_range,
.single-property .apimo_dpe_row:not(.is-active) .apimo_dpe_letter {
  filter: saturate(0.55) brightness(1.08);
}

.single-property .apimo_dpe_range {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #111;
  padding: 8px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.single-property .apimo_dpe_letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #0f1115;
  color: #fff;
  font-weight: 700;
}

.single-property .apimo_dpe_card_energy .apimo_dpe_row:nth-child(1) .apimo_dpe_range { background: #3db84f; }
.single-property .apimo_dpe_card_energy .apimo_dpe_row:nth-child(2) .apimo_dpe_range { background: #7fbe2d; }
.single-property .apimo_dpe_card_energy .apimo_dpe_row:nth-child(3) .apimo_dpe_range { background: #c8cb15; }
.single-property .apimo_dpe_card_energy .apimo_dpe_row:nth-child(4) .apimo_dpe_range { background: #efdb14; }
.single-property .apimo_dpe_card_energy .apimo_dpe_row:nth-child(5) .apimo_dpe_range { background: #f4b116; }
.single-property .apimo_dpe_card_energy .apimo_dpe_row:nth-child(6) .apimo_dpe_range { background: #f5821f; }
.single-property .apimo_dpe_card_energy .apimo_dpe_row:nth-child(7) .apimo_dpe_range { background: #ef232a; color: #fff; }

.single-property .apimo_dpe_card_ges .apimo_dpe_row:nth-child(1) .apimo_dpe_range { background: #f0e7f3; }
.single-property .apimo_dpe_card_ges .apimo_dpe_row:nth-child(2) .apimo_dpe_range { background: #e1cde8; }
.single-property .apimo_dpe_card_ges .apimo_dpe_row:nth-child(3) .apimo_dpe_range { background: #c8abd8; }
.single-property .apimo_dpe_card_ges .apimo_dpe_row:nth-child(4) .apimo_dpe_range { background: #af88c8; }
.single-property .apimo_dpe_card_ges .apimo_dpe_row:nth-child(5) .apimo_dpe_range { background: #9565b9; color: #fff; }
.single-property .apimo_dpe_card_ges .apimo_dpe_row:nth-child(6) .apimo_dpe_range { background: #7d4aa8; color: #fff; }
.single-property .apimo_dpe_card_ges .apimo_dpe_row:nth-child(7) .apimo_dpe_range { background: #653098; color: #fff; }

/* Longueur progressive A -> G (effet DPE) */
.single-property .apimo_dpe_card_energy .apimo_dpe_row:nth-child(1) .apimo_dpe_range { width: 42%; }
.single-property .apimo_dpe_card_energy .apimo_dpe_row:nth-child(2) .apimo_dpe_range { width: 50%; }
.single-property .apimo_dpe_card_energy .apimo_dpe_row:nth-child(3) .apimo_dpe_range { width: 58%; }
.single-property .apimo_dpe_card_energy .apimo_dpe_row:nth-child(4) .apimo_dpe_range { width: 66%; }
.single-property .apimo_dpe_card_energy .apimo_dpe_row:nth-child(5) .apimo_dpe_range { width: 74%; }
.single-property .apimo_dpe_card_energy .apimo_dpe_row:nth-child(6) .apimo_dpe_range { width: 82%; }
.single-property .apimo_dpe_card_energy .apimo_dpe_row:nth-child(7) .apimo_dpe_range { width: 90%; }

.single-property .apimo_dpe_card_ges .apimo_dpe_row:nth-child(1) .apimo_dpe_range { width: 38%; }
.single-property .apimo_dpe_card_ges .apimo_dpe_row:nth-child(2) .apimo_dpe_range { width: 46%; }
.single-property .apimo_dpe_card_ges .apimo_dpe_row:nth-child(3) .apimo_dpe_range { width: 54%; }
.single-property .apimo_dpe_card_ges .apimo_dpe_row:nth-child(4) .apimo_dpe_range { width: 62%; }
.single-property .apimo_dpe_card_ges .apimo_dpe_row:nth-child(5) .apimo_dpe_range { width: 70%; }
.single-property .apimo_dpe_card_ges .apimo_dpe_row:nth-child(6) .apimo_dpe_range { width: 78%; }
.single-property .apimo_dpe_card_ges .apimo_dpe_row:nth-child(7) .apimo_dpe_range { width: 86%; }

@media screen and (max-width: 900px) {
  .single-property .apimo_dpe_grid {
    grid-template-columns: 1fr;
  }
}
