/*
Theme Name: Les 5 Colombes
Theme URI: https://example.com/
Author: Laurent & Elior
Description: Thème bloc sur mesure pour la résidence Les 5 Colombes à Marnaz. Ambiance montagne contemporaine, sobre et premium.
Version: 0.16.13
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: les-colombes
*/

:root {
  --lc-shadow: 0 18px 50px rgba(30, 37, 32, 0.10);
  --lc-border: rgba(44, 54, 47, .12);
}

html { scroll-behavior: smooth; }

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

#residence.wp-block-group.alignfull {
  padding-bottom: 20px !important;
}

a { text-underline-offset: .18em; }

.wp-block-button__link,
.lc-lot-card__button,
.lc-document-link {
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.wp-block-button__link:hover,
.lc-lot-card__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0,0,0,.10);
}

.lc-muted { color: #667067; }

.lc-hero { min-height: 74vh; }

/* Grille dynamique des lots */
.lc-lots-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 34px;
}

.lc-lots-grid > .lc-lot-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: min(100%, calc((100% - 28px) / 2));
  justify-self: center;
}

.lc-lot-card {
  background: #fff;
  border: 1px solid var(--lc-border);
  border-radius: 16px;
  box-shadow: var(--lc-shadow);
  overflow: hidden;
}

.lc-lot-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  background: #e7e4de;
  overflow: hidden;
}

.lc-lot-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.lc-lot-card__body {
  padding: 28px;
}

.lc-lot-card h3 {
  margin: 16px 0 10px;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.lc-lot-card__facts {
  color: #667067;
  min-height: 3.2em;
}

.lc-lot-card__price {
  font-weight: 750;
  font-size: 1.18rem;
  margin: 18px 0;
}

.lc-lot-card__button {
  display: inline-block;
  text-decoration: none;
  background: #253028;
  color: #fff;
  border-radius: 999px;
  padding: .78rem 1.15rem;
  font-weight: 700;
}

.lc-lot-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: .38rem .72rem;
  border-radius: 999px;
  background: #eff1ec;
  color: #38443b;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.lc-status-reserve { background: #f2e7cf; color: #69542f; }
.lc-status-vendu { background: #e5e5e5; color: #555; }

/* Fiche lot */
.lc-lot-shell {
  padding-top: 34px;
  padding-bottom: 78px;
}

.lc-lot-commercial {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 18px 0 30px;
}

.lc-lot-commercial__price {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.lc-lot-summary {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid var(--lc-border);
  border-left: 1px solid var(--lc-border);
}

.lc-lot-summary__item {
  margin: 0;
  padding: 20px;
  border-right: 1px solid var(--lc-border);
  border-bottom: 1px solid var(--lc-border);
  background: #fff;
}

.lc-lot-summary dt {
  color: #667067;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 700;
}

.lc-lot-summary dd {
  margin: 5px 0 0;
  font-size: 1.08rem;
  font-weight: 650;
}

.lc-equipment-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px 20px;
}

.lc-equipment-list li {
  padding: 14px 16px 14px 42px;
  background: #eff1ec;
  border-radius: 10px;
  position: relative;
}

.lc-equipment-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  font-weight: 800;
  color: #526458;
}

.lc-documents-list {
  display: grid;
  gap: 10px;
}

.lc-document-link {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--lc-border);
  border-radius: 10px;
  background: #fff;
  color: #253028;
  text-decoration: none;
  font-weight: 650;
}

.lc-document-link:hover {
  border-color: #526458;
  transform: translateY(-1px);
}

.lc-documents-empty {
  padding: 14px 16px;
  background: #f1efe9;
  border-radius: 10px;
  color: #667067;
}


.lc-lot-main-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  background: #e7e4de;
}

.lc-lot-placeholder {
  background: #e7e4de;
  border-radius: 16px;
  overflow: hidden;
}

.lc-lot-placeholder img {
  width: 100%;
  display: block;
}

@media (max-width: 900px) {
  .lc-lots-grid { grid-template-columns: 1fr; }
  .lc-lots-grid > .lc-lot-card:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }
  .lc-lot-summary { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 620px) {
  .lc-hero { min-height: 62vh; }
  .lc-lot-summary { grid-template-columns: 1fr; }
  .lc-equipment-list { grid-template-columns: 1fr; }
  .lc-lot-card__body { padding: 22px; }
}


/* Galerie / diaporama des appartements — v0.3.0 */
.lc-lot-gallery{margin-top:28px;outline:none}
.lc-lot-gallery__viewport{position:relative;overflow:hidden;border-radius:16px;background:#e9e6df;aspect-ratio:16/9}
.lc-lot-gallery__slide{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transition:opacity .28s ease;pointer-events:none}
.lc-lot-gallery__slide.is-active{opacity:1;visibility:visible;pointer-events:auto}
.lc-lot-gallery__slide img,.lc-lot-main-image{width:100%;height:100%;display:block;object-fit:cover}
.lc-lot-gallery__arrow{position:absolute;top:50%;z-index:3;transform:translateY(-50%);width:52px;height:52px;border:0;border-radius:50%;background:rgba(30,47,38,.88);color:#fff;font-size:38px;line-height:1;cursor:pointer;display:grid;place-items:center;box-shadow:0 4px 18px rgba(0,0,0,.18)}
.lc-lot-gallery__arrow:hover,.lc-lot-gallery__arrow:focus-visible{background:#1e2f26;outline:3px solid rgba(255,255,255,.8);outline-offset:2px}
.lc-lot-gallery__arrow--prev{left:18px}
.lc-lot-gallery__arrow--next{right:18px}
.lc-lot-gallery__counter{position:absolute;right:18px;bottom:16px;z-index:3;background:rgba(30,47,38,.88);color:#fff;border-radius:999px;padding:7px 12px;font-size:14px;font-weight:700}
.lc-lot-gallery__thumbs{display:flex;gap:10px;margin-top:12px;overflow-x:auto;padding:2px 2px 6px}
.lc-lot-gallery__thumb{flex:0 0 92px;height:64px;border:2px solid transparent;border-radius:8px;padding:0;background:#fff;overflow:hidden;cursor:pointer;opacity:.72}
.lc-lot-gallery__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.lc-lot-gallery__thumb.is-active{border-color:#1e2f26;opacity:1}
.lc-lot-gallery__thumb:focus-visible{outline:3px solid #536257;outline-offset:2px}
@media(max-width:700px){.lc-lot-gallery__viewport{aspect-ratio:4/3}.lc-lot-gallery__arrow{width:44px;height:44px;font-size:32px}.lc-lot-gallery__arrow--prev{left:10px}.lc-lot-gallery__arrow--next{right:10px}.lc-lot-gallery__counter{right:10px;bottom:10px}.lc-lot-gallery__thumbs{display:flex;gap:8px;overflow-x:auto;padding:2px 0 2px;scroll-snap-type:x proximity;scrollbar-width:none;-ms-overflow-style:none}.lc-lot-gallery__thumbs::-webkit-scrollbar{display:none}.lc-lot-gallery__thumb{flex:0 0 calc((100% - 24px)/4);width:auto;height:58px;min-width:0;scroll-snap-align:start}}
@media(prefers-reduced-motion:reduce){.lc-lot-gallery__slide{transition:none}}

/* Formulaire de contact — v0.4.0 */
.lc-contact-form{margin-top:34px;text-align:left}
.lc-contact-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px}
.lc-contact-field{display:flex;flex-direction:column;gap:7px}
.lc-contact-field--wide{grid-column:1/-1}
.lc-contact-field label{font-weight:650;font-size:.96rem}
.lc-contact-field input[type="text"],.lc-contact-field input[type="email"],.lc-contact-field input[type="tel"],.lc-contact-field select,.lc-contact-field textarea{width:100%;box-sizing:border-box;border:1px solid rgba(37,48,40,.22);border-radius:10px;background:#fff;color:#253028;padding:13px 14px;font:inherit;line-height:1.4}
.lc-contact-field textarea{resize:vertical;min-height:130px}
.lc-contact-field input:focus,.lc-contact-field select:focus,.lc-contact-field textarea:focus{outline:3px solid rgba(82,100,88,.22);border-color:#526458}
.lc-contact-consent{font-size:.92rem}
.lc-contact-consent label{font-weight:400;display:flex;align-items:flex-start;gap:9px}
.lc-contact-consent input{margin-top:.28em}
.lc-contact-form__required{font-size:.84rem;color:#667067;margin:14px 0 18px}
.lc-contact-form__submit,.lc-interest-button{display:inline-block;border:0;border-radius:999px;background:#253028;color:#fff;text-decoration:none;font:inherit;font-weight:700;padding:.85rem 1.25rem;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}
.lc-contact-form__submit:hover,.lc-interest-button:hover{background:#1e2f26;transform:translateY(-1px);box-shadow:0 10px 25px rgba(0,0,0,.10)}
.lc-contact-form__submit:focus-visible,.lc-interest-button:focus-visible{outline:3px solid #526458;outline-offset:3px}
.lc-contact-notice{padding:14px 16px;border-radius:10px;margin:22px 0 0;font-weight:650}
.lc-contact-notice--success{background:#edf4ec;color:#29452e;border:1px solid #b8ceb9}
.lc-contact-notice--error{background:#f8ecea;color:#6c2f28;border:1px solid #dfb7b1}
.lc-contact-form__honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.lc-interest-cta{text-align:center}
@media(max-width:700px){.lc-contact-form__grid{grid-template-columns:1fr}.lc-contact-field--wide{grid-column:auto}}



/* Carte de situation — v0.5.2 */
.lc-location-map{border-radius:16px;overflow:hidden;background:#d9cfb7;border:1px solid var(--lc-border);box-shadow:0 12px 36px rgba(30,37,32,.08)}
.lc-location-map__frame{position:relative;aspect-ratio:16/10;background:#e7e4de}
.lc-location-map__frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.lc-location-map__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;background:#fff}
.lc-location-map__address{margin:0;color:#566158;font-size:.92rem;line-height:1.35}
.lc-location-map__button{flex:0 0 auto;display:inline-flex;align-items:center;gap:.35rem;border:0;border-radius:999px;background:#253028;color:#fff;font:inherit;text-decoration:none;font-weight:700;padding:.7rem 1rem;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease}
.lc-location-map__button[hidden]{display:none!important}
.lc-location-map__button:hover{background:#1e2f26;transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.10)}
.lc-location-map__button:focus-visible{outline:3px solid #526458;outline-offset:3px}
.lc-map-dialog{width:min(1120px,calc(100vw - 36px));height:min(780px,calc(100vh - 36px));max-width:none;max-height:none;padding:0;border:0;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.32)}
.lc-map-dialog::backdrop{background:rgba(18,25,21,.72);backdrop-filter:blur(2px)}
.lc-map-dialog__inner{height:100%;display:grid;grid-template-rows:auto 1fr;background:#fff}
.lc-map-dialog__bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;border-bottom:1px solid var(--lc-border);background:#fff}
.lc-map-dialog__title{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:1.2rem;font-weight:400;color:#253028}
.lc-map-dialog__close{width:44px;height:44px;display:grid;place-items:center;flex:0 0 44px;border:0;border-radius:50%;background:#253028;color:#fff;font-size:28px;line-height:1;cursor:pointer}
.lc-map-dialog__close:hover{background:#1e2f26}
.lc-map-dialog__close:focus-visible{outline:3px solid #526458;outline-offset:3px}
.lc-map-dialog__frame{min-height:0;background:#e7e4de}
.lc-map-dialog__frame iframe{width:100%;height:100%;border:0;display:block}
body.lc-map-dialog-open{overflow:hidden}
@media(max-width:700px){.lc-location-map__frame{aspect-ratio:4/3}.lc-location-map__footer{align-items:flex-start;flex-direction:column}.lc-location-map__button{width:100%;justify-content:center;box-sizing:border-box}.lc-map-dialog{width:calc(100vw - 18px);height:calc(100vh - 18px);border-radius:12px}.lc-map-dialog__bar{padding:10px 12px}.lc-map-dialog__title{font-size:1rem}.lc-map-dialog__close{width:40px;height:40px;flex-basis:40px}}

/* Points forts de la résidence — v0.16.12 */
.lc-residence-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
  align-items: start;
}

.lc-residence-highlight {
  padding: 18px 16px;
  border: 1px solid var(--lc-border);
  border-radius: 14px;
  background: #fff;
}

.lc-residence-highlight strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.05rem;
  color: #253028;
}

.lc-residence-highlight span {
  display: block;
  color: #667067;
  font-size: .92rem;
  line-height: 1.45;
}

.lc-residence-highlight--summary,
.lc-residence-highlight--system,
.lc-residence-highlight--kitchen {
  grid-column: span 2;
}

.lc-residence-highlight--system,
.lc-residence-highlight--kitchen {
  align-self: start;
}

.lc-residence-highlight--visual,
.lc-residence-highlight--system,
.lc-residence-highlight--dpe {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start;
}

.lc-residence-highlight--system .lc-residence-highlight__system-copy,
.lc-residence-highlight--kitchen .lc-residence-highlight__visual-copy {
  margin-bottom: 2px;
}

.lc-residence-highlight__visual-copy,
.lc-residence-highlight__system-copy {
  width: 100%;
}

.lc-residence-highlight__visual-copy span + span,
.lc-residence-highlight__system-copy span + span {
  margin-top: 6px;
}

.lc-residence-highlight__media-image {
  width: min(220px, 100%);
  max-width: 100%;
  height: auto;
  display: block;
  margin: 6px auto 0;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(23, 48, 38, 0.08);
}

.lc-residence-highlight--entries .lc-residence-highlight__media-image,
.lc-residence-highlight--kitchen .lc-residence-highlight__media-image {
  aspect-ratio: 4 / 3;
}

.lc-residence-highlight--kitchen .lc-residence-highlight__media-image {
  margin-top: 2px;
}

.lc-residence-highlight--summary .lc-residence-highlight__media-image {
  width: min(320px, 100%);
  aspect-ratio: 16 / 9;
  margin-top: 6px;
}

.lc-residence-highlight--dpe .lc-residence-highlight__media-image {
  width: min(156px, 96%);
  border-radius: 10px;
  margin-top: 6px;
}

.lc-residence-highlight__system-visuals {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: stretch;
  justify-content: space-between;
  margin-top: 2px;
}

.lc-residence-highlight__system-visual {
  flex: 1 1 0;
  min-width: 0;
  min-height: 88px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f7f6f1;
  border: 1px solid rgba(44, 54, 47, .08);
}

.lc-residence-highlight__system-visual img {
  width: min(76px, 100%);
  max-height: 68px;
  height: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 900px) {
  .lc-residence-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-residence-highlight--summary,
  .lc-residence-highlight--system,
  .lc-residence-highlight--kitchen { grid-column: span 2; }
}

@media (max-width: 700px) {
  .lc-residence-highlight__system-visuals { gap: 7px; }
  .lc-residence-highlight__system-visual { min-height: 84px; padding: 5px; }
  .lc-residence-highlight__system-visual img { width: min(68px, 100%); max-height: 62px; }
}

@media (max-width: 560px) {
  .lc-residence-highlights { grid-template-columns: 1fr; }
  .lc-residence-highlight--summary,
  .lc-residence-highlight--system,
  .lc-residence-highlight--kitchen { grid-column: auto; }
  .lc-residence-highlight__media-image { width: min(220px, 88%); }
  .lc-residence-highlight--summary .lc-residence-highlight__media-image { width: min(320px, 100%); }
  .lc-residence-highlight__system-visuals { display: grid; grid-template-columns: 1fr; }
}

/* Residence detail and construction - v0.8.0 */
.lc-residence-detail-section {
  background: #f7f6f1;
  padding: 24px 28px 88px;
  border-top: 1px solid rgba(44,54,47,.08);
}

.lc-residence-detail-section__inner,
.lc-construction-section__inner {
  width: min(1220px, 100%);
  margin: 0 auto;
}

.lc-section-kicker {
  margin: 0 0 16px;
  color: #4f665d;
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.lc-residence-detail-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: end;
  margin-bottom: 46px;
}

.lc-residence-detail-heading h2,
.lc-construction-intro h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 1.08;
  color: #173026;
}

.lc-residence-detail-heading > p,
.lc-construction-intro > p:last-child {
  margin: 0;
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  line-height: 1.65;
  color: #53635c;
}

.lc-residence-detail-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.lc-residence-detail-card {
  padding: 28px 28px 30px;
  border: 1px solid rgba(44,54,47,.12);
  border-radius: 18px;
  background: #fff;
}

.lc-residence-detail-card h3,
.lc-construction-card h3 {
  margin: 0 0 12px;
  color: #173026;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.lc-residence-detail-card p,
.lc-construction-card p {
  margin: 0;
  color: #596860;
  line-height: 1.62;
}

.lc-construction-section {
  padding: 84px 28px 90px;
  background: #e9e6df;
}

.lc-construction-intro {
  width: min(880px, 100%);
  margin-bottom: 40px;
}

.lc-construction-intro > p:last-child {
  margin-top: 18px;
}

.lc-construction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lc-construction-card {
  padding: 26px 28px 28px;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(44,54,47,.09);
}

.lc-construction-energy {
  margin-top: 18px;
  padding: 22px 24px 24px;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(44,54,47,.09);
}

.lc-construction-energy__text strong {
  display: block;
  margin-bottom: 6px;
  color: #173026;
  font-size: 1.05rem;
}

.lc-construction-energy__text span {
  display: block;
  color: #5d6c64;
  line-height: 1.6;
}

.lc-construction-energy__figure {
  margin: 18px 0 0;
}

.lc-construction-energy__link {
  display: block;
  width: min(500px, 80%);
  max-width: 500px;
  margin-inline: auto;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 48, 38, 0.08);
}

.lc-construction-energy__link img {
  width: 100%;
  height: auto;
  display: block;
}

.lc-construction-energy__figure figcaption {
  margin-top: 10px;
  color: #607067;
  font-size: .92rem;
}

.lc-residence-documents {
  margin-top: 30px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(44,54,47,.11);
}

.lc-residence-documents__text strong {
  display: block;
  margin-bottom: 5px;
  color: #173026;
  font-size: 1.05rem;
}

.lc-residence-documents__text span {
  color: #647269;
}

.lc-residence-documents__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: #20372c;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.lc-residence-documents__link:hover {
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .lc-residence-detail-heading { grid-template-columns: 1fr; gap: 24px; }
  .lc-residence-detail-cards { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .lc-construction-grid { grid-template-columns: 1fr; }
  .lc-construction-energy { padding: 20px 18px; }
  .lc-construction-energy__link { width: 80%; max-width: 500px; }
  .lc-residence-documents { align-items: flex-start; flex-direction: column; }
  .lc-residence-documents__link { width: 100%; }
  .lc-residence-detail-section, .lc-construction-section { padding-left: 20px; padding-right: 20px; }
}

/* Description éditable des fiches lot */
.lc-lot-description p{margin-top:0;margin-bottom:1em;line-height:1.7}.lc-lot-description p:last-child{margin-bottom:0}


/* Ajustements mobile — v0.9.1 */
.lc-residence-documents__link {
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

@media (max-width: 760px) {
  .wp-block-site-title {
    line-height: 1.05;
    margin: 0;
  }

  .wp-block-site-title a {
    display: inline-block;
    text-decoration: none;
  }

  .wp-block-site-title a::before {
    content: "Résidence";
    display: block;
    margin-bottom: 3px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: .62rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #526458;
  }

  .lc-residence-documents__link {
    width: 100%;
    min-width: 0;
    padding: 13px 14px;
  }
}

/* Identité d'en-tête et logo — v0.9.4 */
.lc-header-brand { margin: 0; }
.lc-header-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: var(--lc-logo-size, 72px);
  color: #173026;
  text-decoration: none;
}
.lc-header-brand__logo {
  flex: 0 0 var(--lc-logo-size, 72px);
  width: var(--lc-logo-size, 72px);
  height: var(--lc-logo-size, 72px);
  display: grid;
  place-items: center;
  color: #173026;
}
.lc-header-brand__logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.lc-header-brand__logo-image--default { filter: none; }
.lc-header-brand__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.02;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: #173026;
}
.lc-header-brand__residence {
  font-size: 1rem;
  margin-bottom: 5px;
}
.lc-header-brand__name {
  font-size: 1.58rem;
}
.lc-header-brand__link:hover { color: #173026; }

@media (max-width: 760px) {
  .wp-block-site-title { display: none !important; }
  .lc-header-brand__link {
    gap: 10px;
    min-height: var(--lc-logo-size-mobile, 52px);
  }
  .lc-header-brand__logo {
    flex-basis: var(--lc-logo-size-mobile, 52px);
    width: var(--lc-logo-size-mobile, 52px);
    height: var(--lc-logo-size-mobile, 52px);
  }
  .lc-header-brand__residence {
    font-family: Georgia, "Times New Roman", serif;
    font-size: .82rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    margin-bottom: 2px;
  }
  .lc-header-brand__name { font-size: 1.19rem; }
}



/* Google Maps chargé à la demande — v0.14.1 */
.lc-location-map__consent{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;background:linear-gradient(145deg,#e8e5de,#ded9cf);color:#253028}
.lc-location-map__consent[hidden],.lc-location-map__embed[hidden]{display:none!important}
.lc-location-map__consent-title{margin:0 0 7px;font-family:Georgia,"Times New Roman",serif;font-size:1.55rem}
.lc-location-map__consent-text{max-width:420px;margin:0 0 18px;color:#566158;line-height:1.5}
.lc-location-map__load{border:0;border-radius:999px;background:#253028;color:#fff;font:inherit;font-weight:700;padding:.78rem 1.1rem;cursor:pointer}
.lc-location-map__load:hover{background:#1e2f26}
.lc-location-map__load:focus-visible{outline:3px solid #526458;outline-offset:3px}
.lc-location-map__embed{position:absolute;inset:0}
.lc-location-map__embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}

/* Coordonnées publiques du footer — v0.10.0 */
.lc-footer-contact p{margin:.22rem 0;line-height:1.55}
.lc-footer-contact p:first-child{margin-bottom:.35rem}
.lc-footer-contact a{color:inherit;text-decoration:none}
.lc-footer-contact a:hover{text-decoration:underline}


/* Visuels éditables de la page d'accueil — v0.11.0 */
.lc-residence-detail-heading {
  align-items: start;
}
.lc-residence-detail-aside > p {
  margin: 0;
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  line-height: 1.65;
  color: #53635c;
}
.lc-section-visual {
  margin: 24px 0 0;
}
.lc-section-visual__media {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(44,54,47,.12);
  background: #fff;
  box-shadow: 0 14px 34px rgba(30,37,32,.08);
}
.lc-section-visual__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}
.lc-section-visual figcaption {
  margin-top: 9px;
  color: #6a756f;
  font-size: .82rem;
  line-height: 1.4;
}
.lc-section-visual--residence .lc-section-visual__image {
  aspect-ratio: 16 / 9;
}
.lc-construction-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  margin-bottom: 40px;
}
.lc-construction-intro-layout .lc-construction-intro {
  width: auto;
  margin-bottom: 0;
}
.lc-construction-intro-layout .lc-section-visual {
  margin-top: 0;
}
.lc-section-visual--construction.is-default-technical .lc-section-visual__media {
  padding: 16px;
}
.lc-section-visual--construction.is-default-technical .lc-section-visual__image {
  aspect-ratio: auto;
  object-fit: contain;
}

@media (max-width: 900px) {
  .lc-construction-intro-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .lc-construction-intro-layout .lc-section-visual {
    width: min(620px, 100%);
  }
}

@media (max-width: 700px) {
  .lc-section-visual {
    margin-top: 20px;
  }
  .lc-section-visual__media {
    border-radius: 14px;
  }
  .lc-section-visual--construction.is-default-technical .lc-section-visual__media {
    padding: 10px;
  }
}


/* Pages legales et confidentialite - v0.12.0 */
.lc-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: .86rem;
}
.lc-footer-legal a { color: #fff; text-decoration: none; opacity: .88; }
.lc-footer-legal a:hover { opacity: 1; text-decoration: underline; }
.lc-footer-legal span { opacity: .55; }
.lc-legal-page { max-width: 820px; }
.lc-legal-page section { padding: 22px 0; border-bottom: 1px solid rgba(44,54,47,.12); }
.lc-legal-page section:first-of-type { padding-top: 6px; }
.lc-legal-page section:last-child { border-bottom: 0; }
.lc-legal-page h2 { margin: 0 0 12px; font-size: clamp(1.45rem, 2.8vw, 2rem); }
.lc-legal-page p { margin: 0 0 10px; line-height: 1.75; }
.lc-legal-page p:last-child { margin-bottom: 0; }
.lc-legal-admin-note {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(123,93,32,.22);
  background: #fff8df;
  color: #5d4a22;
  font-size: .92rem;
}
@media (max-width: 700px) {
  .lc-footer-legal { gap: 7px; }
  .lc-legal-page section { padding: 18px 0; }
}
.lc-contact-consent__privacy { margin: 7px 0 0 28px; font-size: .9rem; }
.lc-contact-consent__privacy a { color: inherit; text-underline-offset: .16em; }

/* Ajustements v0.15.5 */
/* Hero diaporama — v0.7.0 */
.lc-home-hero {
  position: relative;
  min-height: clamp(560px, 76vh, 820px);
  overflow: hidden;
  background: #253028;
  color: #fff;
  isolation: isolate;
}

.lc-home-hero__viewport,
.lc-home-hero__slide,
.lc-home-hero__slide img {
  position: absolute;
  inset: 0;
}

.lc-home-hero__slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .65s ease;
}

.lc-home-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.lc-home-hero__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}


.lc-home-hero__content-shell {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 56px));
  min-height: clamp(560px, 76vh, 820px);
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.lc-home-hero__content {
  width: min(760px, 72%);
  padding: 72px 0 92px;
  text-shadow: 0 2px 22px rgba(0,0,0,.28);
}

.lc-home-hero__eyebrow {
  margin: 0 0 20px;
  color: #fff;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: .98rem;
}

.lc-home-hero h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.8rem, 5.6vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.025em;
}


.lc-home-hero__title-line {
  display: block;
}

.lc-home-hero__lead {
  margin: 30px 0 0;
  max-width: 760px;
  color: #fff;
  font-size: clamp(1.05rem, 1.65vw, 1.5rem);
  line-height: 1.38;
  font-weight: 400;
}

.lc-home-hero__cta {
  display: inline-block;
  margin-top: 24px;
  padding: .48rem .78rem;
  border-radius: 999px;
  background: #fff;
  color: #253028;
  text-decoration: none;
  font-size: .78rem;
  line-height: 1.15;
  font-weight: 750;
  text-shadow: none;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.lc-home-hero__cta:hover {
  color: #253028;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}

.lc-home-hero__cta:focus-visible,
.lc-home-hero__dot:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}


.lc-home-hero__dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(24,34,28,.48);
  backdrop-filter: blur(4px);
}

.lc-home-hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.lc-home-hero__dot.is-active { background: #fff; }


@media (max-width: 760px) {
  .lc-home-hero,
  .lc-home-hero__content-shell { min-height: 68vh; }
  .lc-home-hero__content-shell { width: calc(100% - 40px); }
  .lc-home-hero__content { width: 100%; padding: 62px 24px 96px; }
  .lc-home-hero h1 { font-size: clamp(2.85rem, 12vw, 4.1rem); }
  .lc-home-hero__dots { bottom: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  .lc-home-hero__slide { transition: none; }
}

.lc-home-hero__lead span { display: block; }
.lc-lot-acoustic { margin-top: 50px; }
.lc-lot-acoustic__figure { margin: 24px 0 0; }
.lc-lot-acoustic__figure img { display: block; width: 100%; height: auto; border-radius: 14px; background: #fff; }
.lc-lot-acoustic__figure figcaption { margin-top: 10px; color: #667069; font-size: .9rem; }


/* Logo de ponctuation et agrandissement du schéma — v0.15.6 */
.lc-section-logo {
  width: var(--lc-section-logo-size, 52px);
  height: var(--lc-section-logo-size, 52px);
  margin: 0 0 18px;
  display: grid;
  place-items: center;
}
.lc-section-logo__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lc-section-logo--inverse {
  box-sizing: border-box;
  padding: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
}
.lc-section-visual__link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}
.lc-section-visual__link:focus-visible {
  outline: 3px solid #526458;
  outline-offset: 4px;
  border-radius: 18px;
}
@media (max-width: 700px) {
  .lc-section-logo {
    width: var(--lc-section-logo-size-mobile, 42px);
    height: var(--lc-section-logo-size-mobile, 42px);
    margin-bottom: 14px;
  }
}


/* Alignement des logos de ponctuation et visionneuse d'image — v0.15.7 */
.lc-section-logo {
  margin: 0 0 16px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  justify-self: start;
  align-self: start;
}
.wp-block-shortcode:has(.lc-section-logo) {
  width: 100%;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: left;
}
.lc-construction-intro .lc-section-logo,
.lc-residence-detail-heading .lc-section-logo {
  margin-bottom: 16px !important;
}
.lc-section-visual__link,
.lc-lot-acoustic__figure a[data-lc-image-open] {
  display: block;
  cursor: zoom-in;
}
.lc-image-dialog {
  width: min(1280px, calc(100vw - 36px));
  height: min(900px, calc(100vh - 36px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.34);
}
.lc-image-dialog::backdrop {
  background: rgba(18,25,21,.78);
  backdrop-filter: blur(2px);
}
.lc-image-dialog__inner {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
}
.lc-image-dialog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 16px 12px 18px;
  border-bottom: 1px solid var(--lc-border);
  background: #fff;
}
.lc-image-dialog__title {
  margin: 0;
  min-width: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 400;
  color: #253028;
}
.lc-image-dialog__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  border: 0;
  border-radius: 50%;
  background: #253028;
  color: #fff;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.lc-image-dialog__close:hover { background: #1e2f26; }
.lc-image-dialog__close:focus-visible {
  outline: 3px solid #526458;
  outline-offset: 3px;
}
.lc-image-dialog__viewport {
  min-height: 0;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  background: #efeee9;
}
.lc-image-dialog__image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
}
body.lc-image-dialog-open { overflow: hidden; }
@media (max-width: 700px) {
  .lc-image-dialog {
    width: calc(100vw - 18px);
    height: calc(100vh - 18px);
    border-radius: 12px;
  }
  .lc-image-dialog__bar { padding: 9px 10px 9px 12px; }
  .lc-image-dialog__title { font-size: 1rem; }
  .lc-image-dialog__close { width: 40px; height: 40px; flex-basis: 40px; }
  .lc-image-dialog__viewport { padding: 8px; }
}

/* Harmonisation ferme de la rangée basse — v0.16.13 */
@media (min-width: 901px) {
  .lc-residence-highlight--system,
  .lc-residence-highlight--kitchen {
    box-sizing: border-box;
    height: 270px !important;
    min-height: 270px !important;
    max-height: 270px !important;
    align-self: start !important;
    overflow: hidden;
    padding-top: 16px;
    padding-bottom: 12px;
  }

  .lc-residence-highlight--system {
    display: flex !important;
    flex-direction: column;
  }

  .lc-residence-highlight--system .lc-residence-highlight__system-copy {
    flex: 0 0 auto;
    margin: 0;
  }

  .lc-residence-highlight__system-visuals {
    flex: 0 0 auto;
    margin-top: 4px !important;
    gap: 8px !important;
  }

  .lc-residence-highlight__system-visual {
    min-height: 72px !important;
    height: 72px !important;
    padding: 3px !important;
  }

  .lc-residence-highlight__system-visual img {
    width: min(58px, 100%) !important;
    max-height: 52px !important;
  }

  .lc-residence-highlight--kitchen {
    display: flex !important;
    flex-direction: column;
  }

  .lc-residence-highlight--kitchen .lc-residence-highlight__visual-copy {
    flex: 0 0 auto;
    margin: 0;
  }

  .lc-residence-highlight--kitchen .lc-residence-highlight__media-image {
    width: min(178px, 100%) !important;
    margin: 4px auto 0 !important;
    aspect-ratio: 4 / 3;
  }
}

