/* ===== v18 — home: no green panels, irregular white bands, full-bleed, effects
         offre: image/text alternance; realisations: no grey veils; Bartholdi title ===== */

/* ---------- HOME: remove green squares, irregular gutters ---------- */
.page-home .edito-panel{display:none !important}

.page-home .edito{
  padding:0 !important;
  gap:0 !important;
  background:#fff !important;
}

.page-home .edito-row{
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  justify-content:var(--just, flex-start);
  gap:var(--gap, 1.25rem) !important;
  padding:var(--py, 0) var(--px, 1.75rem);
  margin-top:var(--mt, 0);
  width:100%;
  box-sizing:border-box;
}

.page-home .edito-row .edito-cell{
  flex:var(--fr, var(--ar, 1)) 1 0%;
  min-width:0;
  max-width:var(--max, none);
  margin-top:var(--off, 0);
  margin-left:var(--ml, 0);
  margin-right:var(--mr, 0);
}

/* Fade-up / reveal — native-ratio photos stay uncropped (no hover zoom) */
.page-home .edito-cell,
.page-home .edito-bleed{
  opacity:0;
  transform:translate3d(0, 1.35rem, 0);
  transition:opacity 1.05s cubic-bezier(.22,1,.36,1), transform 1.05s cubic-bezier(.22,1,.36,1);
}
.page-home .edito-cell.is-in,
.page-home .edito-bleed.is-in{
  opacity:1;
  transform:none;
}

/* Full-bleed colour bands: same width as the B&W hero (edge to edge). Cover crop OK. */
.page-home .edito-bleed{
  position:relative;
  display:block;
  width:100vw;
  max-width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  margin-top:var(--mt, 0);
  height:var(--bh, min(72vh, 46rem));
  overflow:hidden;
  background:#fff;
}
.page-home .edito-bleed img,
.page-home main .edito-bleed img,
.page-home .edito-bleed .edito-bleed-img{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:var(--pos, center center);
  transform:scale(1.08);
  will-change:transform;
}

@media (max-width:720px){
  .page-home .edito-row{
    flex-direction:column !important;
    padding-left:var(--pxm, 1.15rem);
    padding-right:var(--pxm, 1.15rem);
    gap:var(--gapm, 0.95rem) !important;
  }
  .page-home .edito-row .edito-cell{
    flex:none !important;
    width:100% !important;
    max-width:100% !important;
    margin-top:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
  .page-home .edito-bleed{
    height:var(--bhm, min(58vh, 26rem));
  }
}

@media (prefers-reduced-motion: reduce){
  .page-home .edito-cell,
  .page-home .edito-bleed,
  .page-home .edito-bleed img,
  .page-home main .edito-bleed img{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
    will-change:auto;
  }
}

/* ---------- RÉALISATIONS + home cards: no grey veil under/over the photos ---------- */
.real-card,
.reals-page .real-card,
.page-home .real-card{
  background:#fff !important;
  color:inherit;
  min-height:0 !important;
  height:auto !important;
  overflow:visible;
}
.real-card .real-veil,
.page-home .real-card .real-veil,
.reals-page .real-card .real-veil{
  display:none !important;
}
.real-card .real-meta,
.page-home .real-card .real-meta,
.reals-page .real-card .real-meta{
  position:static !important;
  padding:.85rem .1rem .15rem;
  color:var(--ink, #1c1d1f);
  pointer-events:auto;
}
.real-card h2, .real-card h3,
.page-home .real-card h2,
.reals-page .real-card h2{
  color:var(--green, #1F3A32) !important;
  font-style:normal !important;
  font-weight:400 !important;
  text-shadow:none !important;
  font-size:clamp(1.15rem, 2vw, 1.55rem);
  margin:0 0 .25rem;
}
.real-card p,
.page-home .real-card p,
.reals-page .real-card p{
  color:var(--ink-soft, #5a5c5a);
  opacity:1;
}

/* ---------- OFFRE: alternating image / text, copy sits high ---------- */
.offre-split{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:clamp(1.75rem, 5vw, 5.5rem);
  padding:clamp(2.25rem, 6vh, 4.25rem) var(--photo-inset, 28px);
  background:#fff;
}
.offre-split--rev{flex-direction:row-reverse}
.offre-split-photo{
  flex:1.05 1 0%;
  min-width:0;
  margin:0;
}
.offre-split-photo img{
  width:100%;
  height:auto !important;
  display:block;
  object-fit:unset !important;
}
.offre-split-copy{
  flex:.95 1 0%;
  min-width:0;
  max-width:34rem;
}
.offre-split-copy h2{
  font-family:var(--display), "Times New Roman", Times, serif;
  font-style:normal;
  font-weight:400;
  color:var(--green, #1F3A32);
  letter-spacing:.06em;
  margin:0 0 1.15rem;
}
.offre-split-copy .prose p{margin:0 0 1rem}
@media (max-width:720px){
  .offre-split,
  .offre-split--rev{
    flex-direction:column !important;
    align-items:stretch;
    padding:1.75rem 1.15rem;
    gap:1.25rem;
  }
  .offre-split-photo,
  .offre-split-copy{flex:none; max-width:none; width:100%}
}
