/*
Theme Name: Moubina
Theme URI: https://moubina.ma
Author: Moubina Immobilier
Description: Moubina Immobilier corporate theme
Version: 1.0
Text Domain: moubina
*/

/* Global layout container used by templates */
:root {
  --section-container-max-width: 1440px;
}

.section-container {
  width: min(100%, var(--section-container-max-width));
  margin-inline: auto;
}

/* Project card title â€“ underline hover effect */
.project-card h2 {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(22, 52, 96, 0.2);
  /* secondary/20 */
  transition-duration: 300ms;
}

/* Override old red #DD3837 â†’ #DD3837 */
.bg-\[\#DD3837\] {
  background-color: #DD3837 !important;
}

.border-crd-primary {
  border-right: 3px solid rgba(22, 52, 96, 0.05);
}

.border-crd-primary:hover {
  border-right: 0;
}

.message-section-logo {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
}

.dots-meet-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.72);
  transition: opacity 250ms ease, transform 250ms ease;
}

.dots-meet-logo .logo-svg {
  width: 58px;
  height: auto;
}

.dots-container.is-logo-visible .dots-meet-logo {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.dots-container.is-logo-visible .dot {
  opacity: 0;
}

.announcement-banner-item b,
.announcement-banner-item strong {
  font-weight: 700;
}

.testimonial-source {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.02em;
  color: rgba(0, 0, 0, 0.31);
}

.position-icon {
  position: absolute;
  top: 10px;
  left: 10px;
}

.bg-inpt {
  background-color: rgba(0, 0, 0, 0.06);
  border: 3px solid rgba(255, 255, 255, 0.06);
}

.opacity-75 {
  opacity: .75
}

.svg-icon-4 {
  width: 68px;
  height: 68px;
  background: rgba(245, 131, 30, 0.08);
  border: 2px solid rgba(245, 131, 30, 0.08);
  border-radius: 20px;
}

@media (min-width: 701px) {
  .list-cards-numbers {
    box-sizing: border-box;
    border: 3px solid transparent;
    border-radius: 60px;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  }

  .list-cards-numbers:hover {
    background: #FFFBF8;
    border: 3px solid rgba(245, 131, 30, 0.11);
    box-shadow: 0px 4px 64px rgba(0, 0, 0, 0.09);
  }

  .svg-icon-4 {
    transition: background 0.4s ease;
  }

  .list-cards-numbers:hover .svg-icon-4 {
    background: #F5831E;
  }

  .list-cards-numbers {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .list-cards-numbers .svg-icon-4 {
    margin-bottom: 13px;
  }
}

.unique-section-services-grid article img {
  border-radius: 1.5rem;
}

@media (max-width: 600px) {
  .unique-section-services-grid article {
    margin-bottom: 2.5rem;
  }

  .text-center-600 {
    text-align: center;
  }

  .svg-icon-4 {
    width: 50px;
    height: 50px;
    background: rgba(245, 131, 30, 0.08);
    border: 2px solid rgba(245, 131, 30, 0.08);
    border-radius: 16px;
    align-items: center;
  }

  .svg-icon-4 svg {
    width: 34px;
    height: 34px;
  }

  [data-expanded-content] {
    opacity: 1 !important;
    pointer-events: none !important;
    bottom: -45px;
  }

  /* Blog section mobile */
  #news-section header {
    text-align: center;
    justify-content: center;
  }

  .news-mobile-label {
    display: block !important;
    text-align: center;
    margin-bottom: 4px;
    width: 100%;
  }

  #news-section [data-animation="news-section__grid"] {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0 !important;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  #news-section [data-animation="news-section__grid"]::-webkit-scrollbar {
    display: none;
  }

  #news-section .blog-card {
    min-width: 100% !important;
    width: 100% !important;
    scroll-snap-align: start;
    flex-shrink: 0 !important;
    text-align: center;
    margin-bottom: 0 !important;
    padding: 0 12px;
  }

  #news-section .blog-card a[aria-label] {
    display: inline-block;
  }

  #news-section .blog-card img {
    transform: none !important;
  }

  #news-section [data-animation="news-section__cta-button"] {
    display: none !important;
  }

  #news-section .blog-card a[aria-label="Lire l'article complet"] {
    display: inline-block !important;
    text-decoration: underline;
    margin-top: 8px;
    margin-bottom: 16px;
  }

  #news-section .blog-card h2 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 65ch;
  }

  #news-section .blog-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 90ch;
  }

  .news-scroll-indicator {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
  }

  .news-scroll-track {
    width: 100px;
    height: 8px;
    border-radius: 4px;
    background: #D9D9D9;
    position: relative;
  }

  .news-scroll-thumb {
    width: 20px;
    height: 10px;
    border-radius: 12px;
    background: #F5831E;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: left 0.15s ease;
  }

  .contact-form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .contact-full-mobile {
    grid-column: span 2;
  }
}

/* Contact form - all screens */
.contact-terms-label {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-terms-checkbox {
  margin-right: 0;
  margin-bottom: 8px;
}

.contact-submit-btn {
  width: auto;
  padding: 14px 48px;
}

.contact-message-field {
  grid-column: span 2;
}

.news-mobile-label,
.news-scroll-indicator {
  display: none;
}

/* Brands - swiper all screens */
.brands-grid-layout {
  overflow: hidden !important;
}

.brands-grid-layout .brands-marquee.brands-swiper {
  display: flex !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
  animation: none !important;
  gap: 0 !important;
  padding: 24px 0 !important;
}

.brands-grid-layout .brands-marquee.brands-swiper::-webkit-scrollbar {
  display: none !important;
}

.brands-slide {
  display: flex !important;
  min-width: 100% !important;
  width: 100% !important;
  flex-shrink: 0 !important;
  scroll-snap-align: start !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 24px !important;
  padding: 0 32px !important;
  box-sizing: border-box !important;
}

.brands-slide img {
  height: 70px !important;
  max-height: 70px !important;
  flex: 1 1 0 !important;
  max-width: 180px !important;
  opacity: 1 !important;
  object-fit: contain !important;
}

.brands-dots {
  display: none;
}

.brands-grid-layout .brands-dots {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.brands-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D9D9D9;
  display: inline-block;
  cursor: pointer;
}

.brands-dot.active {
  width: 24px;
  height: 8px;
  border-radius: 4px;
  background: #F5831E;
}

/* Home partners draggable strip */
.home-partners-track {
  --home-partner-gap: 20px;
  overflow: hidden;
  padding: 10px 2px 12px;
  user-select: none;
  touch-action: pan-y;
}

.home-partners-track.swiper {
  cursor: grab;
}

.home-partners-track.swiper:active {
  cursor: grabbing;
}

.home-partners-track .swiper-wrapper {
  align-items: center;
  transition-timing-function: linear !important;
}

.home-partners-track .swiper-slide {
  width: calc((100% - (var(--home-partner-gap) * 4)) / 5);
  min-width: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.home-partners-track .swiper-slide::after {
  content: '|';
  position: absolute;
  right: calc(var(--home-partner-gap) / -2);
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  line-height: 1;
  color: rgba(22, 52, 96, 0.04);
}

.home-partner-logo {
  height: 75px;
  max-height: 75px;
  max-width: 221px;
  width: auto;
  object-fit: contain;
  opacity: 0.82;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  -webkit-user-drag: none;
}

.home-partner-item:hover .home-partner-logo {
  opacity: 1;
  transform: translateY(-1px);
}

/* Footer hover color controls */
.moubina-footer a {
  transition: color 0.25s ease;
}

.moubina-footer a:hover,
.moubina-footer a:focus-visible {
  color: #F5831E !important;
}

.moubina-footer .footer-contact-list li > span {
  color: #F5831E !important;
  transition: color 0.25s ease;
}

.moubina-footer .footer-contact-list li:hover > span,
.moubina-footer .footer-contact-list li:focus-within > span {
  color: #F5831E !important;
}

.moubina-footer .footer-social-link {
  border-color: rgba(255, 255, 255, 0.07) !important;
  color: #F5831E !important;
}

.moubina-footer .footer-social-link:hover,
.moubina-footer .footer-social-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.07) !important;
  color: #F5831E !important;
}

/* Concentrix eyebrow label (no Tailwind dependency) */
.page-project-details7 .concentrix-eyebrow {
  max-width: 540px;
  width: 100%;
}

.page-project-details7 .concentrix-eyebrow-label {
  margin: 0;
  font-family: 'PP Neue Machina', sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 18px;
  line-height: 19px;
  color: rgba(0, 57, 74, 0.5004);
  opacity: 0.7;
}

.page-project-details7 .concentrix-eyebrow-icon {
  flex-shrink: 0;
}

/* Tablet */
@media (max-width: 1024px) {
  .brands-slide img {
    height: 60px !important;
    max-height: 60px !important;
  }

  .home-partners-track .swiper-slide {
    width: calc((100% - var(--home-partner-gap)) / 2);
  }

  .home-partners-track .swiper-slide::after {
    font-size: 22px;
  }

  .home-partner-logo {
    height: 60px;
    max-height: 60px;
    max-width: 180px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .brands-slide {
    gap: 12px !important;
    padding: 0 16px !important;
  }

  .brands-slide img {
    height: 50px !important;
    max-height: 50px !important;
  }

  .home-partners-track {
    --home-partner-gap: 14px;
    padding: 6px 2px 10px;
  }

  .home-partners-track .swiper-slide {
    width: calc((100% - var(--home-partner-gap)) / 2);
  }

  .home-partners-track .swiper-slide::after {
    font-size: 18px;
  }

  .home-partner-logo {
    height: 48px;
    max-height: 48px;
    max-width: 140px;
  }
}

/* Footer mobile */
@media (max-width: 600px) {

  /* Main 4-col grid â†’ single column */
  footer[role="contentinfo"] .section-container>div:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
  }

  /* Column 1: Logo & Info */
  footer[role="contentinfo"] .section-container>div:first-child>div:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    gap: 12px !important;
    padding-bottom: 24px;
    margin-bottom: 8px;
    width: 100%;
  }

  footer[role="contentinfo"] .section-container>div:first-child>div:first-child a {
    margin: 0 auto;
  }

  footer[role="contentinfo"] .section-container>div:first-child>div:first-child p {
    max-width: 300px !important;
    text-align: center;
    margin: 0 auto;
    font-size: 13px !important;
    line-height: 1.6 !important;
  }


  /* Separator line after logo section */
  footer[role="contentinfo"] .section-container>div:first-child>div:first-child::after {
    content: '';
    display: block;
    width: 80%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 16px auto 0;
  }

  /* Columns 2, 3, 4 */
  footer[role="contentinfo"] .section-container>div:first-child>div:nth-child(2),
  footer[role="contentinfo"] .section-container>div:first-child>div:nth-child(3),
  footer[role="contentinfo"] .section-container>div:first-child>div:nth-child(4) {
    text-align: center;
    width: 100%;
    padding: 20px 0;
  }

  /* Section headings */
  footer[role="contentinfo"] h3 {
    display: inline-block !important;
    text-align: center;
    margin: 0 auto 20px !important;
    width: auto !important;
    font-size: 18px !important;
  }

  footer[role="contentinfo"] h3 span {
    bottom: -2px !important;
    left: 0 !important;
    width: 100% !important;
    position: absolute !important;
  }

  /* Center the heading wrapper */
  footer[role="contentinfo"] .section-container>div:first-child>div:nth-child(2),
  footer[role="contentinfo"] .section-container>div:first-child>div:nth-child(3),
  footer[role="contentinfo"] .section-container>div:first-child>div:nth-child(4) {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Menu lists */
  footer[role="contentinfo"] ul {
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  footer[role="contentinfo"] ul li {
    margin-bottom: 10px !important;
    padding: 0 !important;
  }

  footer[role="contentinfo"] ul li a {
    font-size: 14px !important;
  }

  /* Contact list: stack vertically, icons on top */
  footer[role="contentinfo"] .section-container>div:first-child>div:nth-child(4)>ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0 !important;
    margin-bottom: 20px !important;
  }

  /* Each contact item: icon on top, text below, centered */
  footer[role="contentinfo"] .section-container>div:first-child>div:nth-child(4)>ul>li {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center;
    gap: 4px !important;
    margin-bottom: 16px !important;
    font-size: 13px !important;
  }

  /* Phone items side by side */
  footer[role="contentinfo"] .section-container>div:first-child>div:nth-child(4)>ul>li:nth-child(1),
  footer[role="contentinfo"] .section-container>div:first-child>div:nth-child(4)>ul>li:nth-child(2) {
    width: 100%;
  }

  /* Email + Address full width */
  footer[role="contentinfo"] .section-container>div:first-child>div:nth-child(4)>ul>li:nth-child(3),
  footer[role="contentinfo"] .section-container>div:first-child>div:nth-child(4)>ul>li:nth-child(4) {
    width: 100%;
  }

  /* Action buttons centered */
  footer[role="contentinfo"] .section-container>div:first-child>div:nth-child(4)>div {
    justify-content: center !important;
    display: flex !important;
    gap: 12px !important;
    margin-top: 8px;
  }

  /* Bottom section: social icons above copyright */
  footer[role="contentinfo"] .section-container>div:last-child {
    flex-direction: column-reverse !important;
    align-items: center !important;
    text-align: center;
    gap: 20px !important;
    padding-top: 20px !important;
    margin-top: 16px !important;
  }

  footer[role="contentinfo"] .section-container>div:last-child>p {
    font-size: 12px !important;
  }

  footer[role="contentinfo"] .section-container>div:last-child>div {
    display: flex !important;
    justify-content: center !important;
    gap: 12px !important;
  }
}

/* Footer desktop width override */
footer[role="contentinfo"] .footer-wide-container {
  position: relative;
}

@media (min-width: 1024px) {
  footer[role="contentinfo"] .section-container.footer-wide-container {
    width: min(100%, var(--section-container-max-width));
    max-width: none;
    padding-left: clamp(40px, 4vw, 70px);
    padding-right: clamp(40px, 4vw, 70px);
  }
}

@media (min-width: 1024px) {
  footer[role="contentinfo"] .footer-wide-container>div:first-child {
    grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width:64rem) {
  .ppx-24 {
    padding: 0rem 10rem;
  }
}

.stat-card {
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.stat-card p {
  transition: color 0.4s ease;
}

.stat-card:hover {
  background-color: #163460;
}

.stat-card:hover p {
  color: #fff;
}

.text-justify {
  text-align: justify;
}

@media (min-width: 1024px) {
  @keyframes moubina-back-in-down {
    0% {
      opacity: 0;
      transform: translate3d(-50%, -4.5rem, 0) scaleY(0.7) skewY(-5deg);
    }

    80% {
      opacity: 0.7;
      transform: translate3d(-50%, 0.7rem, 0) scaleY(1.05) skewY(1deg);
    }

    100% {
      opacity: 1;
      transform: translate3d(-50%, 0, 0) scaleY(1) skewY(0);
    }
  }

  @keyframes moubina-back-out-up {
    0% {
      opacity: 1;
      transform: translate3d(-50%, 0, 0) scaleY(1) skewY(0);
    }

    20% {
      opacity: 1;
      transform: translate3d(-50%, 0.35rem, 0) scaleY(0.95) skewY(1deg);
    }

    100% {
      opacity: 0;
      transform: translate3d(-50%, -4.5rem, 0) scaleY(0.72) skewY(-6deg);
    }
  }

  /* Force PNG underline visibility for active/hover top-level desktop nav links */
  .moubina-nav li > a + img {
    display: none;
    pointer-events: none;
  }

  .moubina-nav li > a.active + img,
  .moubina-nav li > a.active + svg,
  .moubina-nav li.current-menu-item > a + img,
  .moubina-nav li.current-menu-item > a + svg,
  .moubina-nav li.current-menu-ancestor > a + img,
  .moubina-nav li.current-menu-ancestor > a + svg,
  .moubina-nav li.current-menu-parent > a + img,
  .moubina-nav li.current-menu-parent > a + svg,
  .moubina-nav li.current_page_item > a + img,
  .moubina-nav li.current_page_item > a + svg,
  .moubina-nav li.current_page_parent > a + img,
  .moubina-nav li.current_page_parent > a + svg,
  .moubina-nav li.current_page_ancestor > a + img,
  .moubina-nav li.current_page_ancestor > a + svg,
  .moubina-nav li > a:hover + img,
  .moubina-nav li > a:hover + svg,
  .moubina-nav li > a:focus-visible + img,
  .moubina-nav li > a:focus-visible + svg {
    display: block !important;
  }

  .moubina-nav li > a.active {
    color: #3f3f44 !important;
  }

  .moubina-nav li.group {
    position: relative;
  }

  .moubina-nav li.group::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 1rem;
  }

  .moubina-nav li.group > .moubina-nav-dropdown-toggle,
  .moubina-nav li.group > button {
    position: relative;
    z-index: 2;
    padding-bottom: 0;
    text-decoration: none;
  }

  .moubina-nav li.group > .moubina-nav-dropdown-toggle.active,
  .moubina-nav li.group.submenu-is-open > .moubina-nav-dropdown-toggle,
  .moubina-nav li.group.submenu-is-closing > .moubina-nav-dropdown-toggle,
  .moubina-nav li.group:hover > .moubina-nav-dropdown-toggle,
  .moubina-nav li.group:focus-within > .moubina-nav-dropdown-toggle,
  .moubina-nav li.group.submenu-is-open > button,
  .moubina-nav li.group.submenu-is-closing > button,
  .moubina-nav li.group:hover > button,
  .moubina-nav li.group:focus-within > button {
    color: #3f3f44 !important;
  }

  .moubina-nav .moubina-metiers-underline {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    z-index: 2;
    display: none;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .moubina-nav li.group:hover > .moubina-metiers-underline,
  .moubina-nav li.group:focus-within > .moubina-metiers-underline,
  .moubina-nav li.group.submenu-is-open > .moubina-metiers-underline,
  .moubina-nav li.group.submenu-is-closing > .moubina-metiers-underline,
  .moubina-nav li.group > .moubina-nav-dropdown-toggle.active + .moubina-metiers-underline {
    display: block;
  }

  .moubina-nav li.group > .sub-menu {
    top: calc(100% + 1rem);
    left: 50%;
    width: fit-content;
    min-width: 0;
    max-width: 90vw;
    padding: 1.2rem 1.7rem 1.6rem;
    border: 1px solid #e5e2df;
    border-top: 0;
    border-radius: 0 0 1.6rem 1.6rem;
    background: #f4f2f0;
    box-shadow: 0 20px 48px rgba(24, 24, 24, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(-50%, -4.5rem, 0) scaleY(0.72) skewY(-6deg);
    transform-origin: top center;
    will-change: transform, opacity;
  }

  .moubina-nav .sub-menu li + li {
    margin-top: 0.85rem;
  }

  .moubina-nav .sub-menu a {
    display: block;
    white-space: nowrap;
    border: 1px solid #e6e3df;
    border-radius: 9999px;
    background: #f8f8f8;
    padding: 0.5rem 0.9rem;
    color: #707076 !important;
    font-family: "Raleway", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.5;
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
  }

  .moubina-nav .sub-menu a:hover,
  .moubina-nav .sub-menu a:focus-visible,
  .moubina-nav .sub-menu a.text-secondary {
    color: #424248 !important;
    border-color: #ddd8d2;
    background: #ffffff;
    transform: translateX(2px);
  }

  .moubina-nav li.group.submenu-is-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(-50%, 0, 0) scaleY(1) skewY(0);
    animation: moubina-back-in-down 0.55s cubic-bezier(0.68, -0.55, 0.27, 1.55) both;
  }

  .moubina-nav li.group.submenu-is-closing > .sub-menu {
    visibility: visible;
    pointer-events: none;
    animation: moubina-back-out-up 0.42s cubic-bezier(0.6, -0.28, 0.735, 0.045) both;
  }
}

@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  .moubina-nav li.group > .sub-menu {
    animation: none !important;
    transition: none !important;
  }

  .moubina-nav li.group.submenu-is-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(-50%, 0, 0) scaleY(1) skewY(0);
  }

  .moubina-nav li.group.submenu-is-closing > .sub-menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(-50%, -4.5rem, 0) scaleY(0.72) skewY(-6deg);
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .moubina-nav .sub-menu {
    width: fit-content;
    min-width: 0;
    max-width: 92vw;
    padding: 1rem 1.2rem 1.25rem;
  }

  .moubina-nav .sub-menu a {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }
}

.page-moubina-living .living-services-section {
  background-color: #fefbf8;
}

.page-moubina-living .living-services-inner {
  position: relative;
  z-index: 1;
}

.page-moubina-living .living-services-shape {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  width: auto;
  max-width: none;
  transform: translateX(-24%);
  pointer-events: none;
  z-index: 0;
}

.page-moubina-living .living-services-divider {
  height: 1px;
  background: #ece8e3;
  margin-bottom: clamp(2rem, 3vw, 3rem);
}

.page-moubina-living .living-services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.page-moubina-living .living-services-text {
  position: relative;
  z-index: 1;
}

.page-moubina-living .living-services-eyebrow {
  font-size: 1.125rem;
  line-height: 2;
  font-weight: 700;
  color: #f5831e;
  margin: 0 0 0.15rem;
}

.page-moubina-living .living-services-title {
  color: #163460;
  margin: 0;
  line-height: 0.93;
}

.page-moubina-living .living-services-title-top {
  display: block;
  font-size: clamp(2.8rem, 4.6vw, 5rem);
  font-weight: 500;
}

.page-moubina-living .living-services-title-main {
  display: inline-block;
  position: relative;
  font-size: clamp(3rem, 5vw, 5.35rem);
  font-weight: 800;
}

.page-moubina-living .living-services-title-underline {
  position: absolute;
  left: 50%;
  bottom: -0.65rem;
  transform: translateX(-50%);
  width: clamp(9rem, 13vw, 13.5rem);
}

.page-moubina-living .living-services-intro {
  margin-top: 1.9rem;
  max-width: 38.5rem;
}

.page-moubina-living .living-services-intro p,
.page-moubina-living .living-services-feature-text {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.12;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.56);
}

.page-moubina-living .living-services-feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.6rem;
  align-items: start;
}

.page-moubina-living .living-services-feature + .living-services-feature {
  margin-top: 1.5rem;
}

.page-moubina-living .living-services-check {
  margin-top: 0.3rem;
  color: #e4c59f;
  flex-shrink: 0;
}

.page-moubina-living .living-services-feature-title {
  margin: 0 0 0.15rem;
  color: #163460;
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 600;
}

.page-moubina-living .living-services-image {
  position: relative;
  z-index: 1;
}

.page-moubina-living .living-services-image-frame {
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.page-moubina-living .living-services-image-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 89 / 70;
}

@media (min-width: 1024px) {
  .page-moubina-living .living-services-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: clamp(2rem, 5vw, 6rem);
  }
}

@media (max-width: 1023px) {
  .page-moubina-living .living-services-shape {
    height: 82%;
    transform: translateX(-46%);
    opacity: 0.7;
  }

  .page-moubina-living .living-services-intro p,
  .page-moubina-living .living-services-feature-text {
    font-size: 1rem;
    line-height: 1.22;
  }

  .page-moubina-living .living-services-feature-title {
    font-size: 1.5rem;
  }
}

.page-moubina-living .living-why-kicker {
  margin: 0;
  font-size: 1.125rem;
  line-height: 2;
  font-weight: 700;
  color: #f5831e;
}

.page-moubina-living .living-why-card {
  background: transparent;
  border: 0 !important;
  box-shadow: none;
}

@media (min-width: 1024px) {
  .page-moubina-living .living-why-card:first-child,
  .page-moubina-living .living-why-card:last-child {
    background: rgba(22, 52, 96, 0.04);
  }
}

.page-moubina-living .living-why-card-icon {
  filter: brightness(0) saturate(100%) invert(57%) sepia(71%) saturate(1110%) hue-rotate(347deg) brightness(101%) contrast(93%);
}

.page-moubina-living .living-why-card-title {
  color: #f5831e;
}

.page-moubina-living .living-why-card-text {
  color: rgba(0, 0, 0, 0.68);
}

.page-moubina-living .living-why-card:hover {
  box-shadow: none;
}

#discover-section.page-project-details2 {
  background-color: transparent;
  background-size: cover;
  background-image: url('data:image/svg+xml,<svg width="1920" height="1012" viewBox="0 0 1920 1012" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="1920" height="1012" fill="%23E78D06"/><mask id="mask0_94_8984" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1920" height="1012"><rect width="1920" height="1012" fill="%23FFA500"/></mask><g mask="url(%23mask0_94_8984)"><path opacity="0.23" d="M56.716 -192C276.862 51.3334 -359.648 107.114 479.129 396.305C791.286 503.929 969.54 582.88 1051.23 643.045C1679.26 1000.09 1261.71 1248.52 604.689 1039.61C503.621 1007.48 414.904 964.509 337.702 913.827C220.858 935.264 106.025 960.531 5.86703 992.98C-656.103 1207.44 -242.466 34.6099 31.5705 -175.272C39.595 -181.527 47.9806 -187.117 56.716 -192Z" fill="%23CE7400"/></g></svg>');
}

#discover-section.page-project-details {
  background-color: transparent;
  background-size: cover;
  background-image: url('data:image/svg+xml,<svg width="1914" height="1012" viewBox="0 0 1914 1012" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="-6" width="1920" height="1012" fill="%2330331B"/><mask id="mask0_77_3073" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="-6" y="0" width="1920" height="1012"><rect x="-6" width="1920" height="1012" fill="%2330331B"/></mask><g mask="url(%23mask0_77_3073)"><path opacity="0.23" d="M50.716 -192C270.862 51.3334 -365.648 107.114 473.129 396.305C785.286 503.929 963.54 582.88 1045.23 643.045C1673.26 1000.09 1255.71 1248.52 598.689 1039.61C497.621 1007.48 408.904 964.509 331.702 913.827C214.858 935.264 100.025 960.531 -0.132965 992.98C-662.103 1207.44 -248.466 34.6099 25.5705 -175.272C33.595 -181.527 41.9806 -187.117 50.716 -192Z" fill="%231F210F"/></g></svg>');
}

#discover-section.page-project-details4 {
  background-color: transparent;
  background-size: cover;
  background-image: url('data:image/svg+xml,<svg width="1920" height="1012" viewBox="0 0 1920 1012" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="1920" height="1012" fill="%2328682d"/><mask id="mask0_126_19541" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1920" height="1012"><rect width="1920" height="1012" fill="%2328682d"/></mask><g mask="url(%23mask0_126_19541)"><path opacity="0.23" d="M56.716 -192C276.862 51.3334 -359.648 107.114 479.129 396.305C791.286 503.929 969.54 582.88 1051.23 643.045C1679.26 1000.09 1261.71 1248.52 604.689 1039.61C503.621 1007.48 414.904 964.509 337.702 913.827C220.858 935.264 106.025 960.531 5.86703 992.98C-656.103 1207.44 -242.466 34.6099 31.5705 -175.272C39.595 -181.527 47.9806 -187.117 56.716 -192Z" fill="%232E3900"/></g></svg>')
}

#discover-section.page-project-details3 {
  background-color: transparent;
  background-size: cover;
  background-image: url('data:image/svg+xml,<svg width="1920" height="1012" viewBox="0 0 1920 1012" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="1920" height="1012" fill="%231B305D"/><mask id="mask0_126_25819" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1920" height="1012"><rect width="1920" height="1012" fill="%2330331B"/></mask><g mask="url(%23mask0_126_25819)"><path opacity="0.23" d="M56.716 -192C276.862 51.3334 -359.648 107.114 479.129 396.305C791.286 503.929 969.54 582.88 1051.23 643.045C1679.26 1000.09 1261.71 1248.52 604.689 1039.61C503.621 1007.48 414.904 964.509 337.702 913.827C220.858 935.264 106.025 960.531 5.86703 992.98C-656.103 1207.44 -242.466 34.6099 31.5705 -175.272C39.595 -181.527 47.9806 -187.117 56.716 -192Z" fill="black" fill-opacity="0.4"/></g></svg>');
}

#discover-section.page-project-details5 {
  background-color: transparent;
  background-size: cover;
  background-image: url('data:image/svg+xml,<svg width="1920" height="1012" viewBox="0 0 1920 1012" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="1920" height="1012" fill="%23F2EAE7"/><mask id="mask0_126_34602" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1920" height="1012"><rect width="1920" height="1012" fill="%2330331B"/></mask><g mask="url(%23mask0_126_34602)"><path opacity="0.23" d="M56.716 -192C276.862 51.3334 -359.648 107.114 479.129 396.305C791.286 503.929 969.54 582.88 1051.23 643.045C1679.26 1000.09 1261.71 1248.52 604.689 1039.61C503.621 1007.48 414.904 964.509 337.702 913.827C220.858 935.264 106.025 960.531 5.86703 992.98C-656.103 1207.44 -242.466 34.6099 31.5705 -175.272C39.595 -181.527 47.9806 -187.117 56.716 -192Z" fill="black" fill-opacity="0.08"/></g></svg>');
}

#discover-section.page-project-details6 {
  background-color: transparent;
  background-size: cover;
  background-image: url('data:image/svg+xml,<svg width="1920" height="1012" viewBox="0 0 1920 1012" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="1920" height="1012" fill="%235E180D"/><mask id="mask0_126_40762" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1920" height="1012"><rect width="1920" height="1012" fill="%2330331B"/></mask><g mask="url(%23mask0_126_40762)"><path opacity="0.23" d="M56.716 -192C276.862 51.3334 -359.648 107.114 479.129 396.305C791.286 503.929 969.54 582.88 1051.23 643.045C1679.26 1000.09 1261.71 1248.52 604.689 1039.61C503.621 1007.48 414.904 964.509 337.702 913.827C220.858 935.264 106.025 960.531 5.86703 992.98C-656.103 1207.44 -242.466 34.6099 31.5705 -175.272C39.595 -181.527 47.9806 -187.117 56.716 -192Z" fill="black" fill-opacity="0.4"/></g></svg>');
}

#discover-section.page-project-details7 {
  background-color: transparent;
  background-size: cover;
  background-image: url('data:image/svg+xml,<svg width="1920" height="1012" viewBox="0 0 1920 1012" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="1920" height="1012" fill="%23003D5B"/><mask id="mask0_126_45700" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1920" height="1012"><rect width="1920" height="1012" fill="%2330331B"/></mask><g mask="url(%23mask0_126_45700)"><path opacity="0.23" d="M56.716 -192C276.862 51.3334 -359.648 107.114 479.129 396.305C791.286 503.929 969.54 582.88 1051.23 643.045C1679.26 1000.09 1261.71 1248.52 604.689 1039.61C503.621 1007.48 414.904 964.509 337.702 913.827C220.858 935.264 106.025 960.531 5.86703 992.98C-656.103 1207.44 -242.466 34.6099 31.5705 -175.272C39.595 -181.527 47.9806 -187.117 56.716 -192Z" fill="black" fill-opacity="0.4"/></g></svg>');
}


#discover-section.page-project-details11 {
  background-color: transparent;
  background-size: cover;
  background-image: url('data:image/svg+xml,<svg width="1920" height="1012" viewBox="0 0 1920 1012" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="1920" height="1012" fill="%2300394A"/><mask id="mask0_126_59791" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1920" height="1012"><rect width="1920" height="1012" fill="%2330331B"/></mask><g mask="url(%23mask0_126_59791)"><path opacity="0.23" d="M56.716 -192C276.862 51.3334 -359.648 107.114 479.129 396.305C791.286 503.929 969.54 582.88 1051.23 643.045C1679.26 1000.09 1261.71 1248.52 604.689 1039.61C503.621 1007.48 414.904 964.509 337.702 913.827C220.858 935.264 106.025 960.531 5.86703 992.98C-656.103 1207.44 -242.466 34.6099 31.5705 -175.272C39.595 -181.527 47.9806 -187.117 56.716 -192Z" fill="black" fill-opacity="0.4"/></g></svg>')
}

#discover-section.page-project-details13 {
  background-color: transparent;
  background-size: cover;
background-image: url('data:image/svg+xml,<svg width="1920" height="1020" viewBox="0 0 1920 1020" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="1920" height="1012" fill="%23087583"/><mask id="mask0_147_62314" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="1920" height="1012"><rect width="1920" height="1012" fill="%2330331B"/></mask><g mask="url(%23mask0_147_62314)"><path opacity="0.23" d="M56.716 -192C276.862 51.3334 -359.648 107.114 479.129 396.305C791.286 503.929 969.54 582.88 1051.23 643.045C1679.26 1000.09 1261.71 1248.52 604.689 1039.61C503.621 1007.48 414.904 964.509 337.702 913.827C220.858 935.264 106.025 960.531 5.86703 992.98C-656.103 1207.44 -242.466 34.6099 31.5705 -175.272C39.595 -181.527 47.9806 -187.117 56.716 -192Z" fill="black" fill-opacity="0.25"/></g></svg>')
}


.border-card-project {
  border: 6px solid rgba(245, 131, 30, 0.06);
  border-radius: 20px;
}

.border-card-project {
  border: 3px solid rgba(245, 131, 30, 0.06);
}

.page-project-details2 .btn-contact {
  background: #FFA500;
  box-shadow: 0px 13px 34px rgba(0, 0, 0, 0.08);
  border-radius: 40px;
}


button.active-plan {
  color: white;
  background: #FFA500;
}

/* Tailwind utility fallback: placeholder:text-white/30 */
.placeholder\:text-white\/30::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
  opacity: 1;
}

.placeholder\:text-white\/30::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
}

.placeholder\:text-white\/30::-moz-placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
  opacity: 1;
}

/*  */

.page-project-details {
  --color-primary: #30331b;
  --color-secondary: #a88c6b;
}

.page-project-details2 {
  --color-primary: rgba(0, 0, 0, 0.8);
  --color-secondary: #ffa500;
}

.page-project-details3 {
  --color-primary: #1b305d;
  --color-secondary: #bba363;
}

.page-project-details4 {
  --color-primary: #28682d;
  --color-secondary: rgb(40 104 45 / 50%);
}

.page-project-details5 {
  --color-primary: #7c0605;
  --color-secondary: rgba(124, 6, 5, 0.4);
}

.page-project-details6 {
  --color-primary: #5e180d;
  --color-secondary: rgba(94, 24, 13, 0.4);
}

.page-project-details7 {
  --color-primary: #003d5b;
  --color-secondary: #25e2cc;
}

.page-project-details8 {
  --color-primary: #3d0067;
  --color-secondary: rgba(51, 30, 79, 0.5);
}

.page-project-details9 {
  --color-primary: rgba(0, 0, 0, 0.8);
  --color-secondary: #f5c950;
}

.page-project-details10 {
  --color-primary: #3e3633;
  --color-secondary: #a17660;
}

.page-project-details11 {
  --color-primary: #005060;
  --color-secondary: rgba(0, 80, 96, 0.4);
}

.page-project-details12 {
  --color-primary: rgba(0, 0, 0, 0.8);
  --color-secondary: #f7912c;
}

.page-project-details13 {
  --color-primary: #087583;
  --color-secondary: rgba(8, 117, 131, 0.5);
}

.page-project-details14 {
  --color-primary: #492705;
  --color-secondary: rgba(73, 39, 5, 0.6);
}

/* Only animations that can't be done with Tailwind */
@keyframes oliviers-scroll {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

.oliviers-hero__scroll-line {
  animation: oliviers-scroll 2s ease-in-out infinite;
}

/* Continuous pulse animation for the circle */
@keyframes oliviers-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.6;
  }
}

.oliviers-hero__button-circle::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: oliviers-pulse 3s ease-in-out infinite;
}

[data-animation="hero-tree"] {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

[data-animation="hero-tree"]:hover {
  transform: translateX(1.5rem) rotate(-5deg) scale(1.1);
}

/* Keep decorative underline visible under highlighted words across project titles */
.equilibre__highlight[data-animation="equilibre__highlight"] {
  display: inline-block;
  position: relative;
  isolation: isolate;
}

.equilibre__highlight[data-animation="equilibre__highlight"] img {
  pointer-events: none;
}

.leaflet-container {
  background: #f5f1e8;
}

.proximity-card {
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.proximity-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.custom-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 3px solid white;
  background: white;
}

.dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4a574;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.internal-modal-backdrop {
  animation: fadeIn 0.3s ease-out;
}

.internal-modal-content {
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.moubina-modal-open {
  overflow: hidden;
}

body > #imageModal.project-tour-modal-ready {
  position: fixed;
  inset: 0;
}

body > #imageModal.project-tour-modal-ready .internal-modal-content {
  width: 100vw;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100dvh;
  padding: clamp(16px, 2vw, 32px);
  box-sizing: border-box;
}

body > #imageModal.project-tour-modal-ready .internal-modal-frame {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(88vw, 1200px);
  max-height: calc(100dvh - 6rem);
  margin: 0 auto;
}

body > #imageModal.project-tour-modal-ready #modalImage {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 6rem);
  object-fit: contain;
}

body > #imageModal.project-tour-modal-ready .close-button,
body > #imageModal.project-tour-modal-ready .prev-button,
body > #imageModal.project-tour-modal-ready .next-button,
body > #imageModal.project-tour-modal-ready .internal-modal-counter {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

body > #imageModal.project-tour-modal-ready .close-button,
body > #imageModal.project-tour-modal-ready .prev-button,
body > #imageModal.project-tour-modal-ready .next-button {
  position: fixed;
  z-index: 30;
}

body > #imageModal.project-tour-modal-ready .close-button {
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
}

body > #imageModal.project-tour-modal-ready .prev-button {
  top: 50%;
  left: max(16px, env(safe-area-inset-left));
  transform: translateY(-50%);
}

body > #imageModal.project-tour-modal-ready .next-button {
  top: 50%;
  right: max(16px, env(safe-area-inset-right));
  transform: translateY(-50%);
}

body > #imageModal.project-tour-modal-ready .internal-modal-counter {
  position: fixed;
  z-index: 30;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
}

body > #imageModal.project-tour-modal-ready .internal-modal-content {
  cursor: zoom-out;
}

body > #imageModal.project-tour-modal-ready .internal-modal-frame,
body > #imageModal.project-tour-modal-ready .close-button,
body > #imageModal.project-tour-modal-ready .prev-button,
body > #imageModal.project-tour-modal-ready .next-button {
  cursor: auto;
}

@media (max-width: 767px) {
  body > #imageModal.project-tour-modal-ready .internal-modal-frame {
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 7rem);
  }

  body > #imageModal.project-tour-modal-ready #modalImage {
    max-height: calc(100dvh - 7rem);
  }
}

.value-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover {
  box-shadow: 0px 4px 64px rgba(0, 0, 0, 0.09);
  background: color-mix(in srgb, var(--color-primary) 8%, transparent);
}

.tour-tab-content,
.tour-tab-content2,
.tour-tab-content3 {
  transition: opacity 0.3s ease-out;
}

.appartement-tour-tab,
.appartement-tour-tab2,
.appartement-tour-tab3 {
  transition: all 0.3s ease;
}

.appartement-tour-tab.active,
.appartement-tour-tab2.active,
.appartement-tour-tab3.active {
  background-color: #fdf8f4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Gallery Carousel */
.gallery-carousel {
  width: 100%;
  position: relative;
  overflow-x: clip;
}

.gallery-carousel-track {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  cursor:
    url("/images/cursor-hand.svg") 10 2,
    grab;
  scrollbar-width: none;
  min-height: 240px;
  user-select: none;
  -webkit-user-select: none;
}

.gallery-carousel-track::-webkit-scrollbar {
  display: none;
}

.gallery-carousel-track.is-dragging,
.gallery-carousel-track:active {
  cursor:
    url("/images/cursor-hand.svg") 10 2,
    grabbing;
}

.gallery-carousel-item {
  flex: 0 0 220px;
  height: 260px;
  scroll-snap-align: center;
  border-radius: 1rem;
  overflow: hidden;
}

@media (min-width: 480px) {
  .gallery-carousel-track {
    gap: 12px;
    padding: 0 16px;
    min-height: 280px;
  }

  .gallery-carousel-item {
    flex: 0 0 260px;
    height: 300px;
  }
}

@media (min-width: 640px) {
  .gallery-carousel-track {
    gap: 16px;
    padding: 0 24px;
    min-height: 300px;
  }

  .gallery-carousel-item {
    flex: 0 0 320px;
    height: 340px;
  }
}

@media (min-width: 768px) {
  .gallery-carousel-track {
    gap: 20px;
    padding: 0 32px;
  }

  .gallery-carousel-item {
    flex: 0 0 380px;
    height: 380px;
  }
}

@media (min-width: 1024px) {
  .gallery-carousel-track {
    gap: 24px;
    padding: 0 48px;
  }

  .gallery-carousel-item {
    flex: 0 0 440px;
    height: 400px;
  }
}

@media (min-width: 1280px) {
  .gallery-carousel-track {
    gap: 28px;
    padding: 0 calc((100vw - var(--section-container-max-width, 1440px)) / 2 + 48px);
  }

  .gallery-carousel-item {
    flex: 0 0 580px;
    height: 500px;
  }
}

/* Testimonials Slider */
.testimonials-slider-container {
  width: 100%;
}

.testimonials-wrapper {
  display: flex;
  will-change: transform;
}

.testimonial-card {
  user-select: none;
  flex-shrink: 0;
  width: 365px;
  border: 3px solid rgba(245, 131, 30, 0.11) !important;
}

@media (max-width: 640px) {
  .testimonial-card {
    width: calc(100vw - 32px);
  }
}

/* Contact section inputs */
#contact-section input::placeholder,
#contact-section textarea::placeholder {
  color: rgba(62, 54, 51, 0.35);
}

#contact-section input:focus,
#contact-section textarea:focus {
  border-color: var(--color-secondary);
}

body.antialiased.page-project-details3 .btn-contact {
  background: #bba363;
  color: #1b305d;
}

body.antialiased.page-project-details button.active-plan {
  background: #30331B;
  color: var(--color-secondary);
}

@media (min-width: 768px) {
  .hero-button-group{
    padding-top:16vh
  }
}

.custom-bottom-10 {
  bottom: -20px;
}

.svg-icon svg {
  width: 33px;
  height: 33px;
}

span.sr-only {
  display: none;
}

.object-position-top {
  object-position: bottom;
}

/* Project details: mobile overlay block uses each project's primary color */
@media (max-width: 767px) {
  .equilibre__image-wrapper > .equilibre__overlay {
    background: var(--color-secondary) !important;
    position: relative !important;
    bottom: 20px !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

@media (max-width: 767px) {
  .about-bg-position {
    background-position: 76% 41.4286%!important;
  }
}

@media (max-width: 639px) {
  .equilibre__brochure-btn,
  .equilibre__cahier-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .oliviers-hero__title > img.cursor-default {
    max-height: 300px;
    object-fit: contain;
  }
}

@media (max-width: 767px) {
  .equilibre__overlay-info-card {
    padding-bottom: 48px;
  }
}

/* Carriere & Recrutement single: custom section bottom spacing */
.career-single-section-padding {
  padding-bottom: 1rem !important;
}

.stat-card, .list-of-cnt li {
  width: 100%;
}

@media (min-width: 768px) {
  .stat-card, .list-of-cnt li {
    width: 50%;
  }
}

@media (min-width: 933px) {
  .stat-card, .list-of-cnt li {
    width: 25%;
  }
}

.signature {
  font-size: 3rem;
}

@media (min-width: 1024px) {
  .signature {
    font-size: 5rem;
  }
}

@media (max-width: 933px) {
  .project-card {
    margin-bottom: 2.5rem;
  }
}
