/* =====================================================================
   Rive Urbaine · Design C — « Quai Contemporain »
   Bright, airy, architectural. Bento grid · pills · sticky stats · leaf motifs.
   Leads with Jost (geometric sans); Cormorant used as accents only.
   Reads the same CMS keys as A/B. Shared engine + tokens in tokens.css / common.js.
   ===================================================================== */

.dc {
  --bg:        var(--white);
  --bg-soft:   #F4F8F4;              /* airy linen wash */
  --bg-mist:   var(--euca-1);        /* #EAEFEA linen mist */
  --panel:     #ffffff;
  --line:      #E4EBE4;
  --line-2:    #D6E0D7;
  --txt:       var(--forest-dk);     /* #2F332D */
  --txt-soft:  #5A5F56;
  --txt-dim:   #8A9187;
  --accent:    var(--eucalyptus);    /* #98AA9D signature */
  --accent-dk: #6E8574;
  --accent-lt: #C3D2C6;
  --gold:      #B0875B;
  --blush:     #E7D3C8;
  --blush-lt:  #F3E7E0;              /* lighter blush — CTA hover */
  --blush-bd:  #DCC3B7;              /* blush card border */

  --r:      20px;                     /* card radius */
  --r-sm:   12px;
  --shadow:    0 2px 4px rgba(47,51,45,.04), 0 18px 40px -22px rgba(47,51,45,.24);
  --shadow-sm: 0 1px 2px rgba(47,51,45,.05), 0 10px 24px -18px rgba(47,51,45,.22);
  --shadow-lift: 0 6px 12px rgba(47,51,45,.06), 0 30px 60px -28px rgba(47,51,45,.32);

  background: var(--bg);
  color: var(--txt);
  font-size: 17px;
  line-height: 1.72;
}

/* ---------- Layout primitives ---------- */
.dc .wrap { width: min(1240px, 92vw); margin-inline: auto; }
.dc .wrap--narrow { width: min(780px, 92vw); margin-inline: auto; }
.dc .section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.dc .section--soft { background: var(--bg-soft); }
.dc .section--mist { background: var(--bg-mist); }
.dc .section--blush { background: var(--blush); }
.dc .section--blush .pullquote__mark { color: rgba(47,51,45,.16); }
.dc .section--blush .apill { border-color: var(--blush-bd); }

.dc .split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.dc .split--offset { grid-template-columns: 1.06fr .94fr; }
.dc .split--start { align-items: start; }

/* ---------- Typography ---------- */
.dc .eyebrow {
  font-family: var(--caps); text-transform: uppercase; letter-spacing: .26em;
  font-size: 12px; font-weight: 500; color: var(--accent-dk);
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px;
}
.dc .eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--accent); }
.dc .eyebrow--plain { display: inline-flex; }
.dc .eyebrow--plain::before { display: none; }
.dc .eyebrow--center { justify-content: center; text-align: center; }

/* Headings lead with Jost (geometric) — the key differentiator */
.dc .display {
  font-family: var(--caps); font-weight: 300; line-height: 1.04;
  font-size: clamp(2.6rem, 6vw, 4.9rem); letter-spacing: -.02em;
  margin: 0 0 .32em; color: var(--txt);
}
.dc .h2 {
  font-family: var(--caps); font-weight: 300; line-height: 1.1;
  font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.015em;
  margin: 0 0 .5em; color: var(--txt);
}
.dc .h3 {
  font-family: var(--caps); font-weight: 500; line-height: 1.2;
  font-size: clamp(1.15rem, 1.9vw, 1.4rem); letter-spacing: -.005em;
  margin: 0 0 .4em; color: var(--txt);
}
.dc .lede { font-size: clamp(1.08rem, 1.55vw, 1.28rem); line-height: 1.6; color: var(--txt); margin: 0 0 1em; }
.dc p { margin: 0 0 1.1em; color: var(--txt-soft); }
.dc .muted { color: var(--txt-soft); }

/* Cormorant accents — big numerals & pull quote only */
.dc .serif-accent { font-family: var(--serif); font-weight: 500; font-style: italic; }

/* ---------- Buttons ---------- */
.dc .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--caps); text-transform: uppercase; letter-spacing: .12em;
  font-size: 12.5px; font-weight: 500; padding: 15px 30px;
  border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease-out), background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
/* Primary CTAs — brand blush (client request). Filled at rest, darker blush on hover. */
.dc .btn--solid { background: var(--blush); color: var(--forest-dk); box-shadow: var(--shadow-sm); }
.dc .btn--solid:hover { background: var(--blush-lt); color: var(--forest-dk); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.dc .btn--gold { background: var(--blush); color: var(--forest-dk); box-shadow: var(--shadow-sm); }
.dc .btn--gold:hover { background: var(--blush-lt); color: var(--forest-dk); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.dc .btn--outline { background: rgba(255,255,255,.6); color: var(--forest-dk); border-color: var(--line-2); }
.dc .btn--outline:hover { border-color: var(--accent); background: #fff; transform: translateY(-2px); }
.dc .btn--full { width: 100%; }

/* Arrow link */
.dc .link-arrow {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 20px;
  font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em;
  font-size: 12px; font-weight: 500; color: var(--accent-dk);
}
.dc .link-arrow span { position: relative; width: 30px; height: 2px; border-radius: 2px; background: var(--accent); transition: width .3s var(--ease); }
.dc .link-arrow span::after { content: ""; position: absolute; right: 0; top: -3px; width: 8px; height: 8px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: rotate(45deg); }
.dc .link-arrow:hover span { width: 44px; }

/* ---------- Leaf / river background motifs (subtle) ---------- */
.dc .leaf {
  position: absolute; z-index: 0; pointer-events: none; color: var(--accent-lt);
  opacity: .5;
}
.dc .leaf svg { width: 100%; height: 100%; display: block; }
.dc .leaf--tr { top: -40px; right: -60px; width: 320px; height: 320px; }
.dc .leaf--bl { bottom: -60px; left: -70px; width: 280px; height: 280px; opacity: .38; }
.dc .section > .wrap { position: relative; z-index: 1; }

/* ======================================================================
   NAV
   ====================================================================== */
.dc .nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 44px);
  background: rgba(255,255,255,.72); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.dc .nav.is-stuck { background: rgba(255,255,255,.92); border-bottom-color: var(--line); box-shadow: 0 8px 30px -20px rgba(47,51,45,.4); padding-block: 11px; }
.dc .nav__brand { display: flex; align-items: center; }
.dc .nav__logo { height: 34px; width: auto; transition: opacity .3s var(--ease); }
.dc .nav__logo--light { display: none; }             /* nav is light → use dark logo */
.dc .nav__logo--dark { display: block; }
.dc .nav__panel { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.dc .nav__menu { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.dc .nav__link {
  font-family: var(--caps); text-transform: uppercase; letter-spacing: .13em;
  font-size: 12.5px; font-weight: 500; color: var(--txt); position: relative; padding: 4px 0;
}
.dc .nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; border-radius: 2px; background: var(--accent); transition: width .3s var(--ease); }
.dc .nav__link:hover::after { width: 100%; }
.dc .nav__cta {
  font-family: var(--caps); text-transform: uppercase; letter-spacing: .12em;
  font-size: 12px; font-weight: 500; color: var(--forest-dk); background: var(--blush);
  padding: 11px 22px; border-radius: 999px; transition: background .3s var(--ease), transform .3s var(--ease-out);
}
.dc .nav__cta:hover { background: var(--blush-lt); transform: translateY(-1px); }
.dc .nav__burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.dc .nav__cta--bar { display: none; }
.dc .nav__burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--forest-dk); transition: transform .3s var(--ease), opacity .3s var(--ease); }

/* ======================================================================
   STICKY STATS BAR (docks under nav after hero)
   ====================================================================== */
.dc .statsbar {
  position: fixed; top: 66px; left: 0; right: 0; z-index: 90;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px -20px rgba(47,51,45,.5);
  transform: translateY(-120%); transition: transform .45s var(--ease-out);
}
.dc .statsbar.is-show { transform: translateY(0); }
.dc .statsbar__grid { width: min(1240px, 92vw); margin-inline: auto; display: flex; align-items: stretch; }
.dc .statsbar__item { flex: 1; display: flex; align-items: baseline; gap: 10px; padding: 10px 4px; justify-content: center; border-left: 1px solid var(--line); }
.dc .statsbar__item:first-child { border-left: 0; }
.dc .statsbar__num { font-family: var(--caps); font-weight: 500; font-size: 15px; color: var(--forest-dk); letter-spacing: -.01em; white-space: nowrap; }
.dc .statsbar__label { font-family: var(--caps); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; color: var(--txt-dim); white-space: nowrap; }
@media (max-width: 720px){ .dc .statsbar__label { display: none; } }

/* ======================================================================
   HERO
   ====================================================================== */
.dc .hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; padding: 0 clamp(20px,4vw,44px) clamp(48px,7vw,84px); }
.dc .hero__media { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; transform: scale(1.04); }
.dc .hero__scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(32,36,30,.28) 0%, rgba(32,36,30,.05) 34%, rgba(32,36,30,.55) 100%); }
.dc .hero__inner { position: relative; z-index: 2; width: min(1240px, 100%); margin-inline: auto; color: #fff; }
.dc .hero__frame {
  display: inline-block; padding: clamp(28px,4vw,48px); border-radius: var(--r);
  background: linear-gradient(150deg, rgba(47,51,45,.44), rgba(47,51,45,.30));
  backdrop-filter: blur(10px) saturate(1.1);
  border: 1px solid rgba(255,255,255,.24); max-width: 720px;
  box-shadow: 0 30px 70px -30px rgba(20,24,18,.7);
}
.dc .hero__eyebrow { color: #fff; }
.dc .hero__eyebrow::before { background: var(--blush); }
.dc .hero__logo { height: 58px; width: auto; margin: 0 0 20px; }
.dc .hero__title { font-family: var(--caps); font-weight: 300; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .35em; color: #fff; }
.dc .hero__tagline { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.4; color: #F3EFE6; margin: 0; }
.dc .hero__cta { margin-top: 26px; background: var(--blush); color: var(--forest-dk); border-color: var(--blush);
  box-shadow: 0 12px 30px -12px rgba(231,211,200,.65); }
.dc .hero__cta:hover { background: var(--blush-lt); border-color: var(--blush-lt); color: var(--forest-dk); transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(231,211,200,.5); }
.dc .hero__scroll { position: absolute; left: 50%; bottom: 22px; z-index: 3; width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; transform: translateX(-50%); }
.dc .hero__scroll::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: #fff; transform: translateX(-50%); animation: dc-scroll 1.8s var(--ease) infinite; }
@keyframes dc-scroll { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%,100%{opacity:0;transform:translate(-50%,10px)} }

/* Page hero (loc / investir) — shorter */
.dc .hero--page { min-height: 68vh; }

/* ======================================================================
   BENTO STATS (hero underlay grid)
   ====================================================================== */
.dc .bento-stats { padding: clamp(48px,7vw,90px) 0; }
.dc .bento-stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px,1.8vw,22px);
}
.dc .bento {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(22px,2.6vw,32px); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease); position: relative; overflow: hidden;
}
.dc .bento:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.dc .bento__num { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem,4vw,3.4rem); line-height: 1; color: var(--accent-dk); letter-spacing: -.01em; }
.dc .bento__label { font-family: var(--caps); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: var(--txt-dim); margin-top: 12px; }
.dc .bento--accent { background: var(--accent-dk); border-color: var(--accent-dk); }
.dc .bento--accent .bento__num { color: #fff; }
.dc .bento--accent .bento__label { color: rgba(255,255,255,.72); }

/* ======================================================================
   FIGURES
   ====================================================================== */
.dc .figure { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-mist); }
.dc .figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease-out); }
.dc .figure:hover img { transform: scale(1.04); }
.dc .figure--tall { aspect-ratio: 3/4; }
.dc .figure--wide { aspect-ratio: 4/3; }
.dc .figure--pano { aspect-ratio: 16/9; }
/* Map: show the full plan, never crop the edges (Guillemins / Val-Benoît on the left) */
.dc .figure--map { aspect-ratio: auto; background: var(--bg-soft); box-shadow: var(--shadow-sm); }
.dc .figure--map img { height: auto; object-fit: contain; max-height: 78vh; margin: 0 auto; }
.dc .figure--map:hover img { transform: none; }
.dc .figure__cap { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.9); color: var(--forest-dk);
  font-family: var(--caps); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }

/* Localisation map — bigger left column + click-to-zoom */
.dc .split--map { grid-template-columns: 1.6fr 1fr; }
.dc .figure--zoom { width: 100%; padding: 0; border: 0; margin: 0; font: inherit; text-align: inherit; color: inherit;
  cursor: zoom-in; display: block; background: var(--bg-soft); -webkit-appearance: none; appearance: none; }
.dc .figure--zoom:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.dc .figure__zoom { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.92); color: var(--forest-dk); font-family: var(--caps); text-transform: uppercase;
  letter-spacing: .08em; font-size: 11px; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-sm);
  transition: background .3s var(--ease), transform .3s var(--ease-out); }
.dc .figure__zoom svg { flex: none; }
.dc .figure--zoom:hover .figure__zoom { background: #fff; transform: translateY(-1px); }

/* ---------------- Image zoom lightbox ---------------- */
.dc-zoom-open { overflow: hidden; }
.zoom-lb { position: fixed; inset: 0; z-index: 300; display: none; }
.zoom-lb.is-open { display: block; }
.zoom-lb__backdrop { position: absolute; inset: 0; background: rgba(31,41,36,.82); backdrop-filter: blur(6px);
  animation: zlb-fade .3s ease; }
.zoom-lb__stage { position: absolute; inset: 0; overflow: hidden; display: flex; align-items: center; justify-content: center;
  touch-action: none; cursor: zoom-in; }
.zoom-lb__stage.is-zoomed { cursor: grab; }
.zoom-lb__stage.is-grabbing { cursor: grabbing; }
.zoom-lb__img { max-width: 94vw; max-height: 90vh; object-fit: contain; border-radius: 8px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.6);
  transform-origin: center center; will-change: transform; user-select: none; -webkit-user-drag: none; animation: zlb-pop .34s cubic-bezier(.2,.7,.3,1); }
.zoom-lb__bar { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; gap: 8px;
  background: rgba(255,255,255,.94); padding: 8px; border-radius: 999px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.zoom-lb__btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg-mist); color: var(--forest-dk);
  font-size: 22px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease); }
.zoom-lb__btn:hover { background: var(--blush, #E7D3C8); }
.zoom-lb__close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.94); color: var(--forest-dk); font-size: 26px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5);
  transition: background .25s var(--ease); }
.zoom-lb__close:hover { background: var(--blush, #E7D3C8); }
@keyframes zlb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes zlb-pop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .zoom-lb__backdrop, .zoom-lb__img { animation: none; }
}

/* ======================================================================
   ACCESS — animated PILLS
   ====================================================================== */
.dc .access-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
/* Beside the map: one access pill per line */
.dc .access-pills--stack { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 10px; }
.dc .apill {
  display: inline-flex; align-items: baseline; gap: 10px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 11px 20px; box-shadow: var(--shadow-sm);
  opacity: 0; transform: translateY(14px) scale(.94);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), border-color .3s var(--ease), background .3s var(--ease);
  transition-delay: var(--pd, 0s);
}
.dc [data-reveal].is-in .apill, .dc .apill.is-in { opacity: 1; transform: none; }
.dc .apill:hover { border-color: var(--accent); background: var(--bg-soft); }
.dc .apill__place { font-weight: 600; font-size: 14px; color: var(--forest-dk); }
.dc .apill__val { font-family: var(--caps); font-weight: 500; font-size: 13px; color: var(--accent-dk); }
.dc .apill__mode { font-size: 11.5px; color: var(--txt-dim); text-transform: uppercase; letter-spacing: .08em; }
.dc .section--mist .apill { border-color: var(--line-2); }

/* ======================================================================
   PULL QUOTE
   ====================================================================== */
.dc .pullquote { max-width: 900px; margin-inline: auto; text-align: center; position: relative; }
.dc .pullquote__mark { font-family: var(--serif); font-size: 6rem; line-height: .4; color: var(--accent-lt); display: block; margin-bottom: .1em; }
.dc .pullquote__text { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.34; color: var(--forest-dk); margin: 0; }

/* ======================================================================
   FEATURE TRIO (bento cards)
   ====================================================================== */
.dc .trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,24px); margin-top: clamp(40px,5vw,60px); }
.dc .feat {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(26px,3vw,38px); box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease);
}
.dc .feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.dc .feat__i { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 2.4rem; color: var(--accent); line-height: 1; display: block; margin-bottom: 14px; }
.dc .feat .muted { margin: 0; }

/* ======================================================================
   TYPOLOGY
   ====================================================================== */
.dc .typo { margin-top: clamp(44px,6vw,72px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px,3.4vw,44px); box-shadow: var(--shadow); }
.dc .typo__tabs { display: inline-flex; background: var(--bg-mist); border-radius: 999px; padding: 5px; gap: 4px; margin-bottom: 30px; flex-wrap: wrap; }
.dc .typo__tab {
  font-family: var(--caps); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 500;
  color: var(--txt-soft); background: transparent; border: 0; padding: 10px 22px; border-radius: 999px; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.dc .typo__tab.is-active { background: #fff; color: var(--forest-dk); box-shadow: var(--shadow-sm); }
.dc .typo__panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px,4vw,52px); align-items: center; }
.dc .typo__panel[hidden] { display: none; }
.dc .spec { list-style: none; margin: 0 0 8px; padding: 0; }
.dc .spec li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.dc .spec__k { font-family: var(--caps); text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; color: var(--txt-dim); }
.dc .spec__v { font-weight: 600; color: var(--forest-dk); }
.dc .spec__v--price { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--accent-dk); }
.dc .typo__panel .figure { aspect-ratio: 4/3; }

/* ======================================================================
   PEB cards (bento)
   ====================================================================== */
.dc .peb { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,2vw,24px); margin-top: clamp(40px,5vw,56px); }
.dc .peb__card { background: var(--blush); border: 1px solid var(--blush-bd); border-radius: var(--r); padding: clamp(26px,3vw,36px); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease); }
.dc .peb__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.dc .peb__icon { width: 46px; height: 46px; color: #4F6455; margin-bottom: 18px; background: transparent; }
.dc .peb__t { font-family: var(--caps); font-weight: 500; font-size: 1.25rem; margin: 0 0 .3em; color: var(--forest-dk); }
.dc .peb__card .muted { margin: 0; }

/* ======================================================================
   INVEST BAND
   ====================================================================== */
.dc .band { position: relative; overflow: hidden; }
.dc .band__media { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.dc .band__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(47,51,45,.78), rgba(110,133,116,.55)); }
.dc .band__inner { position: relative; z-index: 2; text-align: center; padding: clamp(72px,10vw,130px) 0; color: #fff; max-width: 900px; }
.dc .band__inner .eyebrow { color: #fff; justify-content: center; }
.dc .band__inner .eyebrow::before { display: none; }
.dc .band__quote { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.4rem,2.8vw,2.1rem); line-height: 1.4; color: #fff; margin: 0 0 32px; }

/* ======================================================================
   CHAPTERS (localisation)
   ====================================================================== */
.dc .chapter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,66px); align-items: center; padding: clamp(28px,4vw,56px) 0; }
.dc .chapter + .chapter { border-top: 1px solid var(--line); }
.dc .chapter--flip .chapter__text { order: 2; }
.dc .chapter__num { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(3rem,6vw,5rem); line-height: 1; color: var(--accent-lt); display: block; margin-bottom: 8px; }
.dc .chapter__t { font-family: var(--caps); font-weight: 300; font-size: clamp(1.5rem,2.6vw,2.1rem); letter-spacing: -.01em; line-height: 1.14; margin: 0 0 .5em; color: var(--forest-dk); }
.dc .chapter .figure { aspect-ratio: 4/3; }

/* ======================================================================
   CAROUSEL (investir)
   ====================================================================== */
.dc .carousel { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-mist); }
.dc .carousel__track { display: flex; transition: transform .6s var(--ease-out); }
.dc .carousel__slide { min-width: 100%; }
.dc .carousel__slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.dc .carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 1px solid var(--line); color: var(--forest-dk); cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: background .3s var(--ease), transform .3s var(--ease-out); }
.dc .carousel__btn:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.dc .carousel__btn--prev { left: 16px; } .dc .carousel__btn--next { right: 16px; }
.dc .carousel__dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.dc .carousel__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; transition: background .3s var(--ease), width .3s var(--ease); }
.dc .carousel__dot.is-active { background: #fff; width: 22px; border-radius: 999px; }

/* ======================================================================
   ACCORDION (investir advantages)
   ====================================================================== */
.dc .acc { display: flex; flex-direction: column; gap: 14px; }
.dc .acc__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.dc .acc__item.is-open { border-color: var(--accent-lt); box-shadow: var(--shadow); }
.dc .acc__head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: transparent; border: 0; cursor: pointer; text-align: left; }
.dc .acc__t { font-family: var(--caps); font-weight: 500; font-size: 1.05rem; color: var(--forest-dk); }
.dc .acc__sign { position: relative; width: 16px; height: 16px; flex: none; }
.dc .acc__sign::before, .dc .acc__sign::after { content: ""; position: absolute; background: var(--accent-dk); border-radius: 2px; transition: transform .3s var(--ease); }
.dc .acc__sign::before { left: 0; top: 7px; width: 16px; height: 2px; }
.dc .acc__sign::after { left: 7px; top: 0; width: 2px; height: 16px; }
.dc .acc__item.is-open .acc__sign::after { transform: scaleY(0); }
.dc .acc__body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.dc .acc__item.is-open .acc__body { max-height: 340px; }
.dc .acc__body p { margin: 0; padding: 0 24px 22px; color: var(--txt-soft); }

/* ======================================================================
   FORM
   ====================================================================== */
.dc .contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px,5vw,72px); align-items: start; }
.dc .contact__addr { margin-top: 28px; padding: 20px 24px; background: var(--bg-mist); border-radius: var(--r-sm); display: flex; flex-direction: column; gap: 4px; }
.dc .contact__addr strong { font-family: var(--caps); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--accent-dk); }
.dc .form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(26px,3.4vw,44px); box-shadow: var(--shadow); position: relative; }
.dc .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dc .field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; min-width: 0; }
.dc .field label, .dc .field legend { font-family: var(--caps); text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; font-weight: 500; color: var(--txt-dim); padding: 0; }
.dc .field input[type=text], .dc .field input[type=email], .dc .field input[type=tel], .dc .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--forest-dk); background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 13px 16px;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.dc .field input:focus, .dc .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(152,170,157,.2); }
.dc .field textarea { resize: vertical; min-height: 96px; }
.dc .pills { display: flex; flex-wrap: wrap; gap: 10px; }
.dc .pill { position: relative; cursor: pointer; }
.dc .pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.dc .pill span { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff;
  font-family: var(--caps); text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; font-weight: 500; color: var(--txt-soft);
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease); }
.dc .pill:hover span { border-color: var(--accent); }
.dc .pill input:checked + span { background: var(--accent-dk); border-color: var(--accent-dk); color: #fff; }
.dc .pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(152,170,157,.35); }
.dc .consent { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; cursor: pointer; }
.dc .consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent-dk); flex: none; }
.dc .consent span { font-size: 13.5px; color: var(--txt-soft); line-height: 1.5; }
.dc .consent a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.dc .consent a:hover { color: var(--gold-lt); text-decoration-thickness: 2px; }
.dc .form .btn--full { margin-top: 8px; }
.dc .form__status { margin: 14px 0 0; font-size: 14px; text-align: center; }
.dc .form__status.is-error { color: #a1483a; }

/* ======================================================================
   FOOTER
   ====================================================================== */
.dc .footer { background: var(--forest-dk); color: #E7ECE6; padding: clamp(56px,7vw,90px) 0 32px; }
.dc .footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px,4vw,48px); padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.dc .footer__logo { height: 42px; width: auto; margin-bottom: 18px; }
.dc .footer__dev { display: flex; flex-direction: column; gap: 2px; margin: 0 0 3px; font-size: 13px; color: #AEB8AE; }
.dc .footer__dev strong { color: #fff; font-family: var(--caps); letter-spacing: .04em; }
/* Trimmed PNG (no transparent padding) so it sits flush-left with the text above */
.dc .footer__ardent { height: clamp(15px, 2.05vw, 21px); width: auto; max-width: 100%; display: block; margin-top: 12px; opacity: .95; }
.dc .footer__col-t { font-family: var(--caps); text-transform: uppercase; letter-spacing: .12em; font-size: 11.5px; color: var(--accent-lt); margin: 0 0 14px; }
.dc .footer__col p { margin: 0 0 6px; font-size: 14px; color: #C6CEC5; }
.dc .footer__col a { display: block; font-size: 14px; color: #C6CEC5; margin-bottom: 4px; transition: color .25s var(--ease); }
.dc .footer__col a:hover { color: #fff; }
.dc .footer__social { display: flex; gap: 12px; }
.dc .footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: #C6CEC5; margin: 0; }
.dc .footer__social a:hover { background: rgba(255,255,255,.1); color: #fff; }
.dc .footer__social a[hidden] { display: none; }
/* No visible social link (all CMS URLs empty) → hide the whole « Suivez-nous » column. */
.dc .footer__col:has(.footer__social):not(:has(.footer__social a:not([hidden]))) { display: none; }
.dc .footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 12.5px; color: #97A197; flex-wrap: wrap; }
.dc .footer__bar a { color: #97A197; transition: color .25s var(--ease); }
.dc .footer__bar a:hover { color: #fff; }
.dc .footer__legal { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dc .footer__legal-sep { color: #5f6b60; }

/* ======================================================================
   LEGAL PAGES (privacy / cookies)
   ====================================================================== */
.dc .legal { padding: clamp(120px,16vh,180px) 0 clamp(70px,10vw,120px); background: var(--bg-soft); min-height: 70vh; }
.dc .legal__inner { width: min(760px, 90vw); margin-inline: auto; }
.dc .legal__eyebrow { font-family: var(--caps); text-transform: uppercase; letter-spacing: .16em; font-size: 11.5px; color: var(--accent-dk); margin: 0 0 12px; }
.dc .legal__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem,4.4vw,3rem); line-height: 1.08; letter-spacing: -.01em; color: var(--forest-dk); margin: 0 0 14px; }
.dc .legal__updated { font-size: 13.5px; color: var(--txt-dim); margin: 0 0 clamp(28px,4vw,44px); font-style: italic; }
.dc .legal__body { color: var(--txt); line-height: 1.75; font-size: 15.5px; }
.dc .legal__body h2 { font-family: var(--caps); font-weight: 400; font-size: clamp(1.2rem,2.4vw,1.6rem); color: var(--forest-dk); margin: 1.8em 0 .5em; }
.dc .legal__body h3 { font-weight: 600; font-size: 1.05rem; color: var(--forest-dk); margin: 1.4em 0 .4em; }
.dc .legal__body p { margin: 0 0 1.1em; }
.dc .legal__body ul, .dc .legal__body ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.dc .legal__body li { margin: 0 0 .5em; }
.dc .legal__body a { color: var(--accent-dk); text-decoration: underline; }

/* ======================================================================
   BROCHURE MODAL (e-mail gate)
   ====================================================================== */
.dc .brochure-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.dc .brochure-modal.is-open { display: flex; }
.dc .brochure-modal__backdrop { position: absolute; inset: 0; background: rgba(31,41,36,.55); backdrop-filter: blur(4px); animation: bro-fade .3s var(--ease); }
.dc .brochure-modal__card { position: relative; z-index: 1; width: min(460px, 100%); background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: clamp(28px,4vw,40px); max-height: 90vh; overflow-y: auto; animation: bro-pop .35s var(--ease-out); }
.dc .brochure-modal__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: var(--bg-mist); border-radius: 50%; font-size: 22px; line-height: 1; color: var(--txt); cursor: pointer; transition: background .25s var(--ease); }
.dc .brochure-modal__close:hover { background: var(--bg-soft); }
.dc .brochure-modal__card .h3 { margin: 6px 0 8px; }
.dc .brochure-modal__form { margin-top: 20px; }
.dc .brochure-modal__note { font-size: 12px; margin-top: 14px; }
@keyframes bro-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bro-pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
body.brochure-open { overflow: hidden; }

/* Plan pop-up: reuses the brochure-modal shell + a stacked download/appointment step */
.dc .plan-modal__download { text-decoration: none; margin-top: 18px; }
.dc .plan-modal__appointment { text-decoration: none; margin-top: 10px; }

/* ======================================================================
   THANK-YOU
   ====================================================================== */
.dc.ty-body { display: flex; min-height: 100vh; align-items: center; justify-content: center; background: var(--bg-soft); padding: 40px 20px; }
.dc .ty__inner { text-align: center; max-width: 620px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(40px,6vw,70px); box-shadow: var(--shadow); }
.dc .ty__logo { height: 46px; width: auto; margin: 0 auto 26px; }
.dc .ty__icon { width: 66px; height: 66px; color: var(--accent-dk); margin: 0 auto 22px; padding: 14px; background: var(--bg-mist); border-radius: 50%; box-sizing: content-box; }
.dc .ty__title { font-family: var(--caps); font-weight: 300; font-size: clamp(1.7rem,3.4vw,2.5rem); letter-spacing: -.02em; line-height: 1.1; margin: .3em 0 .5em; color: var(--forest-dk); }

/* ======================================================================
   RESPONSIVE
   ====================================================================== */
@media (max-width: 940px){
  .dc .bento-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .dc .trio, .dc .peb { grid-template-columns: 1fr; }
  .dc .typo__panel { grid-template-columns: 1fr; }
  .dc .chapter, .dc .chapter--flip { grid-template-columns: 1fr; }
  .dc .chapter--flip .chapter__text { order: 0; }
  .dc .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px){
  .dc .nav__burger { display: flex; z-index: 110; }
  /* Contact CTA stays visible in the bar, next to the burger */
  .dc .nav__cta--bar { display: inline-flex; align-items: center; margin-left: auto; margin-right: 10px; padding: 9px 16px; font-size: 11px; letter-spacing: .1em; white-space: nowrap; }
  body.dc.menu-open .nav__cta--bar { visibility: hidden; }
  .dc .nav__panel {
    /* Full-screen overlay. NB: .nav has backdrop-filter, which makes it the
       containing block for this fixed child — so `inset:0` would only cover the
       ~74px nav strip. Viewport units (vw/dvh) size against the viewport instead,
       guaranteeing a true full-screen menu. */
    position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh; height: 100dvh;
    flex-direction: column; justify-content: center; gap: 28px;
    overflow-y: auto;
    background: rgba(255,255,255,.98); backdrop-filter: blur(8px);
    transform: translateX(100%); transition: transform .4s var(--ease-out); z-index: 105;
  }
  body.dc.menu-open .nav__panel { transform: none; }
  .dc .nav__menu { flex-direction: column; gap: 22px; }
  .dc .nav__link { font-size: 16px; }
  body.dc.menu-open .nav__burger span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  body.dc.menu-open .nav__burger span:nth-child(2){ opacity: 0; }
  body.dc.menu-open .nav__burger span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
  .dc .statsbar { display: none; }
  /* Footer: 4 narrow columns don't fit a phone — the Ardent logo gets squeezed
     (capped by max-width) and the social icons overflow off-screen. Collapse. */
  .dc .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
}
@media (max-width: 640px){
  .dc { font-size: 16px; }
  .dc .split, .dc .split--offset { grid-template-columns: 1fr; }
  .dc .bento-stats__grid { grid-template-columns: 1fr 1fr; }
  .dc .form__row { grid-template-columns: 1fr; }
  .dc .hero { min-height: 88vh; }
}
@media (max-width: 560px){
  /* One column so the Ardent logo has full width and displays at its intended size */
  .dc .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .dc .footer__ardent { height: 18px; }
}

/* ---- 2026-10-05: per-typology plan preview + price note + clickable Ardent logo ---- */
.dc .plan-modal .brochure-modal__card { width: min(640px, 100%); }
.dc .plan-modal__preview { display: block; margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.dc .plan-modal__preview img { display: block; width: 100%; height: auto; aspect-ratio: 1287 / 910; object-fit: contain; }
.dc .typo__note { margin: 28px 0 0; font-size: 13px; font-style: italic; letter-spacing: .01em; color: var(--txt-dim); }
.dc .footer__ardent-link { display: inline-block; line-height: 0; transition: opacity .25s var(--ease); }
.dc .footer__ardent-link:hover { opacity: .8; }
