/*
  Retouches Le Lina (b2web) - chargees apres habitationjlj.webflow.css sur toutes les pages.
  Les regles ciblent des classes partagees : une section retouchee l'est partout ou elle apparait.
*/

:root {
  --jlj-ink: #2e2d20;
  --jlj-ink-soft: #55543f;
  --jlj-card: #ffffff;
  --jlj-line: #807e5833;
  --jlj-shadow: 0 1px 2px #2e2d200d, 0 12px 32px -12px #2e2d2026;
}

/* ---------- Hero d'accueil ---------- */

.hero-section:not(.compact-hero):not(.mobile-hero-full) {
  height: auto;
  min-height: 0;
}

.jlj-hero-bg {
  background-image:
    linear-gradient(to top, #14150ecc 0%, #14150e73 38%, #14150e1a 72%, #14150e00 100%),
    url('../images/VUE-2-DE-JOUR-1.jpg');
  background-position: 0 0, 50% 55%;
  background-size: auto, cover;
}

.hero-content.jlj-hero-bottom {
  min-height: clamp(520px, 74vh, 780px);
  justify-content: flex-end;
  gap: 20px;
  padding: 48px 32px 56px;
}

.jlj-hero-title {
  grid-column: span 3;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 20px;
}

.jlj-chip-wrap {
  top: 0;
}

@media screen and (max-width: 767px) {
  .jlj-hero-title {
    grid-column: 1 / -1;
  }
}

.jlj-hero-bottom .primary-chips {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background-color: #ffffff1f;
}

@media screen and (min-width: 992px) {
  .jlj-hero-bottom .hero-text-grid {
    align-items: end;
    column-gap: 32px;
  }
}

.jlj-h1-text-bottom {
  text-shadow: 0 2px 24px #0000004d;
}

.jlj-hero-bottom .hero-description {
  justify-content: flex-end;
  gap: 24px;
  padding-bottom: 10px;
}

.jlj-hero-bottom .hero-description .regular-s {
  font-size: 15px;
  line-height: 150%;
  text-shadow: 0 1px 12px #00000059;
}

.jlj-hero-bottom .hero-lines-grid .hero-line-block {
  border-color: #ffffff1a;
}

/* Cartes des types de logement sous le hero */
.big-button-copy {
  gap: 12px;
  padding: 24px;
}

.big-button-copy .image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-top: auto;
}

.big-button-copy .jlj-bb-text {
  color: #f2f2f2d9;
  line-height: 145%;
}

.big-button-copy .jlj-bb-text + .jlj-bb-text {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 8px;
}

/* ---------- Boutons sur fond clair ---------- */
/* Le bouton qui suit un bloc de cartes ou un titre de section reste centre, compact et plein. */

.hero > .primary-button {
  align-self: center;
  margin-top: 40px;
}

.primary-button {
  box-shadow: 0 6px 18px -8px #807e5899;
}

.primary-button.primary-white {
  box-shadow: none;
}

/* ---------- Espacements ---------- */

.hero-section:not(.compact-hero) + .section.section-top-padding {
  padding-top: 96px;
}

.blocks-section.navigation-cards-section._6 {
  padding-top: 0;
}

.navigation-cards-section + .default-container {
  padding-top: 160px;
}

/* ---------- FAQ ---------- */

.faq-grid {
  gap: 12px;
}

.faq-column {
  gap: 12px;
}

.faq-item {
  background-color: var(--jlj-card);
  border-color: var(--jlj-line);
  box-shadow: var(--jlj-shadow);
  padding: 24px 28px;
}

.faq-item:hover {
  background-color: #fbfaf6;
  border-color: #807e5866;
}

.faq-question {
  align-items: center;
}

.medium-uppercase-m.faq-question-text {
  color: var(--jlj-ink);
  line-height: 135%;
}

.faq-icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 100px;
  background-color: var(--primary);
}

.faq-icon .icon-vertical-line,
.faq-icon .icon-horizontal-line {
  background-color: var(--white);
}

.regular-s.faq-answer-text {
  color: var(--jlj-ink-soft);
  font-size: 15px;
  line-height: 155%;
}

.jlj-faq-cta {
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
  text-align: center;
}

.jlj-faq-cta p {
  color: var(--jlj-ink-soft);
  font-size: 16px;
  line-height: 150%;
}

/* ---------- Cartes de logements (Les unites + fiches) ---------- */

.projects-list {
  gap: 24px;
}

.project-item {
  gap: 8px;
}

.project-info-card {
  background-color: var(--jlj-card);
  border: 1px solid var(--jlj-line);
  box-shadow: var(--jlj-shadow);
  padding: 40px 36px 36px;
  gap: 40px;
}

.project-info-wrapper {
  gap: 32px;
}

.project-main-info {
  max-width: 440px;
  gap: 16px;
}

.project-main-info .h3 {
  color: var(--jlj-ink);
  font-family: Bitter, serif;
  max-width: none;
}

.project-main-info p {
  color: var(--jlj-ink-soft);
  font-size: 15px;
  line-height: 155%;
}

.project-info-blocks {
  gap: 0;
  border-top: 1px solid var(--jlj-line);
}

.project-info-block {
  border-bottom-color: var(--jlj-line);
  padding: 14px 0;
}

.project-info-block .medium-uppercase-xs {
  color: var(--jlj-ink);
  font-weight: 700;
}

.project-info-block .medium-uppercase-xs.color-black-opacity-70 {
  color: var(--primary);
  font-weight: 500;
}

.project-info-card .project-properties {
  max-width: none;
}

.project-info-card .descriptive-chips {
  background-color: #807e581a;
}

.project-info-card .descriptive-chips .medium-uppercase-xs {
  color: var(--jlj-ink);
}

.project-buttons .secondary-button .medium-uppercase-xs {
  color: var(--primary);
  font-weight: 700;
}

.project-buttons .secondary-button {
  border-bottom: 1px solid #807e5866;
  padding: 6px 2px;
}

.project-image-block {
  height: 600px;
  border-color: var(--jlj-line);
}

.project-image {
  height: 100%;
}

/* ---------- Carrousel (fiche d'unite) ---------- */

.section-2 {
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  padding: 4px 4px 0;
}

.slider-container {
  width: 100%;
  max-width: 1928px;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
}

.slider-wrapper {
  display: block;
}

.slider {
  width: 100%;
  height: clamp(360px, 72vh, 760px);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.mask {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide {
  height: 100%;
}

.slide-content-wrapper {
  width: 100%;
  height: 100%;
  background-image: none;
  background-color: #e1e1e1;
  border-radius: 0;
  overflow: hidden;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-left-arrow,
.slider-right-arrow {
  top: 50%;
  bottom: auto;
  width: 48px;
  height: 48px;
  margin: -24px 20px 0;
  border-radius: 100px;
  background-color: #f2f2f2e6;
  color: var(--primary);
  box-shadow: 0 6px 18px -6px #0000004d;
  transition: background-color .25s, color .25s;
}

.slider-left-arrow:hover,
.slider-right-arrow:hover {
  background-color: var(--primary);
  color: var(--white);
}

.slider-icon {
  font-size: 18px;
}

.slider .w-slider-nav {
  bottom: 12px;
  height: auto;
  padding: 0;
}

.slider .w-slider-dot {
  width: 8px;
  height: 8px;
  background-color: #ffffff80;
}

.slider .w-slider-dot.w-active {
  background-color: var(--white);
}

/* ---------- Tablette / mobile ---------- */

@media screen and (max-width: 991px) {
  .hero-content.jlj-hero-bottom {
    min-height: clamp(480px, 70vh, 680px);
    padding: 40px 24px 48px;
  }

  .hero-section:not(.compact-hero) + .section.section-top-padding {
    padding-top: 72px;
  }

  .navigation-cards-section + .default-container {
    padding-top: 120px;
  }

  .project-image-block {
    height: 480px;
  }
}

@media screen and (max-width: 767px) {
  .hero-content.jlj-hero-bottom {
    min-height: 560px;
    padding: 32px 16px 40px;
  }


  .navigation-cards-section + .default-container {
    padding-top: 96px;
  }

  .faq-item {
    padding: 20px;
  }

  .project-info-card {
    padding: 28px 20px;
  }

  .project-image-block {
    height: 360px;
  }

  .slider {
    height: 420px;
  }

  .slider-left-arrow,
  .slider-right-arrow {
    width: 40px;
    height: 40px;
    margin: -20px 12px 0;
  }
}

/* ---------- Pastilles de section sur fond clair ---------- */
/* Les pastilles "white-chips" au-dessus des titres etaient blanc sur beige. */

.default-container :is(.left-heading-block, .center-heading-block) > .chips.white-chips {
  background-color: #807e5814;
  border-color: #807e5840;
}

.default-container :is(.left-heading-block, .center-heading-block) > .chips.white-chips .medium-uppercase-xs.white {
  color: var(--primary);
}

.default-container :is(.left-heading-block, .center-heading-block) > .chips.white-chips .white-chips-shape {
  background-color: var(--primary);
}

/* Bandeau photo : on garde la pastille blanche d'origine */
.default-container .about-banner-content .center-heading-block > .chips.white-chips {
  background-color: var(--white-opacity--3);
  border-color: var(--white-opacity--10);
}

.default-container .about-banner-content .center-heading-block > .chips.white-chips .medium-uppercase-xs.white {
  color: var(--white);
}

.default-container .about-banner-content .center-heading-block > .chips.white-chips .white-chips-shape {
  background-color: var(--white);
}

/* ---------- Intro a droite d'un titre de section ---------- */

.jlj-heading-intro {
  max-width: 400px;
  color: var(--jlj-ink-soft);
  font-size: 15px;
  line-height: 155%;
}

/* ---------- Blocs de texte numerotes (Le projet > Notre histoire) ---------- */

.text-blocks-grid {
  counter-reset: jlj-block;
  gap: 12px;
  overflow: visible;
}

.text-block {
  counter-increment: jlj-block;
  display: flex;
  flex-flow: column;
  gap: 28px;
  min-height: 220px;
  padding: 28px;
  background-color: var(--jlj-card);
  border: 1px solid var(--jlj-line);
  border-radius: 8px;
  box-shadow: var(--jlj-shadow);
  color: var(--jlj-ink);
  transition: transform .25s, box-shadow .25s;
}

.text-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px #2e2d200d, 0 18px 40px -14px #2e2d2040;
}

.text-block::before {
  content: counter(jlj-block, decimal-leading-zero);
  display: block;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--jlj-line);
  color: var(--primary);
  font-family: Bitter, serif;
  font-size: 32px;
  line-height: 100%;
}

.text-block-content {
  gap: 10px;
  max-width: none;
}

.text-block .medium-uppercase-m {
  color: var(--primary);
  font-weight: 700;
}

.text-block .regular-s {
  color: var(--jlj-ink-soft);
  font-size: 15px;
  line-height: 155%;
}

/* ---------- Chiffres cles (Le projet > En chiffres) ---------- */

.highlight-items {
  gap: 0;
  padding-bottom: 0;
  border-bottom-color: var(--jlj-line);
}

.highlight-item {
  padding: 40px 0;
  border-top-color: var(--jlj-line);
  color: var(--jlj-ink);
}

.large-value {
  font-size: clamp(80px, 9vw, 128px);
  letter-spacing: -.04em;
}

@media screen and (min-width: 992px) {
  .highlight-item {
    align-items: end;
  }
}

.highlight-info {
  justify-content: flex-end;
  gap: 12px;
  padding: 0 0 6px;
}

.highlight-info .medium-uppercase-m {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--jlj-ink);
  font-weight: 700;
}

.highlight-info .medium-uppercase-m::before {
  content: "";
  width: 20px;
  height: 2px;
  background-color: var(--primary);
}

.highlight-info .regular-s.color-white-opacity-70 {
  color: var(--jlj-ink-soft);
  font-size: 15px;
  line-height: 155%;
}

@media screen and (max-width: 991px) {
  .text-blocks-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 767px) {
  .text-blocks-grid {
    grid-template-columns: 1fr;
  }

  .text-block {
    min-height: 0;
  }

  .highlight-item {
    padding: 28px 0;
  }
}

/* Le projet : air entre le bandeau photo et "Notre histoire" */
.section._2 + .section.section-top-padding._2._4 {
  padding-top: 120px;
}

@media screen and (max-width: 767px) {
  .section._2 + .section.section-top-padding._2._4 {
    padding-top: 80px;
  }
}

/* =========================================================
   Animations (voir js/lina-anim.js)
   `translate` / `scale` sont des proprietes independantes de `transform` :
   elles ne touchent pas aux animations Webflow existantes.
   ========================================================= */

/* Apparition au defilement */
.jlj-anim .jlj-reveal {
  opacity: 0;
  translate: 0 28px;
  transition:
    opacity .8s cubic-bezier(.22, .61, .36, 1) var(--jlj-delay, 0ms),
    translate .8s cubic-bezier(.22, .61, .36, 1) var(--jlj-delay, 0ms);
}

.jlj-anim .jlj-reveal.jlj-in {
  opacity: 1;
  translate: 0 0;
}

/* Entree du hero au chargement */
.jlj-anim .hero-content .jlj-chip-wrap,
.jlj-anim .hero-content .h1,
.jlj-anim .hero-content .hero-description > *,
.jlj-anim .hero-content > .secondary-button {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 1s cubic-bezier(.22, .61, .36, 1), translate 1s cubic-bezier(.22, .61, .36, 1);
}

.jlj-anim .hero-content > .secondary-button { transition-delay: .05s; }
.jlj-anim .hero-content .jlj-chip-wrap { transition-delay: .1s; }
.jlj-anim .hero-content .h1 { transition-delay: .2s; }
.jlj-anim .hero-content .hero-description > :nth-child(1) { transition-delay: .4s; }
.jlj-anim .hero-content .hero-description > :nth-child(2) { transition-delay: .55s; }

.jlj-anim.jlj-loaded .hero-content .jlj-chip-wrap,
.jlj-anim.jlj-loaded .hero-content .h1,
.jlj-anim.jlj-loaded .hero-content .hero-description > *,
.jlj-anim.jlj-loaded .hero-content > .secondary-button {
  opacity: 1;
  translate: 0 0;
}

/* Leger zoom lent des grandes photos a l'arrivee */
@keyframes jlj-settle {
  from { scale: 1.08; }
  to { scale: 1; }
}

.jlj-anim .hero-project-image,
.jlj-anim .about-banner-image {
  animation: jlj-settle 2.4s cubic-bezier(.22, .61, .36, 1) both;
}

/* Survol : photos qui zooment doucement */
.big-button-copy .image,
.navigation-card-image,
.project-image,
.full-project-image,
.service-card-image,
.slide-image {
  transition: scale 1s cubic-bezier(.22, .61, .36, 1);
}

.big-button-copy {
  overflow: hidden;
}

.big-button-copy:hover .image,
.navigation-card:hover .navigation-card-image,
.project-item:hover .project-image,
.second-project-image:hover .full-project-image,
.third-project-image:hover .full-project-image,
.service-card:hover .service-card-image {
  scale: 1.05;
}

.big-button-copy:hover {
  translate: 0 -4px;
  box-shadow: 0 18px 40px -18px #2e2d2059;
}

.big-button-copy {
  transition: translate .35s ease, box-shadow .35s ease, background-color .325s ease;
}

.project-info-card {
  transition: box-shadow .35s ease, translate .35s ease;
}

.project-item:hover .project-info-card {
  box-shadow: 0 1px 2px #2e2d200d, 0 20px 44px -16px #2e2d2040;
}

/* Boutons : leger soulevement */
.primary-button {
  transition: background-color .25s, color .25s, translate .25s ease, box-shadow .25s ease;
}

.primary-button:hover {
  translate: 0 -2px;
  box-shadow: 0 10px 22px -10px #807e58b3;
}

/* Icone FAQ qui pivote au survol */
.faq-icon {
  transition: rotate .35s ease, background-color .25s;
}

.faq-item:hover .faq-icon {
  rotate: 90deg;
}

/* Liens du menu et du pied de page : soulignement anime */
.menu-item-text,
.footer-menu-item {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size .35s ease;
}

.menu-item:hover .menu-item-text,
.footer-menu-item:hover {
  background-size: 100% 1px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   Types de logements et modeles (genere par scripts/build-unites.mjs)
   ========================================================= */

/* Titre des pages de type : occupe 3 colonnes comme les autres heros */
@media screen and (min-width: 992px) {
  .jlj-cat-title {
    grid-column: span 3;
  }
}

/* Raccourcis vers chaque modele */
.jlj-model-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.jlj-model-nav .descriptive-chips {
  background-color: var(--jlj-card);
  border: 1px solid var(--jlj-line);
  padding: 10px 16px;
  transition: background-color .25s, border-color .25s;
}

.jlj-model-nav .descriptive-chips .medium-uppercase-xs {
  color: var(--jlj-ink);
  font-weight: 700;
}

.jlj-model-nav .descriptive-chips:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

.jlj-model-nav .descriptive-chips:hover .medium-uppercase-xs {
  color: var(--white);
}

.jlj-model-nav .descriptive-chips:hover .chips-shape {
  background-color: var(--white);
}

.jlj-models-section {
  padding-top: 120px;
  padding-bottom: 96px;
  scroll-margin-top: 16px;
}

.jlj-model {
  scroll-margin-top: 24px;
}

/* Etiquette au-dessus du nom du modele */
.jlj-model-tag {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 100px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Bloc du plan */
.jlj-plan-block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60%;
  min-height: 560px;
  padding: 40px;
  background-color: var(--jlj-card);
  border: 1px solid var(--jlj-line);
  border-radius: 8px;
  box-shadow: var(--jlj-shadow);
  overflow: hidden;
  cursor: zoom-in;
}

.jlj-plan-image {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  transition: scale .8s cubic-bezier(.22, .61, .36, 1);
}

.jlj-plan-block:hover .jlj-plan-image {
  scale: 1.03;
}

.jlj-plan-label {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 100px;
  background-color: #f4efe9;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jlj-disclaimer {
  margin-top: 24px;
  color: var(--jlj-ink-soft);
  font-size: 13px;
  text-align: center;
}

/* Grille de 3 cartes (autres types de logement) */
.three-big-buttons-grid.jlj-grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

/* Les liens photo de /les-unites */
a.project-image-block {
  display: block;
}

@media screen and (max-width: 991px) {
  .jlj-plan-block {
    width: 100%;
    min-height: 0;
    padding: 24px;
  }

  .three-big-buttons-grid.jlj-grid-3 {
    grid-template-columns: 1fr;
  }

  .jlj-models-section {
    padding-top: 88px;
    padding-bottom: 64px;
  }
}

.section-2 + .section.section-top-padding._2 {
  padding-top: 120px;
}

@media screen and (max-width: 767px) {
  .section-2 + .section.section-top-padding._2 {
    padding-top: 80px;
  }
}

/* ---------- Fiches de modele ---------- */

.jlj-model-link {
  color: inherit;
  text-decoration: none;
}

.jlj-model-link:hover .h3 {
  color: var(--primary);
}

.jlj-plan-cta {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 100px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  translate: 0 6px;
  transition: opacity .3s ease, translate .3s ease;
}

.jlj-plan-block:hover .jlj-plan-cta {
  opacity: 1;
  translate: 0 0;
}

/* Carrousel directement sous les blocs d'info d'une fiche */
.blocks-section + .section-2 {
  padding-top: 4px;
}

/* Section "Inclus" */
.jlj-includes-section {
  padding-bottom: 40px;
}

.jlj-includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px;
  background-color: var(--primary);
  border-radius: 8px;
  color: var(--white);
}

.jlj-includes-text {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 20px;
}

.jlj-includes-text .h2 {
  color: var(--white);
}

.jlj-includes-text p {
  color: #f2f2f2d9;
  font-size: 15px;
  line-height: 155%;
}

.jlj-includes-text .jlj-disclaimer {
  margin-top: auto;
  color: #f2f2f2a6;
  font-size: 12px;
  text-align: left;
}

/* La pastille reste blanche sur fond vert */
.default-container .jlj-includes .chips.white-chips {
  background-color: #ffffff1a;
  border-color: #ffffff33;
}

.default-container .jlj-includes .chips.white-chips .medium-uppercase-xs.white {
  color: var(--white);
}

.default-container .jlj-includes .chips.white-chips .white-chips-shape {
  background-color: var(--white);
}

.jlj-includes-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jlj-includes-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #ffffff26;
  font-size: 14px;
  font-weight: 500;
}

.jlj-includes-list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 100px;
  background: #ffffff26 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%23f2f2f2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

@media screen and (max-width: 991px) {
  .jlj-includes {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

@media screen and (max-width: 479px) {
  .jlj-includes-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pages de type : en-tete compact sans grand visuel ---------- */

.jlj-cat-intro {
  padding-top: 64px;
}

.jlj-back {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: translate .25s ease;
}

.jlj-back:hover {
  translate: -3px 0;
}

.jlj-cat-intro-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: end;
}

.jlj-cat-intro-text {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 20px;
}

.jlj-cat-h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 100%;
}

.jlj-cat-intro-text p {
  max-width: 520px;
  color: var(--jlj-ink-soft);
  font-size: 16px;
  line-height: 155%;
}

.jlj-cat-intro-text .project-buttons {
  margin-top: 8px;
}

.jlj-cat-facts {
  margin: 0;
  padding: 8px 28px;
  background-color: var(--jlj-card);
  border: 1px solid var(--jlj-line);
  border-radius: 8px;
  box-shadow: var(--jlj-shadow);
}

.jlj-cat-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--jlj-line);
}

.jlj-cat-facts > div:last-child {
  border-bottom: 0;
}

.jlj-cat-facts dt {
  color: var(--primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.jlj-cat-facts dd {
  margin: 0;
  color: var(--jlj-ink);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.jlj-cat-intro + .jlj-models-section {
  padding-top: 112px;
}

@media screen and (max-width: 991px) {
  .jlj-cat-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .jlj-cat-intro + .jlj-models-section {
    padding-top: 88px;
  }
}

@media screen and (max-width: 767px) {
  .jlj-cat-intro {
    padding-top: 40px;
  }

  .jlj-cat-facts {
    padding: 4px 20px;
  }
}

.jlj-cat-intro-text > .chips.white-chips {
  background-color: #807e5814;
  border-color: #807e5840;
}

.jlj-cat-intro-text > .chips.white-chips .medium-uppercase-xs.white {
  color: var(--primary);
}

.jlj-cat-intro-text > .chips.white-chips .white-chips-shape {
  background-color: var(--primary);
}

/* Specificite renforcee : .section.section-top-padding._2 met padding-top a 0 */
.section.jlj-cat-intro + .section.jlj-models-section {
  padding-top: 112px;
}

.jlj-cat-intro .container-content {
  align-items: stretch;
}

.jlj-back {
  align-self: flex-start;
}

@media screen and (max-width: 991px) {
  .section.jlj-cat-intro + .section.jlj-models-section {
    padding-top: 88px;
  }
}

/* =========================================================
   Disponibilites : vue par etage, tableau des logements, plan 2D
   (HTML genere par scripts/build-unites.mjs, JS dans /js/lina-dispo.js)
   ========================================================= */

.jlj-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.section.jlj-dispo-section {
  padding-top: 96px;
  padding-bottom: 32px;
  scroll-margin-top: 16px;
}

.section.jlj-cat-intro + .section.jlj-dispo-section {
  padding-top: 112px;
}

.jlj-dispo-section + .section.jlj-models-section,
.jlj-dispo-section + .section.jlj-includes-section {
  padding-top: 96px;
}

.jlj-dispo-section .center-heading-block-wrapper {
  margin-bottom: 40px;
}

.jlj-dispo-intro {
  max-width: 520px;
  margin: 0 auto;
  color: var(--jlj-ink-soft);
  font-size: 15px;
  line-height: 155%;
  text-align: center;
}

.jlj-dispo {
  width: 100%;
}

/* Facade cliquable */
.jlj-facade {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--jlj-shadow);
  background-color: #dfe6ea;
}

.jlj-facade-img {
  display: block;
  width: 100%;
  height: auto;
}

.jlj-facade-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.jlj-floor-zone {
  fill: #f4efe900;
  stroke: #ffffff00;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  cursor: pointer;
  outline: none;
  transition: fill .25s ease, stroke .25s ease;
}

.jlj-floor-zone:hover,
.jlj-floor-zone:focus-visible {
  fill: #f4efe95c;
  stroke: #ffffff;
}

.jlj-floor-zone.is-active {
  fill: #807e58a6;
  stroke: #ffffff;
}

.jlj-facade-tip {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 2px;
  padding: 10px 16px;
  border-radius: 6px;
  background-color: #2e2d20eb;
  color: #fff;
  font-size: 14px;
  line-height: 130%;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  translate: -50% calc(-100% - 10px);
}

.jlj-facade-tip[hidden] {
  display: none;
}

.jlj-facade-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: #2e2d20eb;
}

.jlj-facade-tip strong {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
}

.jlj-roof-pin {
  position: absolute;
  z-index: 1;
  translate: -50% -100%;
  pointer-events: none;
}

.jlj-roof-pin span {
  display: block;
  padding: 6px 10px;
  border-radius: 100px;
  background-color: #ffffffe6;
  color: var(--jlj-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 10px #2e2d2033;
}

.jlj-roof-pin::after {
  content: "";
  display: block;
  width: 1px;
  height: 14px;
  margin: 0 auto;
  background-color: #ffffffe6;
}

/* Barre de filtres */
.jlj-dispo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 24px 0 16px;
}

.jlj-floor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jlj-floor-tabs button,
.jlj-type-filter select {
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--jlj-line);
  border-radius: 100px;
  background-color: var(--jlj-card);
  color: var(--jlj-ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.jlj-floor-tabs button:hover {
  border-color: var(--primary);
}

.jlj-floor-tabs button span {
  display: inline-block;
  min-width: 22px;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 100px;
  background-color: #807e581f;
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.jlj-floor-tabs button[aria-pressed="true"] {
  border-color: var(--primary);
  background-color: var(--primary);
  color: var(--white);
}

.jlj-floor-tabs button[aria-pressed="true"] span {
  background-color: #ffffff2e;
  color: var(--white);
}

.jlj-type-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.jlj-type-filter select {
  padding-right: 36px;
  appearance: none;
  background: var(--jlj-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23807e58' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center / 12px no-repeat;
  text-transform: none;
  letter-spacing: 0;
}

.jlj-dispo-count {
  margin: 0 0 0 auto;
  color: var(--jlj-ink-soft);
  font-size: 13px;
}

/* Tableau des logements */
.jlj-units-wrap {
  max-height: 620px;
  overflow: auto;
  background-color: var(--jlj-card);
  border: 1px solid var(--jlj-line);
  border-radius: 8px;
  box-shadow: var(--jlj-shadow);
  overscroll-behavior: contain;
}

.jlj-units {
  width: 100%;
  border-collapse: collapse;
  color: var(--jlj-ink);
  font-size: 14px;
}

.jlj-units thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 0;
  background-color: var(--jlj-card);
  border-bottom: 1px solid var(--jlj-line);
  color: var(--primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.jlj-units thead th > span,
.jlj-units thead th:not([aria-sort]) {
  padding: 16px 12px;
}

.jlj-th-short {
  display: none;
}

.jlj-units thead th button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 16px 12px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.jlj-sort-icon {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  opacity: .3;
  rotate: 45deg;
  translate: 0 -2px;
  transition: rotate .2s ease, opacity .2s ease;
}

th[aria-sort="ascending"] .jlj-sort-icon {
  opacity: 1;
  rotate: 225deg;
  translate: 0 2px;
}

th[aria-sort="descending"] .jlj-sort-icon {
  opacity: 1;
}

.jlj-units tbody tr {
  cursor: pointer;
  transition: background-color .15s ease;
}

.jlj-units tbody tr:hover {
  background-color: #f4efe9;
}

.jlj-units tbody tr + tr td {
  border-top: 1px solid #807e581a;
}

.jlj-units td {
  padding: 14px 12px;
  white-space: nowrap;
}

.jlj-units td:first-child,
.jlj-units th:first-child button {
  padding-left: 20px;
}

.jlj-units td:last-child {
  padding-right: 20px;
  text-align: right;
}

.jlj-col-no {
  font-weight: 700;
}

.jlj-units td.jlj-col-rent {
  color: var(--primary);
  font-weight: 700;
}

.jlj-col-model a {
  color: var(--jlj-ink);
  text-decoration: underline;
  text-decoration-color: #807e5866;
  text-underline-offset: 3px;
}

.jlj-col-model a:hover {
  color: var(--primary);
}

.jlj-status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

.jlj-status.is-disponible {
  background-color: #e3efdc;
  color: #2f6b2a;
}

.jlj-status.is-reserve {
  background-color: #f7ead2;
  color: #8a5a12;
}

.jlj-status.is-loue {
  background-color: #eceae4;
  color: #6f6d5f;
}

.jlj-plan-btn {
  padding: 6px 14px;
  border: 1px solid var(--primary);
  border-radius: 100px;
  background: none;
  color: var(--primary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.jlj-units tbody tr:hover .jlj-plan-btn,
.jlj-plan-btn:focus-visible {
  background-color: var(--primary);
  color: var(--white);
}

.jlj-dispo .jlj-disclaimer {
  margin-top: 16px;
}

@media screen and (max-width: 767px) {
  .section.jlj-dispo-section,
  .section.jlj-cat-intro + .section.jlj-dispo-section {
    padding-top: 72px;
  }

  .jlj-dispo-count {
    margin-left: 0;
  }

  .jlj-col-floor,
  .jlj-col-occ,
  .jlj-col-model {
    display: none;
  }

  .jlj-units {
    font-size: 13px;
  }

  .jlj-units td {
    padding: 12px 8px;
  }

  .jlj-units thead th button {
    padding: 14px 8px;
  }

  .jlj-units td:first-child,
  .jlj-units th:first-child button {
    padding-left: 14px;
  }

  .jlj-units td:last-child {
    padding-right: 14px;
  }

  .jlj-roof-pin span {
    padding: 4px 8px;
    font-size: 9px;
  }

  /* Facade trop basse pour l'infobulle : les boutons d'etage affichent deja les nombres */
  .jlj-facade-tip {
    display: none;
  }
}

@media screen and (max-width: 991px) {
  .jlj-col-occ {
    display: none;
  }

  .jlj-units td,
  .jlj-units thead th button {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media screen and (max-width: 767px) {
  .jlj-th-full {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .jlj-th-short {
    display: inline;
  }

  /* Toute la ligne ouvre le plan : le bouton est retire pour laisser la place au statut */
  .jlj-col-plan {
    display: none;
  }

  .jlj-units thead th {
    font-size: 11px;
    letter-spacing: .02em;
  }

  .jlj-units td,
  .jlj-units thead th button {
    padding-left: 6px;
    padding-right: 6px;
  }

  .jlj-units td:last-of-type {
    padding-right: 12px;
  }

  .jlj-sort-icon {
    display: none;
  }

  .jlj-status {
    padding: 4px 6px;
    font-size: 12px;
  }
}

/* Dialogue du plan 2D */
.jlj-plan-dialog {
  width: calc(100% - 32px);
  max-width: 1080px;
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: 12px;
  background-color: var(--jlj-card);
  color: var(--jlj-ink);
  box-shadow: 0 24px 80px -20px #14150e80;
}

.jlj-plan-dialog::backdrop {
  background-color: #14150e99;
}

.jlj-plan-dialog [hidden] {
  display: none !important;
}

.jlj-plan-dialog-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
}

.jlj-plan-dialog-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background-color: #fff;
  border-right: 1px solid var(--jlj-line);
  cursor: zoom-in;
}

.jlj-plan-dialog-img img {
  width: 100%;
  max-height: min(72vh, 680px);
  object-fit: contain;
}

.jlj-plan-dialog-info {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  gap: 16px;
  padding: 40px 32px 32px;
}

.jlj-plan-dialog-info .h3 {
  margin: 0;
}

.jlj-plan-dialog .jlj-cat-facts {
  width: 100%;
  padding: 0 16px;
  box-shadow: none;
}

.jlj-plan-dialog .jlj-cat-facts > div {
  padding: 11px 0;
}

.jlj-plan-dialog .project-buttons {
  flex-wrap: wrap;
}

.jlj-plan-dialog .jlj-disclaimer {
  margin-top: 0;
  text-align: left;
}

.jlj-plan-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 1px solid var(--jlj-line);
  border-radius: 100px;
  background-color: var(--jlj-card);
  color: var(--jlj-ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.jlj-plan-close:hover {
  border-color: var(--primary);
  color: var(--primary);
}

@media screen and (max-width: 767px) {
  .jlj-plan-dialog-inner {
    grid-template-columns: 1fr;
  }

  .jlj-plan-dialog-img {
    padding: 56px 16px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--jlj-line);
  }

  .jlj-plan-dialog-img img {
    max-height: 52vh;
  }

  .jlj-plan-dialog-info {
    padding: 24px 20px;
  }
}

/* Note sous un carrousel (photos d'un modele semblable) */
.jlj-photo-note {
  flex-basis: 100%;
  margin: 12px auto 0;
  padding: 0 16px;
}

/* ---------- Caracteristiques de l'immeuble ---------- */

.section.jlj-highlights-section {
  padding-top: 32px;
  padding-bottom: 32px;
}

.section.jlj-home-highlights {
  padding-top: 120px;
  padding-bottom: 0;
}

.jlj-home-highlights .center-heading-block-wrapper {
  margin-bottom: 48px;
}

.jlj-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}

.jlj-highlight {
  display: flex;
  flex-flow: column;
  gap: 20px;
  padding: 28px 24px;
  background-color: var(--jlj-card);
  border: 1px solid var(--jlj-line);
  border-radius: 8px;
  box-shadow: var(--jlj-shadow);
}

.jlj-hl-icon {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 100px;
  background-color: #807e581a;
  color: var(--primary);
}

.jlj-highlight-title {
  margin: 0 0 8px;
  color: var(--jlj-ink);
  font-size: 17px;
  font-weight: 500;
  line-height: 125%;
}

.jlj-highlight-text p {
  margin: 0;
  color: var(--jlj-ink-soft);
  font-size: 14px;
  line-height: 150%;
}

@media screen and (max-width: 991px) {
  .jlj-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .section.jlj-home-highlights {
    padding-top: 88px;
  }
}

@media screen and (max-width: 479px) {
  .jlj-highlights {
    grid-template-columns: 1fr;
  }

  .jlj-highlight {
    flex-flow: row;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }
}

/* H1 (SEO) qui garde exactement l'apparence des titres H2 du site */
h1.jlj-h1-as-h2 { letter-spacing: -1.76px; margin-top: 0; margin-bottom: 0; font-size: 44px; font-weight: 400; line-height: 104%; }
@media screen and (max-width: 991px) { h1.jlj-h1-as-h2 { letter-spacing: -1.6px; font-size: 40px; } }
@media screen and (max-width: 767px) { h1.jlj-h1-as-h2 { letter-spacing: -1.12px; font-size: 28px; } }
