/* Le « style trait » de la page Immeubles, étendu au reste du site (2.12.2026).
   Cadres arrondis au trait noir fin, sans fond. Fond bleu pour l'état actif ou survolé.
   Gros chiffres, petites légendes en capitales, icônes Wayne (assets/img/icones.svg).
   Chargé après les autres feuilles : c'est lui qui a le dernier mot. */

.ico { width: 28px; height: 28px; flex: none; display: block; }

/* ---------- Accueil : la méthode en quatre cadres ---------- */
body[data-page="home"] .steps { gap: 14px !important; }
body[data-page="home"] .step { grid-template-columns: 76px 1fr 40px !important; align-items: start; padding: 26px 26px 28px !important; border: 1px solid var(--ink) !important; border-radius: var(--r-card) !important; background: transparent !important; transition: background var(--t-mid) var(--ease), color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease) !important; }
body[data-page="home"] .step::before { transition: color var(--t-mid) var(--ease); }
body[data-page="home"] .step p { transition: color var(--t-mid) var(--ease); }
body[data-page="home"] .step-icon { color: var(--accent) !important; transition: color var(--t-mid) var(--ease); }
body[data-page="home"] .step-icon .ico { width: 30px; height: 30px; }
@media (hover: hover) {
  body[data-page="home"] .step:hover { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff; transform: translateX(6px); }
  body[data-page="home"] .step:hover::before, body[data-page="home"] .step:hover p, body[data-page="home"] .step:hover .step-icon { color: #fff !important; }
}
@media (max-width: 640px) { body[data-page="home"] .step { grid-template-columns: 52px 1fr !important; padding: 20px !important; } }

/* ---------- Questions fréquentes : un cadre par question ---------- */
.faq { gap: 12px !important; }
.faq details { border: 1px solid var(--ink) !important; border-radius: var(--r-card) !important; background: transparent !important; padding: 0 clamp(18px, 2vw, 28px) !important; transition: background var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease); }
.faq summary { padding: 22px 0 !important; align-items: center; }
.faq summary i { border-color: var(--ink) !important; }
.faq details[open] summary i { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }
.faq details p { padding-bottom: 24px !important; }

/* ---------- Formulaires : cadre au trait, sans ombre ---------- */
.form-card { background: transparent !important; border: 1px solid var(--ink) !important; border-radius: var(--r-frame) !important; box-shadow: none !important; }
.form-card .field label, .form-card .field > span:first-child { font-size: 11.5px !important; font-weight: 500 !important; letter-spacing: .1em; text-transform: uppercase; }
.form-card .field input:not([type="range"]):not([type="radio"]):not([type="checkbox"]), .form-card .field select, .form-card .field textarea { background: transparent; border: 1px solid color-mix(in srgb, var(--ink) 45%, transparent); }
.form-card .field input:focus, .form-card .field select:focus, .form-card .field textarea:focus { border-color: var(--accent); }
.seg label { border-color: var(--ink) !important; }
.seg input:checked + label { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }

/* ---------- Contact : coordonnées en cadres, bleus au survol ---------- */
.c-card { background: transparent !important; border: 1px solid var(--ink) !important; grid-template-columns: 40px 1fr !important; transition: background var(--t-mid) var(--ease), color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease) !important; }
.c-card .step-icon { width: auto !important; height: auto !important; background: none !important; border-radius: 0 !important; color: var(--accent); transition: color var(--t-mid) var(--ease); }
.c-card span span { font-size: 11px !important; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; transition: color var(--t-mid) var(--ease); }
.c-card b { font-size: clamp(1.05rem, 1.4vw, 1.25rem) !important; font-weight: 500; letter-spacing: -0.02em !important; }
@media (hover: hover) {
  a.c-card:hover { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff; transform: translateY(-3px); }
  a.c-card:hover .step-icon, a.c-card:hover span span { color: #fff !important; }
}

/* ---------- À propos : les dates en trois cadres, les métiers au trait ---------- */
.timeline { border-top: 0 !important; gap: 20px !important; }
.milestone { border: 1px solid var(--ink) !important; border-radius: var(--r-card) !important; padding: 24px 24px 26px !important; display: flex; flex-direction: column; min-height: 280px; transition: background var(--t-mid) var(--ease), color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease); }
.milestone::before { display: none !important; }
.milestone b { font-size: clamp(3rem, 5vw, 4.6rem) !important; margin-bottom: auto; padding-bottom: 28px; transition: color var(--t-mid) var(--ease); }
.milestone p { transition: color var(--t-mid) var(--ease); }
@media (hover: hover) {
  .milestone:hover { background: var(--accent); border-color: var(--accent) !important; color: #fff; transform: translateY(-4px); }
  .milestone:hover b, .milestone:hover p { color: #fff !important; }
}
@media (max-width: 860px) { .timeline, .timeline.three { grid-template-columns: 1fr !important; } .milestone { min-height: 0; } }
body[data-page="apropos"] .tile:not(.tile-photo):not(.tile-accent) { background: transparent; border: 1px solid var(--ink); }
body[data-page="apropos"] .tile .ico { width: 34px; height: 34px; }
body[data-page="apropos"] .tile:not(.tile-photo):not(.tile-accent) .ico { color: var(--accent); }

/* ---------- Vendre : les trois chiffres des dernières ventes ---------- */
.ventes-figs { gap: 14px !important; }
.ventes-figs > div { border: 1px solid var(--ink) !important; border-radius: var(--r-card); padding: 18px 20px !important; min-width: 150px; }

/* ---------- Vendre : les trois étapes de l'estimation ---------- */
body[data-page="vendre"] .steps { gap: 12px !important; }
body[data-page="vendre"] .step { grid-template-columns: 40px 1fr !important; align-items: center; gap: 16px; padding: 20px 22px !important; border: 1px solid var(--ink) !important; border-radius: var(--r-card) !important; background: transparent !important; box-shadow: none !important; transition: background var(--t-mid) var(--ease), color var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease) !important; }
body[data-page="vendre"] .step-icon { width: auto !important; height: auto !important; background: none !important; border-radius: 0 !important; color: var(--accent) !important; transition: color var(--t-mid) var(--ease); }
body[data-page="vendre"] .step p { transition: color var(--t-mid) var(--ease); }
@media (hover: hover) {
  body[data-page="vendre"] .step:hover { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff; transform: translateX(6px); }
  body[data-page="vendre"] .step:hover p, body[data-page="vendre"] .step:hover .step-icon, body[data-page="vendre"] .step:hover h3 { color: #fff !important; }
}

/* ---------- À propos : l'équipe en accordéon. Une tuile s'ouvre, les autres se serrent ---------- */
.eq { --eq-panel: clamp(300px, 30vw, 430px); display: flex; gap: 14px; height: clamp(460px, 40vw, 560px); }
.eq-tile { flex: 1 1 0; min-width: 0; display: flex; border: 1px solid var(--ink); border-radius: var(--r-frame); overflow: hidden; cursor: pointer; transition: flex-basis .7s var(--ease); }
.eq-tile.is-on { flex-basis: var(--eq-panel); cursor: default; }
.eq-photo { flex: 1 1 0; min-width: 0; position: relative; overflow: hidden; background: var(--surface-2); }
.eq-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; filter: grayscale(1) contrast(1.05); transition: filter .7s var(--ease), transform 1.2s var(--ease); }
.eq-tile.is-on .eq-photo img { filter: none; }
.eq-tile:not(.is-on):hover .eq-photo img { transform: scale(1.04); }
.eq-tag { position: absolute; left: 14px; bottom: 14px; height: 36px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 13.5px; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); transition: opacity .4s var(--ease); }
.eq-tile.is-on .eq-tag { opacity: 0; }
.eq-panel { flex: 0 0 auto; width: 0; overflow: hidden; transition: width .7s var(--ease); }
.eq-tile.is-on .eq-panel { width: var(--eq-panel); }
.eq-in { width: var(--eq-panel); height: 100%; padding: clamp(22px, 2.2vw, 32px); display: flex; flex-direction: column; opacity: 0; transition: opacity .35s var(--ease); }
.eq-tile.is-on .eq-in { opacity: 1; transition: opacity .5s var(--ease) .3s; }
.eq-n { font-size: 11.5px; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.eq-in h3 { margin: auto 0 0; font-size: clamp(2.4rem, 4vw, 3.8rem); font-weight: 400; letter-spacing: -0.06em; line-height: .95; }
.eq-role { margin-top: 12px; font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.eq-in p { margin: 18px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.eq-mail { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; transition: color var(--t-mid) var(--ease); }
.eq-mail .ico { width: 24px; height: 24px; color: var(--accent); }
.eq-mail:hover { color: var(--accent); }
@media (max-width: 860px) {
  .eq { flex-direction: column; height: auto; gap: 16px; }
  .eq-tile, .eq-tile.is-on { flex: none; flex-direction: column; cursor: default; }
  .eq-photo { flex: none; aspect-ratio: 4 / 4.2; }
  .eq-photo img { filter: none; }
  .eq-tag { display: none; }
  .eq-panel, .eq-tile.is-on .eq-panel { width: auto; }
  .eq-in { width: auto; opacity: 1; }
  .eq-in h3 { margin-top: 18px; }
}

/* ---------- À propos : « Notre métier », titre à gauche, texte à droite, puis photo et deux cadres ---------- */
.nm-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px clamp(32px, 6vw, 88px); align-items: end; margin-bottom: clamp(28px, 3vw, 44px); }
.nm-head .h2 { font-size: clamp(3rem, 6.4vw, 6rem); letter-spacing: -0.06em; line-height: .92; margin: 0; }
.nm-head .lead { margin: 0; max-width: 46ch; }
.nm { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.nm-photo { grid-column: span 7; margin: 0; position: relative; border-radius: var(--r-frame); overflow: hidden; min-height: clamp(380px, 38vw, 540px); }
.nm-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nm-photo figcaption { position: absolute; left: 18px; bottom: 18px; height: 36px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 13px; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); }
.nm-side { grid-column: span 5; display: grid; gap: 20px; grid-template-rows: auto 1fr; }
.nm-card { border: 1px solid var(--ink); border-radius: var(--r-frame); padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.nm-top { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nm-top .ico { width: 30px; height: 30px; color: var(--accent); }
.nm-card h3 { margin: 0; font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1.1; }
.nm-card p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.nm-card.is-blue { background: var(--accent); border-color: var(--accent); color: #fff; }
.nm-card.is-blue p, .nm-card.is-blue .nm-top, .nm-card.is-blue .nm-top .ico { color: #fff; }
.nm-vals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.nm-vals span { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .7); display: inline-flex; align-items: center; font-size: 13px; }
@media (max-width: 960px) { .nm-head { grid-template-columns: 1fr; } .nm-photo, .nm-side { grid-column: 1 / -1; } .nm-photo { min-height: 300px; } }

/* ---------- À propos : la frise horizontale. Une ligne noire, trois dates posées dessus ---------- */
.timeline.three { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0 !important; border-top: 0 !important; position: relative; }
.timeline.three::before { content: ""; position: absolute; left: 0; right: 0; top: var(--tl-y, 0); height: 1px; background: var(--ink); transform-origin: left center; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.timeline.three.is-drawn::before { transform: scaleX(1); }
.timeline.three::after { content: ""; position: absolute; right: 0; top: calc(var(--tl-y, 0px) - 5px); width: 10px; height: 10px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); transform: rotate(45deg); opacity: 0; transition: opacity .4s var(--ease) 1.4s; }
.timeline.three.is-drawn::after { opacity: 1; }
.timeline.three .milestone { border: 0 !important; border-radius: 0 !important; padding: 0 clamp(20px, 3vw, 48px) 0 0 !important; min-height: 0; display: block; background: none !important; color: inherit !important; transform: none !important; }
.timeline.three .milestone::before { display: block !important; content: ""; position: absolute; left: 0; top: calc(var(--tl-y, 0px) - 8px); width: 17px; height: 17px; border-radius: 50%; background: var(--bg) !important; border: 1px solid var(--ink); box-sizing: border-box; transform: scale(0); transition: transform .5s var(--ease) calc(.25s + var(--i, 0) * .45s), background var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease); }
.timeline.three.is-drawn .milestone::before { transform: scale(1); }
.timeline.three .milestone:last-child::before, .timeline.three .milestone:hover::before { background: var(--accent) !important; border-color: var(--accent); }
.timeline.three .milestone b { display: block; font-size: clamp(3.4rem, 7vw, 6.4rem) !important; margin: 0; padding: 0 0 clamp(22px, 2.4vw, 34px); color: var(--ink) !important; transition: color var(--t-mid) var(--ease); }
.timeline.three .milestone:hover b { color: var(--accent) !important; }
.timeline.three .milestone h3 { margin-top: clamp(30px, 3vw, 44px); }
.timeline.three .milestone p { color: var(--ink-2) !important; max-width: 38ch; }
@media (max-width: 860px) {
  /* sur mobile la frise reste horizontale : on la fait glisser du doigt */
  .timeline.three { grid-template-columns: repeat(3, 78vw) !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); padding-bottom: 6px; }
  .timeline.three::-webkit-scrollbar { display: none; }
  .timeline.three::before { right: auto; width: calc(234vw); }
  .timeline.three::after { display: none; }
  .timeline.three .milestone { scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .eq-tile, .eq-panel, .eq-in, .eq-photo img, .timeline.three::before, .timeline.three .milestone::before { transition: none; } }
.timeline.three { margin-bottom: clamp(28px, 4vw, 64px); }

/* ---------- Équipe, version fluide (3.12) : une seule animation, celle des colonnes de la grille.
   Rien ne se recalcule à l'intérieur des tuiles : la photo garde sa largeur, le texte est déjà là, caché par le bord. ---------- */
@media (min-width: 861px) {
  .eq { display: grid; grid-template-columns: var(--eq-cols, 2.6fr 1fr 1fr 1fr); gap: 14px; transition: grid-template-columns .95s cubic-bezier(.22, 1, .36, 1); }
  .eq.no-anim { transition: none; }
  .eq-tile, .eq-tile.is-on { flex: none; min-width: 0; transition: none; }
  .eq-photo { flex: 0 0 var(--eq-w, 100%); }
  .eq-photo img { transition: filter .9s cubic-bezier(.22, 1, .36, 1), transform 1.4s cubic-bezier(.22, 1, .36, 1); will-change: filter; }
  .eq-panel, .eq-tile.is-on .eq-panel { flex: 0 0 var(--eq-panel); width: var(--eq-panel); transition: none; }
  .eq-in { opacity: 0; transform: translateX(-14px); transition: opacity .3s ease, transform .5s ease; }
  .eq-tile.is-on .eq-in { opacity: 1; transform: none; transition: opacity .7s ease .28s, transform .95s cubic-bezier(.22, 1, .36, 1) .2s; }
  .eq-tag { transition: opacity .5s ease .25s; }
  .eq-tile.is-on .eq-tag { transition: opacity .25s ease; }
}

/* Notre métier, version à une seule tuile (3.12) : un grand cadre au trait, beaucoup d'air en haut, le texte posé en bas */
.nm-one { grid-column: span 5; gap: 0; }
.nm-one h3 { margin-top: auto; padding-top: clamp(80px, 12vw, 200px); font-size: clamp(2.2rem, 3.4vw, 3.4rem); font-weight: 400; letter-spacing: -0.055em; line-height: .98; max-width: 11ch; }
.nm-one p { margin-top: 20px; }
.nm-one .nm-why { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--ink); font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .nm-one { grid-column: 1 / -1; } .nm-one h3 { padding-top: 56px; } }

/* Carte de contact en vue aérienne swisstopo : pas de lignes claires entre les tuiles */
#c-map img { max-width: none !important; }
#c-map img.leaflet-tile { mix-blend-mode: normal !important; width: 257px !important; height: 257px !important; }
#c-map .leaflet-tile-pane { filter: none !important; }
.seg { flex-wrap: wrap; }

/* Contact : au survol, tout le texte du cadre passe en blanc sur le bleu */
@media (hover: hover) { a.c-card:hover, a.c-card:hover b, a.c-card:hover span, a.c-card:hover .ico { color: #fff !important; } }

/* Contact : les quatre choix « Concerne » tiennent sur une ligne */
body[data-page="contact"] .seg { gap: 6px; }
body[data-page="contact"] .seg label { height: 38px; padding: 0 11px !important; gap: 6px; font-size: 10.5px !important; letter-spacing: .05em !important; white-space: nowrap; }
body[data-page="contact"] .seg label i { font-size: 13px; }
@media (min-width: 1100px) { body[data-page="contact"] .seg { flex-wrap: nowrap; } }

/* Carte de contact : le + / − à la même marge que le bouton Itinéraire (14 px) */
#c-map .leaflet-top.leaflet-right .leaflet-control-zoom { margin: 14px 14px 0 0 !important; }

/* ---------- Frise épinglée (3.12) : la section reste à l'écran, 2012 est là, le scroll trace la ligne et fait venir 2016 puis 2024 ---------- */
@media (min-width: 861px) {
  .tl-pin { padding: 32px 0 !important; }
  .tl-pin > .container { position: sticky; top: var(--tl-top, 20vh); }
  .tl-pin .timeline.three { margin-bottom: 0; }
  .tl-pin .timeline.three::before { transform: scaleX(var(--tl-p, .12)) !important; transition: none !important; }
  .tl-pin .timeline.three::after { opacity: var(--tl-end, 0) !important; transition: opacity .4s var(--ease) !important; }
  .tl-pin .timeline.three .milestone { opacity: 0 !important; transform: translateY(22px) !important; transition: opacity .7s var(--ease), transform .9s cubic-bezier(.22, 1, .36, 1) !important; }
  .tl-pin .timeline.three .milestone.is-shown { opacity: 1 !important; transform: none !important; }
  .tl-pin .timeline.three .milestone::before { transform: scale(0) !important; transition: transform .5s cubic-bezier(.22, 1, .36, 1), background var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease) !important; }
  .tl-pin .timeline.three .milestone.is-shown::before { transform: scale(1) !important; }
}

/* Notre métier (3.12, v3) : titre seul, photo verticale 4/5 à gauche, grande tuile plus large à droite */
.nm-head { display: block; }
@media (min-width: 961px) {
  .nm { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
  .nm-photo { grid-column: auto; aspect-ratio: 4 / 5; min-height: 0; }
  .nm-one { grid-column: auto; }
  .nm-one h3 { max-width: 12ch; font-size: clamp(2.6rem, 4.4vw, 4.4rem); }
  .nm-one p { max-width: 56ch; }
}
@media (max-width: 960px) { .nm-photo { aspect-ratio: 4 / 5; min-height: 0; } }


/* Notre métier : la photo garde la largeur de sa colonne (elle débordait sur la tuile) */
@media (min-width: 961px) { .nm-photo { align-self: start; width: 100%; height: auto; } }

/* Notre métier : photo et tuile toujours à la même hauteur. Le 4/5 est un minimum, la photo s'étire si le texte est plus haut. */
@media (min-width: 961px) {
  .nm-photo { align-self: stretch; aspect-ratio: auto; height: auto; }
  .nm-photo::before { content: ""; display: block; padding-top: 125%; }
}
/* de l'air entre la frise et « Deux expertises » */
@media (min-width: 861px) { .tl-pin { margin-bottom: clamp(56px, 7vw, 112px); } }

/* Projets neufs : tuiles « coming soon » (3.12) */
.pn-soon { cursor: default; }
.pn-soon:hover { transform: none; box-shadow: var(--shadow); }
.pn-soon .pn-media img { transform: scale(1.12) !important; }
.pn-soon .pn-media::after { content: ""; position: absolute; inset: 0; background: rgba(10, 16, 40, .22); }
.pn-soon-t { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; color: #fff; font-size: clamp(2.2rem, 4.4vw, 4rem); font-weight: 400; letter-spacing: -0.05em; line-height: 1; }
.pn-soon .pn-status { z-index: 2; }
.pn-soon .pn-facts { padding-left: 0; border-left: 0; }
.pn-soon-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.pn-soon-pair .pn-media { flex: 1; aspect-ratio: auto; min-height: 220px; }
.pn-soon-pair .pn-soon-t { font-size: clamp(1.7rem, 2.6vw, 2.6rem); }
@media (max-width: 760px) { .pn-soon-pair .pn-soon-t { font-size: 1.5rem; } .pn-soon-pair .pn-media { min-height: 180px; } }

/* Qui sommes-nous (3.12) : photo du stade de la Maladière en entier (1024 x 700), tuile de texte à droite, moins haute */
.nm-qui .nm-photo { aspect-ratio: 1024 / 700; min-height: 0; }
.nm-qui .nm-photo::before { content: none; }
.nm-qui .nm-one h3 { padding-top: 28px; max-width: none; font-size: clamp(2rem, 3vw, 2.9rem); }
.nm-qui .nm-one p { margin-top: 14px; font-size: 15px; }
.nm-qui .nm-one .nm-why { margin-top: 16px; padding-top: 14px; font-size: 13.5px; }
@media (min-width: 961px) and (max-width: 1179px) { .nm.nm-qui { grid-template-columns: 1fr; } }
@media (min-width: 1180px) {
  .nm.nm-qui { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .nm-qui .nm-photo { align-self: stretch; aspect-ratio: auto; height: auto; }
  .nm-qui .nm-photo::before { content: ""; display: block; padding-top: 68.36%; }
}

/* tous les grands titres ont la même graisse que le titre de page (400) */
.h2 { font-weight: 400 !important; }
.nm-head .h2 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); letter-spacing: -0.05em; line-height: 1; }

/* Fenêtre d'estimation en ligne (RealAdvisor) et liens légaux du pied de page */
.ra-modal { position: fixed; inset: 0; z-index: 400; display: none; place-items: center; padding: clamp(10px, 3vw, 36px); background: rgba(10, 12, 24, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ra-modal.open { display: grid; }
.ra-panel { position: relative; width: min(1040px, 100%); height: min(860px, 100%); border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--ink); }
.ra-panel iframe { width: 100%; height: 100%; border: 0; display: block; }
.ra-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: #fff; color: #14151a; border: 1px solid #14151a; }
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-legal a { color: inherit; }
.footer-legal a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Projets neufs : nos réalisations (promotions terminées) */
.rz .rp-head { margin-bottom: clamp(24px, 3vw, 40px); }
.rz .rp-head .label { display: block; margin-bottom: 14px; }
.rz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.rz-card { display: block; color: inherit; }
.rz-media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-card, 20px); overflow: hidden; background: var(--surface-2); }
.rz-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.rz-card:hover .rz-media img { transform: scale(1.04); }
.rz-tag { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #14151a; font-size: 12px; font-weight: 500; }
.rz-txt { display: block; padding: 14px 2px 0; }
.rz-txt b { display: block; font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.rz-txt span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
@media (max-width: 1100px) { .rz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .rz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rz-txt b { font-size: 15.5px; } }

/* ===== Audit mobile et tablette (3.12) ===== */
html, body { overflow-x: clip; }
/* Héro des pages : les boutons ne tiennent sur une ligne qu'à partir d'un grand écran */
@media (min-width: 961px) and (max-width: 1240px) { .ph-std .ph-actions { flex-wrap: wrap; } }
@media (max-width: 760px) {
  /* Aucun texte sous 12 px sur téléphone */
  .label, .eyebrow, .fact-title, .fact-note, .fact-detail small, .fan-facts li span, .av-score-cap, .av-n, .av-card-foot small,
  .eq-n, .eq-role, .nm-top, .im-n, .im-k, .im-stat span, .im-m-figure span, .im-field-top label, .im-ends span, .im-rows span, .facts span,
  .vq-n, .vq-meta, .vq-you b, .offer-badge, .offer-price small, .ventes-figs dd, .wbc-group, .wbc-rl, h2.bn-h, .bn-facts span,
  .pn-facts small, .c-card span span, .field > label, .field > span, .seg label, .filters-bar label { font-size: 12px; }
  /* Zones de toucher : 44 px au moins, sans changer le dessin */
  .fan-dots button, .link-arrow, .vm-link, .bn-back, .wcalc-ast, .linklike { position: relative; }
  .fan-dots button::after, .link-arrow::after, .vm-link::after, .bn-back::after, .wcalc-ast::after, .c-map-link::after, .linklike::after { content: ""; position: absolute; inset: -12px -6px; }
  .fan-dots button::after { inset: -18px -3px; }
  .wcalc-ast::after { inset: -12px -16px; }
  .fav { width: 44px; height: 44px; }
  footer li a, footer .footer-legal a { display: inline-block; padding-block: 6px; }
  #calc-page summary, #bien .wbc summary, .wbc-card summary, .wbc-res summary { padding-block: 10px; }
  /* Grilles : un enfant ne peut pas pousser la page plus large que l'écran */
  .wbc-card, .wbc-res, .im-sliders, .im-result, .steps, .step, .split-sticky > *, .im-calc > * { min-width: 0; }
  .wbc-top { flex-wrap: wrap; }
}
/* Fiche bien : description repliée sur téléphone, bouton « Lire la suite » */
.bn-more { display: none; }
@media (max-width: 760px) {
  .bn-story:not(.open) .bn-story-in { max-height: 300px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
  .bn-more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px; background: none; color: inherit; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
  .bn-story.open .bn-more i { transform: rotate(180deg); }
  .bn-story { scroll-margin-top: 96px; }
  .wbc-chip { display: none; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}
/* Acheter : sur téléphone, les filtres se rangent derrière un bouton */
.filters-toggle { display: none; }
@media (max-width: 640px) {
  .filters-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r-card, 20px); background: var(--surface); color: inherit; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; }
  .filters-toggle span { flex: 1; text-align: left; }
  .filters-toggle[aria-expanded="true"] .ph-caret-down { transform: rotate(180deg); }
  .filters-bar:not(.open) { display: none !important; }
  .filters-bar.open { margin-top: 10px; }
  .offer-btn { padding-inline: 24px; font-size: 14px; height: 54px; }
}

/* Sélecteur de langue FR / EN / DE */
.lang-sw { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 500; letter-spacing: .04em; }
.lang-sw a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 30px; padding: 0 8px; border-radius: 999px; color: inherit; opacity: .7; }
.lang-sw a:hover { opacity: 1; }
.lang-sw a[aria-current] { background: var(--ink); color: var(--bg, #fff); opacity: 1; }
.site-header.on-dark:not(.is-scrolled) .lang-sw { border-color: rgba(255, 255, 255, .35); color: #fff; }
.site-header.on-dark:not(.is-scrolled) .lang-sw a[aria-current] { background: #fff; color: #14151a; }
.mobile-menu .lang-sw { margin-top: 22px; align-self: flex-start; font-size: 15px; }
.mobile-menu .lang-sw a { min-width: 52px; height: 44px; }
@media (max-width: 1180px) { .nav-actions .lang-sw { display: none; } }
/* Allemand et anglais : mots et boutons plus longs que le français */
html:not([lang="fr"]) .ph-std .ph-actions { flex-wrap: wrap; }
html:not([lang="fr"]) .ph-title { white-space: normal; }
.page-hero .grid > * { min-width: 0; }
html[lang="de"] :is(h1, h2, h3, .ph-title, .im-stat b, .im-stat span, .fact-title, .label) { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
@media (max-width: 760px) {
  .im-stat, .im-stat > * { min-width: 0; }
  html:not([lang="fr"]) .ph-actions .btn { white-space: normal; text-align: center; height: auto; min-height: 48px; padding-block: 10px; }
  .mobile-menu a.m-link { font-size: 28px; padding: 7px 0; }
}
html:not([lang="fr"]) .seg { flex-wrap: wrap !important; }

/* ===== Barre de navigation façon Prêles : logo, pastille de verre poli au centre, langues et bouton ===== */
.site-header .nav-shell { height: 52px; padding: 0; gap: 14px; border-radius: 0; border: 0;
  background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.site-header, .site-header.on-dark:not(.is-scrolled) { color: var(--ink); }
/* Le verre poli, partout pareil */
.nav-shell .logo, .nav-shell .nav-links, .nav-shell .lang-sw, .nav-shell .icon-btn {
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  box-shadow: 0 10px 30px -16px rgba(15, 25, 60, .35); }
.nav-shell .logo { height: 52px; padding: 0 20px 0 16px; border-radius: 999px; flex: none; }
.nav-shell .icon-btn, .site-header.on-dark:not(.is-scrolled) .icon-btn { width: 52px; height: 52px; border-color: var(--glass-line); color: var(--ink); }
.nav-shell .icon-btn:hover { background: var(--surface); }
/* Les liens, dans leur pastille */
.nav-shell .nav-links { position: relative; isolation: isolate; gap: 2px; padding: 5px; border-radius: 999px; }
.nav-shell .nav-links a, .on-dark:not(.is-scrolled) .nav-shell .nav-links a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em; color: var(--ink-2, var(--ink)); background: none; white-space: nowrap; transition: color .25s; }
.nav-shell .nav-links a i { font-size: 18px; }
.nav-shell .nav-links a:hover, .on-dark:not(.is-scrolled) .nav-shell .nav-links a:hover { background: none; }
.nav-shell .nav-links a[aria-current="page"], .on-dark:not(.is-scrolled) .nav-shell .nav-links a[aria-current="page"] { background: none; color: var(--ink); }
.nav-shell .nav-links a.is-on, .on-dark:not(.is-scrolled) .nav-shell .nav-links a.is-on, .nav-shell .nav-links a.is-on[aria-current="page"] { color: #fff; }
.nav-drop { position: absolute; z-index: -1; left: 0; top: 5px; bottom: 5px; width: 0; border-radius: 999px; background: var(--accent); opacity: 0; pointer-events: none;
  box-shadow: 0 8px 20px -10px rgba(31, 42, 92, .7); }
.nav-links.is-ready .nav-drop { transition: transform .45s cubic-bezier(.3, 1.3, .5, 1), width .35s var(--ease), opacity .25s; }
/* À droite : langues, thème, bouton */
.nav-shell .lang-sw, .site-header.on-dark:not(.is-scrolled) .lang-sw { height: 52px; padding: 5px; border-color: var(--glass-line); color: var(--ink); font-size: 13px; }
.nav-shell .lang-sw a { min-width: 40px; height: 40px; }
.nav-shell .lang-sw a[aria-current], .site-header.on-dark:not(.is-scrolled) .lang-sw a[aria-current] { background: var(--accent); color: var(--accent-ink, #fff); }
.nav-shell .nav-actions .btn, .on-dark:not(.is-scrolled) .nav-shell .nav-actions .btn-primary { height: 52px; padding: 0 22px; font-size: 14.5px; background: var(--accent); color: var(--accent-ink, #fff); box-shadow: 0 10px 26px -12px rgba(31, 42, 92, .8); }
/* Grand écran : la pastille est au vrai centre */
@media (min-width: 1380px) { .site-header .nav-shell { display: grid; grid-template-columns: 1fr auto 1fr; } .nav-shell .logo { justify-self: start; } .nav-shell .nav-actions { justify-self: end; } }
/* Écran moyen : on serre, les pictos partent en premier */
@media (max-width: 1280px) { .nav-shell .nav-links a i { display: none; } .nav-shell .nav-links a { padding: 0 13px; } }
@media (max-width: 760px) { .site-header .nav-shell { height: 48px; } .nav-shell .logo { height: 48px; padding: 0 16px 0 14px; } .nav-shell .icon-btn { width: 48px; height: 48px; } }
@media (prefers-reduced-motion: reduce) { .nav-links.is-ready .nav-drop { transition: none; } }
/* fin barre Prêles */

/* ===== Fenêtre de menu : le burger est là sur tous les écrans ===== */
.menu-toggle { display: grid; }
.site-menu { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: clamp(8px, 3vw, 40px);
  background: rgba(13, 15, 21, .42); -webkit-backdrop-filter: blur(16px) saturate(120%); backdrop-filter: blur(16px) saturate(120%);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .35s var(--ease), visibility 0s .35s; }
.site-menu.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .35s var(--ease); }
.sm-panel { width: min(1120px, 100%); max-height: 100%; overflow: auto; overscroll-behavior: contain; background: var(--surface); color: var(--ink);
  border-radius: var(--r-frame, 28px); padding: clamp(20px, 3.6vw, 52px); box-shadow: 0 40px 120px -30px rgba(8, 12, 30, .55);
  transform: translateY(14px) scale(.985); transition: transform .5s cubic-bezier(.2, .9, .3, 1); }
.site-menu.open .sm-panel { transform: none; }
.sm-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(18px, 2.6vw, 34px); }
.sm-kicker { color: var(--accent); font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.sm-tools { display: flex; align-items: center; gap: 8px; }
.sm-tools .lang-sw { height: 44px; }
.sm-tools .lang-sw a { height: 36px; min-width: 38px; }
.sm-tools .lang-sw a[aria-current] { background: var(--accent); color: var(--accent-ink, #fff); }
.sm-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); }
.sm-big { display: grid; justify-items: start; }
.sm-big a { font-size: clamp(1.9rem, min(4.4vw, 6.6vh), 3.7rem); line-height: 1.1; letter-spacing: -0.055em; font-weight: 400; color: var(--ink); transition: color .25s, transform .4s var(--ease); }
.sm-big a:hover, .sm-big a[aria-current] { color: var(--accent); }
.sm-big a:hover { transform: translateX(8px); }
.sm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(20px, 2.6vw, 34px); padding-top: clamp(18px, 2.2vw, 28px); border-top: 1px solid var(--line); }
.sm-cols h4 { font-size: 14px; font-weight: 400; color: var(--muted); margin-bottom: 8px; }
.sm-cols a { display: block; padding: 6px 0; font-size: 17px; letter-spacing: -0.02em; }
.sm-cols a:hover, .sm-cols a[aria-current], .sm-foot > a:first-child:hover { color: var(--accent); }
.sm-photo { position: relative; border-radius: var(--r-card, 20px); overflow: hidden; min-height: 280px; background: var(--surface-2); }
.sm-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sm-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(18px, 2.4vw, 30px); padding-top: clamp(14px, 1.8vw, 22px); border-top: 1px solid var(--line); font-size: 16px; }
.sm-foot > a:first-child { padding: 10px 0; }
@media (max-width: 860px) {
  .sm-body { grid-template-columns: 1fr; }
  .sm-photo { display: none; }
  .sm-panel { align-self: start; }
}
@media (max-width: 520px) {
  .sm-big a { font-size: 2rem; padding: 3px 0; }
  .sm-cols a { padding: 9px 0; }
  .sm-foot .btn { flex: 1; justify-content: center; }
  .sm-foot > a:first-child { flex: none; padding-right: 8px; }
}
@media (prefers-reduced-motion: reduce) { .site-menu, .sm-panel { transition: none; } }
/* fin fenêtre de menu */
body:has(.site-menu.open) #alfred-root { display: none; }
.sm-cols a { padding: 4px 0; }

/* ===== Barre en haut de page : juste du texte. Dès qu'on défile, elle redevient la barre en verre ===== */
.nav-shell .logo, .nav-shell .nav-links, .nav-shell .icon-btn { transition: background-color .4s var(--ease), border-color .4s, box-shadow .4s, color .3s, -webkit-backdrop-filter .4s, backdrop-filter .4s; }
.nav-shell .nav-links a i { max-width: 18px; overflow: hidden; transition: max-width .4s var(--ease), opacity .3s, margin .4s var(--ease); }
.nav-shell .nav-links a { transition: color .3s, padding .4s var(--ease), font-size .4s var(--ease); }
.site-header:not(.is-scrolled) .nav-shell .logo,
.site-header:not(.is-scrolled) .nav-shell .nav-links,
.site-header:not(.is-scrolled) .nav-shell .icon-btn { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header:not(.is-scrolled) .nav-shell .logo { padding-left: 0; }
.site-header:not(.is-scrolled) .nav-shell .nav-links a i { max-width: 0; opacity: 0; margin-right: -8px; }
.site-header:not(.is-scrolled) .nav-shell .nav-links a { font-size: 15.5px; padding: 0 16px; color: var(--ink); opacity: .82; }
.site-header:not(.is-scrolled) .nav-shell .nav-links a:hover,
.site-header:not(.is-scrolled) .nav-shell .nav-links a[aria-current="page"] { color: var(--ink); opacity: 1; }
.site-header:not(.is-scrolled) .nav-shell .nav-links a[aria-current="page"] span { box-shadow: 0 1.5px 0 currentColor; padding-bottom: 3px; }
.site-header:not(.is-scrolled) .nav-drop { opacity: 0 !important; }
/* Sur une photo sombre (accueil) : tout en blanc */
.site-header.on-dark:not(.is-scrolled), .site-header.on-dark:not(.is-scrolled) .nav-shell .logo,
.site-header.on-dark:not(.is-scrolled) .nav-shell .icon-btn,
.site-header.on-dark:not(.is-scrolled) .nav-shell .nav-links a,
.site-header.on-dark:not(.is-scrolled) .nav-shell .nav-links a:hover,
.site-header.on-dark:not(.is-scrolled) .nav-shell .nav-links a[aria-current="page"] { color: #fff; }
.site-header:not(.is-scrolled) .nav-shell .icon-btn i { font-size: 24px; }
/* Acheter : les filtres restent à leur place, ils ne suivent plus le défilement */
.filters-bar { position: static !important; }

/* Accueil : La Gazette Wayne, sous les avis */
.gz-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(20px, 3vw, 44px); border: 1px solid var(--ink); border-radius: var(--r-frame, 28px); }
.gz-txt { display: grid; justify-items: start; gap: 16px; }
.gz-txt .lead { max-width: 46ch; }
.gz-txt .btn { margin-top: 8px; }
.gz-img { display: block; border-radius: var(--r-card, 20px); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.gz-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gz-box:hover .gz-img img { transform: scale(1.03); }
@media (max-width: 860px) { .gz-box { grid-template-columns: 1fr; } .gz-img { order: -1; } }
/* Accueil, tuile Territoire : la carte est posée sur la tuile, sans tuile dans la tuile */
.fact-map, section.facts .fact-map { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.fact-map, section.facts .fact-map { mix-blend-mode: screen; }
.fact-map img, :root .fact-map img { mix-blend-mode: normal; }

/* ===== Tuiles de chiffres : mouvement doux, façon motion design =====
   Un dégradé ne sait pas se fondre : il est donc posé sur un calque qui apparaît en fondu, pendant que la tuile s'élargit. */
.fact-card { --fx: cubic-bezier(.22, 1, .36, 1); isolation: isolate;
  transition: flex-grow 1.15s var(--fx), height 1.15s var(--fx), border-color .9s ease !important; }
.fact-card.is-open, .fact-card.is-open:has([data-tone]) { background-image: none !important; background-color: transparent !important; border-color: transparent !important; }
.fact-card::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background-image: var(--grain), radial-gradient(60% 90% at var(--gx) var(--gy), var(--lueur-moyenne) 0%, transparent 70%), radial-gradient(55% 80% at var(--hx) var(--hy), var(--lueur-fonce) 0%, transparent 72%), var(--grad-moyen); background-blend-mode: overlay, normal, normal, normal; animation: grad-vie 24s ease-in-out infinite alternate, grain-vie 1.6s steps(1) infinite; opacity: 0; pointer-events: none; transition: opacity .9s ease; }
.fact-card.is-open::before { opacity: 1; transition: opacity .8s ease .05s; }
.fact-card .fact, .fact-card .fact[data-tone="night"] { z-index: 1; transition: color .8s ease !important; }
.fact-reading { transition: width 1.15s var(--fx) !important; }
.fact-plus { transition: transform .9s var(--fx), opacity .6s ease !important; }
.fact-detail { transform: translateX(30px) scale(.97); transition: opacity .4s ease, transform .6s var(--fx) !important; }
.fact-card.is-open .fact-detail { transform: none; transition: opacity .9s ease .35s, transform 1.2s var(--fx) .22s !important; }
@media (prefers-reduced-motion: reduce) { .fact-card, .fact-card::before, .fact-card .fact, .fact-reading, .fact-detail, .fact-card.is-open .fact-detail { transition-duration: .01s !important; transition-delay: 0s !important; } }

/* Fenêtre de menu : plus petite, et une barre de défilement discrète, dans la tuile, si jamais il en faut une */
.sm-panel { width: min(940px, 100%); padding: clamp(18px, 2.6vw, 36px); scrollbar-gutter: auto; }
.sm-top { margin-bottom: clamp(12px, 2vh, 24px); }
.sm-kicker { font-size: 15px; }
.sm-big a { font-size: clamp(1.7rem, min(3.4vw, 5vh), 2.9rem); line-height: 1.12; }
.sm-body { gap: clamp(20px, 4vw, 56px); grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.sm-cols { margin-top: clamp(12px, 2vh, 24px); padding-top: clamp(12px, 2vh, 20px); gap: 20px; }
.sm-cols a { font-size: 15.5px; padding: 3px 0; }
.sm-cols h4 { font-size: 13px; margin-bottom: 6px; }
.sm-photo { min-height: 220px; }
.sm-foot { margin-top: clamp(12px, 2vh, 22px); padding-top: clamp(10px, 1.6vh, 16px); font-size: 15px; }
.sm-foot .btn { height: 46px; }
.sm-tools .icon-btn { width: 44px; height: 44px; }
.sm-panel::-webkit-scrollbar { width: 14px; }
.sm-panel::-webkit-scrollbar-track { background: transparent; margin: 26px 0; }
.sm-panel::-webkit-scrollbar-thumb { background: rgba(18, 20, 28, .22); border-radius: 999px; border: 5px solid transparent; background-clip: padding-box; }
.sm-panel::-webkit-scrollbar-thumb:hover { background: rgba(18, 20, 28, .4); background-clip: padding-box; }
:root[data-theme="dark"] .sm-panel::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .28); background-clip: padding-box; }
@supports not selector(::-webkit-scrollbar) { .sm-panel { scrollbar-width: thin; scrollbar-color: rgba(120, 125, 140, .45) transparent; } }
@media (max-width: 520px) { .sm-big a { font-size: 1.9rem; } .sm-cols a { padding: 8px 0; } }

/* Barre plus fine, aux mesures de celle des Terrasses de Prêles (pastille de 46 px, liens de 38 px en 13 px) */
.site-header .nav-shell { height: 46px; }
.nav-shell .logo { height: 46px; padding: 0 16px 0 13px; }
.nav-shell .logo .wl-h { height: 16px; }
.nav-shell .nav-links { padding: 4px; gap: 2px; }
.nav-shell .nav-links a, .on-dark:not(.is-scrolled) .nav-shell .nav-links a { height: 38px; padding: 0 14px; gap: 7px; font-size: 13px; }
.nav-shell .nav-links a i { font-size: 16px; max-width: 16px; }
.nav-drop { top: 4px; bottom: 4px; }
.nav-shell .icon-btn, .site-header.on-dark:not(.is-scrolled) .icon-btn { width: 46px; height: 46px; }
.nav-shell .icon-btn i { font-size: 17px; }
.site-header:not(.is-scrolled) .nav-shell .nav-links a { font-size: 14.5px; padding: 0 15px; }
.site-header:not(.is-scrolled) .nav-shell .icon-btn i { font-size: 22px; }
@media (max-width: 1280px) { .nav-shell .nav-links a { padding: 0 12px; } }
@media (max-width: 760px) { .site-header .nav-shell, .nav-shell .logo { height: 44px; } .nav-shell .icon-btn { width: 44px; height: 44px; } }


/* ===== Avis en pile de verre : un panneau en dégradé, des cartes de verre empilées dessus ===== */
.av-stack { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 22px; min-width: 0;
  padding: clamp(64px, 6vw, 84px) clamp(18px, 5vw, 72px) clamp(22px, 2.4vw, 32px); border-radius: var(--r-frame); background: var(--accent); color: #fff; outline: none; }
.av-stack:focus-visible { box-shadow: 0 0 0 2px var(--bg, #fff), 0 0 0 4px var(--accent); }
.avs-pile { display: grid; width: min(680px, 100%); margin-inline: auto; }
.avs-card { grid-area: 1 / 1; align-self: end; display: flex; flex-direction: column; gap: 20px; padding: clamp(20px, 2.2vw, 30px); border-radius: var(--r-card, 20px);
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
  box-shadow: 0 24px 50px -28px rgba(6, 12, 40, .7);
  transform-origin: 50% 0; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: pan-y;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1), opacity .55s ease; will-change: transform; }
.avs-card.is-front { cursor: grab; background: rgba(255, 255, 255, .17); }
.avs-card.is-dragging { cursor: grabbing; transition: none; }
.avs-card:not(.is-front) > * { opacity: 0; }
.avs-card > * { transition: opacity .4s ease; }
.avs-head { display: flex; align-items: center; gap: 14px; }
.avs-ini { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: #101d4a; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; }
.avs-who { display: grid; gap: 3px; min-width: 0; margin-right: auto; }
.avs-who b { font-size: 17px; font-weight: 500; letter-spacing: -0.015em; }
.avs-who small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.avs-card .stars { display: inline-flex; gap: 3px; font-size: 14px; color: #fff; }
.avs-body { margin: 0; font-size: clamp(1rem, 1.25vw, 1.16rem); line-height: 1.5; letter-spacing: -0.012em; text-wrap: pretty; }
.avs-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 12.5px; }
.avs-tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .26); }
.avs-tag i { font-size: 15px; }
.avs-n { font-variant-numeric: tabular-nums; letter-spacing: .08em; opacity: .8; }
.avs-dots { display: flex; justify-content: center; gap: 4px; }
.avs-dots button { all: unset; cursor: pointer; width: 24px; height: 24px; display: grid; place-items: center; }
.avs-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .45); transition: width .4s cubic-bezier(.22, 1, .36, 1), background .3s; }
.avs-dots button[aria-current="true"]::before { width: 22px; background: #fff; }
.avs-dots button:focus-visible::before { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 640px) { .avs-head { flex-wrap: wrap; } .avs-card .stars { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .avs-card, .avs-card > * { transition: none; } }
/* fin avis en pile */

/* La note qui remonte à 5 à chaque avis : chiffres de largeur fixe, étoiles qui s'allument une à une */
.av-score-num { font-variant-numeric: tabular-nums; }
.av-score .stars i { transition: opacity .3s ease, scale .45s cubic-bezier(.22, 1, .36, 1); }

/* Avis : une seule grande tuile en dégradé, la note à gauche et la pile de verre à droite */
.av-grid { background: var(--accent); color: #fff; border-radius: var(--r-frame); overflow: hidden; gap: 0 !important; }
.av-grid .av-score, .av-grid .av-stack { background: none !important; border-radius: 0; box-shadow: none; }
.av-grid .av-score:hover { transform: none; }
.av-grid .av-score .ph-arrow-up-right { transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.av-grid .av-score:hover .ph-arrow-up-right { transform: translate(3px, -3px); }
@media (min-width: 1101px) { .av-grid .av-stack { padding-left: clamp(8px, 2vw, 28px); } }
@media (max-width: 1100px) { .av-grid .av-score { padding-bottom: 0; } }

/* Pages calculateur et locales : de l'air entre un bloc de tuiles et la FAQ qui suit, et la FAQ alignée sur la largeur des tuiles */
.rp .rp-tiles + .faq, .rp .rp-table + .faq, .rp .rp-stats + .faq, .rp .faq + .rp-tiles, .rp .faq + .rp-table { margin-top: clamp(28px, 3.4vw, 48px); }
.rp .rp-tiles + .faq { max-width: none; }

/* ===== Dégradé Velaris : le calque dessiné par velaris.js dans chaque aplat, et son grain ===== */
/* Des règles du site visent « tuile span » : le calque se protège avec !important pour rester plein cadre */
.vl { position: absolute !important; inset: 0 !important; grid-area: auto !important; margin: 0 !important; z-index: -1 !important; display: block !important; width: auto !important; height: auto !important; max-width: none !important; min-width: 0 !important;
  margin: 0 !important; padding: 0 !important; border: 0 !important; transform: none !important; background: none !important; border-radius: inherit !important;
  overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .7s cubic-bezier(.22, 1, .36, 1); }
.vl.on, :hover > .vl.vl-h, .is-open > .vl.vl-h { opacity: 1; }
.vl canvas { display: block !important; position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; }
.vl::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); mix-blend-mode: overlay; animation: grain-vie 1.6s steps(1) infinite; }
@media (hover: none) { :hover > .vl.vl-h:not(.x) { opacity: 0; } .is-open > .vl.vl-h:not(.x) { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .vl { transition: none; } }
/* fin Velaris */

/* Accordéon des projets neufs : ouverture plus souple, le dégradé arrive en fondu avec le panneau */
.pnx-panel { transition: flex-grow 1.05s cubic-bezier(.22, 1, .36, 1), background-color .8s ease, border-color .8s ease; }
.pnx-panel > .vl { transition-duration: .9s; }
.pnx-panel:not(.is-open):hover > .vl.vl-h { opacity: 0; }
.pnx-panel.is-open .pnx-body { transition: opacity .8s ease .28s; }
.pnx-tab, .pnx-num, .pnx-ico { transition: color .6s ease, background-color .6s ease, transform .6s cubic-bezier(.22, 1, .36, 1); }
@media (max-width: 760px) { .pnx-panel { transition: height .9s cubic-bezier(.22, 1, .36, 1), background-color .8s ease; } }
/* Tuiles de chiffres : le dégradé n'arrive qu'à l'ouverture, pas au simple passage de la souris */
.fact-card:not(.is-open):hover > .vl.vl-h { opacity: 0; }
.fact-card > .vl { transition: opacity .26s ease-in !important; }
/* À l'ouverture le bleu arrive vite : un bleu à moitié transparent sur fond clair, c'est du gris */
.fact-card.is-open > .vl { transition: opacity .3s cubic-bezier(.2, .7, .3, 1) !important; }
.fact-card .fact, .fact-card .fact[data-tone="night"] { transition: color .3s ease !important; }

/* Téléphone : la règle « aucun texte sous 12 px » visait .facts span et écrasait aussi les grands chiffres. On leur rend leur taille. */
@media (max-width: 760px) { .facts :is(h1, h2, h3) span { font-size: inherit; } .facts .fact-value { font-size: 2.6rem; } .facts .fact-reading { align-items: flex-end; } .facts .fact-note { padding-bottom: .35em; } }

/* Avis : une carte lancée passe par-dessus la note, elle n'est plus coupée au bord de sa colonne (seul le bord arrondi de la grande tuile la coupe) */
.av-grid .av-stack { overflow: visible; z-index: 2; }
.av-grid .av-score { position: relative; z-index: 1; }

/* Baromètre : dans une ligne dépliable, le prix se cale à droite, juste avant le plus, chiffres alignés */
.faq summary > strong { margin-left: auto; padding-left: 16px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.faq summary > strong + i { margin-left: clamp(16px, 2.4vw, 32px); }

/* FAQ compactes (choix d'Arno, 4.12) : plus de tuile par question, de simples lignes séparées par un filet */
.faq { gap: 0 !important; border-top: 1px solid var(--ink); }
.faq details { border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important; padding: 0 !important; background: none !important; }
.faq details:last-child { border-bottom-color: var(--ink) !important; }
.faq summary { padding: 15px 0 !important; font-size: 16px; gap: 20px; }
.faq summary i { width: 28px !important; height: 28px !important; font-size: 13px !important; }
.faq details p { padding-bottom: 12px !important; font-size: 15px; }
.faq details p:last-child { padding-bottom: 20px !important; }
/* Titre et sous-titre à gauche, questions à droite */
@media (min-width: 981px) {
  .container:has(> .faq):has(> h2.h2), .container:has(> .rp-head + .rp-prose + .faq:last-child) {
    max-width: var(--container, 1360px) !important; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-rows: auto 1fr;
    column-gap: clamp(40px, 6vw, 120px); align-items: start; }
  .container:has(> .faq):has(> h2.h2) > :not(.faq), .container:has(> .rp-head + .rp-prose + .faq:last-child) > :not(.faq) { grid-column: 1; }
  .container:has(> .faq):has(> h2.h2) > .faq, .container:has(> .rp-head + .rp-prose + .faq:last-child) > .faq { grid-column: 2; grid-row: 1 / span 2; margin-top: 6px; }
  .container:has(> .faq):has(> h2.h2) > h2.h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
}

/* ===== En-tête d'accueil : pilule d'adresse en verre poli (choix du 4.12) ===== */
.hero .estimate-bar { background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .38); color: #fff;
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 20px 60px -24px rgba(8, 10, 20, .7); }
.hero .estimate-bar > i, .hero .estimate-bar input { color: #fff; }
.hero .estimate-bar input::placeholder { color: rgba(255, 255, 255, .78); }
.hero .estimate-bar:focus-within { box-shadow: 0 20px 60px -24px rgba(8, 10, 20, .7), 0 0 0 4px rgba(255, 255, 255, .28); }

/* Mise en page « éditorial, en bas » (4A) : body data-hero-pose="bas". Sans l'attribut : centré (2A) */
body[data-hero-pose="bas"] .hero-frame.hero-centered { justify-content: flex-end; }
body[data-hero-pose="bas"] .hero-centered::before { background: linear-gradient(180deg, rgba(8,10,20,.35) 0%, rgba(8,10,20,0) 26%, rgba(8,10,20,.15) 52%, rgba(8,10,20,.82) 100%); }
body[data-hero-pose="bas"] .hero-centered .hero-content { grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr auto; column-gap: clamp(32px, 5vw, 80px); row-gap: 22px; justify-items: start; align-items: end; text-align: left; padding: 0 clamp(24px, 4vw, 56px) clamp(28px, 4vw, 52px); }
body[data-hero-pose="bas"] .hero-centered .hero-content h1 { grid-row: 1 / span 2; font-size: clamp(3rem, 6.6vw, 6.4rem); max-width: 7.4em; text-shadow: none; }
body[data-hero-pose="bas"] .hero-centered .hero-sub { grid-column: 2; margin: 0; max-width: 44ch; text-wrap: pretty; text-shadow: none; opacity: .9; }
body[data-hero-pose="bas"] .hero-centered .estimate-bar { grid-column: 2; margin-top: 0; width: 100%; }
@media (max-width: 960px) {
  body[data-hero-pose="bas"] .hero-centered .hero-content { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 18px; }
  body[data-hero-pose="bas"] .hero-centered .hero-content h1 { grid-row: auto; }
  body[data-hero-pose="bas"] .hero-centered .hero-sub, body[data-hero-pose="bas"] .hero-centered .estimate-bar { grid-column: 1; }
  body[data-hero-pose="bas"] .hero-centered::before { background: linear-gradient(180deg, rgba(8,10,20,.4) 0%, rgba(8,10,20,.05) 28%, rgba(8,10,20,.45) 55%, rgba(8,10,20,.88) 100%); }
}
/* 4A : on laisse la place au bouton Alfred, en bas à droite */
body[data-hero-pose="bas"] .hero-centered .hero-content { padding-bottom: 92px; }
@media (max-width: 640px) { .hero .estimate-bar { border-radius: 24px !important; } }
@media (max-width: 640px) { .hero .estimate-bar { padding: 8px !important; } .hero .estimate-bar > i { margin-left: 12px; } }

/* Dégradé vivant sans liseré : pas de bord visible autour d'un élément en dégradé (voir velaris.js) */
.vl-nb:has(> .vl.on), .vl-nb:has(> .vl.vl-h):hover, .vl-nb.is-open:has(> .vl.vl-h) { border-color: transparent !important; background-clip: padding-box !important; }
/* Verre : même filet tout autour, pas de reflet en haut */
.hero .estimate-bar { border-color: rgba(255, 255, 255, .34); }

/* Équipe : portraits détourés posés sur le dégradé vivant du site */
.eq-photo.eq-det { --vl: 1; isolation: isolate; background: linear-gradient(150deg, #101d4a 0%, #223a6e 55%, #54759d 100%); }
.eq-photo.eq-det img { z-index: 1; object-position: 50% 0; }
/* Tuile fermée : le dégradé passe en noir et blanc comme le portrait, et reprend ses couleurs à l'ouverture */
@media (min-width: 861px) {
  .eq-photo.eq-det > .vl { transition: opacity .5s ease, filter .9s cubic-bezier(.22, 1, .36, 1) !important; }
  .eq-tile:not(.is-on) .eq-photo.eq-det { background: linear-gradient(150deg, #1c1c1c 0%, #3a3a3a 55%, #767676 100%); }
  .eq-tile:not(.is-on) .eq-photo.eq-det > .vl { filter: grayscale(1); }
}
/* Le nom reste devant le portrait détouré */
.eq-photo.eq-det .eq-tag { z-index: 2; }

/* ---------- Frise À propos (4.12) : un cadre comme la Gazette. Texte à gauche, image à droite, les trois dates se succèdent ---------- */
.fr-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; padding: clamp(20px, 3vw, 44px); border: 1px solid var(--ink); border-radius: var(--r-frame, 28px); }
.fr-txt { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-width: 0; padding: clamp(4px, 1vw, 14px) 0; }
.fr-pages { display: grid; }
.fr-page { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .45s ease, transform .8s cubic-bezier(.22, 1, .36, 1); }
.fr-page.is-on { opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
.fr-page b { display: block; font-weight: 400; font-size: clamp(4.4rem, 9.4vw, 9rem); letter-spacing: -0.06em; line-height: .92; font-variant-numeric: tabular-nums; margin-left: -0.04em; }
.fr-page h3 { margin-top: clamp(18px, 2vw, 28px); font-size: clamp(1.3rem, 1.8vw, 1.7rem); font-weight: 400; letter-spacing: -0.02em; }
.fr-page p { margin-top: 10px; color: var(--ink-2); max-width: 44ch; text-wrap: pretty; }
.fr-nav { position: relative; display: grid; grid-template-columns: repeat(var(--fr-n, 3), 1fr); padding-top: 18px; }
.fr-an { justify-self: start; border: 0; background: none; padding: 6px 0; font: inherit; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--muted); cursor: pointer; transition: color .3s ease; }
.fr-an:hover, .fr-an.is-on { color: var(--ink); }
.fr-an.is-on { font-weight: 500; }
.fr-line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.fr-line > i { position: absolute; inset: 0; background: var(--ink); transform-origin: left center; transform: scaleX(var(--fr-p, .25)); transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.fr-imgs { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-card, 20px); overflow: hidden; isolation: isolate; background: var(--surface-2); }
.fr-img { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s ease; overflow: hidden; }
.fr-img.is-on { opacity: 1; z-index: 1; }
.fr-img > img:not(.ms-logo) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.07); transition: transform 1.8s cubic-bezier(.22, 1, .36, 1); }
.fr-img.is-on > img:not(.ms-logo) { transform: none; }
.fr-img:not(.ms-lieu):not(.ms-wayne)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,20,.38) 0%, rgba(8,10,20,0) 45%); pointer-events: none; }
.fr-img .ms-coord { position: absolute; z-index: 2; left: 22px; top: 20px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.fr-img.ms-lieu { background: #12141c; }
.fr-img .ms-mot { position: absolute; left: 18px; bottom: -0.15em; font-size: clamp(6rem, 15vw, 15rem); line-height: 1; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .5); white-space: nowrap; }
.fr-img.ms-wayne { --vl: 1; isolation: isolate; background: linear-gradient(150deg, #101d4a 0%, #223a6e 55%, #54759d 100%); display: grid; place-items: center; }
.fr-img .ms-logo { position: relative; z-index: 1; width: clamp(80px, 10vw, 150px); height: auto; }
@media (min-width: 861px) {
  .fr-sec.fr-pin > .container { position: sticky; top: var(--fr-top, 14vh); }
  .fr-sec.fr-pin .fr-line > i { transition: none; }
}
@media (max-width: 860px) {
  .fr-box { grid-template-columns: 1fr; }
  .fr-imgs { order: -1; }
  .fr-img .ms-mot { font-size: clamp(5rem, 27vw, 9rem); }
}
@media (prefers-reduced-motion: reduce) { .fr-page, .fr-img, .fr-img > img, .fr-line > i { transition: none !important; } }

/* ---------- Frise À propos, version retenue (4.12) : la ligne du temps, une image par date au-dessus de l'année, quatre dates ---------- */
.timeline.three .ms-img { position: relative; isolation: isolate; overflow: hidden; margin: 0 0 clamp(18px, 2vw, 28px); height: clamp(150px, 27vh, 300px); border-radius: var(--r-card); background: var(--surface-2); }
.timeline.three .ms-img > img:not(.ms-logo) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.08); transition: transform 1.6s cubic-bezier(.22, 1, .36, 1); }
.timeline.three .milestone.in .ms-img > img:not(.ms-logo), .timeline.three .milestone.is-shown .ms-img > img:not(.ms-logo) { transform: none; }
.timeline.three .ms-img:not(.ms-lieu):not(.ms-wayne)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,20,.38) 0%, rgba(8,10,20,0) 45%); pointer-events: none; }
.timeline.three .ms-coord { position: absolute; z-index: 2; left: 18px; top: 16px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.timeline.three .ms-lieu { background: #12141c; }
.timeline.three .ms-mot { position: absolute; left: 12px; bottom: -0.16em; font-size: clamp(3.4rem, 6.6vw, 6.4rem); line-height: 1; letter-spacing: -0.05em; font-weight: 400; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .5); white-space: nowrap; }
.timeline.three .ms-wayne { --vl: 1; background: linear-gradient(150deg, #101d4a 0%, #223a6e 55%, #54759d 100%); display: grid; place-items: center; }
.timeline.three .ms-logo { position: relative; z-index: 1; width: clamp(56px, 6vw, 92px); height: auto; }
.timeline.three .milestone p { text-wrap: pretty; }
.timeline.three.tl-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.timeline.three.tl-4 .milestone { padding-right: clamp(16px, 2vw, 32px) !important; }
.timeline.three.tl-4 .milestone b { font-size: clamp(3rem, 5.6vw, 5.2rem) !important; }
.timeline.three.tl-4 .milestone:nth-child(3)::before { background: var(--bg) !important; border-color: var(--ink) !important; }
.timeline.three.tl-4 .milestone:nth-child(3):hover::before { background: var(--accent) !important; border-color: var(--accent) !important; }
@media (max-width: 860px) {
  .timeline.three.tl-4 { grid-template-columns: repeat(4, 78vw) !important; }
  .timeline.three.tl-4::before { width: 312vw; }
}

/* Frise : les photos de matière se cadrent au centre */
.timeline.three .ms-img > img:not(.ms-logo) { object-position: 50% 50%; }

/* Frise : plus de légende dans les images, donc plus de voile sombre en haut */
.timeline.three .ms-img::after { content: none !important; }

/* ---------- Retouches du 4.12 (après-midi) ---------- */
/* Plus de grain sur les dégradés : on garde le mouvement des bleus, sans la texture */
:root, :root[data-theme="dark"], :root[data-theme="light"] { --grain: none !important; }
.vl::after { display: none !important; }
/* Survols en fondu : le texte passe en blanc tout de suite, avant que le dégradé soit là (il restait foncé trop longtemps) */
html body[data-page="home"] .step, html body[data-page="vendre"] .step, html a.c-card, html .milestone, html .im-m-step, html #nous-achetons .check-group { transition: color .18s ease, border-color .7s ease .05s, transform .9s cubic-bezier(.22, 1, .36, 1) !important; }
html body[data-page="home"] .step *, html body[data-page="vendre"] .step *, html a.c-card *, html .milestone *, html .im-m-step *, html #nous-achetons .check-group *,
html body[data-page="home"] .step::before, html body[data-page="vendre"] .step::before, html a.c-card::before, html .milestone::before, html .im-m-step::before, html #nous-achetons .check-group::before { transition: color .18s ease !important; }
