/* Le réseau, version « Nuit » (2 décembre 2026) : annuaire des conseillers, profils, biens vendus et loués.
   Socle : nuit.css (jetons --n-*, nHero, n-sec, n-strip, n-ivory). La carte au défilement est la version claire de la direction B :
   fond ivoire, France en points d'encre, conseillers en points bleus Domini. Rayons 3 à 4 px, cercles pour les boutons ronds. */

.cn-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- portrait, ou à défaut : la France en filet, son point bleu, ses initiales ---------- */
.pic { position: relative; display: block; overflow: hidden; background: var(--n-bg-3); container-type: inline-size; }
.pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mono { position: absolute; inset: 0; display: block; background: var(--n-bg-3); }
.mono svg { position: absolute; left: 18%; top: 10%; width: 66%; height: 70%; overflow: visible; fill: none; stroke: var(--n-fg-3); stroke-width: 1; }
.mono circle { fill: var(--blue); stroke: none; }
.mono b { position: absolute; left: 9%; bottom: 7%; font-family: var(--sans); font-stretch: 118%; font-weight: 460; font-size: 22cqi; line-height: 1; color: var(--n-fg); }
.stars { color: var(--n-fg); letter-spacing: .16em; font-size: 12.5px; line-height: 1; }

/* ---------- les ouvertures (photos claires : une ombre plus dense pour le texte) ---------- */
.cah .n-hero-shade, .aph .n-hero-shade, .sdh .n-hero-shade { background:
  linear-gradient(180deg, rgba(10,10,11,.72) 0%, rgba(10,10,11,.32) 26%, rgba(10,10,11,.42) 52%, rgba(10,10,11,.86) 80%, rgba(10,10,11,.97) 100%),
  linear-gradient(90deg, rgba(10,10,11,.62) 0%, rgba(10,10,11,.18) 58%, rgba(10,10,11,0) 80%); }
.cah .n-h1 { font-size: clamp(44px, 5.8vw, 104px); max-width: 11.5em; }
.cah-box { width: min(100%, 600px); margin-top: 6px; }
.cah-q { position: relative; display: flex; align-items: center; height: 64px; padding: 0 8px 0 20px; border-radius: 4px; background: rgba(20,20,22,.42); -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 30px 80px -30px rgba(0,0,0,.6); transition: box-shadow .4s, background .4s; }
.cah-q:focus-within { background: rgba(20,20,22,.62); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 40px 90px -30px rgba(0,0,0,.8); }
.cah-q > .ic { width: 21px; height: 21px; color: var(--n-fg-3); flex: none; }
.cah-q input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; padding: 0 14px; color: var(--n-fg); font-size: 17px; font-weight: 450; text-overflow: ellipsis; -webkit-appearance: none; appearance: none; border-radius: 0; }
.cah-q input::placeholder { color: rgba(244,241,234,.5); opacity: 1; }
.cah-q input::-webkit-search-cancel-button { display: none; }
.cah-q button { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; transition: background .3s; }
.cah-q button:hover { background: #1d5cff; }
.cah-q button .ic { width: 19px; height: 19px; }
.cah-skip { color: var(--n-fg-2); font-size: 13.5px; padding: 6px 0 4px; }
.cah-skip:hover { color: var(--n-fg); }

/* ======================================================================
   La carte claire au défilement
   ====================================================================== */
.ca { position: relative; background: var(--n-ivory); color: var(--n-ink); }
.ca-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; z-index: 0; background: var(--n-ivory); }
.ca-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s; touch-action: pan-y; }
.ca.is-gl .ca-gl { opacity: 1; }
.ca.is-pick .ca-gl { cursor: pointer; }
.ca-veil { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(244,239,230,.94) 0, rgba(244,239,230,0) 140px),
  linear-gradient(90deg, rgba(244,239,230,.88) 0%, rgba(244,239,230,.55) 24%, rgba(244,239,230,0) 46%),
  linear-gradient(0deg, rgba(244,239,230,.9) 0%, rgba(244,239,230,0) 14%); }
/* repli sans WebGL : la France en pointillés */
.ca-svg { position: absolute; right: 6vw; top: 50%; height: min(78vh, 58vw); width: auto; transform: translateY(-46%); transition: opacity .8s; }
.ca.is-gl .ca-svg { opacity: 0; visibility: hidden; transition: opacity .8s, visibility 0s .8s; }
.ca-svg-a circle { fill: var(--blue); stroke: #fbf8f2; stroke-width: 3; }

/* étiquettes des villes, carte au survol d'un point */
.ca-labels { position: absolute; inset: 0; pointer-events: none; }
.ca-lab { position: absolute; left: 0; top: 0; padding: 4px 8px 5px; border-radius: 3px; background: #fdfbf6; color: var(--n-ink); font-size: 12.5px; font-weight: 560; font-stretch: 108%; white-space: nowrap; box-shadow: 0 0 0 1px rgba(22,19,15,.1), 0 10px 24px -12px rgba(22,19,15,.35); opacity: 0; transition: opacity .6s; will-change: transform; }
.ca-lab.on { opacity: 1; }
.ca-tip { position: absolute; left: 0; top: 0; z-index: 4; display: grid; grid-template-columns: 56px auto; gap: 14px; align-items: center; padding: 10px 18px 10px 10px; border-radius: 4px; background: #fdfbf6; color: var(--n-ink); box-shadow: 0 0 0 1px rgba(22,19,15,.1), 0 30px 60px -24px rgba(22,19,15,.45); opacity: 0; transform: translate3d(-9999px, 0, 0); transition: opacity .25s; pointer-events: none; }
.ca-tip.on { opacity: 1; pointer-events: auto; }
.ca-tip-p { width: 56px; height: 56px; border-radius: 3px; overflow: hidden; background: var(--n-ivory-2); display: grid; place-items: center; }
.ca-tip-p img { width: 100%; height: 100%; object-fit: cover; }
.ca-tip-p b { font-stretch: 118%; font-weight: 480; font-size: 19px; }
.ca-tip-t { display: grid; gap: 2px; font-size: 13.5px; white-space: nowrap; }
.ca-tip-t b { font-size: 15.5px; font-weight: 580; font-stretch: 106%; }
.ca-tip-t span { color: var(--n-ink-3); }
.ca-tip-t em { font-style: normal; font-weight: 560; margin-top: 4px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* l'index des étapes, le lien vers la liste, la progression */
.ca-idx { position: absolute; z-index: 3; right: var(--gut); bottom: 64px; text-align: right; opacity: 0; transition: opacity .8s var(--n-ease); }
.ca.is-tour .ca-idx { opacity: 1; }
.ca-idx ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ca-idx button { position: relative; font-size: 13px; font-weight: 500; color: var(--n-ink-3); padding: 4px 0 4px 30px; text-shadow: 0 0 10px var(--n-ivory), 0 0 3px var(--n-ivory); transition: color .4s; }
.ca-idx button::before { content: ""; position: absolute; left: 0; top: 50%; width: 20px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .7s var(--n-ease); }
.ca-idx button:hover, .ca-idx button[aria-current] { color: var(--n-ink); }
.ca-idx button[aria-current]::before { transform: scaleX(1); }
.ca-skip { position: absolute; z-index: 3; left: var(--gut); bottom: 26px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 560; color: var(--n-ink); padding: 8px 0; text-shadow: 0 0 10px var(--n-ivory); }
.ca-skip .ic { width: 17px; height: 17px; transform: rotate(90deg); transition: transform .5s var(--n-ease); }
.ca-skip:hover .ic { transform: rotate(90deg) translateX(4px); }
.ca-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(22,19,15,.07); }
.ca-prog i { position: absolute; inset: 0; background: rgba(22,19,15,.5); transform: scaleX(0); transform-origin: 0 50%; }

/* le fil (introduction et étapes) par-dessus la scène */
.ca-flow { position: relative; z-index: 1; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
.ca-intro { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hd) + 40px) var(--gut) 90px; width: min(100%, calc(var(--gut) + 620px)); }
.ca-intro > * { pointer-events: auto; }
.ca-h2 { margin: 0 0 24px; font-size: clamp(46px, 5.4vw, 96px); }
.ca-lead { margin: 0; color: var(--n-ink-2); max-width: 26em; }
.js .ca-intro > * { opacity: 0; transform: translate3d(0, 30px, 0); }
.ca-intro.in > * { opacity: 1; transform: none; transition: opacity 1.1s var(--n-ease), transform 1.4s var(--n-ease); }
.ca-intro.in > :nth-child(2) { transition-delay: .12s; }
.ca-stop { min-height: 108vh; min-height: 108svh; display: flex; align-items: center; padding: 0 var(--gut); }
.ca-card { pointer-events: auto; width: min(440px, 100%); padding: 26px 26px 16px; border-radius: 4px; background: #fdfbf6; box-shadow: 0 0 0 1px rgba(22,19,15,.07), 0 50px 90px -50px rgba(22,19,15,.4); }
.js .ca-card { opacity: 0; transform: translate3d(0, 44px, 0); }
.ca-stop.in .ca-card { opacity: 1; transform: none; transition: opacity 1s var(--n-ease), transform 1.4s var(--n-ease); }
.ca-k { margin: 0 0 12px; font-size: 13px; font-weight: 560; color: var(--n-ink-3); }
.ca-h { font-size: clamp(30px, 2.5vw, 42px); line-height: 1.02; margin: 0 0 10px; text-wrap: balance; }
.ca-towns { margin: 0 0 20px; font-size: 15px; line-height: 1.45; color: var(--n-ink-2); }
.ca-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(22,19,15,.1); }
.ca-list li { border-bottom: 1px solid rgba(22,19,15,.07); }
.ca-list li:last-child { border-bottom: 0; }
.ca-list a { display: grid; grid-template-columns: 52px minmax(0, 1fr) 18px; gap: 16px; align-items: center; padding: 11px 2px 11px 0; }
.ca-pic { width: 52px; height: 52px; border-radius: 3px; }
.ca .pic, .ca .mono { background: var(--n-ivory-2); }
.ca-who { display: grid; gap: 1px; min-width: 0; }
.ca-who b { font-size: 15.5px; font-weight: 560; font-stretch: 106%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-who span { font-size: 13.5px; color: var(--n-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-list .ic { width: 18px; height: 18px; color: var(--n-ink-3); transition: transform .5s var(--n-ease), color .3s; }
.ca-list a:hover .ic, .ca-list a:focus-visible .ic { transform: translateX(4px); color: var(--n-ink); }
.ca-list a:hover b { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.js .ca-list li { opacity: 0; transform: translate3d(0, 12px, 0); }
.ca-stop.in .ca-list li { opacity: 1; transform: none; transition: opacity .8s var(--n-ease), transform 1s var(--n-ease); }
.ca-stop.in .ca-list li:nth-child(2) { transition-delay: .07s; } .ca-stop.in .ca-list li:nth-child(3) { transition-delay: .14s; } .ca-stop.in .ca-list li:nth-child(4) { transition-delay: .21s; } .ca-stop.in .ca-list li:nth-child(5) { transition-delay: .28s; } .ca-stop.in .ca-list li:nth-child(n+6) { transition-delay: .35s; }
.ca-out { height: 64vh; }

/* ======================================================================
   La liste des conseillers (nuit)
   ====================================================================== */
.cl-box { display: grid; gap: 22px; margin-bottom: clamp(40px, 4.4vw, 70px); }
.cl-q { display: flex; align-items: center; gap: 16px; max-width: 900px; padding: 4px 0 16px; border-bottom: 1px solid var(--n-line); cursor: text; transition: border-color .4s; }
.cl-q:focus-within { border-color: var(--n-fg); }
.cl-q > .ic { width: 26px; height: 26px; flex: none; color: var(--n-fg-3); }
.cl-q input { flex: 1; min-width: 0; padding: 0; border: 0; border-radius: 0; outline: none; background: none; color: var(--n-fg); font-family: var(--sans); font-stretch: 112%; font-weight: 460; font-size: clamp(24px, 2.5vw, 40px); text-overflow: ellipsis; -webkit-appearance: none; appearance: none; }
.cl-q input::placeholder { color: var(--n-fg-3); opacity: .75; }
.cl-q input::-webkit-search-cancel-button, .cl-q input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.cl-x { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--n-fg-2); box-shadow: inset 0 0 0 1px var(--n-line); transition: background .3s, color .3s; }
.cl-x:hover { background: var(--n-fg); color: var(--n-bg); box-shadow: none; }
.cl-x .ic { width: 17px; height: 17px; }
.cl-regs { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.cl-regs button { position: relative; padding: 7px 0; font-size: 14.5px; color: var(--n-fg-3); transition: color .3s; }
.cl-regs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--n-ease); }
.cl-regs button:hover, .cl-regs [aria-pressed="true"] { color: var(--n-fg); }
.cl-regs [aria-pressed="true"]::after { transform: scaleX(1); }
.cl-msg { margin: calc(-1 * clamp(14px, 2vw, 34px)) 0 clamp(28px, 3vw, 44px); max-width: 46em; font-size: 16.5px; color: var(--n-fg-2); }
.cl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: clamp(36px, 3.2vw, 56px) clamp(14px, 1.6vw, 24px); }
.cl-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ac.is-out { display: none; }
.ac.is-in { animation: cn-in .9s var(--n-ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes cn-in { from { opacity: 0; transform: translate3d(0, 20px, 0); } }
.ac-a { display: grid; gap: 4px; }
.ac-pic { aspect-ratio: 1; border-radius: 3px; margin-bottom: 14px; }
.ac-pic img { filter: grayscale(1) contrast(1.04) brightness(.93); transition: filter .9s var(--n-ease), scale 1.4s var(--n-ease); }
.ac-a:hover .ac-pic img, .ac-a:focus-visible .ac-pic img { filter: none; scale: 1.04; }
.ac-pic .mono svg { transition: transform 1.4s var(--n-ease); }
.ac-a:hover .ac-pic .mono svg { transform: scale(1.04); }
.ac-n { font-stretch: 112%; font-size: clamp(17px, 1.25vw, 20px); font-weight: 520; line-height: 1.2; }
.ac-a:hover .ac-n { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ac-t { display: flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--n-fg-3); }
.ac-r { margin-left: auto; color: var(--n-fg-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ac-r i { font-style: normal; margin-right: 4px; color: var(--n-fg); }
.cl-join-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px clamp(40px, 6vw, 110px); align-items: end; }
.cl-join-in .n-lead { margin: 0 0 22px; }

/* ======================================================================
   Le profil d'un conseiller
   ====================================================================== */
.aph .n-hero-in { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(30px, 5vw, 100px); align-items: end; }
.aph .n-hero-in > * { grid-column: 1; }
.aph .n-h1 { font-size: clamp(48px, 6.8vw, 124px); max-width: none; }
.aph .n-lead { display: grid; gap: 6px; }
.aph-role { color: var(--n-fg); font-weight: 520; }
.aph-where { display: inline-flex; align-items: center; gap: 8px; }
.aph-where .ic { width: 16px; height: 16px; flex: none; }
.aph .aph-por { grid-column: 2; grid-row: 1 / span 6; align-self: end; margin: 0; width: clamp(190px, 21vw, 320px); }
.aph-por .pic { aspect-ratio: 1; border-radius: 3px; box-shadow: 0 50px 100px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.06); }
.aph-por figcaption { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 13.5px; color: var(--n-fg-2); }
@media (prefers-reduced-motion: no-preference) {
  .js .aph-por .pic { clip-path: inset(100% 0 0 0); animation: cn-por 1.7s var(--n-io) .75s forwards; }
  .js .aph-por .pic > * { scale: 1.28; animation: cn-por-i 2.6s var(--n-ease) .75s forwards; }
  .js .aph-por figcaption { opacity: 0; animation: cn-fade 1s var(--n-ease) 1.9s forwards; }
}
@keyframes cn-por { to { clip-path: inset(0 0 0 0); } }
@keyframes cn-por-i { to { scale: 1; } }
@keyframes cn-fade { to { opacity: 1; } }

/* ses mots et son secteur */
.ap-word { padding-bottom: clamp(70px, 7vw, 120px); }
.ap-word-in { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 60px clamp(40px, 7vw, 140px); align-items: center; }
.ap-q blockquote { margin: 0; }
.ap-q blockquote p, .ap-q .is-plain { margin: 0; font-family: var(--read); font-optical-sizing: auto; font-size: clamp(28px, 3vw, 52px); line-height: 1.22; color: var(--n-fg); text-wrap: pretty; }
.ap-q .is-plain { color: var(--n-fg-2); }
.ap-q blockquote p::before { content: open-quote; } .ap-q blockquote p::after { content: close-quote; }
.ap-q blockquote:lang(fr) p::before { content: "«\202F"; } .ap-q blockquote:lang(fr) p::after { content: "\202F»"; }
.ap-sign { margin: 30px 0 0; font-size: 15px; font-weight: 560; }
.ap-sign span { display: block; margin-top: 2px; font-size: 14px; font-weight: 450; color: var(--n-fg-3); }
.ap-loc { margin: 0; display: grid; gap: 22px; justify-items: start; }
.ap-loc svg { width: min(100%, 300px); height: auto; overflow: visible; }
.ap-loc use { fill: rgba(255,255,255,.025); stroke: var(--n-fg-3); }
.ap-dep { fill: rgba(244,241,234,.14); stroke: var(--n-fg-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ap-loc circle { fill: var(--blue); }
.ap-loc .ap-dot-w { fill: none; stroke: var(--blue); stroke-width: 1.2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: cn-pulse 3.2s var(--n-ease) infinite; }
@keyframes cn-pulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.ap-loc figcaption { display: grid; gap: 4px; }
.ap-loc figcaption .n-k { margin-bottom: 6px; }
.ap-loc figcaption b { font-stretch: 112%; font-size: 22px; font-weight: 520; }
.ap-loc figcaption span:last-child { color: var(--n-fg-3); font-size: 14.5px; }

/* ses biens */
.ap-strip .n-strip-head .n-lead { margin: 0; }
.ap-grid .n-sec-h > div, .ap-sold .n-sec-h > div, .ap-rv .n-sec-h > div { display: grid; gap: 14px; justify-items: start; }
.ap-grid .n-lead, .ap-sold .n-lead, .ap-rv .n-lead { margin: 0; }
.ap-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.ap-cards .card { max-width: 460px; }

/* avis clients */
.ap-rvs { columns: 2; column-gap: clamp(30px, 4vw, 80px); }
.ap-rvs.is-one { columns: 1; max-width: 920px; }
.ap-r { break-inside: avoid; margin: 0 0 clamp(36px, 4vw, 60px); padding-top: 26px; border-top: 1px solid var(--n-line); }
.ap-r blockquote { margin: 16px 0 18px; }
.ap-r blockquote p { margin: 0; font-family: var(--read); font-optical-sizing: auto; font-size: clamp(19px, 1.45vw, 24px); line-height: 1.5; color: var(--n-fg); }
.ap-r figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 14px; }
.ap-r figcaption b { font-weight: 560; }
.ap-r time { color: var(--n-fg-3); }

/* écrire au conseiller (éclair ivoire) */
.ap-contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 50px clamp(40px, 7vw, 130px); align-items: start; }
.ap-mini { width: 92px; height: 92px; border-radius: 50%; margin-bottom: 30px; }
.ap-contact .n-h2 { font-size: clamp(36px, 4.2vw, 72px); margin: 0 0 22px; }
.ap-contact .n-lead { margin: 0; }
.ap-contact .pic, .ap-contact .mono { background: var(--n-ivory-2); }

/* ======================================================================
   Biens vendus et loués
   ====================================================================== */
.sd { list-style: none; }
.sd figure { margin: 0; }
.sd-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: var(--n-bg-3); }
.sd-img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--n-ease); }
.sd:hover .sd-img img { scale: 1.04; }
.sd-flag { position: absolute; left: 12px; top: 12px; padding: 6px 9px 7px; border-radius: 3px; background: var(--n-ivory); color: var(--n-ink); font-size: 12.5px; font-weight: 600; line-height: 1; }
.sd-flag.is-r { background: rgba(10,10,11,.62); color: var(--n-fg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.sd figcaption { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 14px; padding-top: 14px; }
.sd figcaption b { font-stretch: 112%; font-size: 17px; font-weight: 520; }
.sd-c { font-size: 14.5px; color: var(--n-fg-2); text-align: right; white-space: nowrap; }
.sd-d { grid-column: 1 / -1; font-size: 13.5px; color: var(--n-fg-3); }
.sd-d i { font-style: normal; margin: 0 7px; }
/* la bande des dernières ventes */
.sd-strip .n-strip-track { margin: 0; padding-left: 0; list-style: none; }
.sd-strip .n-strip-track > .sd { width: clamp(300px, 38vw, 600px); }
.sd-film .sd-img { aspect-ratio: 16 / 10; }
.sd-film figcaption b { font-size: clamp(18px, 1.4vw, 22px); }
/* la grille complète */
.sd-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: clamp(36px, 4vw, 60px); }
.sd-seg button { height: 42px; padding: 0 16px; font-size: 14.5px; font-weight: 520; }
.sd-sel { position: relative; display: inline-flex; }
.sd-sel select { height: 46px; padding: 0 44px 0 16px; border: 0; border-radius: 4px; background: rgba(255,255,255,.07); color: var(--n-fg); font: inherit; font-size: 14.5px; font-weight: 520; -webkit-appearance: none; appearance: none; cursor: pointer; }
.sd-sel select option { background: var(--n-bg-2); color: var(--n-fg); }
.sd-sel-ic { position: absolute; right: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%) rotate(90deg); pointer-events: none; color: var(--n-fg-2); }
.sd-none { color: var(--n-fg-2); margin: 0 0 30px; }
.sd-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: clamp(38px, 3.4vw, 56px) clamp(14px, 1.6vw, 24px); }
.sd.is-out { display: none; }
.sd.is-in { animation: cn-in .9s var(--n-ease) both; animation-delay: calc(var(--i, 0) * 32ms); }
.sd-more { display: flex; justify-content: center; margin-top: clamp(50px, 5vw, 80px); }
.sd-more[hidden] { display: none; }
.sd-more .n-btn .ic { transition: transform .6s var(--n-ease); }
.sd-more .n-btn:hover .ic { transform: rotate(90deg); }
.sd-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px clamp(14px, 1.6vw, 24px); }
.sd-end-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px clamp(40px, 6vw, 110px); align-items: end; }
.sd-end-in .n-lead { margin: 0 0 26px; }

/* ---------- tablette ---------- */
@media (max-width: 1100px) {
  .cl-grid--4, .sd-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ca-idx { display: none; }
}

/* ---------- téléphone ---------- */
@media (max-width: 899px) {
  .cah .n-h1 { font-size: clamp(38px, 10.6vw, 64px); }
  .cah-q { height: 58px; padding-left: 16px; }
  .cah-q input { font-size: 16px; padding: 0 10px; }
  .cah-q button { width: 44px; height: 44px; }

  .ca-veil { background: linear-gradient(180deg, rgba(244,239,230,.94) 0, rgba(244,239,230,0) 110px), linear-gradient(0deg, rgba(244,239,230,.96) 0%, rgba(244,239,230,.75) 30%, rgba(244,239,230,0) 50%); }
  .ca-svg { right: auto; left: 50%; top: calc(var(--hd) + 3svh); height: auto; width: 88vw; transform: translateX(-50%); }
  .ca-intro { justify-content: flex-end; width: 100%; padding: calc(var(--hd) + 20px) var(--gut) calc(70px + env(safe-area-inset-bottom)); }
  .ca-h2 { font-size: clamp(40px, 11.4vw, 60px); margin-bottom: 14px; }
  .ca-lead { font-size: 15.5px; }
  .ca-stop { min-height: 115svh; align-items: flex-end; padding: 0 var(--gut) calc(54px + env(safe-area-inset-bottom)); }
  .ca-card { width: 100%; padding: 18px 18px 16px; box-shadow: 0 0 0 1px rgba(22,19,15,.08), 0 30px 60px -30px rgba(22,19,15,.35); }
  .ca-k { margin-bottom: 8px; }
  .ca-h { font-size: 27px; margin-bottom: 6px; }
  .ca-towns { font-size: 14px; margin-bottom: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ca-list { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 18px; margin: 0 -18px; padding: 0 18px 2px; border-top: 0; scrollbar-width: none; }
  .ca-list::-webkit-scrollbar { display: none; }
  .ca-list li { flex: none; border: 0; scroll-snap-align: start; }
  .ca-list a { grid-template-columns: 44px auto; gap: 11px; padding: 7px 16px 7px 7px; border-radius: 3px; background: var(--n-ivory); box-shadow: inset 0 0 0 1px rgba(22,19,15,.08); }
  .ca-list a > .ic { display: none; }
  .ca-pic { width: 44px; height: 44px; }
  .ca-who b { font-size: 14.5px; }
  .ca-who span { font-size: 12.5px; }
  .ca-skip { left: auto; right: var(--gut); bottom: auto; top: calc(var(--hd) + 10px); font-size: 13px; }
  .ca-lab { font-size: 11.5px; padding: 3px 7px 4px; }
  .ca-out { height: 40svh; }

  .cl-q > .ic { width: 22px; height: 22px; }
  .cl-q input { font-size: 21px; }
  .cl-regs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); gap: 20px; scrollbar-width: none; }
  .cl-regs::-webkit-scrollbar { display: none; }
  .cl-regs button { flex: none; white-space: nowrap; }
  .cl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .ac-pic { margin-bottom: 10px; }
  .ac-n { font-size: 15.5px; }
  .ac-t { flex-wrap: wrap; gap: 2px 8px; font-size: 13px; }
  .ac-r { margin-left: 0; }
  .cl-join-in, .ap-word-in, .ap-contact-in, .sd-end-in { grid-template-columns: 1fr; }

  .aph .n-hero-in { grid-template-columns: minmax(0, 1fr); }
  .aph .aph-por { grid-column: 1; grid-row: 2; width: 128px; align-self: start; }
  .aph-por figcaption { display: none; }
  .aph .n-h1 { font-size: clamp(40px, 11.2vw, 64px); }
  .ap-q blockquote p, .ap-q .is-plain { font-size: clamp(25px, 7vw, 34px); }
  .ap-loc { grid-template-columns: 140px 1fr; align-items: center; gap: 20px; }
  .ap-loc svg { width: 140px; }
  .ap-rvs { columns: 1; }
  .ap-mini { width: 72px; height: 72px; margin-bottom: 22px; }

  .sd-strip .n-strip-track > .sd { width: 82vw; }
  .sd-bar { gap: 10px; }
  .sd-seg { display: flex; width: 100%; }
  .sd-seg button { flex: 1 1 auto; height: 40px; padding: 0 8px; font-size: 13.5px; white-space: nowrap; }
  .sd-sel, .sd-sel select { width: 100%; }
  .sd-grid { gap: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .ca-intro > *, .ca-card, .ca-list li { opacity: 1 !important; transform: none !important; }
  .ac.is-in, .sd.is-in { animation: none; }
  .ap-loc .ap-dot-w { animation: none; opacity: .5; }
}
