/*
 * Mini-site du projet de Bierwart (nom de travail : Résidence de la Forge) : feuille de style du site public.
 *
 * Direction : l'architecture de l'immeuble (briques gris clair, bardage en bois naturel, menuiseries anthracite, deux
 * volumes aux toits plats) et le nom de la rue (la Forge). Palette : cuivre #B4562B (accents, boutons, filets),
 * anthracite #24272B (textes, pied de page), pierre #EFEBE5 (fonds alternés), papier #FBFAF7 (fond de page).
 * Typographie : Fraunces (titres, serif chaleureuse à contraste marqué) et Manrope (textes, prix, boutons, libellés).
 * Gestes propres au site : le cadre décalé en cuivre autour des images (le volume en retrait de l'immeuble), le
 * pictogramme de l'immeuble qui situe l'étage de chaque appartement, le filet court en cuivre au-dessus des libellés,
 * le dernier mot des titres en cuivre. Aucun tiret cadratin nulle part.
 */

/* ------------------------------------------------------------------- polices */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../fonts/fraunces.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('../fonts/manrope.woff2') format('woff2'); }

/* ------------------------------------------------------------------- repères */
:root {
    --cuivre: #B4562B;               /* accents, boutons, filets, dernier mot des titres */
    --cuivre-fonce: #8E3F1D;         /* survols, liens dans le texte */
    --cuivre-pale: #F4E6DD;          /* fond très léger derrière un cuivre */
    --anthracite: #24272B;           /* textes, pied de page, menu mobile */
    --encre: #24272B;
    --encre-douce: #5C6167;          /* textes secondaires (contraste AA sur papier et sur pierre) */
    --pierre: #EFEBE5;               /* fonds alternés (la brique gris clair) */
    --pierre-2: #DDD7CF;             /* bordures, filets */
    --pierre-3: #C4BCB1;             /* pictogrammes éteints, séparateurs */
    --papier: #FBFAF7;               /* fond de page */
    --blanc: #FFFFFF;
    --vert: #2E7D5B;
    --ambre: #B8791F;
    --gris: #8A9099;

    --titre: 'Fraunces', Georgia, 'Times New Roman', serif;
    --texte: 'Manrope', 'Segoe UI', Arial, sans-serif;

    --wrap: 1280px;
    --gutter: clamp(20px, 4vw, 48px);
    --col-gap: clamp(32px, 4.5vw, 80px);
    --header-h: 72px;
    --radius: 4px;
    --cadre: 14px;                   /* décalage du cadre en cuivre autour des images */
    --ease: cubic-bezier(.22, .7, .2, 1);
}
@media (min-width: 1100px) { :root { --header-h: 84px; } }

/* ---------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
    margin: 0; background: var(--papier); color: var(--encre);
    font-family: var(--texte); font-weight: 400; font-size: 1rem; line-height: 1.65;
    font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { height: auto; }
picture { display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--titre); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; font-variant-numeric: lining-nums; color: var(--encre); text-wrap: pretty; }
/* le dernier mot d'un titre en cuivre (accent_last_word) : jamais d'italique, la police n'en a pas */
h1 em, h2 em, h3 em, .h2 em { font-style: normal; font-weight: inherit; color: var(--cuivre); }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
h2, .h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 500; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; font-family: var(--texte); font-weight: 700; }
strong { font-weight: 700; }
small { font-size: .8em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--cuivre); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--cuivre); color: #fff; }

.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--anthracite); color: #fff; padding: .8rem 1.2rem; border-radius: var(--radius); font-size: .85rem; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.cta-line { margin: clamp(24px, 3.5vw, 40px) 0 0; }
.note { font-size: .78rem; color: var(--encre-douce); margin: 1.6rem 0 0; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--encre); }
.prose p, .situation__body p { color: var(--encre-douce); }

/* le libellé : capitales espacées en cuivre, sous un filet court */
.kicker {
    position: relative; display: block; margin: 0 0 1rem; padding-top: .8rem;
    font-family: var(--texte); font-weight: 700; font-size: .68rem; line-height: 1.4; letter-spacing: .18em; text-transform: uppercase; color: var(--cuivre);
}
.kicker::before { content: ''; position: absolute; left: 0; top: 0; width: 36px; height: 3px; background: var(--cuivre); border-radius: 2px; }

.link {
    display: inline-flex; align-items: center; gap: .6em; font-weight: 700; font-size: .84rem; text-decoration: none; color: var(--cuivre-fonce);
    padding-bottom: .2em; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; transition: background-size .35s var(--ease), color .2s;
}
.link svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link:hover { color: var(--cuivre); background-size: 30% 1.5px; }
.link:hover svg { transform: translateX(5px); }

/* ------------------------------------------------------------------ sections */
.section { padding-block: clamp(60px, 8vw, 112px); }
.section--pierre { background: var(--pierre); }
.section--tight { padding-top: 0; }
.head { margin: 0 0 clamp(28px, 4vw, 48px); }
.head h2 { max-width: 24ch; text-wrap: balance; }
.head__lead { margin: 1rem 0 0; max-width: 60ch; color: var(--encre-douce); font-size: 1.04rem; }
.head__aside { margin: 1rem 0 0; font-size: .82rem; letter-spacing: .02em; color: var(--encre-douce); }
.head__aside strong { font-family: var(--titre); font-weight: 600; font-size: 1.7rem; color: var(--cuivre); margin-right: .15em; }
@media (min-width: 900px) {
    .head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
    .head--row .head__aside { margin: 0 0 .5rem; white-space: nowrap; }
}

/* ------------------------------------------------------------------- boutons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .9em; min-height: 50px; padding: .85em 1.6em;
    border: 1.5px solid var(--cuivre); border-radius: var(--radius); background: var(--cuivre); color: #fff; cursor: pointer;
    font-family: var(--texte); font-weight: 700; font-size: .78rem; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
    transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn svg { flex: none; width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn small { letter-spacing: .06em; opacity: .75; margin-left: .3em; }
.btn:hover { background: var(--cuivre-fonce); border-color: var(--cuivre-fonce); }
.btn:hover svg { transform: translateX(5px); }
.btn--ghost { background: transparent; border-color: var(--anthracite); color: var(--anthracite); }
.btn--ghost:hover { background: var(--anthracite); border-color: var(--anthracite); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--anthracite); }
.btn--light:hover { background: var(--pierre); border-color: var(--pierre); color: var(--anthracite); }
.btn--outline { background: transparent; color: var(--cuivre-fonce); }
.btn--outline:hover { background: var(--cuivre); color: #fff; }
.btn--block { display: flex; width: 100%; }
.btn--small { min-height: 42px; padding: .6em 1.2em; font-size: .72rem; }
.btn:disabled { opacity: .6; cursor: wait; }

/* statut, badge, prix */
.status { display: inline-flex; align-items: center; gap: .55em; padding: .45em .9em; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(36, 39, 43, .12); font-weight: 700; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--encre); }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--vert); }
.status--option::before { background: var(--ambre); }
.status--vendu::before { background: var(--gris); }
.badge { display: inline-block; padding: .5em .9em; border-radius: 999px; background: var(--badge, var(--cuivre)); color: #fff; font-weight: 700; font-size: .6rem; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 1px 3px rgba(36, 39, 43, .12); }
.price { margin: 0; font-family: var(--texte); font-weight: 700; font-size: 1.25rem; line-height: 1.2; font-variant-numeric: lining-nums tabular-nums; color: var(--encre); }
.price small { font-weight: 500; font-size: .68rem; letter-spacing: .02em; color: var(--encre-douce); }
.unit .price small { display: block; margin-top: .25em; }
.price--ask, .price--muted { font-weight: 500; font-size: .92rem; color: var(--encre-douce); }
.price--large { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.price--large.price--ask, .price--large.price--muted { font-size: 1.35rem; }

/* le cadre décalé en cuivre autour des images : le volume en retrait de l'immeuble */
.cadre { position: relative; margin: 0; }
.cadre::before { content: ''; position: absolute; z-index: 0; inset: var(--cadre) calc(-1 * var(--cadre)) calc(-1 * var(--cadre)) var(--cadre); border: 2px solid var(--cuivre); border-radius: var(--radius); pointer-events: none; }
.cadre--left::before { inset: var(--cadre) var(--cadre) calc(-1 * var(--cadre)) calc(-1 * var(--cadre)); }
.cadre > picture, .cadre > a { position: relative; z-index: 1; display: block; overflow: hidden; border-radius: var(--radius); background: var(--pierre-2); }
.cadre img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cadre figcaption { position: relative; z-index: 1; display: flex; align-items: center; gap: .8rem; margin-top: calc(var(--cadre) + 12px); font-weight: 700; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-douce); }
.cadre figcaption::before { content: ''; flex: none; width: 10px; height: 10px; background: var(--cuivre); }

/* pictogramme de l'immeuble : un niveau en cuivre, les autres éteints */
.picto { width: 24px; height: 24px; flex: none; }
.picto__f { fill: var(--pierre-3); }
.picto__f.is-on { fill: var(--cuivre); }

/* -------------------------------------------------------------------- en-tête */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); background: var(--papier); border-bottom: 1px solid var(--pierre-2); transition: box-shadow .35s, background .35s, border-color .35s; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(36, 39, 43, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.brand { position: relative; z-index: 2; display: block; flex: none; line-height: 0; }
/* le logo (marque + nom sur deux lignes, trois fois plus large que haut) : 48 px de haut sur téléphone, 60 px sur grand écran */
.brand__logo { display: block; width: auto; height: 48px; }
.brand__logo--clair { display: none; }
.brand img { max-width: none; }
@media (max-width: 379px) { .brand__logo { height: 40px; } }

.burger { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .8rem; padding: .6rem 0 .6rem .6rem; border: 0; background: none; color: var(--encre); cursor: pointer; font: 700 .68rem/1 var(--texte); letter-spacing: .18em; text-transform: uppercase; }
.burger__icon { position: relative; width: 26px; height: 12px; }
.burger__icon i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger__icon i:first-child { top: 0; }
.burger__icon i:last-child { top: 10px; }
.burger[aria-expanded="true"] .burger__icon i:first-child { top: 5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__icon i:last-child { top: 5px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 24px) var(--gutter) 40px; background: var(--anthracite); color: #fff; visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; overflow-y: auto; }
.menu::after { content: ''; position: absolute; z-index: -1; right: -8%; bottom: -4%; width: min(70vw, 380px); aspect-ratio: 591 / 497; background: url('../img/symbole-blanc.png') no-repeat 50% 100% / contain; opacity: .06; pointer-events: none; }
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .35s, visibility 0s; }
.menu__list a { display: block; padding: .5rem 0; font-family: var(--titre); font-weight: 500; font-size: clamp(1.8rem, 7vw, 2.5rem); line-height: 1.15; letter-spacing: -.015em; text-decoration: none; color: #fff; }
.menu__list a[aria-current="page"] { color: var(--cuivre); }
.menu__list a.menu__cta { display: inline-flex; margin-top: 1.6rem; padding: .95em 1.8em; border-radius: var(--radius); background: var(--cuivre); font: 700 .78rem/1.3 var(--texte); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.menu__foot { margin: 2.4rem 0 0; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.site-header.is-menu { background: var(--anthracite); border-color: transparent; box-shadow: none; }
.site-header.is-menu .burger { color: #fff; }
.site-header.is-menu .brand__logo--clair { display: block; }
.site-header.is-menu .brand__logo--fonce { display: none; }

@media (min-width: 1100px) {
    .burger { display: none; }
    .brand__logo { height: 60px; }
    .menu { position: static; inset: auto; z-index: auto; flex-direction: row; justify-content: flex-end; align-items: center; width: auto; padding: 0; background: none; color: inherit; visibility: visible; opacity: 1; overflow: visible; }
    .menu__list { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
    .menu__list a { position: relative; padding: .5rem 0; font: 600 .86rem/1.2 var(--texte); letter-spacing: 0; color: var(--encre); }
    .menu__list a:not(.menu__cta)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--cuivre); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
    .menu__list a:not(.menu__cta):hover::after, .menu__list a[aria-current="page"]::after { transform: scaleX(1); }
    .menu__list a[aria-current="page"] { color: var(--encre); }
    .menu__list a.menu__cta { margin: 0; padding: .8em 1.5em; font-size: .74rem; transition: background .25s; }
    .menu__list a.menu__cta:hover, .menu__list a.menu__cta[aria-current="page"] { background: var(--cuivre-fonce); }
    .menu__foot, .menu::after { display: none; }
}

/* --------------------------------------------------------------- haut de page */
/* Deux colonnes : le texte sur fond pierre à gauche, le rendu 3D intact à droite dans son cadre cuivre, qui déborde
   sur la section suivante (comme le premier étage de l'immeuble déborde sur le rez-de-chaussée). */
.hero { position: relative; background: var(--pierre); padding-top: clamp(32px, 5vw, 64px); }
.hero__grid { display: grid; gap: 36px; }
.hero__media { order: -1; }
.hero__kicker { display: block; margin: 0 0 1.1rem; font-weight: 700; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cuivre); }
.hero__title { max-width: 14ch; font-size: clamp(2.4rem, 5vw, 4.3rem); text-wrap: balance; }
.hero__lead { max-width: 52ch; margin: 1.4rem 0 1.8rem; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.6; color: var(--encre); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; margin: clamp(30px, 4vw, 48px) 0 0; padding-top: 24px; border-top: 1px solid var(--pierre-3); }
.hero__facts strong { display: block; font-family: var(--titre); font-weight: 600; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.05; letter-spacing: -.02em; color: var(--encre); white-space: nowrap; }
.hero__facts span { display: block; margin-top: .4rem; font-weight: 700; font-size: .64rem; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-douce); }
.cadre--hero > picture { aspect-ratio: 4 / 3; }
.hero__signed { display: inline-flex; align-items: center; gap: 1rem; margin-top: calc(var(--cadre) + 18px); text-decoration: none; color: var(--encre-douce); font-weight: 700; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; transition: color .2s; }
.hero__signed img { width: 140px; height: auto; }
.hero__signed:hover { color: var(--cuivre); }
.hero__text { padding-bottom: clamp(40px, 6vw, 72px); }
@media (max-width: 1099.98px) {
    .hero__media { margin-right: var(--cadre); }
    .hero__signed { display: none; }
}
@media (min-width: 1100px) {
    .hero { padding-top: clamp(48px, 5vw, 72px); }
    .hero__grid { grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); column-gap: var(--col-gap); align-items: center; }
    .hero__media { order: 0; align-self: end; margin-bottom: -72px; padding-right: var(--cadre); }      /* déborde sur la section suivante */
    .hero__text { align-self: center; padding-bottom: 92px; }
    /* les chiffres clés en deux colonnes, comme les deux volumes de l'immeuble (« 106 à 115 m² » a la place qu'il faut) */
    .hero__facts { grid-template-columns: 1fr 1fr; gap: 22px 28px; }
    .cadre--hero > picture { aspect-ratio: 5 / 4; }
    .page-home .units-section { padding-top: calc(72px + clamp(48px, 6vw, 88px)); }
}
@media (max-width: 480px) {
    .hero__actions .btn { padding-inline: 1.2em; gap: .7em; font-size: .72rem; letter-spacing: .08em; white-space: nowrap; }
}

/* ----------------------------------------------------------- les appartements */
.units-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .units-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .units-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }

.unit { position: relative; display: flex; flex-direction: column; background: var(--blanc); border: 1px solid var(--pierre-2); border-radius: 6px; overflow: hidden; transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.unit::before { content: ''; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 4px; background: var(--cuivre); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.unit:hover { transform: translateY(-4px); border-color: var(--pierre-3); box-shadow: 0 18px 40px rgba(36, 39, 43, .08); }
.unit:hover::before { transform: scaleX(1); }
/* l'image remplit un cadre positionné : une photo le couvre, un plan s'y inscrit en entier (jamais recadré) */
.unit__media { position: relative; aspect-ratio: 4 / 3; background: var(--pierre); overflow: hidden; }
.unit__media picture { position: absolute; inset: 0; display: block; }
.unit__media--plan { background: var(--blanc); }
.unit__media--plan picture { inset: 46px 22px 18px; }
.unit__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.unit__media--plan img { object-fit: contain; }
.unit:hover .unit__media img { transform: scale(1.03); }
.unit__empty { display: grid; place-items: center; width: 100%; height: 100%; background: var(--pierre); }
.unit__empty img { width: 88px; height: auto; opacity: .35; }
.unit__top { position: absolute; z-index: 1; left: 14px; top: 14px; right: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.unit__body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; border-top: 1px solid var(--pierre-2); }
.unit__level { display: flex; align-items: center; gap: .6rem; margin: 0 0 .6rem; font-weight: 700; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-douce); }
.unit__level .picto { width: 22px; height: 22px; }
.unit__title { margin: 0 0 .6rem; font-size: 1.55rem; font-weight: 600; line-height: 1.1; }
.unit__title a { text-decoration: none; color: var(--encre); }
.unit__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }      /* toute la carte est cliquable */
.unit__title a:focus-visible { outline: none; }
.unit__title a:focus-visible::after { outline: 2px solid var(--cuivre); outline-offset: -3px; border-radius: 6px; }
.unit__facts { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 1.4rem; font-size: .9rem; line-height: 1.5; color: var(--encre-douce); }
.unit__facts li + li::before { content: '·'; margin: 0 .55em; color: var(--pierre-3); }
.unit__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 16px; border-top: 1px solid var(--pierre-2); }
.unit__foot .btn { position: relative; }
.unit:hover .btn--small { background: var(--cuivre-fonce); border-color: var(--cuivre-fonce); }
.unit:hover .btn--small svg { transform: translateX(5px); }
.unit--vendu .unit__media img { filter: grayscale(1); opacity: .45; }
.unit--vendu .unit__title a { color: var(--gris); }
.unit--vendu::before { background: var(--gris); }

/* ---------------------------------------------------------------- l'immeuble */
.immeuble__grid { display: grid; gap: 44px; align-items: center; }
.immeuble__text h2 { margin-bottom: 1.4rem; }
.immeuble__text p:not(.lead):not(.kicker) { color: var(--encre-douce); }
.delivery { margin: 1.2rem 0 0; font-weight: 700; color: var(--encre) !important; }
.materials { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 2rem 0 0; }
.materials li { position: relative; padding-left: 22px; font-size: .9rem; line-height: 1.5; }
.materials li::before { content: ''; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; background: var(--cuivre); }
.materials strong { display: block; font-weight: 700; color: var(--encre); }
.materials span { display: block; color: var(--encre-douce); font-size: .84rem; }
.immeuble__media > a > picture { aspect-ratio: 4 / 3; }
@media (min-width: 1000px) {
    .immeuble__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--col-gap); }
    .immeuble__media { margin-left: var(--cadre); }
}

/* ------------------------------------------------------------ situation, carte */
.situation__grid { display: grid; gap: 40px; }
.situation__text h2, .situation__text .h2 { margin-bottom: 1.3rem; }
.situation__body ul { margin: 0 0 1.2em; }
.situation__body li { position: relative; padding-left: 22px; margin-bottom: .45em; color: var(--encre-douce); }
.situation__body li::before { content: ''; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--cuivre); }
.situation__address { margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid var(--pierre-2); font-size: 1.05rem; line-height: 1.6; }
.situation__address-label { display: block; margin-bottom: .4rem; font-weight: 700; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--encre-douce); }
@media (min-width: 1000px) {
    .situation__grid { grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); column-gap: var(--col-gap); align-items: center; }
}
.map { position: relative; height: clamp(420px, 44vw, 560px); overflow: hidden; background: var(--pierre); border: 1px solid var(--pierre-2); border-radius: 6px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.94) brightness(1.03); transition: filter .5s; }
.map::after { content: ''; position: absolute; inset: 0; background: rgba(180, 86, 43, .07); mix-blend-mode: multiply; pointer-events: none; transition: opacity .5s; }
.map__pin { position: absolute; z-index: 2; width: 0; height: 0; pointer-events: none; }
.map__halo { position: absolute; left: -46px; top: -46px; width: 92px; height: 92px; border-radius: 50%; background: rgba(180, 86, 43, .16); border: 1px solid rgba(180, 86, 43, .5); animation: halo 3.2s ease-out infinite; }
.map__dot { position: absolute; left: -28px; top: -28px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--cuivre); border: 3px solid #fff; box-shadow: 0 4px 14px rgba(36, 39, 43, .25); }
.map__dot img { width: 26px; height: auto; }
.map__label { position: absolute; left: 0; top: 38px; transform: translateX(-50%); margin: 0; padding: .65rem 1rem; background: #fff; border-radius: var(--radius); box-shadow: 0 4px 14px rgba(36, 39, 43, .14); text-align: center; white-space: nowrap; line-height: 1.35; }
.map__label strong { display: block; font-family: var(--titre); font-weight: 600; font-size: 1.05rem; }
.map__label span { display: block; font-weight: 700; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-douce); }
.map__ref { position: absolute; z-index: 2; transform: translate(-50%, -50%); margin: 0; padding: .45rem .8rem; background: rgba(255, 255, 255, .94); border: 1px solid var(--cuivre); border-radius: var(--radius); font-size: .7rem; line-height: 1.3; text-align: center; pointer-events: none; }
.map__ref strong, .map__ref span { display: block; }
.map__cover { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; justify-content: center; padding: 0 0 20px; border: 0; background: none; cursor: pointer; }
.map__cover span { padding: .85em 1.5em; border-radius: var(--radius); background: var(--anthracite); color: #fff; font: 700 .72rem/1.3 var(--texte); letter-spacing: .12em; text-transform: uppercase; transition: background .25s; }
.map__cover:hover span { background: var(--cuivre); }
.map.is-live iframe { filter: none; }
.map.is-live::after { opacity: 0; }
.map.is-live .map__pin, .map.is-live .map__ref, .map.is-live .map__cover { display: none; }
.map__links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 1.2rem 0 0; }
@keyframes halo { 0% { transform: scale(.55); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* --------------------------------------------------------------- constructeur */
.constructeur__grid { display: grid; gap: 36px; }
.constructeur__id { padding: clamp(24px, 3vw, 40px); background: var(--pierre); border-radius: 6px; border-top: 4px solid var(--cuivre); }
.constructeur__logo { display: block; width: min(280px, 80%); height: auto; margin: 0 0 1.4rem; }
.constructeur__since { margin: 0 0 1.4rem; font-family: var(--titre); font-weight: 500; font-size: 1.3rem; line-height: 1.35; color: var(--encre); }
.constructeur__text h2 { margin-bottom: 1.3rem; }
.constructeur__text p:not(.lead):not(.kicker) { color: var(--encre-douce); }
.constructeur__points { display: grid; gap: 18px 32px; margin: 2rem 0 0; }
.constructeur__points li { position: relative; padding-left: 22px; }
.constructeur__points li::before { content: ''; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--cuivre); }
.constructeur__points strong { display: block; font-weight: 700; font-size: .95rem; }
.constructeur__points span { display: block; font-size: .88rem; line-height: 1.55; color: var(--encre-douce); }
@media (min-width: 900px) {
    .constructeur__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: var(--col-gap); align-items: start; }
    .constructeur__id { position: sticky; top: calc(var(--header-h) + 24px); }
    .constructeur__points { grid-template-columns: 1fr 1fr; }
}

/* -------------------------------------------------------------------- galerie */
.gallery { display: grid; grid-template-columns: 1fr; gap: 24px; }
.gallery figure { margin: 0; }
.gallery a { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 6px; background: var(--pierre-2); }
.gallery picture, .gallery img { display: block; width: 100%; height: 100%; }
.gallery img { object-fit: cover; transition: transform 1.1s var(--ease); }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { display: flex; align-items: center; gap: .8rem; margin-top: .9rem; font-weight: 700; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-douce); }
.gallery figcaption::before { content: ''; flex: none; width: 10px; height: 10px; background: var(--cuivre); }
@media (min-width: 800px) { .gallery { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* -------------------------------------------------------------------- chantier */
.chantier__list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.chantier__item a { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 6px; background: var(--pierre); }
.chantier__item picture, .chantier__item img { display: block; width: 100%; height: 100%; }
.chantier__item img { object-fit: cover; transition: transform .9s var(--ease); }
.chantier__item a:hover img { transform: scale(1.05); }
.chantier__date { margin: .9rem 0 0; font-weight: 700; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cuivre); }
.chantier__caption { margin: .25rem 0 0; font-size: .9rem; line-height: 1.5; }
@media (min-width: 900px) { .chantier__list { grid-template-columns: repeat(4, 1fr); } }

/* --------------------------------------------------------------------- contact */
.contact__grid { display: grid; gap: 40px; }
.contact__intro .h2, .contact__intro h1 { margin-bottom: 1.3rem; font-size: clamp(2rem, 3.4vw, 2.9rem); }
.contact__intro .lead { color: var(--encre-douce); }
.contact__address { margin: 2rem 0 0; font-size: .95rem; line-height: 1.6; }
.contact__address dt { font-weight: 700; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--encre-douce); margin-bottom: .4rem; }
.contact__address dd { margin: 0; }
@media (min-width: 960px) {
    .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--col-gap); align-items: start; }
    .contact__intro { position: sticky; top: calc(var(--header-h) + 24px); }
}

.seller { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px 20px; margin-top: 2.2rem; padding: 22px; background: var(--blanc); border: 1px solid var(--pierre-2); border-radius: 6px; }
.seller__photo { display: block; width: 92px; height: 92px; border-radius: 50%; overflow: hidden; border: 2px solid var(--cuivre); padding: 4px; background: var(--blanc); }
.seller__photo picture, .seller__photo img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.seller__photo--empty { display: grid; place-items: center; font-family: var(--titre); font-weight: 600; font-size: 1.6rem; color: var(--cuivre); background: var(--pierre); }
.seller__text p { margin: 0; }
.seller__label { font-weight: 700; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cuivre); margin-bottom: .35rem !important; }
.seller__name { font-family: var(--titre); font-weight: 600; font-size: 1.4rem; line-height: 1.2; color: var(--encre); }
.seller__line { font-size: .86rem; line-height: 1.5; color: var(--encre-douce); }
.seller__reach { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding-top: 18px; border-top: 1px solid var(--pierre-2); }
.btn--call { letter-spacing: .02em; font-size: 1rem; font-weight: 700; text-transform: none; font-variant-numeric: lining-nums tabular-nums; }
.btn--call:hover svg { transform: none; }
.seller__mail { font-size: .9rem; color: var(--cuivre-fonce); text-underline-offset: 4px; word-break: break-word; }

.contact__form { background: var(--pierre); border-radius: 8px; padding: clamp(22px, 3.4vw, 44px); }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.steps__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 26px; }
.steps__bar { display: flex; align-items: center; }
.steps__bar li { display: flex; align-items: center; }
.steps__bar li + li::before { content: ''; width: 34px; height: 2px; background: var(--pierre-2); transition: background .3s; }
.steps__bar span { display: grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--pierre-2); border-radius: 50%; background: #fff; font-weight: 700; font-size: .85rem; line-height: 1; color: var(--encre-douce); font-variant-numeric: tabular-nums; transition: all .3s; }
.steps__bar li.is-current span { border-color: var(--cuivre); background: var(--cuivre); color: #fff; }
.steps__bar li.is-done span { border-color: var(--cuivre); color: var(--cuivre); }
.steps__bar li.is-done + li::before, .steps__bar li.is-current::before { background: var(--cuivre); }
.steps__count { margin: 0; display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; font-size: .62rem; line-height: 1.6; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-douce); }
.steps__now { color: var(--cuivre); }
.step { margin-bottom: 26px !important; }
.step__title { display: block; width: 100%; padding: 0; margin-bottom: 18px; font-family: var(--titre); font-weight: 500; font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.2; color: var(--encre); }
.js .form.is-stepped .step { display: none; margin-bottom: 0 !important; }
.js .form.is-stepped .step.is-active { display: block; animation: etape .45s var(--ease); }
html:not(.js) .steps__head { display: none; }
@keyframes etape { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.choice { position: relative; display: flex; align-items: center; gap: 18px; padding: 18px 20px; margin-bottom: 12px; background: #fff; border: 1.5px solid var(--pierre-2); border-radius: 6px; cursor: pointer; transition: border-color .25s, box-shadow .25s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__body { flex: 1; display: block; }
.choice__body strong { display: block; font-weight: 700; font-size: 1rem; line-height: 1.35; }
.choice__body span { display: block; margin-top: .25rem; font-size: .86rem; line-height: 1.55; color: var(--encre-douce); }
.choice__arrow { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--pierre-2); border-radius: 50%; color: var(--cuivre); transition: all .25s; }
.choice:hover, .choice:has(input:checked) { border-color: var(--cuivre); box-shadow: 0 6px 20px rgba(180, 86, 43, .1); }
.choice:hover .choice__arrow, .choice:has(input:checked) .choice__arrow { background: var(--cuivre); border-color: var(--cuivre); color: #fff; }
.choice:has(input:focus-visible) { outline: 2px solid var(--cuivre); outline-offset: 3px; }

.form__row { display: grid; gap: 0 18px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { position: relative; margin: 0 0 18px; }
.field > label:not(.choice), .field__label { display: block; margin: 0 0 .45rem; font-weight: 700; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--encre); }
.field small { font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--encre-douce); margin-left: .4em; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
    width: 100%; padding: 14px 16px; border: 1.5px solid var(--pierre-2); border-radius: var(--radius); background: #fff; color: var(--encre);
    font: 500 1rem/1.4 var(--texte); font-variant-numeric: lining-nums; transition: border-color .2s, box-shadow .2s; appearance: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cuivre); box-shadow: 0 0 0 3px rgba(180, 86, 43, .16); }
.field--zip { max-width: 220px; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #A12B2B; }
.field__error { display: block; margin-top: .45rem; font-size: .8rem; color: #A12B2B; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: block; padding: .6em 1.05em; border: 1.5px solid var(--pierre-2); border-radius: 999px; background: #fff; font-size: .84rem; font-weight: 600; line-height: 1.3; transition: all .2s; }
.chip:hover span { border-color: var(--cuivre); }
.chip input:checked + span { background: var(--cuivre); border-color: var(--cuivre); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--cuivre); outline-offset: 3px; }
.form__more { margin: 0 0 18px; }
.form__more-btn { padding: 0; border: 0; background: none; color: var(--cuivre-fonce); cursor: pointer; font: 700 .86rem/1.4 var(--texte); text-decoration: underline; text-underline-offset: 4px; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.field--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cuivre); }
.field.field--check > label { margin: 0; font-weight: 500; font-size: .84rem; line-height: 1.6; letter-spacing: 0; text-transform: none; color: var(--encre-douce); }
@media (max-width: 560px) { .steps__count { align-items: flex-start; } }
.field--check .field__error { grid-column: 1 / -1; margin-top: 0; }
.field--trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px 22px; margin: 6px 0 0; }
.js .form.is-stepped .step[data-step="1"].is-active ~ .form__actions .btn { display: none; }     /* étape 1 : un clic sur un choix suffit */
.js .form.is-stepped .step[data-step="1"].is-active ~ .form__actions::before { content: 'Un clic sur votre choix suffit pour continuer.'; font-size: .8rem; color: var(--encre-douce); margin-right: auto; }
.steps__back { margin-right: auto; padding: .6rem 0; border: 0; background: none; color: var(--encre-douce); cursor: pointer; font: 700 .7rem/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; }
.steps__back:hover { color: var(--cuivre); }
.form.is-sending { opacity: .6; pointer-events: none; }
.form__success { padding: 26px 0 8px; }
.form__success img { width: 56px; height: auto; margin-bottom: 1.2rem; }
.form__success-title { font-family: var(--titre); font-weight: 600; font-size: 1.7rem; line-height: 1.25; margin-bottom: .6rem; }
.form__success:focus { outline: none; }
.contact__builder { display: flex; align-items: center; gap: 20px; margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--pierre-2); font-size: .8rem; line-height: 1.6; color: var(--encre-douce); }
.contact__builder img { flex: none; width: 120px; height: auto; }

/* ------------------------------------------------- têtes de page, fil d'Ariane */
.crumbs { padding-top: 22px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--encre-douce); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .3em .8em; }
.crumbs li + li::before { content: '/'; margin-right: .8em; color: var(--pierre-3); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--cuivre); }
.crumbs [aria-current] { color: var(--encre); }
.pagehead { display: grid; gap: 24px; padding-block: clamp(32px, 5vw, 60px) clamp(36px, 5vw, 64px); }
.pagehead h1 { max-width: 18ch; text-wrap: balance; }
.pagehead .lead { max-width: 58ch; margin: 0; color: var(--encre-douce); }
.pagehead__more { max-width: 58ch; margin: .8rem 0 0; color: var(--encre-douce); }
.pagehead__count { display: inline-flex; align-items: center; gap: .7em; margin: 1.4rem 0 0; font-weight: 700; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cuivre); }
.pagehead__count::before { content: ''; width: 10px; height: 10px; background: var(--cuivre); }
.pagehead--narrow { padding-inline: 0; }
@media (min-width: 1000px) {
    .pagehead { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: var(--col-gap); align-items: end; }
    .pagehead__aside { padding-bottom: .4rem; }
}
.pagehero { padding: 0 var(--gutter) clamp(24px, 3vw, 40px); }
.pagehero__frame { max-width: calc(var(--wrap) - var(--cadre)); margin-inline: auto; }
.pagehero__frame > picture { aspect-ratio: 2 / 1; }

/* ------------------------------------------------------------ fiche d'un bien */
.fiche__head { padding-block: clamp(26px, 4vw, 44px) clamp(24px, 3vw, 36px); }
.fiche__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 1.2rem; }
.fiche__tags .status { box-shadow: none; border: 1px solid var(--pierre-2); }
.fiche__lot { font-weight: 700; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-douce); }
.fiche__head h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.fiche__sub { margin: .9rem 0 0; font-weight: 600; font-size: 1rem; color: var(--encre-douce); }
.fiche__top, .fiche__body { display: grid; gap: 28px; }
.fiche__media { display: flex; flex-direction: column; min-width: 0; }
.viewer { position: relative; flex: 1; display: grid; place-items: center; min-height: 340px; padding: clamp(18px, 3vw, 40px); background: var(--blanc); border: 1px solid var(--pierre-2); border-radius: 8px; overflow: hidden; text-decoration: none; }
.viewer picture { display: grid; place-items: center; width: 100%; height: 100%; }
.viewer img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(600px, 68vh); object-fit: contain; transition: transform .8s var(--ease); }
.viewer--photo { padding: 0; }
.viewer--photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.viewer:hover img { transform: scale(1.02); }
.viewer__zoom { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: .7em; padding: .7em 1.1em; border-radius: 999px; background: var(--anthracite); color: #fff; font-weight: 700; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.viewer--empty { color: var(--encre-douce); text-align: center; }
@media (max-width: 640px) {
    .viewer__zoom { right: 10px; bottom: 10px; padding: .75em; }
    .viewer__zoom-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 12px; margin-top: 12px; }
.thumbs a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blanc); border: 1px solid var(--pierre-2); border-radius: 6px; text-decoration: none; transition: border-color .25s; }
.thumbs a:hover { border-color: var(--cuivre); }
.thumbs picture, .thumbs img { display: block; width: 100%; height: 100%; }
.thumbs img { object-fit: cover; }
.thumbs .is-plan img { object-fit: contain; padding: 6px; }
.thumbs span { position: absolute; left: 0; right: 0; bottom: 0; padding: .45em .4em; background: rgba(36, 39, 43, .88); color: #fff; font-weight: 700; font-size: .54rem; line-height: 1.3; letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.fiche__media .note { margin-top: .9rem; }

.summary { display: flex; flex-direction: column; height: 100%; padding: clamp(24px, 3vw, 36px); background: var(--pierre); border-radius: 8px; border-top: 4px solid var(--cuivre); }
.summary__label { margin: 0 0 .5rem; font-weight: 700; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cuivre); }
.summary__level { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.4rem; font-weight: 700; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-douce); }
.summary__level .picto { width: 30px; height: 30px; }
.keys { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 1.4rem 0 1.6rem; border-top: 1px solid var(--pierre-3); }
.keys div { padding: .9rem 0; border-bottom: 1px solid var(--pierre-3); }
.keys dt { font-weight: 700; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-douce); }
.keys dd { margin: .2rem 0 0; font-family: var(--titre); font-weight: 500; font-size: 1.3rem; line-height: 1.3; color: var(--encre); }
.ticks { display: grid; gap: .7rem; margin: 0 0 1.6rem; font-size: .92rem; }
.ticks li { position: relative; padding-left: 22px; line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--cuivre); }
.summary__position { margin: 0 0 1.6rem; font-size: .82rem; line-height: 1.6; color: var(--encre-douce); }
.summary__actions { display: grid; gap: 10px; margin-top: auto; }
.builder-line { display: flex; align-items: center; gap: 1rem; margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--pierre-3); text-decoration: none; font-weight: 700; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--encre-douce); }
.builder-line img { width: 128px; height: auto; }
.builder-line:hover { color: var(--cuivre); }

.fiche__body { padding-block: clamp(52px, 7vw, 96px); }
.fiche__text h2 { margin-bottom: 1.4rem; }
.fiche__text p:not(.lead):not(.kicker) { color: var(--encre-douce); }
.fiche__cta { margin: 2.2rem 0 0; }
.fiche__h3 { position: relative; display: block; margin: 0 0 1.2rem; padding-top: .8rem; font-family: var(--texte); font-weight: 700; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cuivre); }
.fiche__h3::before { content: ''; position: absolute; left: 0; top: 0; width: 36px; height: 3px; background: var(--cuivre); border-radius: 2px; }
.brief { margin: 0; }
.brief div { display: flex; justify-content: space-between; gap: 20px; padding: .85rem 0; border-bottom: 1px solid var(--pierre-2); }
.brief dt { font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-douce); }
.brief dd { margin: 0; text-align: right; font-weight: 700; font-variant-numeric: lining-nums; }
.fiche__builder-note { display: flex; align-items: center; gap: 18px; margin: 1.6rem 0 0; font-size: .82rem; line-height: 1.6; color: var(--encre-douce); }
.fiche__builder-note img { flex: none; width: 112px; height: auto; }
@media (min-width: 1000px) {
    .fiche__top, .fiche__body { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(28px, 3.4vw, 56px); align-items: stretch; }
    .fiche__body { align-items: start; }
    .viewer { min-height: 480px; }
    .fiche__summary { align-self: start; position: sticky; top: calc(var(--header-h) + 20px); }
    .fiche__brief { position: sticky; top: calc(var(--header-h) + 20px); padding: clamp(24px, 2.6vw, 36px); background: var(--blanc); border: 1px solid var(--pierre-2); border-radius: 8px; }
}
.fiche__plans { padding-bottom: clamp(52px, 7vw, 96px); }
.plans { display: grid; gap: 24px; }
.plans a { display: block; padding: 20px; background: var(--blanc); border: 1px solid var(--pierre-2); border-radius: 8px; }
.plans img { display: block; width: 100%; height: auto; }
.plans p { margin: .7rem 0 0; font-size: .86rem; color: var(--encre-douce); }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1fr; } }
.levelplan { max-width: 1080px; margin: 0; }
.levelplan__img { display: block; padding: clamp(14px, 2.4vw, 34px); background: var(--blanc); border: 1px solid var(--pierre-2); border-radius: 8px; }
.levelplan__img img { display: block; width: 100%; height: auto; }
.levelplan figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .5em 1em; margin-top: 1.2rem; font-weight: 700; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.levelplan figcaption small { font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--encre-douce); font-size: .8rem; }
.levelplan__key { width: 22px; height: 14px; border: 3px solid var(--cuivre); }

/* --------------------------------------------------------- le projet, chiffres */
.projet__text { max-width: 68ch; }
.projet__text p:first-child { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.6; color: var(--encre); }
.projet__text.prose h2, .projet__text.prose h3 { margin: 2.2rem 0 .8rem; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.figures { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 0; margin: clamp(40px, 6vw, 64px) 0 0; padding-top: 28px; border-top: 1px solid var(--pierre-2); }
.figures li { position: relative; padding: 0 22px; }
.figures li:nth-child(odd) { padding-left: 0; }
.figures li:nth-child(even)::before { content: ''; position: absolute; left: 0; top: 6%; bottom: 6%; width: 1px; background: var(--pierre-2); }
.figures strong { display: block; font-family: var(--titre); font-weight: 600; font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; letter-spacing: -.02em; color: var(--cuivre); white-space: nowrap; }
.figures span { display: block; max-width: 22ch; margin: .7rem 0 0; font-weight: 700; font-size: .64rem; line-height: 1.6; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-douce); }
@media (min-width: 800px) {
    .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .figures li, .figures li:nth-child(odd) { padding: 0 22px; }
    .figures li::before { content: ''; position: absolute; left: 0; top: 6%; bottom: 6%; width: 1px; background: var(--pierre-2); }
    .figures li:first-child { padding-left: 0; }
    .figures li:first-child::before { display: none; }
}
@media (min-width: 1100px) {
    .projet .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--col-gap); align-items: start; }
    .projet .head { grid-column: 1; margin: 0; }
    .projet__text, .projet .delivery, .projet .cta-line { grid-column: 2; }
    .projet .figures { grid-column: 1 / -1; }
}
.niveaux__stack { display: grid; gap: 0; margin: 0; }
.niveaux__item { display: grid; gap: 14px; padding: 26px 0; border-top: 1px solid var(--pierre-2); }
.niveaux__item:last-child { border-bottom: 1px solid var(--pierre-2); }
.niveaux__caption { display: flex; align-items: flex-start; gap: 1rem; margin: 0; }
.niveaux__caption .picto { width: 36px; height: 36px; margin-top: .2rem; }
.niveaux__caption strong { display: block; font-family: var(--titre); font-weight: 600; font-size: 1.6rem; line-height: 1.2; color: var(--encre); }
.niveaux__caption span { display: block; margin-top: .4rem; font-size: .9rem; line-height: 1.5; color: var(--encre-douce); }
.niveaux__item a { display: block; padding: 14px; background: var(--blanc); border: 1px solid var(--pierre-2); border-radius: 8px; transition: border-color .25s; }
.niveaux__item a:hover { border-color: var(--cuivre); }
.niveaux__item img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: contain; }
@media (min-width: 900px) {
    .niveaux__item { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--col-gap); align-items: center; padding: 34px 0; }
}

/* ------------------------------------------------------- pages légales, 404 */
.legal { max-width: calc(820px + 2 * var(--gutter)); padding-bottom: clamp(72px, 9vw, 130px); }
.prose h2 { margin: 2.4rem 0 .9rem; font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.prose h3, .prose h4 { margin: 2rem 0 .8rem; font-size: 1.2rem; }
.prose ul { margin: 0 0 1.2em; }
.prose li { position: relative; padding-left: 22px; margin-bottom: .45em; }
.prose li::before { content: ''; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--cuivre); }
.prose a { text-underline-offset: 4px; color: var(--cuivre-fonce); }
.legal__body strong, .legal__body h2 { color: var(--encre); }
.legal__updated { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--pierre-2); font-size: .82rem; }
.notfound { padding-block: clamp(56px, 8vw, 120px) clamp(80px, 10vw, 150px); }
.notfound__code { display: flex; align-items: center; gap: 1.2rem; margin: 0 0 1.6rem; font-family: var(--titre); font-weight: 600; font-size: clamp(4rem, 12vw, 8rem); line-height: 1; letter-spacing: -.03em; color: var(--pierre-3); font-variant-numeric: lining-nums tabular-nums; }
.notfound__code .picto { width: clamp(56px, 10vw, 110px); height: auto; }
.notfound h1 { max-width: 20ch; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.notfound .lead { max-width: 52ch; margin: 1.6rem 0 0; color: var(--encre-douce); }
.notfound__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin: 2.4rem 0 0; }

/* --------------------------------------------------------------- pied de page */
.site-footer { background: var(--anthracite); color: rgba(255, 255, 255, .82); font-size: .9rem; }
.site-footer :focus-visible { outline-color: #fff; }
.site-footer a { text-decoration: none; }
.site-footer__grid { display: grid; gap: 40px; padding-block: clamp(52px, 7vw, 88px) clamp(36px, 5vw, 60px); }
.site-footer__brand img { display: block; width: 260px; height: auto; }
.site-footer__address { margin: 1.4rem 0 0; line-height: 1.6; }
.site-footer__label { display: block; margin: 0 0 .9rem; font-weight: 700; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cuivre); }
.site-footer__nav { display: grid; gap: .5rem; }
.site-footer__nav a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s; padding-bottom: 2px; }
.site-footer__nav a:hover { color: #fff; background-size: 100% 1px; }
.site-footer__builder img { display: block; width: 190px; height: auto; transition: opacity .2s; }
.site-footer__builder a:hover img { opacity: .8; }
.site-footer__since { margin: 1rem 0 0; font-size: .82rem; line-height: 1.6; color: rgba(255, 255, 255, .6); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 10px 32px; padding-block: 22px 30px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .74rem; color: rgba(255, 255, 255, .55); }
.site-footer__legal p { margin: 0; }
.site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer__legal a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 900px) {
    .site-footer__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: start; gap: clamp(48px, 6vw, 96px); }
    .site-footer__legal { justify-content: space-between; }
}

/* ---------------------------------------------------------------- visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: clamp(12px, 2.4vw, 32px); background: rgba(36, 39, 43, .97); }
.lightbox[hidden] { display: none; }
.lightbox__figure { grid-column: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-width: 0; margin: 0; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 120px); max-height: calc(100svh - 120px); object-fit: contain; background: #fff; border-radius: 4px; }
.lightbox__caption { margin-top: 14px; font-size: .8rem; letter-spacing: .02em; color: rgba(255, 255, 255, .8); text-align: center; white-space: pre-wrap; }
.lightbox button { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: none; color: #fff; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.lightbox button:hover { background: var(--cuivre); border-color: var(--cuivre); color: #fff; }
.lightbox button:focus-visible { outline-color: var(--cuivre); }
.lightbox__close { position: absolute; right: clamp(12px, 2.4vw, 32px); top: clamp(12px, 2.4vw, 32px); z-index: 2; }
.lightbox__nav--prev { grid-column: 1; transform: rotate(180deg); }
.lightbox__nav--next { grid-column: 3; }
@media (max-width: 640px) { .lightbox { grid-template-columns: 1fr 1fr; } .lightbox__figure { grid-column: 1 / -1; } .lightbox__nav--prev { grid-column: 1; justify-self: end; } .lightbox__nav--next { grid-column: 2; } }

/* ------------------------------------------------------------------ mouvements */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.js .hero__text > * { animation: monte .9s var(--ease) both; }
.js .hero__text > :nth-child(2) { animation-delay: .08s; }
.js .hero__text > :nth-child(3) { animation-delay: .16s; }
.js .hero__text > :nth-child(4) { animation-delay: .24s; }
.js .hero__text > :nth-child(5) { animation-delay: .32s; }
.js .hero__media { animation: monte 1s var(--ease) .1s both; }
.js .cadre--hero img { animation: approche 2.2s var(--ease) both; }
@keyframes monte { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes approche { from { transform: scale(1.06); } to { transform: none; } }
.is-still *, .is-still *::before, .is-still *::after { animation: none !important; transition: none !important; }
.is-still [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
