/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */

@media (max-width: 991px) {
  .inverse {
      display: flex;
      flex-direction: column-reverse;
  }
}

@media (min-width: 1024px) {
  .center-text-image {
      display: flex;
      align-items: center;
  }
}

.whise-btn-details {
    background: #282657;
    color: #fff;
    font-size: 13px;
    padding: 8px 16px;
    transition: background .25s ease;
}
.whise-btn-details:hover {
    background: #1d1b42;
}

.whise-card-price {
    font-size: 20px;
    font-weight: 800;
    color: #282657;
    margin-bottom: 10px;
    transition: color .25s ease;
}
.whise-card:hover .whise-card-price {
    color: #1d1b42;
}

.whise-card-purpose {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    background: #282657;
    color: #fff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: background .25s ease;
}
.whise-card:hover .whise-card-purpose {
    background: #1d1b42;
}

.whise-card-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #282657;
    margin-bottom: 6px;
    transition: color .25s ease;
}
.whise-card:hover .whise-card-category {
    color: #1d1b42;
}

.whise-pagination .current {
    background: #282657;
    color: #fff;
    border-color: var(--whise-primary);
}
.whise-pagination a:hover {
    background: #1d1b42;
    color: #fff;
}
.whise-pagination .page-numbers:hover {
    background: #1d1b42;
    color: #fff;
}
.whise-btn-search {
    background: #1d1b42;
    color: #fff;
    border-color: #1d1b42;
    transition: background .25s ease, border-color .25s ease;
}
.whise-btn-search:hover {
    background: #12102b;
    border-color: #12102b;
}
@media (max-width: 768px) {
  .img-mobile-1 {
    max-width: 43%;
  }
}

/* ===== G-HOME — Back to top (scroll progress) ===== */
#ghome-totop{
  position:fixed; right:28px; bottom:28px;
  width:54px; height:54px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; border-radius:50%;
  background:#ffffff;
  box-shadow:0 6px 22px rgba(40,38,87,.18);
  opacity:0; visibility:hidden; transform:translateY(14px);
  transition:opacity .3s ease, transform .3s ease, background .25s ease;
  z-index:9999;
}
#ghome-totop.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
.ghome-totop__ring{ position:absolute; inset:0; width:100%; height:100%; transform:rotate(-90deg); pointer-events:none; }
.ghome-totop__track{ fill:none; stroke:rgba(40,38,87,.15); stroke-width:3; }
.ghome-totop__bar{
  fill:none; stroke:#282657; stroke-width:3; stroke-linecap:round;
  stroke-dasharray:150.8; stroke-dashoffset:150.8;
  transition:stroke-dashoffset .1s linear;
}
.ghome-totop__arrow{
  position:relative; font-size:18px; line-height:1; color:#282657;
  pointer-events:none;
  transition:color .25s ease, transform .25s ease;
}
#ghome-totop:hover{ background:#282657; }
#ghome-totop:hover .ghome-totop__arrow{ color:#ffffff; transform:translateY(-2px); }
#ghome-totop:focus-visible{ outline:2px solid #282657; outline-offset:3px; }

/* ===== G-HOME — Fixed side social rail (desktop only) ===== */
.ghome-social-side{
  position:fixed; right:0; top:50%; transform:translateY(-50%);
  display:flex; flex-direction:column; gap:2px;
  background:#eef0f7; padding:8px 6px;
  border-radius:12px 0 0 12px;
  box-shadow:0 6px 22px rgba(40,38,87,.12);
  z-index:9998;
}
.ghome-social-side a{
  width:38px; height:38px;
  display:flex; align-items:center; justify-content:center;
  color:#282657; border-radius:9px; font-size:18px; line-height:1;
  transition:color .2s ease, background .2s ease, transform .2s ease;
}
.ghome-social-side a:hover{ background:#282657; color:#eef0f7; transform:translateX(-2px); }

/* Hide the rail on tablet + mobile */
@media (max-width:980px){ .ghome-social-side{ display:none !important; } }



.gh-sticky-steps,
.gh-sticky-steps * {
  box-sizing: border-box;
}

.gh-sticky-steps {
  --gh-header-height: 86px;
  --gh-step-height: 70vh;

  position: relative;
  display: grid;
  grid-template-columns: 50vw 50vw;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  align-items: start;
  overflow: visible;
  background-color: #eef0f7;
}

/* ========================================
   LEFT SIDE — TEXT
======================================== */

.gh-sticky-steps__content {
  position: relative;
  width: 50vw;
  min-width: 0;
  padding-left: clamp(30px, 6vw, 120px);
  padding-right: clamp(40px, 5vw, 90px);
}

.gh-sticky-steps__step {
  width: 100%;
  min-height: var(--gh-step-height);

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;

  opacity: 0.18;
  transform: translateY(2rem);

  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.gh-sticky-steps__step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.gh-sticky-steps__step h3 {
  width: 100%;
  margin: 0 0 12px;
  overflow-wrap: break-word;
}

.gh-sticky-steps__step p {
  width: 100%;
  margin: 0;
  overflow-wrap: break-word;
}

/* ========================================
   RIGHT SIDE — FULL HALF-SCREEN IMAGE
======================================== */

.gh-sticky-steps__visual {
  position: sticky;
  top: var(--gh-header-height);

  width: 50vw;
  height: calc(100vh - var(--gh-header-height));

  align-self: start;
  overflow: hidden;
}

.gh-sticky-steps__frame {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  overflow: hidden;
  line-height: 0;
}

.gh-sticky-steps__image {
  position: absolute !important;
  inset: 0 !important;

  display: block;

  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;

  object-fit: cover !important;
  object-position: center center;

  opacity: 0;
  transform: scale(1.04);

  transition:
    opacity 0.7s ease,
    transform 1s ease;
}

.gh-sticky-steps__image.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Mobile images created by JavaScript */

.gh-sticky-steps__mobile-visual {
  display: none;
}

/* ========================================
   DIVI FIXES
======================================== */

.et_pb_section:has(.gh-sticky-steps) {
  background-color: #eef0f7 !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
}

.et_pb_row:has(.gh-sticky-steps),
.et_pb_column:has(.gh-sticky-steps),
.et_pb_code:has(.gh-sticky-steps),
.et_pb_code_inner:has(.gh-sticky-steps) {
  overflow: visible !important;
}

.et_pb_row:has(.gh-sticky-steps) {
  width: 100% !important;
  max-width: none !important;
}

.et_pb_column:has(.gh-sticky-steps),
.et_pb_code:has(.gh-sticky-steps),
.et_pb_code_inner:has(.gh-sticky-steps) {
  width: 100% !important;
}

body {
  overflow-x: hidden;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 980px) and (min-width: 768px) {
  .gh-sticky-steps {
    --gh-header-height: 76px;
    --gh-step-height: 70vh;
  }

  .gh-sticky-steps__content {
    width: 50vw;
    padding-left: 35px;
    padding-right: 35px;
  }

  .gh-sticky-steps__visual {
    width: 50vw;
    height: calc(100vh - var(--gh-header-height));
  }

  .gh-sticky-steps__step h3 {
    margin-bottom: 10px;
  }
}

/* ========================================
   MOBILE — IMAGE / TEXT / IMAGE / TEXT
======================================== */

/* ========================================
   TABLET + MOBILE
   IMAGE → TITLE → DESCRIPTION
======================================== */

@media (max-width: 980px) {
  .gh-sticky-steps {
    display: block !important;
    width: 100% !important;
    margin-left: 0 !important;
    background-color: #eef0f7;
  }

  .gh-sticky-steps__content {
    width: 100% !important;
    padding: 0 !important;
  }

  /* Hide the desktop sticky image */
  .gh-sticky-steps__visual {
    display: none !important;
  }

  .gh-sticky-steps__step {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;

    width: 100% !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 0 45px !important;

    gap: 0 !important;

    opacity: 1 !important;
    transform: none !important;
  }

  /* Image first */

  .gh-sticky-steps__mobile-visual {
    position: relative;
    order: 1;

    display: block !important;

    width: 90% !important;
    max-width: 90% !important;
    aspect-ratio: 4 / 3;

    margin: 0 auto 24px !important;

    overflow: hidden;
    line-height: 0;
  }

  .gh-sticky-steps__mobile-image {
    position: absolute;
    inset: 0;

    display: block;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;
    object-position: center center;
  }

  /* Title second */

  .gh-sticky-steps__step h3 {
    order: 2;

    width: 90% !important;

    margin: 0 auto 10px !important;

    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  /* Description third */

  .gh-sticky-steps__step p {
    order: 3;

    width: 90% !important;

    margin: 0 auto !important;

    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  /* Remove Divi spacing */

  .et_pb_section:has(.gh-sticky-steps),
  .et_pb_row:has(.gh-sticky-steps),
  .et_pb_column:has(.gh-sticky-steps),
  .et_pb_code:has(.gh-sticky-steps),
  .et_pb_code_inner:has(.gh-sticky-steps) {
    width: 100% !important;
    max-width: none !important;

    margin-top: 0 !important;
    margin-bottom: 0 !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
  .gh-sticky-steps__step,
  .gh-sticky-steps__image {
    transition: none;
  }
}


/* ==========================================
   FORMULAIRE IMMOBILIER PERSONNALISÉ
========================================== */

.gh-property-contact,
.gh-property-contact * {
  box-sizing: border-box;
}

.gh-property-contact {
  /* width: 100%; */
  /* padding: 28px; */
  /* background: #ffffff; */
  /* border: 1px solid #e1e5ec; */
  /* border-radius: 18px; */
  /* box-shadow: 0 18px 45px rgba(31, 42, 68, 0.08); */
}

.gh-property-contact__header {
  margin-bottom: 26px;
}

.gh-property-contact__eyebrow {
  display: inline-block;
  margin-bottom: 7px;
  color: #2c78b7;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gh-property-contact__header h3 {
  margin: 0 0 10px;
  padding: 0;
  color: #25254f;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 750;
  line-height: 1.2;
}

.gh-property-contact__header p {
  margin: 0;
  color: #747b89;
  font-size: 14px;
  line-height: 1.65;
}

.gh-property-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 14px;
}

.gh-property-contact__field {
  min-width: 0;
}

.gh-property-contact__field--full {
  grid-column: 1 / -1;
}

.gh-property-contact__field > label {
  display: block;
  margin-bottom: 8px;
  color: #5e6573;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.gh-property-contact__field > label span {
  color: #dc3d48;
}

.gh-property-contact .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.gh-property-contact input[type="text"],
.gh-property-contact input[type="email"],
.gh-property-contact input[type="tel"],
.gh-property-contact input[type="date"],
.gh-property-contact select,
.gh-property-contact textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 13px 15px;
  color: #292c35;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  background-color: #f9fafc;
  border: 1px solid #dce1e9;
  border-radius: 9px;
  outline: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.gh-property-contact input[type="text"],
.gh-property-contact input[type="email"],
.gh-property-contact input[type="tel"],
.gh-property-contact input[type="date"],
.gh-property-contact select {
  min-height: 48px;
}

.gh-property-contact textarea {
  height: 130px;
  min-height: 130px;
  resize: vertical;
}

.gh-property-contact input::placeholder,
.gh-property-contact textarea::placeholder {
  color: #a0a6b1;
  opacity: 1;
}

.gh-property-contact input:focus,
.gh-property-contact select:focus,
.gh-property-contact textarea:focus {
  background-color: #ffffff;
  border-color: #2c78b7;
  box-shadow: 0 0 0 4px rgba(44, 120, 183, 0.1);
}

.gh-property-contact select {
  cursor: pointer;
}

.gh-property-contact__privacy {
  padding: 14px 16px;
  color: #747b89;
  font-size: 12px;
  line-height: 1.6;
  background: #f7f8fb;
  border-radius: 9px;
}

.gh-property-contact__privacy .wpcf7-list-item {
  margin: 0;
}

.gh-property-contact__privacy label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
}

.gh-property-contact__privacy input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: #2c78b7;
}

.gh-property-contact__submit {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 54px;
  margin: 0 !important;
  padding: 14px 24px !important;
  color: #ffffff !important;
  font-family: inherit;
  font-size: 15px !important;
  font-weight: 750 !important;
  line-height: 1.2;
  text-align: center;
  background: #2c78b7 !important;
  border: 0 !important;
  border-radius: 9px !important;
  box-shadow: 0 12px 25px rgba(44, 120, 183, 0.2);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.gh-property-contact__submit:hover {
  background: #25254f !important;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(37, 37, 79, 0.2);
}

.gh-property-contact__submit:active {
  transform: translateY(0);
}

.gh-property-contact__footer {
  margin-top: 17px;
  color: #969ba6;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.gh-property-contact .wpcf7-not-valid {
  border-color: #dc3d48 !important;
  box-shadow: 0 0 0 3px rgba(220, 61, 72, 0.08);
}

.gh-property-contact .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #dc3d48;
  font-size: 11px;
  font-weight: 600;
}

.gh-property-contact .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

.gh-property-contact .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 13px 15px !important;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 9px;
}

@media (max-width: 767px) {
  .gh-property-contact {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .gh-property-contact__grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .gh-property-contact__field--full {
    grid-column: auto;
  }

  .gh-property-contact__header {
    margin-bottom: 22px;
  }
}

.gh-property-contact  br {
    display: none;
}

.gh-property-contact__field label {
    font-size: 15px;
}

.gh-property-contact__field {}

/* G-HOME header: restructure ONLY in the squeezed range */
@media (min-width: 981px) and (max-width: 1651px) {
  .et-l--header .et_pb_row_0_tb_header {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 24px !important;
  }
  .et-l--header .et_pb_row_0_tb_header > .et_pb_column {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
  }
  .et-l--header .et_pb_row_0_tb_header > .et_pb_column:nth-child(1),
  .et-l--header .et_pb_row_0_tb_header > .et_pb_column:nth-child(3) {
    flex: 0 0 auto !important;
  }
  .et-l--header .et_pb_row_0_tb_header > .et_pb_column:nth-child(2) {
    flex: 1 1 auto !important;
  }
}

/* safe at all widths — never wrap a button label */
.et-l--header .et_pb_button {
  white-space: nowrap !important;
}

.whise-sidebar-price-card {
	background: #27285b !important;
}
.whise-single-price {
	color: #27285b !important;
}
.whise-quick-item strong {
	color: #27285b !important;
}
.gh-property-contact__eyebrow {
	color: #27285b !important;
}
.gh-property-contact__submit {
		background: #27285b !important;
}
.whise-single-purpose {
	background: #27285b !important;
}

.whise-single-layout {
	    margin-bottom: 115px !important;
}
.whise-btn-outline {
	color : #27285b !important;
	border-color : #27285b !important;
}
.whise-btn-outline:hover {
	background-color: #27285b !important;
	color : #fff !important;
}
.whise-single-category {
	color : #27285b !important;
	background : #CED0DD !important;
}
.whise-breadcrumb a {
	color : #27285b !important;
}
.gh-property-contact input:focus, .gh-property-contact select:focus, .gh-property-contact textarea:focus {
	border-color : #27285b !important;
}
.whise-sidebar-share{
	display:none !important;
}