/* =========================================================
   MB Expansion — Pages Expertises (Pharmacie, Optique)
   S'appuie sur base.css et home.css ; ne change rien aux autres pages.
   ========================================================= */

/* ---------- Schémas : plans 2D, vues 3D ---------- */
.sv { display: block; width: 100%; height: auto; font-family: var(--font); }
.sv text { font-family: var(--font); }
.sv-bg { fill: #fff; }
.sv-bg-grid { stroke: none; }
.sv-gridline { fill: none; stroke: #e6ecfa; stroke-width: 1; }
.sv-floor { fill: #f8faff; }
.sv-wall { fill: none; stroke: #24282d; stroke-width: 8; stroke-linejoin: miter; }
.sv-wall-f { fill: #24282d; stroke: none; }
.sv-gap { fill: #f8faff; stroke: none; }
.sv-door { stroke: #24282d; stroke-width: 3; stroke-linecap: round; fill: none; }
.sv-swing { fill: none; stroke: #8a93a6; stroke-width: 1.2; stroke-dasharray: 3 3; }
.sv-glass { fill: #cfe0ff; stroke: var(--violet); stroke-width: 1.2; }
.sv-shelf { fill: #eef3ff; stroke: var(--violet); stroke-width: 1.5; }
.sv-shelf-line { stroke: var(--violet); stroke-width: 1; opacity: .45; }
.sv-counter { fill: var(--orchid); stroke: var(--violet); stroke-width: 1.8; }
.sv-gond { fill: #fff; stroke: var(--violet); stroke-width: 1.8; }
.sv-gond-hl { fill: #fde7a8; stroke: #c98a0a; stroke-width: 1.8; }
.sv-zone { fill: rgba(247, 184, 43, .24); }
.sv-zone-b { fill: rgba(127, 159, 251, .18); }
.sv-zone-w { fill: rgba(247, 184, 43, .16); stroke: #e3a21c; stroke-width: 1.2; stroke-dasharray: 5 4; }
.sv-hatchline { stroke: #b9c2d6; stroke-width: 2.4; }
.sv-dead { opacity: .75; stroke: none; }
.sv-path-old { fill: none; stroke: #8a93a6; stroke-width: 3; stroke-dasharray: 8 7; stroke-linecap: round; stroke-linejoin: round; }
.sv-path-new { fill: none; stroke: var(--violet); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.sv-arrowhead { fill: var(--violet); }
.sv-mark circle { fill: var(--violet); stroke: #fff; stroke-width: 2.5; }
.sv-mark text { fill: #fff; font-weight: 700; font-size: 15px; }
.sv-t { fill: var(--slate); font-size: 13px; font-weight: 600; }
.sv-t-b { fill: var(--onyx); font-size: 14px; font-weight: 700; }
.sv-t-sm { fill: var(--slate); font-size: 11px; font-weight: 600; }
.sv-t-w { fill: #fff; font-size: 13px; font-weight: 700; }
.sv-chair { fill: #fff; stroke: #6b7385; stroke-width: 1.3; }
.sv-carpet { fill: rgba(127, 159, 251, .2); stroke: none; }
.sv-person-s { fill: #c3cade; stroke: #8a93a6; stroke-width: 1; }
.sv-person-h { fill: #6b7385; }

/* ---------- Pharmacie : plans, circuit du robot, réserve ---------- */
.sv-back { fill: #eef1f8; }
.sv-robot { fill: #e4ebfb; stroke: var(--violet); stroke-width: 2.4; }
.sv-amber { fill: #f7b82b; stroke: #c98a0a; stroke-width: 1.6; }
.sv-room { fill: rgba(247, 184, 43, .13); }
.sv-dash { stroke: #9aa5bd; stroke-width: 1.6; stroke-dasharray: 5 5; fill: none; }
.sv-pmr { fill: rgba(127, 159, 251, .12); stroke: var(--violet); stroke-width: 1.4; stroke-dasharray: 4 4; }
.sv-cart { fill: #8a93a6; }
.sv-cartline { stroke: #8a93a6; stroke-width: 4; stroke-linecap: round; }
.sv-wheel { fill: #3b4254; }
.sv-tote { fill: #fff; stroke: var(--violet); stroke-width: 2; }
.sv-tote-h { fill: var(--orchid); stroke: var(--violet); stroke-width: 1.2; }
.sv-box-a { fill: #f7c95a; stroke: #b9810f; stroke-width: 1.2; }
.sv-box-b { fill: #9fb9ee; stroke: #4a66b8; stroke-width: 1.2; }
.sv-box-c { fill: #cfe9d9; stroke: #3f9a6a; stroke-width: 1.2; }
.sv-conv { fill: #dbe3f6; stroke: #4a66b8; stroke-width: 1.5; }
.sv-roller { fill: #fff; stroke: #4a66b8; stroke-width: 1.2; }
.sv-flow { fill: none; stroke: var(--violet); stroke-width: 3; stroke-linecap: round; }
.sv-slot { fill: #fff; stroke: #aebbe0; stroke-width: 1; }
.sv-slot-on { fill: #c7d6fb; stroke: #7f9ffb; stroke-width: 1; }
.sv-rail { stroke: #4a66b8; stroke-width: 3; stroke-linecap: round; opacity: .7; }
.sv-slotdoor { fill: #fff; stroke: var(--violet); stroke-width: 2; }
.sv-fridge { fill: #d9f1fb; stroke: #3d8fb5; stroke-width: 1.8; }
.sv-rack-a { fill: #fcd77a; stroke: #b9810f; stroke-width: 1.5; }
.sv-rack-b { fill: #b9ccf6; stroke: #4a66b8; stroke-width: 1.5; }
.sv-rack-c { fill: #e3e7f0; stroke: #7e89a3; stroke-width: 1.5; }

/* ---------- Façade jour / nuit ---------- */
.fa-fig {
  --fa-sky: #e3ecfc; --fa-nb: #cddaf2; --fa-wall: #f4f2ed; --fa-cornice: #dcd6ca; --fa-sign: #1e3a8a;
  --fa-frame: #55627f; --fa-win-a: #cfe4ff; --fa-win-b: #eaf3ff; --fa-vinyl: rgba(255, 255, 255, .84);
  --fa-ground: #d1d8e8; --fa-cell: #2db77a; --fa-star: 0; --fa-pool: 0; --fa-cone: 0; --fa-refl: .4;
  --fa-shelf: #b8c4de; --fa-handle: #3b4254; --fa-dip: .55;
}
.fa-fig.is-night {
  --fa-sky: #0e1844; --fa-nb: #1a2860; --fa-wall: #27326a; --fa-cornice: #36427a; --fa-sign: #16296b;
  --fa-frame: #8f9bc0; --fa-win-a: #ffe2a0; --fa-win-b: #f6b256; --fa-vinyl: rgba(255, 243, 212, .6);
  --fa-ground: #141c45; --fa-cell: #4af2a3; --fa-star: 1; --fa-pool: .55; --fa-cone: .45; --fa-refl: .1;
  --fa-shelf: #c98a2b; --fa-dip: .25;
}
.fa rect, .fa polygon, .fa ellipse, .fa circle { transition: fill .8s ease, opacity .8s ease; }
.fa-sky { fill: var(--fa-sky); }
.fa-star { fill: #fff; opacity: var(--fa-star); }
.fa-nb { fill: var(--fa-nb); }
.fa-cornice { fill: var(--fa-cornice); }
.fa-wall { fill: var(--fa-wall); }
.fa-sign { fill: var(--fa-sign); }
.fa-sign-t { fill: #fff; font-size: 30px; font-weight: 800; letter-spacing: .26em; }
.fa-spot { fill: #3b4254; }
.fa-cone { fill: #fff3c4; opacity: var(--fa-cone); }
.fa-cell { fill: var(--fa-cell); animation: fa-chase 2.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes fa-chase { 0%, 100% { opacity: 1; } 45% { opacity: var(--fa-dip); } }
.fa-frame { fill: var(--fa-frame); }
.fa-win { fill: url(#fac-win); }
.fa-sa { stop-color: var(--fa-win-a); }
.fa-sb { stop-color: var(--fa-win-b); }
.fa-shelf { fill: var(--fa-shelf); }
.fa-prod { stroke: rgba(36, 40, 45, .22); stroke-width: 1; }
.fa-p0 { fill: #9fb9ee; } .fa-p1 { fill: #f7c95a; } .fa-p2 { fill: #cfe9d9; } .fa-p3 { fill: #f2b8c6; }
.fa-vinyl { fill: var(--fa-vinyl); }
.fa-dot { fill: #fff; stroke: var(--violet); stroke-width: 3.5; }
.fa-refl { fill: #fff; opacity: var(--fa-refl); }
.fa-handle { fill: var(--fa-handle); }
.fa-sticker { fill: var(--violet); }
.fa-led { fill: #5df0a3; }
.fa-ground { fill: var(--fa-ground); }
.fa-pool { fill: #ffd98a; opacity: var(--fa-pool); }
.fa-fig.is-night .fa-cross, .fa-fig.is-night .fa-sign-t { filter: url(#fac-glow); }

/* ---------- Optique : présentoirs LED, salle d'examen, atelier, rendu des couleurs ---------- */
.ov-wall { fill: #eef2fb; }
.ov-floor { fill: #cfd6e6; }
.ov-panel { fill: #fff; stroke: #d6def0; stroke-width: 1; }
.ov-ledbox { fill: #e1e8f6; stroke: #bcc8e2; stroke-width: 1.2; }
.ov-led { fill: #9fd0ff; filter: url(#pre-glow); }
.ov-cone { fill: url(#pre-cone); opacity: .85; }
.ov-rail { fill: #c9d2e8; }
.ov-wood { fill: #e2c598; stroke: #c9a56b; stroke-width: 1.2; }
.ov-seam { stroke: #c9a56b; stroke-width: 1.5; }
.ov-handle { fill: #8a93a6; }
.ov-mirror-f { fill: #e2c598; stroke: #c9a56b; stroke-width: 1.2; }
.ov-mirror { fill: url(#pre-mir); }
.ov-lock rect { fill: #1e3a8a; }
.ov-lock path { fill: none; stroke: #1e3a8a; stroke-width: 3; stroke-linecap: round; }
.ov-lock circle { fill: #fff; }
.ov-fr0 { fill: rgba(214, 228, 255, .55); stroke: #24282d; stroke-width: 2; }
.ov-fr1 { fill: rgba(214, 228, 255, .55); stroke: #8b5a2b; stroke-width: 2; }
.ov-fr2 { fill: rgba(214, 228, 255, .55); stroke: #2f6fe0; stroke-width: 2; }
.ov-fr3 { fill: rgba(214, 228, 255, .55); stroke: #c03a4a; stroke-width: 2; }
.ov-fr0 path, .ov-fr1 path, .ov-fr2 path, .ov-fr3 path { fill: none; stroke-linecap: round; }
.ov-device { fill: #e4ebfb; stroke: var(--violet); stroke-width: 1.8; }
.ov-lens { fill: #fff; stroke: var(--violet); stroke-width: 1.6; }
.ov-chair { fill: #cdd8f3; stroke: var(--violet); stroke-width: 2; }
.ov-chair-h { fill: #aebbe0; stroke: var(--violet); stroke-width: 1.4; }
.ov-screen { fill: #24282d; }
.ov-optotype { fill: #fff; }
.ov-sink { fill: #fff; stroke: #6b7385; stroke-width: 1.6; }
.ov-halo { fill: rgba(247, 184, 43, .14); stroke: #e3a21c; stroke-width: 1; stroke-dasharray: 3 3; }
.ov-lamp { fill: #fff3c4; stroke: #e3a21c; stroke-width: 1.4; }
.ov-tools { fill: #f1f4fb; stroke: var(--violet); stroke-width: 1.6; }
.ov-air { fill: none; stroke: #7f9ffb; stroke-width: 2; stroke-linecap: round; }
.irc-off { filter: saturate(.5) contrast(.86) brightness(1.05); }
.irc-curve-on { fill: none; stroke: #1e3a8a; stroke-width: 4; stroke-linecap: round; }
.irc-curve-off { fill: none; stroke: #8a93a6; stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }

/* ---------- Vues 3D isométriques ---------- */
.sv3 { background: radial-gradient(circle at 50% 28%, #fff, #eff3fc); }
.iso polygon { stroke: rgba(30, 58, 138, .28); stroke-width: .8; stroke-linejoin: round; }
.i-floor { fill: #f6f8fe; stroke: #cfd8ee; stroke-width: 1.2; }
.i-floor-amber { fill: rgba(247, 184, 43, .26); stroke: none; }
.i-mat { fill: #9fb9ee; stroke: none; }
.i-carpet { fill: #7f9fe0; stroke: none; opacity: .92; }
.i-dash { stroke: #8a93a6; stroke-width: 1.4; stroke-dasharray: 5 4; fill: none; }
.i-line { stroke: rgba(30, 58, 138, .5); stroke-width: 1.1; fill: none; }
.i-line-w { stroke: rgba(255, 255, 255, .75); stroke-width: 1.1; fill: none; }
.i-frames { stroke: #24282d; stroke-width: 3.4; stroke-dasharray: 5 3; fill: none; opacity: .75; }
.i-led { stroke: #9fd0ff; stroke-width: 2.8; fill: none; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(120, 190, 255, .95)); }
.iso.wall .t { fill: #d9e2f6; } .iso.wall .l { fill: #f1f5fd; } .iso.wall .r { fill: #e7edfa; }
.iso.shelf .t { fill: #e7ecf8; } .iso.shelf .l { fill: #fff; } .iso.shelf .r { fill: #eef2fb; }
.iso.counter .t { fill: #e3c999; } .iso.counter .l { fill: #f3e2c1; } .iso.counter .r { fill: #e0c08a; }
.iso.slab .t { fill: #fff; } .iso.slab .l { fill: #eef2fb; } .iso.slab .r { fill: #dfe6f6; }
.iso.robot .t { fill: #7f98dc; } .iso.robot .l { fill: #5873c4; } .iso.robot .r { fill: #4560ad; }
.iso.amber .t { fill: #ffe29a; } .iso.amber .l { fill: #f7b82b; } .iso.amber .r { fill: #dda012; }
.iso.gond .t { fill: #fff; } .iso.gond .l { fill: #dfe7fb; } .iso.gond .r { fill: #c6d4f6; }
.iso.promo .t { fill: #ffe29a; } .iso.promo .l { fill: #f7c95a; } .iso.promo .r { fill: #e0ae3a; }
.iso.wallc .t { fill: #f6dc9a; } .iso.wallc .l { fill: #fdf1cf; } .iso.wallc .r { fill: #f3dea4; }
.iso.chair .t { fill: #a9c0f0; } .iso.chair .l { fill: #86a3e3; } .iso.chair .r { fill: #6f8ed1; }
.iso.chairw .t { fill: #efe3d0; } .iso.chairw .l { fill: #d9c8ad; } .iso.chairw .r { fill: #c6b392; }
.iso.wood .t { fill: #efd6aa; } .iso.wood .l { fill: #e2c598; } .iso.wood .r { fill: #cfab75; }
.iso.white .t { fill: #fff; } .iso.white .l { fill: #f6f8fd; } .iso.white .r { fill: #e8edf8; }
.iso.blue .t { fill: #5f80d6; } .iso.blue .l { fill: #4468c4; } .iso.blue .r { fill: #3350a8; }
.iso.dark .t { fill: #5a6378; } .iso.dark .l { fill: #3d4558; } .iso.dark .r { fill: #2d3446; }
.iso.steel .t { fill: #e5e9f2; } .iso.steel .l { fill: #c9d0e0; } .iso.steel .r { fill: #b4bdd2; }
/* Dessins du mobilier (cartes) : plexi transparent, produits vert et rose, parcours fléché, lien pointillé, tablette inclinée, pastille */
.iso.glass .t { fill: rgba(207, 224, 255, .5); } .iso.glass .l { fill: rgba(207, 224, 255, .3); } .iso.glass .r { fill: rgba(159, 185, 238, .4); }
.iso.pg .t { fill: #dff1e7; } .iso.pg .l { fill: #bfe0cd; } .iso.pg .r { fill: #a7d1b9; }
.iso.pp .t { fill: #fbd3de; } .iso.pp .l { fill: #f2b8c6; } .iso.pp .r { fill: #e29fb0; }
.i-path { fill: none; stroke: var(--violet); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; }
.i-link { fill: none; stroke: var(--violet); stroke-width: 3; stroke-dasharray: 2 7; stroke-linecap: round; }
.i-incl { fill: #e5e9f2; stroke: rgba(30, 58, 138, .28); stroke-width: .8; stroke-linejoin: round; }
.iso.led .t { fill: #d8ffec; } .iso.led .l { fill: #4af2a3; } .iso.led .r { fill: #2db77a; }
.iso.led { filter: drop-shadow(0 0 3px rgba(74, 242, 163, .85)); }
.iso.navy .t { fill: #4a68c4; } .iso.navy .l { fill: #1e3a8a; } .iso.navy .r { fill: #16296b; }
.i-glass-q { fill: rgba(207, 224, 255, .42); stroke: #55627f; stroke-width: 1.6; stroke-linejoin: round; }
.i-door-q { fill: rgba(159, 185, 238, .5); stroke: #55627f; stroke-width: 1.6; stroke-linejoin: round; }
.i-vinyl { fill: rgba(255, 255, 255, .7); stroke: none; }
.i-handle { stroke: #3b4254; stroke-width: 2.4; stroke-linecap: round; }
.i-sign-t { fill: #fff; font-weight: 800; font-family: var(--font); letter-spacing: .08em; }
.i-badge { fill: #f7b82b; stroke: #fff; stroke-width: 2.5; }
.i-badge-t { fill: #1d2433; font-size: 19px; font-weight: 800; }

/* =========================================================
   Mise en page des pages Expertises
   ========================================================= */
.hero--xp { padding-bottom: clamp(48px, 6vw, 84px); }
.hero--xp .hero__title { margin-top: 18px; }
.crumbs { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--slate); }
.crumbs a { color: var(--violet); }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs .i { width: 14px; height: 14px; }
.xp-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.xp-jump a { padding: 8px 15px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .8); font-size: 13.5px; font-weight: 600; color: var(--onyx); transition: background-color .3s, color .3s, transform .45s var(--ease-back); }
.xp-jump a:hover { background: var(--violet); color: #fff; transform: translateY(-3px); }
.hero--xp .hero__ctas { margin-top: 28px; }

/* Chapitres : un par thème de la carte « Expertises » */
.xp-chap { padding-block: clamp(44px, 5.5vw, 84px) 0; }
.xp-chap[id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
.xp-chap__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.xp-chap__grid--rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.xp-chap__grid--rev .xp-chap__text { order: 2; }
.xp-chap__icon { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: #fff; color: var(--violet); box-shadow: 0 14px 28px -18px rgba(21, 42, 104, .5); }
.xp-chap__icon .i { width: 28px; height: 28px; }
.xp-chap__title { margin-top: 22px; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -.04em; }
.xp-chap__lead { max-width: 460px; margin-top: 16px; font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.6; color: var(--graphite); }
.xp-chap .chips { margin-top: 24px; }

/* Cartes d'image : photos, schémas, emplacements à compléter */
.xp-fig { position: relative; margin: 0; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -40px rgba(21, 42, 104, .5); }
.xp-fig figcaption { display: flex; align-items: center; gap: 10px; padding: 14px 20px 16px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--onyx); }
.xp-fig figcaption::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.xp-fig__media { position: relative; display: block; aspect-ratio: var(--ar, 4 / 3); overflow: hidden; background: var(--grad-dusk); }
.xp-fig__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.xp-fig--photo:hover .xp-fig__media img { transform: scale(1.05); }
.xp-fig--wide { margin-top: clamp(24px, 3vw, 40px); }
.xp-fig--wide .sv { max-height: 560px; }
.xp-pair, .xp-trio { display: grid; gap: clamp(16px, 2vw, 24px); margin-top: clamp(24px, 3vw, 40px); }
.xp-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.xp-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.xp-pair--tight { margin-top: clamp(16px, 2vw, 24px); }
.xp-slot { background: rgba(255, 255, 255, .55); box-shadow: none; border: 2px dashed rgba(30, 58, 138, .3); }
.xp-slot__box { display: grid; place-content: center; justify-items: center; gap: 10px; aspect-ratio: var(--ar, 4 / 3); color: var(--violet); font-size: 14px; font-weight: 600; }
.xp-slot__box .i { width: 34px; height: 34px; }
.xp-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.4; color: var(--graphite); }
.xp-legend li { display: inline-flex; align-items: center; gap: 10px; }
.xp-legend b { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--violet); font-size: 12px; font-weight: 700; color: #fff; }

/* Bandeau « Étude & conception » : plan 2D, vue 3D, réalisation */
.xp-band { padding-block: clamp(64px, 8vw, 120px) 0; }
.xp-band__head { max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.xp-band__title { font-size: clamp(30px, 4vw, 46px); line-height: 1.06; letter-spacing: -.035em; }
.xp-band__lead { margin-top: 16px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--slate); }
.xp-band .chips { justify-content: center; }
.xp-note { margin-top: 18px; text-align: center; font-size: 13px; color: var(--slate); }
.lp-cross { text-align: center; }

/* Façade : bascule jour / nuit */
.fa-switch { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .92); box-shadow: 0 10px 24px -14px rgba(21, 42, 104, .5); }
.fa-switch button { min-width: 64px; height: 34px; padding: 0 14px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 700; color: var(--slate); transition: background-color .3s, color .3s; }
.fa-switch button[aria-pressed="true"] { background: var(--violet); color: #fff; }

@media (max-width: 900px) {
  .xp-chap__grid, .xp-chap__grid--rev { grid-template-columns: 1fr; }
  .xp-chap__grid--rev .xp-chap__text { order: 0; }
  .xp-trio { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .xp-pair { grid-template-columns: 1fr; }
  .xp-fig { border-radius: 22px; }
}

/* Pastilles sur le fond de page : blanches pour rester visibles */
.xp-chap .chips li, .xp-band .chips li { background: #fff; box-shadow: 0 8px 18px -12px rgba(21, 42, 104, .45); }
.xp-chap .chips li:hover, .xp-band .chips li:hover { background: var(--violet); color: #fff; }

/* =========================================================
   Page Pharmacie : le titre seul en haut, puis texte et photo (photo droite, cadre bleu foncé en relief)
   ========================================================= */
.hero.hero--title { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: var(--nav-h) 0; }
.hero--title .hero__only { position: relative; z-index: 2; text-align: center; }
/* Titre sur deux lignes : « Agencement » en fin, le reste en très gras */
.hero--title .hero__word { font-family: var(--font); font-size: clamp(40px, 11.6vw, 72px); line-height: .98; color: var(--violet-dd); }
@media (min-width: 700px) { .hero--title .hero__word { font-size: clamp(72px, 9vw, 128px); } }
.hero__light, .hero__bold { display: block; }
.hero__light { font-weight: 300; letter-spacing: -.01em; }
.hero__bold { font-weight: 900; letter-spacing: -.035em; }
/* Photo en fond, au premier plan : voile léger et neutre (les couleurs restent vraies), titre blanc */
.hero--photo { --veil-top: .34; --veil-mid: .2; --veil-bottom: .42; --veil-core: .3; background: #0b1230; }
.hero--photo .hero__bg { transform: none !important; }
.hero--photo::after { display: none; }
.hero__bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero--photo .hero__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 42% at 50% 50%, rgba(6, 10, 24, var(--veil-core)), rgba(6, 10, 24, 0)), linear-gradient(180deg, rgba(6, 10, 24, var(--veil-top)), rgba(6, 10, 24, var(--veil-mid)) 45%, rgba(6, 10, 24, var(--veil-bottom))); }
.hero--photo .hero__word { color: #fff; text-shadow: 0 2px 30px rgba(4, 8, 22, .45); }
/* Photo d'optique : plus claire, donc un voile un peu plus marqué pour garder le titre lisible */
.hero--photo-optique { --veil-top: .46; --veil-mid: .36; --veil-bottom: .54; --veil-core: .3; }
.hero--photo-optique .hero__bgimg { object-position: 50% 50%; }

.xp-intro { padding-block: clamp(56px, 7vw, 112px) 0; }
.xp-intro__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.xp-intro__text > p:not(.eyebrow):not(.xp-intro__cta) { max-width: 560px; margin-top: 18px; font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.7; color: var(--graphite); }
.xp-intro__text strong { font-weight: 700; color: var(--onyx); }
.xp-intro__title { font-size: clamp(30px, 3.7vw, 52px); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
.xp-intro__title strong { font-weight: 700; color: var(--onyx); }
.xp-intro .xp-jump { margin-top: 26px; }
.xp-intro__cta { margin-top: 28px; }
/* Photo au format classique, bande bleu foncé en relief sur le dessus et le côté droit */
.xp-frame { --off: clamp(12px, 1.6vw, 22px); position: relative; margin: var(--off) var(--off) 0 0; }
.xp-frame::before { content: ""; position: absolute; z-index: 0; top: calc(var(--off) * -1); right: calc(var(--off) * -1); left: var(--off); bottom: var(--off); background: linear-gradient(225deg, #1e3a8a 0%, #0e1844 100%); }
.xp-frame img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 34px 50px -30px rgba(10, 18, 50, .6); }
@media (max-width: 900px) {
  .xp-intro__grid { grid-template-columns: 1fr; }
  .xp-frame { margin-top: var(--off); }
}

/* Page « Notre accompagnement » : la section Services ouvre la page, sous la barre de menu (pas de bandeau titre) */
.services.acc-first { padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 88px)); }

/* =========================================================
   Pages « Votre projet » : une page détaillée par formule (Conception, Clé en main, Relooking)
   S'appuie sur .lp-head, .exp-grid, .lp-steps, .project, .faq et .offers__help déjà définis
   ========================================================= */
.fm { padding-block: clamp(52px, 6.5vw, 92px) 0; }
.fm .lp-head { margin-bottom: clamp(28px, 4vw, 48px); }
.fm .lp-head .section__lead { max-width: 660px; margin-inline: auto; }
.fm-badge { display: inline-block; margin-bottom: 16px; padding: 7px 16px; border-radius: var(--r-pill); background: #f7b82b; font-size: 12px; font-weight: 800; letter-spacing: .02em; color: var(--onyx); }
.fm-ideal { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; margin-top: 24px; padding: 11px 20px; border-radius: var(--r-pill); background: #fff; box-shadow: 0 10px 24px -16px rgba(21, 42, 104, .5); font-size: 15px; line-height: 1.45; color: var(--graphite); }
.fm-ideal strong { color: var(--violet); }
.fm-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px; margin-top: 26px; }
.fm-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px; margin-top: clamp(26px, 3.4vw, 40px); }
/* Introduction avec photo : texte à gauche, photo à droite (la photo reste petite pour rester nette) ; empilé sur tablette et téléphone */
.fm-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.fm-intro .lp-head { max-width: none; margin: 0; text-align: left; }
.fm-intro .lp-head .section__lead { margin-inline: 0; }
.fm-intro .fm-actions { justify-content: flex-start; }
.fm-photo { width: min(100%, 400px); margin: 0; justify-self: center; border-top: 6px solid var(--violet); background: #fff; box-shadow: 0 30px 60px -44px rgba(21, 42, 104, .55); }
.fm-photo img { display: block; width: 100%; height: auto; }
/* Plan d'architecte à la place de la photo (Conception) : colonne plus large, fond blanc du plan */
.fm-intro--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.fm-photo--plan { width: 100%; }
.fm-photo--plan img { background: #fff; }
@media (max-width: 900px) {
  .fm-intro { grid-template-columns: 1fr; }
  .fm-intro .lp-head { text-align: center; }
  .fm-intro .lp-head .section__lead { margin-inline: auto; }
  .fm-intro .fm-actions { justify-content: center; }
}
.exp-grid--3 { grid-template-columns: repeat(3, 1fr); }
.exp-card .chips { position: relative; margin-top: 16px; }
.exp-card__link { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--violet); }
.exp-card__link .i { width: 16px; height: 16px; }
.lp-steps--4 { grid-template-columns: repeat(4, 1fr); }
.lp-step__time { display: block; margin-top: 16px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }
.lp-step__time + h3 { margin-top: 8px; }
.fm-versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fm-versus__card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 3vw, 38px); border-radius: 26px; background: #fff; }
.fm-versus__card h3 { font-size: clamp(22px, 2vw, 26px); letter-spacing: -.02em; }
.fm-versus__card > p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--graphite); }
.fm-versus__list { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.fm-versus__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--onyx); }
.fm-versus__list .i { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--violet); }
.fm-versus__card .btn { margin-top: auto; }
.fm-versus__card .fm-versus__list + .btn { margin-top: 26px; }
.fm-care { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; padding: clamp(22px, 3vw, 32px); border-radius: 26px; background: #fff; }
.fm-care__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 18px; background: var(--lilac); color: var(--violet); }
.fm-care__icon .i { width: 26px; height: 26px; }
.fm-care__text { flex: 1; min-width: 240px; }
.fm-care__text strong { display: block; font-size: 20px; letter-spacing: -.02em; color: var(--onyx); }
.fm-care__text p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--graphite); }
@media (max-width: 1000px) {
  .exp-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .lp-steps--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .exp-grid--3, .lp-steps--4, .fm-versus { grid-template-columns: 1fr; }
}

/* Mobilier pharmacie : présentation en cartes d'information (photo à barre colorée, titre, texte), en deux colonnes de cartes à l'horizontale */
.xp-cards { padding-block: clamp(56px, 7vw, 104px) 0; }
.xp-cards__head { max-width: 720px; margin-bottom: clamp(26px, 3.6vw, 46px); }
.xp-cards__head .lp-cross { margin-top: 18px; text-align: left; font-size: 16px; line-height: 1.6; }
/* Le lien « Décrivez-nous votre besoin » amène sur la carte « Demande de devis », qui s'arrête sous la barre de menu */
#contactForm { scroll-margin-top: calc(var(--nav-h) + 24px); }
.xp-cards__group + .xp-cards__group { margin-top: clamp(40px, 5vw, 68px); }
.xp-cards__sub { margin: 0 0 clamp(16px, 2vw, 26px); }
.xp-cards__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 36px); }
.xp-card { scroll-margin-top: calc(var(--nav-h) + 24px); }
.xp-card__open { display: grid; grid-template-columns: minmax(0, .46fr) minmax(0, .54fr); height: 100%; border-top: 6px solid var(--violet); background: #fff; color: inherit; box-shadow: 0 30px 60px -44px rgba(21, 42, 104, .55); }
.xp-card__media { position: relative; display: block; min-height: 230px; overflow: hidden; background: var(--grad-dusk); }
.xp-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Emplacement « Photo à ajouter » (en attendant la vraie photo) */
.xp-card__media--slot { display: grid; place-content: center; justify-items: center; gap: 10px; background: linear-gradient(160deg, #fff, var(--frost)); outline: 2px dashed rgba(30, 58, 138, .3); outline-offset: -12px; color: var(--violet); font-size: 14px; font-weight: 600; }
.xp-card__media--slot .i { width: 34px; height: 34px; }
.xp-card__media--art { display: grid; place-items: center; padding: 16px 16px 48px; background: linear-gradient(160deg, #fff, var(--frost)); }
.xp-card__media--art .sv { position: relative; width: 100%; height: auto; }
.xp-card__media--art .sv3 { background: none; }
.xp-card__tag { position: absolute; left: 10px; bottom: 10px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(13, 19, 49, .74); color: #fff; font-size: 12.5px; font-weight: 700; }
.xp-card__body { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.2vw, 30px); }
.xp-card__title { display: block; font-size: clamp(21px, 1.9vw, 27px); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; color: var(--onyx); }
.xp-card__text { display: block; font-size: 15.5px; line-height: 1.6; color: var(--graphite); }
@media (max-width: 999px) { .xp-cards__grid { grid-template-columns: 1fr; } }
@media (max-width: 639px) {
  .xp-card__open { grid-template-columns: 1fr; }
  .xp-card__media { aspect-ratio: 4 / 3; min-height: 0; }
  .xp-card__media--art { aspect-ratio: auto; }
}

/* =========================================================
   Plan d'architecte : traits noirs fins, murs hachurés, cotes en cm, légende des meubles
   ========================================================= */
.sv.sv-ar, .sv-ar text { font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; }
.sv-ar text { fill: #1c1c1c; }
.sv-ar .ar-bg { fill: #fff; }
.sv-ar .ar-floor { fill: #f4eddc; stroke: none; }
.sv-ar .ar-room { fill: #fff; stroke: none; }
.sv-ar .ar-shell, .sv-ar .ar-wall { stroke: #1c1c1c; stroke-width: 1.4; stroke-linejoin: miter; }
.sv-ar .ar-thinwall { fill: #fff; stroke: #1c1c1c; stroke-width: 1; }
.sv-ar .ar-gap, .sv-ar .sv-gap { fill: #fff; stroke: none; }
.sv-ar .ar-door { fill: #1c1c1c; stroke: none; }
.sv-ar .ar-glass { fill: #fff; stroke: #1c1c1c; stroke-width: .8; }
.sv-ar .ar-glassline { fill: none; stroke: #1c1c1c; stroke-width: 1.6; }
.sv-ar .sv-door { stroke: #1c1c1c; stroke-width: 1.6; stroke-linecap: butt; }
.sv-ar .sv-swing { stroke: #1c1c1c; stroke-width: .7; stroke-dasharray: none; }
.sv-ar .ar-fur, .sv-ar .ar-fur2 { fill: #fff; stroke: #1c1c1c; stroke-width: 1; }
.sv-ar .ar-thin { fill: none; stroke: #1c1c1c; stroke-width: .6; }
.sv-ar .ar-blue { fill: #2347c9; stroke: none; }
.sv-ar .ar-blueline { fill: none; stroke: #2347c9; stroke-width: 2; stroke-linejoin: round; }
.sv-ar .ar-rmark circle { fill: #2347c9; stroke: #fff; stroke-width: 1.5; }
.sv-ar .ar-rmark text { fill: #fff; stroke: none; font-size: 12px; font-weight: 700; }
.sv-ar .ar-dash { fill: none; stroke: #1c1c1c; stroke-width: .8; stroke-dasharray: 4 3; }
.sv-ar .ar-dim { stroke: #1c1c1c; stroke-width: .8; }
.sv-ar .ar-ext { stroke: #1c1c1c; stroke-width: .5; }
.sv-ar .ar-tick { stroke: #1c1c1c; stroke-width: 1.5; stroke-linecap: round; }
.sv-ar .ar-redline { fill: none; stroke: #d3202a; stroke-width: 2; }
.sv-ar .ar-sym { fill: none; stroke: #1c1c1c; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.sv-ar .ar-sym circle { fill: #1c1c1c; stroke: none; }
.sv-ar .ar-box rect { fill: #fff; stroke: #1c1c1c; stroke-width: 1; }
.sv-ar .ar-box text { stroke: none; }
.sv-ar .ar-legend { fill: #fff; stroke: #1c1c1c; stroke-width: 1; }
.sv-ar .ar-t { font-size: 11.5px; }
.sv-ar .ar-tr { font-size: 12px; font-weight: 700; fill: #d3202a; }
.sv-ar .ar-ts { font-size: 10px; }
.sv-ar .ar-tb { font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.sv-ar .ar-tb2 { font-size: 11px; font-weight: 700; letter-spacing: .01em; }
.sv-ar .ar-tblue { font-size: 10.5px; font-weight: 700; fill: #2347c9; }
.sv-ar .ar-tbl { font-size: 15px; font-weight: 800; letter-spacing: .08em; fill: #1e3a8a; }
/* Contour clair autour des textes : ils restent lisibles sur les traits du dessin (beige sur le sol de vente) */
.sv-ar .ar-t, .sv-ar .ar-tr, .sv-ar .ar-ts, .sv-ar .ar-tb, .sv-ar .ar-tb2, .sv-ar .ar-tblue { paint-order: stroke fill; stroke: #fff; stroke-width: 3.6px; stroke-linejoin: round; }
.sv-ar .ar-fl { stroke: #f4eddc; }
/* Chapitre « photo + plan réduit » : photo à gauche sur toute la hauteur, texte en haut à droite, plan réduit dessous */
.xp-chap__grid--plan { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); grid-template-areas: "photo text" "photo plan"; grid-template-rows: auto 1fr; align-items: start; column-gap: clamp(32px, 5vw, 72px); row-gap: clamp(22px, 2.6vw, 34px); }
.xp-chap__grid--plan > .xp-chap__text { grid-area: text; }
.xp-chap__grid--plan > .xp-fig--photo { grid-area: photo; align-self: stretch; display: flex; flex-direction: column; }
.xp-chap__grid--plan > .xp-fig--photo .xp-fig__media { flex: 1; aspect-ratio: auto; min-height: 380px; }
.xp-chap__grid--plan > .xp-mini { grid-area: plan; }
.xp-chap__grid--plan .xp-chap__title { margin-top: 18px; font-size: clamp(30px, 3.5vw, 46px); }
.xp-chap__grid--plan .xp-chap__lead { max-width: none; margin-top: 12px; }
.xp-chap__grid--plan .chips { margin-top: 18px; }
/* Plan réduit : une carte, un clic l'agrandit avec sa légende */
.xp-mini { position: relative; margin: 0; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -40px rgba(21, 42, 104, .5); }
.xp-mini figcaption { display: flex; align-items: center; gap: 10px; padding: 12px 20px 14px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--onyx); }
.xp-mini figcaption::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.xp-mini__open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; font: inherit; color: inherit; text-align: left; }
.xp-mini__open .sv { display: block; width: 100%; height: auto; max-height: none; }
.xp-mini__tag { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 11px; border-radius: var(--r-pill); background: var(--violet); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 10px 24px -12px rgba(21, 42, 104, .7); transition: transform .3s var(--ease), background-color .3s; }
.xp-mini__tag svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.xp-mini__open:hover .xp-mini__tag, .xp-mini__open:focus-visible .xp-mini__tag { transform: scale(1.06); background: var(--violet-dd); }
.xp-mini__open:focus-visible { outline: 3px solid var(--violet); outline-offset: -3px; border-radius: 26px; }
/* Fenêtre du plan agrandi */
.xp-lightbox { width: min(96vw, 1260px); max-width: none; max-height: 94vh; margin: auto; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: #fff; color: var(--onyx); box-shadow: 0 40px 120px -30px rgba(6, 12, 40, .7); }
.xp-lightbox[open] { display: flex; flex-direction: column; }
.xp-lightbox::backdrop { background: rgba(8, 14, 40, .62); backdrop-filter: blur(3px); }
.xp-lightbox__close { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--violet); color: #fff; box-shadow: 0 10px 24px -12px rgba(21, 42, 104, .7); }
.xp-lightbox__close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.xp-lightbox__body { overflow: auto; overscroll-behavior: contain; }
.xp-lightbox__body .sv { display: block; width: 100%; min-width: 900px; height: auto; max-height: none; }
@media (max-width: 960px) {
  .xp-lightbox { width: 100vw; max-height: 100vh; border-radius: 0; }
}
@media (max-width: 900px) {
  .xp-chap__grid--plan { grid-template-columns: 1fr; grid-template-areas: "text" "photo" "plan"; grid-template-rows: auto; }
  .xp-chap__grid--plan > .xp-fig--photo .xp-fig__media { flex: none; aspect-ratio: var(--ar, 4 / 3); min-height: 0; }
}

/* =========================================================
   Pages Réalisations : bandeau compact, grille de chantiers, fenêtre des photos
   ========================================================= */
.hero.hero--sm { min-height: 62vh; min-height: 62svh; }
.hero--sm .hero__word { font-size: clamp(40px, 11vw, 64px); }
@media (min-width: 700px) { .hero--sm .hero__word { font-size: clamp(64px, 8vw, 112px); } }
.hero--photo-real { --veil-top: .42; --veil-mid: .3; --veil-bottom: .5; --veil-core: .3; }
.hero--photo-real-optique { --veil-top: .46; --veil-mid: .36; --veil-bottom: .54; }
/* Fond dessiné (plan + volumes 3D, déjà sombre) : voile léger, le titre blanc reste lisible au centre */
.hero--photo-draw { --veil-top: .1; --veil-mid: .02; --veil-bottom: .14; --veil-core: .18; }
.hero--photo-draw .hero__bgimg { object-position: 50% 50%; }
.rz { padding-block: clamp(56px, 7vw, 104px) 0; }
.rz__head { margin-bottom: clamp(26px, 3.6vw, 46px); }
.rz__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 3.4vw, 52px) clamp(20px, 2.4vw, 34px); }
@media (max-width: 999px) { .rz__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .rz__grid { grid-template-columns: 1fr; } }
.rz-card { position: relative; scroll-margin-top: calc(var(--nav-h) + 24px); }
.rz-card__open { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.rz-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-top: 6px solid var(--violet); background: var(--grad-dusk); box-shadow: 0 30px 50px -36px rgba(21, 42, 104, .55); }
.rz-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.rz-card__open:hover .rz-card__media img, .rz-card__open:focus-visible .rz-card__media img { transform: scale(1.05); }
.rz-card__count { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px 7px 10px; border-radius: var(--r-pill); background: rgba(13, 19, 49, .74); color: #fff; font-size: 13px; font-weight: 700; }
.rz-card__count svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rz-card__body { display: block; padding: 22px 2px 0; }
.rz-card__title { display: block; font-size: clamp(21px, 1.9vw, 27px); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; color: var(--onyx); transition: color .3s; }
.rz-card__open:hover .rz-card__title, .rz-card__open:focus-visible .rz-card__title { color: var(--violet); }
/* Formule du chantier (Clé en main, Relooking...), juste sous le titre */
.rz-card__kind { display: block; margin-top: 3px; font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--violet); }
.rz-card__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 15px; line-height: 1.4; color: var(--slate); }
.rz-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.rz-card__meta .i { width: 15px; height: 15px; color: var(--violet); }
.rz-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--violet); }
.rz-card__more svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.rz-card__open:hover .rz-card__more svg, .rz-card__open:focus-visible .rz-card__more svg { transform: translateX(5px); }
.rz-card__open:focus-visible { outline: 3px solid var(--violet); outline-offset: 6px; }
.rz-cta { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 100%; padding: clamp(26px, 3vw, 40px); border-top: 6px solid var(--violet); background: linear-gradient(160deg, var(--violet), var(--violet-dd)); color: #fff; }
.rz-cta__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.rz-cta__icon .i { width: 24px; height: 24px; }
.rz-cta strong { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -.025em; }
.rz-cta span:not(.rz-cta__icon) { font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
/* Fenêtre « En savoir plus » : les photos du chantier et ses chiffres */
.rz-dialog { width: min(96vw, 1180px); }
.rz-dialog__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .62fr); max-height: 94vh; }
.rz-dialog__stage { position: relative; display: grid; place-items: center; min-height: 320px; background: #0d1331; }
.rz-dialog__img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(90vh, 920px); object-fit: contain; }
.rz-dialog__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--violet); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); transition: transform .3s var(--ease); }
.rz-dialog__nav:hover { transform: scale(1.08); }
.rz-dialog__nav--prev { left: 14px; }
.rz-dialog__nav--next { right: 14px; }
.rz-dialog__nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rz-dialog__count { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(13, 19, 49, .74); color: #fff; font-size: 13px; font-weight: 600; }
.rz-dialog__side { display: flex; flex-direction: column; gap: 16px; padding: 36px 30px 30px; overflow: auto; }
.rz-dialog__tag { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.rz-dialog__title { margin: 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.03em; }
.rz-dialog__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rz-dialog__facts li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--lilac); font-size: 14px; font-weight: 600; color: var(--violet-dd); }
.rz-dialog__facts .i { width: 15px; height: 15px; }
.rz-dialog__thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.rz-dialog__thumb { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; opacity: .65; transition: opacity .3s, border-color .3s; }
.rz-dialog__thumb[aria-current="true"] { border-color: var(--violet); opacity: 1; }
.rz-dialog__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rz-dialog__side .btn { margin-top: auto; align-self: flex-start; }
.rz-dialog__note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--slate); }
.rz-dialog__hint { position: absolute; right: 14px; bottom: 14px; z-index: 1; display: none; align-items: center; padding: 7px 13px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .94); color: var(--violet-dd); font-size: 13px; font-weight: 700; pointer-events: none; }
.rz-dialog__stage.is-plan:not(.is-zoom) .rz-dialog__hint { display: inline-flex; }
.rz-dialog__stage.is-plan .rz-dialog__img { background: #fff; cursor: zoom-in; }
.rz-dialog__stage.is-zoom { display: block; place-items: start; height: min(86vh, 860px); overflow: auto; }
.rz-dialog__stage.is-zoom .rz-dialog__img { justify-self: start; align-self: start; max-width: none; max-height: none; width: clamp(1100px, 150vw, 2250px); cursor: zoom-out; }
.rz-dialog__stage.is-zoom .rz-dialog__nav, .rz-dialog__stage.is-zoom .rz-dialog__count { display: none; }
.rz-dialog__thumb { position: relative; }
.rz-dialog__thumb[data-kind="plan"] { background: #fff; }
.rz-dialog__thumb[data-kind="plan"]::after { content: "Plan"; position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 0 3px; background: var(--violet); color: #fff; font-size: 11px; font-weight: 700; text-align: center; }
@media (max-width: 860px) {
  .rz-dialog__grid { grid-template-columns: 1fr; overflow: auto; }
  .rz-dialog__img { max-height: 58vh; }
  .rz-dialog__side { padding: 26px 22px 24px; }
}