/* preamble */
/*
 * dist/services-core.css - base styles pour les parcours Services/Immobilier.
 * @package child-theme
*/

/* TOKENS GLOBAUX — PRIMITIVES + DESIGN + TYPO (UN SEUL :root) - Primitives dédupliquées (fw/ls/fs) - Design tokens (couleurs, rayons, containers…) - Tokens typo (CTA / CTA-Secondary / CTA-Stats / H2 / H3 / H5 / Article / Testi-Title) */
:root {
  /* -------- PRIMITIVES (dédup) -------- */
  --ls-0: 0; /* letter-spacing: 0px */
  --fs-18: 1.125rem; /* 18px */
  --fs-24: 1.5rem; /* 24px */
  --fw-semibold: 600; /* Semibold */
  --fw-bold: 700; /* Bold */

  /* -------- DESIGN TOKENS -------- */
  /* Couleurs */
  --color-brand: #004c66;
  --color-brand-300: #008996;
  --color-btn-tertiary: #008996;
  --color-text: #222222;
  --color-muted: #888b97;
  --color-surface: #ffffff;
  --color-surface-muted: #f5f1e8;
  --border: #d9d9d9;

  /* Rayon / Ombre */
  --radius-sm: 0.375rem; /* 6px  */
  --radius-md: 0.75rem; /* 12px */
  --radius-xl: 1.5rem; /* 24px */
  --shadow-soft: 0 0.125rem 1rem rgba(0, 0, 0, 0.06); /* 0 2px 16px */

  /* Typo base */
  --fs-body: 1.125rem; /* 18px */
  --lh-body: 1.625rem; /* 26px */

  /* Containers */
  --container-1440: 90rem; /* 1440px */
  --container-1600: 90rem; /* 1600px */

  /* Décor optionnel */
  --advice-ellipse-url: none;

  /* Featured Listings (carousel) */
  --container-max: 105rem; /* 1680px */
  --card-w: 33.375rem; /* 534px */
  --gap: 1.75rem; /* 28px  */
  --control-size: 2.75rem; /* 44px  */

  /* -------- TYPO TOKENS (composites `font:`) -------- */

  /* CTA Primary — Mulish Variable Medium 18/19 */
  --cta-font-family: "mulish-variable", "Mulish", system-ui, -apple-system,
    "Segoe UI", Roboto, Arial, sans-serif;
  --cta-font-weight: 600;
  --cta-font-size: var(--fs-18);
  --cta-line-height: 1.1875rem; /* 19px */
  --cta-rollover-primary: var(--cta-font-weight) var(--cta-font-size) /
    var(--cta-line-height) var(--cta-font-family);

      /* Body — Mulish Variable Regular 18/19 */
  --body-font-family: "mulish-variable", "Mulish", system-ui, -apple-system,
    "Segoe UI", Roboto, Arial, sans-serif;
  --body-font-weight: 400;
  --body-font-size: var(--fs-18);
  --body-line-height: 2rem; /* 19px */
  --body: var(--body-font-weight) var(--body-font-size) /
    var(--body-line-height) var(--body-font-family);

  /* CTA Secondary — Mulish Variable Semibold 18/normal, ls 0 */
  --cta-secondary-font-family: "mulish-variable", "Mulish", system-ui,
    -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --cta-secondary-font-weight: var(--fw-semibold);
  --cta-secondary-font-size: var(--fs-18);
  --cta-secondary-line-height: normal; /* 'auto' => normal */
  --cta-secondary-letter-spacing: var(--ls-0);
  --cta-secondary-font: var(--cta-secondary-font-weight)
    var(--cta-secondary-font-size) / var(--cta-secondary-line-height)
    var(--cta-secondary-font-family);

  /* CTA-Stats — Mulish Variable Semibold 56/62, ls 0 */
  --cta-stats-font-family: "mulish-variable", "Mulish", system-ui, -apple-system,
    "Segoe UI", Roboto, Arial, sans-serif;
  --cta-stats-font-weight: var(--fw-semibold);
  --cta-stats-font-size: 3.5rem; /* 56px */
  --cta-stats-line-height: 3.875rem; /* 62px */
  --cta-stats-letter-spacing: var(--ls-0);
  --cta-stats-font: var(--cta-stats-font-weight) var(--cta-stats-font-size) /
    var(--cta-stats-line-height) var(--cta-stats-font-family);

  /* H1 — Cormorant Infant semi-bold 48/normal */
  --h1-font-family: "cormorant-infant";
  --h1-font-weight: 400;
  --h1-font-size: 3.5rem; /* 48px */
  --h1-line-height: normal;
  --h1-font: var(--h1-font-weight) var(--h1-font-size) / var(--h1-line-height)
    var(--h1-font-family);

    /* H2 — Cormorant Infant “medium” 48/normal */
  --h2-font-family: "cormorant-infant";
  --h2-font-weight: 400;
  --h2-font-size: 3rem; /* 48px */
  --h2-line-height: normal;
  --h2-font: var(--h2-font-weight) var(--h2-font-size) / var(--h2-line-height)
    var(--h2-font-family);

  /* H3 — Cormorant Infant “medium” 40/normal */
  --h3-font-family: "cormorant-infant";
  --h3-font-weight: 400;
  --h3-font-size: 2.5rem; /* 40px */
  --h3-line-height: normal;
  --h3-font: var(--h3-font-weight) var(--h3-font-size) / var(--h3-line-height)
    var(--h3-font-family);

    /* H4 — Cormorant Infant “medium” 40/normal */
  --h4-font-family: "cormorant-infant";
  --h4-font-weight: 400;
  --h4-font-size: 2rem; /* 32px */
  --h4-line-height: normal;
  --h4-font: var(--h4-font-weight) var(--h4-font-size) / var(--h4-line-height)
    var(--h4-font-family);

  /* H5 — Mulish Variable Bold 24/32, ls 0 */
  --h5-font-family: "mulish-variable", "Mulish", system-ui, -apple-system,
    "Segoe UI", Roboto, Arial, sans-serif;
  --h5-font-weight: 400;
  --h5-font-size: var(--fs-24); /* 24px */
  --h5-line-height: 2rem; /* 32px */
  --h5-letter-spacing: var(--ls-0);
  --h5-font: var(--h5-font-weight) var(--h5-font-size) / var(--h5-line-height)
    var(--h5-font-family);

  /* Article — Mulish Variable Regular 18/26, ls 0 */
  --article-font-family: "mulish-variable", "Mulish", system-ui, -apple-system,
    "Segoe UI", Roboto, Arial, sans-serif;
  --article-font-weight: 400;
  --article-font-size: var(--fs-18);
  --article-line-height: 1.625rem; /* 26px */
  --article-letter-spacing: var(--ls-0);
  --article-font: var(--article-font-weight) var(--article-font-size) /
    var(--article-line-height) var(--article-font-family);

  /* Testimonial Title — Mulish Variable Semibold 20/normal, ls 0 */
  --testi-title-font-family: "mulish-variable", "Mulish", system-ui,
    -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --testi-title-font-weight: var(--fw-semibold);
  --testi-title-font-size: 1.25rem; /* 20px */
  --testi-title-line-height: normal;
  --testi-title-letter-spacing: var(--ls-0);
  --testi-title-font: var(--testi-title-font-weight)
    var(--testi-title-font-size) / var(--testi-title-line-height)
    var(--testi-title-font-family);

        /* Label Price  — Mulish Variable Semibold 18/normal, ls 0 */
  --label-price-font-family: "mulish-variable", "Mulish", system-ui,
    -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --label-price-font-weight: var(--fw-semibold);
  --label-price-font-size: 1.25rem; /* 20px */
  --label-price-line-height: normal;
  --label-price-letter-spacing: var(--ls-0);
  --label-price-font: var(--label-price-font-weight)
    var(--label-price-font-size) / var(--label-price-line-height)
    var(--label-price-font-family);

}

/* RESET LÉGER & BASE TYPO (inchangé) */
html {
  box-sizing: border-box;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

html,
body {
  overflow-x: clip;
  scroll-behavior: smooth;
} /* garde-fou global */

body {
  margin: 0;
  font-family: "Montserrat", "montserrat", system-ui, -apple-system, "Segoe UI",
    Roboto, Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background-color: #fff;
}
a{
  color: inherit;
}
a:hover{
  color:inherit;
  opacity: 0.75;
}
.primary-text, .btn-clear, .btn-apply, .btn-primary-outlined, .btn-primary-outlined:before, .item-title a:hover, .sort-by .bootstrap-select .bs-placeholder, .sort-by .bootstrap-select > .btn, .sort-by .bootstrap-select > .btn:active, .page-link, .page-link:hover, .accordion-title:before, .blog-post-content-widget h4 a:hover, .agent-list-wrap .agent-list-content h2 a:hover, .agent-list-wrap .agent-list-contact li a:hover, .agent-nav-wrap .nav-pills .nav-link, .dashboard-side-menu-wrap .side-menu-dropdown a.active, .menu-edit-property li a.active, .menu-edit-property li a:hover, .dashboard-statistic-block h3 .fa, .statistic-referrals-list li a:hover, .chart-nav .nav-pills .nav-link.active, .board-message-icon-wrap.active, .post-title-wrap h2 a:hover, .listing-switch-view .switch-btn.active, .property-schedule-tour-form-wrap .control input:checked ~ .control__indicator, .property-schedule-tour-form-wrap .control:hover, .activitiy-item-close-button a:hover, .taxonomy-item-list a:before, .property-lightbox-v2-sections-navigation .slick-prev, .property-lightbox-v2-sections-navigation .slick-next, .property-lightbox-v2-sections-navigation .slick-slide.current-section, .property-lightbox-v2-sections-navigation .nav-link.active, .property-lightbox-v3-sections-navigation .slick-prev, .property-lightbox-v3-sections-navigation .slick-next, .property-lightbox-v3-sections-navigation .slick-slide.current-section, .property-lightbox-v3-sections-navigation .nav-link.active, .stats-box .icon-box i, .propertie-list ul li a.active, .propertie-list ul li a:hover, .nav-link{
  color: #fff;
}
h1,
h2,
h3 {
  text-transform: none;
}
p{
  padding: 0;
  margin: 0;
  height:auto;
}
.no_padding{
  padding:0;
}
.main-wrap,
.fw-property-documents-wrap h3 span,
.fw-property-details-wrap h3 span {
  background-color: #fff;
}

/* HELPERS — CONTAINERS */
.container {
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 1rem;
}
.container.container--1600 {
  max-width: var(--container-1600);
}
.container--1440 {
  max-width: var(--container-1440);
}

/* BOUTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font: var(--cta-secondary-font);
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: 0.625rem 1rem; /* 10px 16px */
  transition: all 0.2s ease;
}
.btn--primary {
    background-color: var(--color-brand);
    color: #fff;
    border: 1px solid var(--color-brand);
    padding: 0.6875rem 2.5rem; /* 11px 40px */
    font-weight: 600;
  }
.btn--primary:hover {
    background-color: var(--color-brand-300);
    border-color: var(--color-brand-300);
    color: #fff;
  }
.btn--secondary {
    background-color: #fff;
    color: var(--color-brand);
    border: 1px solid var(--color-brand);
    padding: 0.6875rem 2.5rem; /* 11px 40px */
  }
.btn--secondary:hover {
    background-color: #fff;
    color: var(--color-brand-300);
    border: 1px solid var(--color-brand);
  }
.btn__icon {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
  }

.btn[class*="cta"] {
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(90deg, var(--cta-hover-bg, var(--color-brand-300)), var(--cta-hover-bg, var(--color-brand-300)));
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left center;
    transition: background-size 0.45s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out;
    color:#fff!important;
  }
.btn[class*="cta"]:hover,
.btn[class*="cta"]:focus-visible {
    background-size: 100% 100%;
    color:#fff!important;
  }
.btn[class*="cta"].btn--primary:hover,
.btn[class*="cta"].btn--primary:focus-visible {
    background-color: var(--color-brand); /* conserve la couleur de base pour laisser l'anim faire le boulot */
  }
.btn[class*="cta"] .btn__icon {
    transition: transform 0.5s ease-in-out;
    margin-top: 4px;
  }
.btn[class*="cta"]:hover .btn__icon,
.btn[class*="cta"]:focus-visible .btn__icon {
    transform: translateX(0.35rem);
  }

.lp-mobile-swiper {
    width: 100%;
    overflow: hidden;
    padding-inline: 1rem;
    margin-inline: -1rem;
  }
.lp-mobile-swiper .swiper-slide {
    height: auto;
  }

@media (max-width: 1024px) {
  .lp-mobile-swiper .swiper-wrapper {
    display: flex !important;
    gap: 0 !important;
  }
  .lp-mobile-swiper .luxury__card,
  .lp-mobile-swiper .advice__card {
    width: auto;
    max-width: none;
    height: auto;
  }
}

/* Swiper reveal */
.swiper {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(.16,1,.3,1),
    transform 0.8s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}

.swiper.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.swiper .swiper-slide {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.swiper.is-visible .swiper-slide,
.swiper .swiper-slide.is-visible {
  opacity: 1;
  transform: translateY(0);
}

a[class*="link"]:not([class*="footer"]):not([class*="luxury__tabs"]):not([class="social-link"]),
body .cta__link {
    position: relative;
    text-decoration: none;
    width: fit-content;
  }
a[class*="link"]:not([class*="footer"]):not([class*="luxury__tabs"]):not([class="social-link"])::after,
body .cta__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.1em;
    height: 2px;
    background-color: var(--color-brand);
    transform-origin: 0 0;
    transform: scaleX(1);
    transition: transform 0.3s ease;
  }
a[class*="link"]:not([class*="footer"]):not([class*="luxury__tabs"]):not([class="social-link"]):hover::after,
a[class*="link"]:not([class*="footer"]):not([class*="luxury__tabs"]):not([class="social-link"]):focus-visible::after,
body .cta__link:hover::after,
a:hover .cta__link::after,
a:focus-visible .cta__link::after {
    transform: scaleX(0);
  }
.btn[class*="cta"] {
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(90deg, var(--cta-hover-bg, var(--color-brand-300)), var(--cta-hover-bg, var(--color-brand-300)));
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left center;
    transition: background-size 0.35s ease, color 0.2s ease, border-color 0.2s ease;
    color:#fff!important;
  }
.btn[class*="cta"]:hover,
.btn[class*="cta"]:focus-visible {
    background-size: 100% 100%;
    color:#fff!important;
  }
.btn[class*="cta"].btn--primary:hover,
.btn[class*="cta"].btn--primary:focus-visible {
    background-color: var(--color-brand); /* conserve la couleur de base pour laisser l'anim faire le boulot */
  }
.btn[class*="cta"] .btn__icon {
    transition: transform 0.3s ease;
  }
.btn[class*="cta"]:hover .btn__icon,
.btn[class*="cta"]:focus-visible .btn__icon {
    transform: translateX(0.35rem);
  }
@media only screen and (max-width:420px){
  .btn[class*="cta"]{
    white-space: inherit;
  }
}

.page-id-5766 .bt-content-wrap,
.page-id-86620052 .bt-content-wrap,
.page-id-5761 .bt-content-wrap,
.page-id-5764 .bt-content-wrap {
    width: 100% !important;
    max-width: 100% !important;
    flex: none;
}

.page-id-5766 .bt-content-wrap .page-content-wrap,
.page-id-86620052 .bt-content-wrap .page-content-wrap,
.page-id-5761 .bt-content-wrap .page-content-wrap,
.page-id-5764 .bt-content-wrap .page-content-wrap {
    padding: 0;
}
.page-id-5766 .bt-content-wrap .page-content-wrap h2:not(:last-child),
.page-id-86620052 .bt-content-wrap .page-content-wrap h2:not(:last-child),
.page-id-5761 .bt-content-wrap .page-content-wrap h2:not(:last-child),
.page-id-5764 .bt-content-wrap .page-content-wrap h2:not(:last-child) {
  /* your styles here */
  margin: 20px 0;
}
.page-id-5766 .bt-content-wrap .page-content-wrap h3:not(:last-child),
.page-id-86620052 .bt-content-wrap .page-content-wrap h3:not(:last-child),
.page-id-5761 .bt-content-wrap .page-content-wrap h3:not(:last-child),
.page-id-5764 .bt-content-wrap .page-content-wrap h3:not(:last-child) {
    margin: 20px 0;
}
table,
.page-id-5766 .bt-content-wrap .page-content-wrap p, .page-id-5766 .bt-content-wrap .page-content-wrap ul,
.page-id-86620052 .bt-content-wrap .page-content-wrap p, .page-id-86620052 .bt-content-wrap .page-content-wrap ul,
.page-id-5761 .bt-content-wrap .page-content-wrap p,.page-id-5761 .bt-content-wrap .page-content-wrap ul,
.page-id-5764 .bt-content-wrap .page-content-wrap p,.page-id-5764 .bt-content-wrap .page-content-wrap ul {
    font-size: 0.9rem;
}
.page-id-5766 .bt-content-wrap .page-content-wrap p,
.page-id-86620052 .bt-content-wrap .page-content-wrap p,
.page-id-5761 .bt-content-wrap .page-content-wrap p,
.page-id-5764 .bt-content-wrap .page-content-wrap p{
  margin-bottom: 20px;
}
.page-id-5766 .bt-content-wrap .page-content-wrap p:last-child,
.page-id-86620052 .bt-content-wrap .page-content-wrap p:last-child,
.page-id-5761 .bt-content-wrap .page-content-wrap p:last-child,
.page-id-5764 .bt-content-wrap .page-content-wrap p:last-child{
  margin-bottom: 0px;
}
 .page-id-5766 .bt-content-wrap .page-content-wrap ul,
.page-id-86620052 .bt-content-wrap .page-content-wrap ul,
.page-id-5761 .bt-content-wrap .page-content-wrap ul,
.page-id-5764 .bt-content-wrap .page-content-wrap ul ,
 .page-id-5766 .bt-content-wrap .page-content-wrap ol,
.page-id-86620052 .bt-content-wrap .page-content-wrap ol,
.page-id-5761 .bt-content-wrap .page-content-wrap ol,
.page-id-5764 .bt-content-wrap .page-content-wrap ol{
    font-size: 0.9rem;
    padding-left: 1.25rem;
}
.page-id-5766 .wp-block-table thead,
.page-id-86620052 .wp-block-table thead,
.page-id-5764 .wp-block-table thead,
.page-id-5761 .wp-block-table thead,
.page-id-5766 .wp-block-table thead{
  border-width: 1px;
}
.cookie-notice-hidden.cookie-revoke-hidden{
  display: none;
}