/* mydomini.fr · concept izak · « Nuit » (direction A, choisie le 2 décembre 2026)
   Socle commun à toutes les pages sauf Prestige : presque noir, blanc chaud, filets à 12 %,
   le bleu Domini seulement pour le point du logo et l'action principale. Mona Sans large (chasse 112 à 125 %), jamais resserrée.
   Les jetons de site.css sont redéfinis : tout composant existant passe en nuit. Animations : transform et opacity. */

html.t-nuit {
  --n-bg: #0a0a0b; --n-bg-2: #111113; --n-bg-3: #18181b; --n-bg-4: #202024;
  --n-fg: #f4f1ea; --n-fg-2: rgba(244,241,234,.72); --n-fg-3: rgba(244,241,234,.5);
  --n-line: rgba(255,255,255,.12); --n-line-2: rgba(255,255,255,.07);
  --n-ivory: #f4efe6; --n-ivory-2: #ebe4d8; --n-ink: #16130f; --n-ink-2: rgba(22,19,15,.68); --n-ink-3: rgba(22,19,15,.48);
  --n-ease: cubic-bezier(.19,1,.22,1); --n-io: cubic-bezier(.77,0,.18,1);
  /* jetons du socle, en nuit */
  --paper: #0a0a0b; --paper-2: #141416; --paper-3: #1e1e22; --white: #111113;
  --ink: #f4f1ea; --ink-2: rgba(244,241,234,.74); --mute: rgba(244,241,234,.52);
  --line: rgba(255,255,255,.12); --line-2: rgba(255,255,255,.07);
  --blue-soft: rgba(0,71,248,.2); --notch: #161618; --night: #050506; --night-2: #111113;
  --sh: 0 0 0 1px rgba(255,255,255,.08); --sh-2: 0 40px 90px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.1);
  color-scheme: dark; background: #0a0a0b;
}
.t-nuit body { background: var(--n-bg); color: var(--n-fg); }
.t-nuit ::selection { background: var(--blue); color: #fff; }
.t-nuit .curtain { background: var(--n-bg); }
.t-nuit .toast { background: var(--n-fg); color: var(--n-bg); }
.t-nuit :focus-visible { outline-color: var(--n-fg); }
.t-nuit kbd { background: rgba(255,255,255,.1); color: var(--n-fg-2); }

/* ---------- typographie ---------- */
.n-disp { font-family: var(--sans); font-stretch: 118%; font-weight: 460; letter-spacing: -.004em; line-height: .98; }
.n-h1 { font-size: clamp(46px, 7vw, 124px); max-width: 14em; text-wrap: balance; }
.n-h2 { font-size: clamp(38px, 5vw, 88px); text-wrap: balance; }
.n-h3 { font-size: clamp(26px, 2.4vw, 40px); text-wrap: balance; }
.n-h4 { font-size: clamp(19px, 1.4vw, 22px); font-stretch: 112%; font-weight: 540; line-height: 1.2; }
.n-lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: var(--n-fg-2); max-width: 36em; text-wrap: pretty; }
.n-k { font-size: 13px; font-weight: 560; color: var(--n-fg-3); font-variant-numeric: tabular-nums; margin: 0; }
.n-read { font-family: var(--read); font-size: clamp(18px, 1.25vw, 21px); line-height: 1.66; color: rgba(244,241,234,.86); font-optical-sizing: auto; }
.n-read h2, .n-read h3 { font-family: var(--sans); font-stretch: 114%; font-weight: 500; color: var(--n-fg); line-height: 1.12; margin: 1.8em 0 .6em; }
.n-read h2 { font-size: clamp(26px, 2.2vw, 36px); } .n-read h3 { font-size: clamp(20px, 1.6vw, 25px); }
.n-read a { color: var(--n-fg); text-decoration: underline; text-decoration-color: rgba(244,241,234,.35); text-underline-offset: .2em; transition: text-decoration-color .3s; }
.n-read a:hover { text-decoration-color: var(--n-fg); }
.n-read strong { color: var(--n-fg); font-weight: 600; }
.n-read ul, .n-read ol { padding-left: 1.2em; } .n-read li { margin: .4em 0; } .n-read li::marker { color: var(--n-fg-3); }
.n-read blockquote { margin: 1.6em 0; padding: 0 0 0 1.2em; border-left: 1px solid var(--n-fg); font-style: italic; color: var(--n-fg); }
.n-read table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; margin: 1.4em 0; }
.n-read th, .n-read td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--n-line); vertical-align: top; }
.n-read th { font-weight: 600; color: var(--n-fg); }
.n-read figure { margin: 2em 0; } .n-read figure img { border-radius: 3px; width: 100%; }
.n-read figcaption { font: 13px/1.4 var(--sans); color: var(--n-fg-3); margin-top: 10px; }

/* ---------- liens et boutons ---------- */
.n-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 560; color: inherit; padding: 10px 0 8px; position: relative; }
.n-link::after { content: ""; position: absolute; left: 0; right: 28px; bottom: 2px; height: 1px; background: currentColor; transform-origin: 100% 50%; transition: transform .7s var(--n-ease); }
.n-link:hover::after { transform: scaleX(0); }
.n-link .ic { width: 18px; height: 18px; transition: transform .5s var(--n-ease); }
.n-link:hover .ic { transform: translateX(4px); }
.n-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 56px; padding: 0 26px; border-radius: 3px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 560; white-space: nowrap; transition: background .35s, color .35s, box-shadow .35s; }
.n-btn:hover { background: #1d5cff; }
.n-btn .ic { width: 18px; height: 18px; transition: transform .5s var(--n-ease); }
.n-btn:hover .ic { transform: translateX(4px); }
.n-btn--light { background: var(--n-fg); color: var(--n-bg); } .n-btn--light:hover { background: #fff; }
.n-btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); } .n-btn--line:hover { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.n-btn[disabled] { opacity: .5; pointer-events: none; }
.n-round { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--n-line); transition: background .4s, color .4s, box-shadow .4s; }
a:hover > .n-round, .n-round:hover { background: var(--n-fg); color: var(--n-bg); box-shadow: none; }
.n-acts { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
/* l'ancien jeu de boutons, en nuit */
.t-nuit .btn { border-radius: 3px; height: 52px; padding: 0 22px; background: var(--n-fg); color: var(--n-bg); font-weight: 560; }
.t-nuit .btn:hover { background: #fff; }
.t-nuit .btn-ink { background: var(--n-fg); color: var(--n-bg); }
.t-nuit .btn-blue { background: var(--blue); color: #fff; } .t-nuit .btn-blue:hover { background: #1d5cff; }
.t-nuit .btn-light, .t-nuit .btn-line { background: transparent; color: var(--n-fg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.t-nuit .btn-light:hover, .t-nuit .btn-line:hover { background: rgba(255,255,255,.06); }
.t-nuit .lnk { color: var(--n-fg); border-bottom-color: rgba(255,255,255,.3); } .t-nuit .lnk:hover { border-color: var(--n-fg); }

/* ---------- en-tête : transparent sur l'ouverture, plein au défilement ---------- */
.t-nuit .hd { background: transparent; border-bottom: 1px solid transparent; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--n-fg); transition: background .5s, border-color .5s; }
.t-nuit .hd.is-solid, .t-nuit .hd.mm-on { background: rgba(10,10,11,.78); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); border-bottom-color: var(--n-line-2); }
.t-nuit .hd-logo { --logo-dot: var(--blue); }
.t-nuit .nt { color: var(--n-fg); }
.t-nuit .nt:hover, .t-nuit .nt.is-on, .t-nuit .nt[aria-current] { background: rgba(255,255,255,.1); color: var(--n-fg); }
.t-nuit .hd-find { background: rgba(255,255,255,.07); color: var(--n-fg-2); box-shadow: inset 0 0 0 1px var(--n-line); }
.t-nuit .hd-find:hover { color: var(--n-fg); box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); }
.t-nuit .hd-i:hover, .t-nuit .lang-b:hover { background: rgba(255,255,255,.1); }
.t-nuit .hd-sel b { background: var(--n-fg); color: var(--n-bg); }
.t-nuit .hd-owner { background: var(--n-fg); color: var(--n-bg); border-radius: 3px; }
.t-nuit .hd-owner:hover { background: #fff; }
.t-nuit .lang-l { background: var(--n-bg-2); box-shadow: 0 24px 60px -20px rgba(0,0,0,.7), 0 0 0 1px var(--n-line); }
.t-nuit .lang-l a:hover, .t-nuit .lang-l a[aria-current] { background: rgba(255,255,255,.06); }
.t-nuit .lang-l a[aria-current] { color: var(--n-fg); }
/* méga menu */
.t-nuit .mm { background: var(--n-bg-2); color: var(--n-fg); box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px var(--n-line); border-radius: 6px; }
.t-nuit .mm-media { background: #000; border-radius: 3px; }
.t-nuit .mm-cta { background: var(--n-fg); color: var(--n-bg); border-radius: 3px; }
.t-nuit .mm-g { border-radius: 4px; }
.t-nuit .mm-g:hover { background: rgba(255,255,255,.04); }
.t-nuit .mm-ic { background: rgba(255,255,255,.06); color: var(--n-fg); border-radius: 50%; }
.t-nuit .mm-h { font-stretch: 112%; font-weight: 540; }
.t-nuit .mm-p { color: var(--n-fg-3); }
.t-nuit .mm-chips a { background: rgba(255,255,255,.07); color: var(--n-fg); border-radius: 3px; }
.t-nuit .mm-chips a:hover { background: var(--n-fg); color: var(--n-bg); }
.t-nuit .mm-bar { background: #0d0d0f; border-top-color: var(--n-line-2); color: var(--n-fg-3); }
.t-nuit .mm-soc a:hover { color: var(--n-fg); }
.t-nuit .mm-veil { background: rgba(0,0,0,.5); }
/* menu téléphone et palette (sans numéro de téléphone, sans compteurs) */
.t-nuit .mob { background: var(--n-bg); color: var(--n-fg); }
.t-nuit .mob-find { background: rgba(255,255,255,.07); color: var(--n-fg-3); border-radius: 4px; }
.t-nuit .mob-nav a { border-bottom-color: var(--n-line-2); font-stretch: 114%; font-weight: 500; font-size: 24px; }
.t-nuit .mob-nav .ic:last-child { color: var(--n-fg-3); }
.t-nuit .mob-quick a, .t-nuit .mob-quick button, .t-nuit .mob-lang a { background: rgba(255,255,255,.06); border-radius: 4px; }
.t-nuit .mob-quick a[href^="tel:"] { display: none; }
.t-nuit .mob-lang a[aria-current], .t-nuit .mob-quick button[aria-pressed="true"] { background: var(--n-fg); color: var(--n-bg); }
.t-nuit .pal { background: rgba(0,0,0,.6); }
.t-nuit .pal-box { background: var(--n-bg-2); color: var(--n-fg); box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px var(--n-line); border-radius: 8px; }
.t-nuit .pal-in { border-bottom-color: var(--n-line-2); } .t-nuit .pal-in .ic { color: var(--n-fg-3); }
.t-nuit .pal-i { border-radius: 4px; }
.t-nuit .pal-i.on, .t-nuit .pal-i:hover { background: rgba(255,255,255,.06); }
.t-nuit .pal-i img, .t-nuit .pal-i .pal-ic { background: rgba(255,255,255,.07); color: var(--n-fg); border-radius: 3px; }
.t-nuit .pal-i small, .t-nuit .pal-i em, .t-nuit .pal-g, .t-nuit .pal-empty { color: var(--n-fg-3); }
.t-nuit .pal-i:has(.pal-ic) em { display: none; }
.t-nuit .pal-foot { background: #0d0d0f; border-top-color: var(--n-line-2); color: var(--n-fg-3); }

/* ---------- pied de page ---------- */
.t-nuit .ft { background: var(--n-bg); color: var(--n-fg-3); border-top: 1px solid var(--n-line-2); }
.t-nuit .ft-mark { color: var(--n-fg); }
.t-nuit .ft-tag { color: var(--n-fg-2); }
.t-nuit .ft-h, .t-nuit .ft-letter label { color: var(--n-fg); }
.t-nuit .ft-c a { color: var(--n-fg-3); } .t-nuit .ft-c a:hover { color: var(--n-fg); }
.t-nuit .ft-letter div { background: rgba(255,255,255,.05); border-color: var(--n-line); border-radius: 3px; }
.t-nuit .ft-letter input { color: var(--n-fg); } .t-nuit .ft-letter input::placeholder { color: var(--n-fg-3); }
.t-nuit .ft-letter button { background: var(--n-fg); color: var(--n-bg); }
.t-nuit .ft-ok { color: var(--n-fg); }
.t-nuit .ft-bot { border-top-color: var(--n-line-2); color: var(--n-fg-3); }
.t-nuit .ft-bot a:hover, .t-nuit .ft-lang a[aria-current] { color: var(--n-fg); }

/* ---------- carte d'annonce, en nuit ---------- */
.t-nuit .card { background: transparent; border-radius: 0; box-shadow: none; transform: none; }
.t-nuit .card:hover { box-shadow: none; transform: none; }
.t-nuit .card-img { aspect-ratio: 4 / 5; border-radius: 3px; background: var(--n-bg-3); }
.t-nuit .card-img img { transition: opacity .5s, scale 1.4s var(--n-ease); }
.t-nuit .card-a:hover .card-img img { scale: 1.045; }
.t-nuit .card-flag { background: rgba(10,10,11,.6); color: var(--n-fg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-radius: 3px; font-weight: 560; }
.t-nuit .card-body { padding: 16px 0 0; gap: 4px 14px; }
.t-nuit .card-t { font-stretch: 112%; font-size: clamp(16px, 1.2vw, 19px); font-weight: 520; }
.t-nuit .card-t span { color: var(--n-fg); font-weight: 520; }
.t-nuit .card-p { font-weight: 560; font-variant-numeric: tabular-nums; }
.t-nuit .card-f { color: var(--n-fg-3); }
.t-nuit .save { background: rgba(10,10,11,.5); color: var(--n-fg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.t-nuit .save[aria-pressed="true"] { background: var(--blue); color: #fff; }
.t-nuit .card-dots i { background: rgba(255,255,255,.4); }

/* ---------- formulaires, en nuit : un filet sous chaque champ ---------- */
.t-nuit .fm { gap: 22px; }
.t-nuit .fm-t { font-stretch: 114%; font-weight: 500; font-size: clamp(22px, 2vw, 30px); }
.t-nuit .fm-g { gap: 6px 26px; }
.t-nuit .fl { font-size: 13px; font-weight: 520; color: var(--n-fg-3); gap: 2px; }
.t-nuit .fl input, .t-nuit .fl textarea, .t-nuit .fl select { background: transparent; border: 0; border-bottom: 1px solid var(--n-line); border-radius: 0; padding: 12px 0 12px; font-size: 17px; color: var(--n-fg); transition: border-color .3s; }
.t-nuit .fl select option { background: var(--n-bg-2); color: var(--n-fg); }
.t-nuit .fl input:focus, .t-nuit .fl textarea:focus, .t-nuit .fl select:focus { border-color: var(--n-fg); box-shadow: none; }
.t-nuit .fl textarea { min-height: 120px; }
.t-nuit .fm-c { color: var(--n-fg-3); }
.t-nuit .fm .btn, .t-nuit .fm button[type=submit] { background: var(--blue); color: #fff; }
.t-nuit .fm .btn:hover { background: #1d5cff; }
.t-nuit .fm-ok { background: rgba(0,71,248,.16); color: var(--n-fg); border-radius: 3px; }
.t-nuit .fm-err { background: rgba(220,60,60,.14); color: #ffb4b4; border-radius: 3px; }
.t-nuit .seg { background: rgba(255,255,255,.07); border-radius: 4px; }
.t-nuit .seg button, .t-nuit .seg a { color: var(--n-fg-2); border-radius: 3px; }
.t-nuit .seg [aria-pressed="true"], .t-nuit .seg [aria-current] { background: var(--n-fg); color: var(--n-bg); box-shadow: none; }

/* ---------- l'ouverture des pages : photo ou film plein cadre, titre en lignes ---------- */
.n-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; overflow: clip; background: var(--n-bg); color: var(--n-fg); isolation: isolate; }
.n-hero--short { min-height: 78vh; min-height: 78svh; }
.n-hero--text { min-height: 0; padding-top: calc(var(--hd) + clamp(70px, 11vw, 170px)); }
.n-hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.n-hero-media img, .n-hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.js .n-hero-media img, .js .n-hero-media video { will-change: transform; }
.n-hero-shade { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(10,10,11,.66) 0%, rgba(10,10,11,.1) 22%, rgba(10,10,11,.18) 48%, rgba(10,10,11,.7) 76%, rgba(10,10,11,.96) 100%),
  linear-gradient(90deg, rgba(10,10,11,.42) 0%, rgba(10,10,11,0) 60%); }
.n-grain { position: absolute; inset: -10%; z-index: 2; pointer-events: none; opacity: .12; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)'/%3E%3C/svg%3E") 0 0 / 220px 220px;
  animation: n-grain 1s steps(6) infinite; }
@keyframes n-grain { 0% { transform: translate3d(0,0,0); } 17% { transform: translate3d(-3%,2%,0); } 33% { transform: translate3d(2%,-3%,0); } 50% { transform: translate3d(-2%,-1%,0); } 67% { transform: translate3d(3%,3%,0); } 83% { transform: translate3d(-1%,3%,0); } 100% { transform: translate3d(1%,-2%,0); } }
.n-hero-in { position: relative; z-index: 3; padding: calc(var(--hd) + 40px) var(--gut) clamp(48px, 7vh, 96px); display: grid; gap: clamp(18px, 2vw, 28px); justify-items: start; }
.n-hero--text .n-hero-in { padding-top: 0; padding-bottom: clamp(50px, 6vw, 90px); border-bottom: 1px solid var(--n-line-2); }
.n-crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--n-fg-3); }
.n-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.n-crumbs a { transition: color .3s; } .n-crumbs a:hover { color: var(--n-fg); }
.n-hero .n-h1 { margin-left: -.04em; }
.n-hero-foot { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 var(--gut) calc(26px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--n-fg-3); }
.n-hero-foot b { color: var(--n-fg); font-weight: 560; }
.n-cue { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: var(--n-fg-2); }
.n-cue i { position: relative; width: 1px; height: 34px; background: rgba(255,255,255,.2); overflow: hidden; }
.n-cue i::after { content: ""; position: absolute; inset: 0; background: var(--n-fg); transform: translate3d(0,-100%,0); animation: n-cue 2.2s var(--n-io) infinite; }
@keyframes n-cue { 55% { transform: translate3d(0,0,0); } 100% { transform: translate3d(0,100%,0); } }

/* ---------- sections ---------- */
.n-sec { position: relative; padding: clamp(90px, 10vw, 170px) var(--gut); }
.n-sec--tight { padding-block: clamp(60px, 6vw, 100px); }
.n-sec + .n-sec { border-top: 1px solid var(--n-line-2); }
.n-max { max-width: var(--max); margin-inline: auto; }
.n-sec-h { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px clamp(30px, 5vw, 90px); align-items: end; margin-bottom: clamp(40px, 5vw, 80px); }
.n-sec-h > :last-child:not(:first-child) { justify-self: start; }
.n-sec-h .n-lead { margin: 0; }
.n-cols { display: grid; grid-template-columns: repeat(var(--c, 3), minmax(0, 1fr)); gap: clamp(28px, 3vw, 56px) clamp(18px, 2vw, 36px); }
.n-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(40px, 4vw, 64px) clamp(16px, 1.8vw, 28px); }
.n-rule { height: 1px; background: var(--n-line-2); border: 0; margin: 0; }
/* une suite numérotée de lignes (étapes, engagements, questions) */
.n-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--n-line); counter-reset: r; }
.n-rows > li { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px clamp(20px, 3vw, 60px); padding: clamp(26px, 3vw, 44px) 0; border-bottom: 1px solid var(--n-line); counter-increment: r; align-items: start; }
.n-rows > li::before { content: counter(r, decimal-leading-zero); font-size: 13px; font-weight: 560; color: var(--n-fg-3); padding-top: .5em; font-variant-numeric: tabular-nums; }
.n-rows h3 { font-stretch: 116%; font-weight: 480; font-size: clamp(22px, 2vw, 32px); line-height: 1.1; }
.n-rows p { color: var(--n-fg-2); margin: 0; max-width: 34em; }
/* questions fréquentes */
.n-faq { border-top: 1px solid var(--n-line); }
.n-faq details { border-bottom: 1px solid var(--n-line); }
.n-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-stretch: 112%; font-size: clamp(18px, 1.5vw, 23px); font-weight: 500; line-height: 1.25; }
.n-faq summary::-webkit-details-marker { display: none; }
.n-faq summary::after { content: ""; flex: none; width: 16px; height: 16px; background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 1.5px 100% no-repeat; transition: transform .6s var(--n-ease); }
.n-faq details[open] summary::after { transform: rotate(135deg); }
.n-faq details > div, .n-faq details > p { padding: 0 0 28px; color: var(--n-fg-2); max-width: 46em; }
/* figure qui se dévoile */
.n-fig { position: relative; margin: 0; overflow: hidden; border-radius: 3px; background: var(--n-bg-3); }
.n-fig img, .n-fig video { width: 100%; height: 100%; object-fit: cover; }
.n-fig figcaption { position: absolute; left: 16px; bottom: 14px; font-size: 13px; color: var(--n-fg); text-shadow: 0 1px 10px rgba(0,0,0,.6); }
/* bande horizontale (épinglée sur ordinateur, glissée au doigt sur téléphone) */
.n-strip { position: relative; overflow: hidden; overflow: clip; }
.n-strip-pin { display: flex; align-items: center; min-height: 100vh; }
.n-strip-rail { display: flex; align-items: center; will-change: transform; }
.n-strip-head { flex: none; width: min(36vw, 560px); padding: 0 5vw 0 var(--gut); display: grid; gap: 22px; justify-items: start; }
.n-strip-track { display: flex; align-items: flex-start; gap: clamp(18px, 2.4vw, 40px); padding-right: 8vw; }
.n-strip-track > * { flex: none; width: clamp(280px, 30vw, 460px); }
.n-strip-prog { position: absolute; left: var(--gut); right: var(--gut); bottom: 34px; height: 1px; background: var(--n-line-2); }
.n-strip-prog i { position: absolute; inset: 0; background: var(--n-fg-2); transform: scaleX(0); transform-origin: 0 50%; }
/* éclair ivoire : une section claire dans la nuit (cartes, formulaires, Domini Kids) */
.n-ivory { --paper: var(--n-ivory); --paper-2: var(--n-ivory-2); --white: #fffdf8; --ink: var(--n-ink); --ink-2: var(--n-ink-2); --mute: var(--n-ink-3); --line: rgba(22,19,15,.14); --line-2: rgba(22,19,15,.08);
  --n-fg: var(--n-ink); --n-fg-2: var(--n-ink-2); --n-fg-3: var(--n-ink-3); --n-line: rgba(22,19,15,.14); --n-line-2: rgba(22,19,15,.08); --n-bg-3: var(--n-ivory-2);
  background: var(--n-ivory); color: var(--n-ink); color-scheme: light; }
.n-ivory ::selection { background: var(--n-ink); color: var(--n-ivory); }
.n-ivory .n-btn--light { background: var(--n-ink); color: var(--n-ivory); }
.n-ivory .n-btn--line { box-shadow: inset 0 0 0 1px rgba(22,19,15,.3); } .n-ivory .n-btn--line:hover { background: rgba(22,19,15,.05); }
.n-ivory .fl input, .n-ivory .fl textarea, .n-ivory .fl select { color: var(--n-ink); }
.n-ivory .fl select option { background: #fff; color: var(--n-ink); }

/* ---------- apparitions ---------- */
.js [data-r] { opacity: 0; transform: translate3d(0, 34px, 0); }
.js [data-r].in { opacity: 1; transform: none; transition: opacity 1s var(--n-ease) var(--d, 0s), transform 1.3s var(--n-ease) var(--d, 0s); }
.js [data-lines] { visibility: hidden; }
.js [data-lines].is-split { visibility: visible; }
[data-lines] .ln { padding-bottom: .06em; margin-bottom: -.06em; }
.js [data-wipe] { clip-path: inset(0 0 100% 0); }
.js [data-wipe] > img, .js [data-wipe] > video { scale: 1.18; }
.js [data-wipe].in { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--n-io) var(--d, 0s); }
.js [data-wipe].in > img, .js [data-wipe].in > video { scale: 1; transition: scale 2.2s var(--n-ease) var(--d, 0s); }
.no-js [data-r], .reduce [data-r] { opacity: 1 !important; transform: none !important; }
.no-js [data-lines], .reduce [data-lines] { visibility: visible !important; }
.no-js [data-wipe], .reduce [data-wipe] { clip-path: none !important; }
.no-js [data-wipe] > *, .reduce [data-wipe] > * { scale: 1 !important; }
/* l'entrée des pages : l'en-tête, la photo qui s'ouvre, le titre */
@media (prefers-reduced-motion: no-preference) {
  html.js.n-enter .n-hero-media { clip-path: inset(16% 14% 16% 14%); }
  html.js.n-enter .n-hero [data-rise] { opacity: 0; }
  html.js.n-enter:has(.n-hero) .hd { opacity: 0; }
  /* filet de sécurité : tout réapparaît si le script ne part pas */
  html.js.n-enter .n-hero-media, html.js.n-enter .n-hero [data-rise], html.js.n-enter:has(.n-hero) .hd { animation: n-safe .01s 4s forwards; }
}
@keyframes n-safe { to { opacity: 1; clip-path: inset(0 0 0 0); } }

/* ---------- curseur (souris seulement) ---------- */
html.na-cur-on, html.na-cur-on body, html.na-cur-on a, html.na-cur-on button, html.na-cur-on label, html.na-cur-on summary, html.na-cur-on [data-cursor] { cursor: none; }
html.na-cur-on input, html.na-cur-on textarea, html.na-cur-on select, html.na-cur-on .maplibregl-canvas { cursor: auto; }
html.na-cur-on input[type=range] { cursor: pointer; }
.na-cur, .na-cur-dot { position: fixed; left: 0; top: 0; z-index: 160; pointer-events: none; opacity: 0; transition: opacity .3s; }
.na-cur.on, .na-cur-dot.on { opacity: 1; }
.na-cur-ring { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(244,241,234,.75), 0 0 0 1px rgba(0,0,0,.12); transition: transform .55s var(--n-ease), background .35s, box-shadow .35s; }
.na-cur-label { position: absolute; left: 0; top: 0; transform: translate(-50%,-50%) scale(.6); font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--n-bg); opacity: 0; white-space: nowrap; transition: opacity .25s, transform .55s var(--n-ease); }
.na-cur-dot i { position: absolute; left: -2.5px; top: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: var(--n-fg); transition: transform .3s var(--n-ease), background .3s; }
.na-cur.is-link .na-cur-ring { transform: scale(1.55); }
.na-cur.is-text .na-cur-ring { transform: scale(.4); }
.na-cur.is-view .na-cur-ring { transform: scale(2.9); background: var(--n-fg); box-shadow: none; }
.na-cur.is-view .na-cur-label { opacity: 1; transform: translate(-50%,-50%); }
.na-cur.is-down .na-cur-ring { transform: scale(.8); }
.na-cur-dot.is-off i { transform: scale(0); }
.na-cur.is-dark .na-cur-ring { box-shadow: inset 0 0 0 1px rgba(22,19,15,.7); }
.na-cur.is-dark.is-view .na-cur-ring { background: var(--n-ink); }
.na-cur.is-dark .na-cur-label { color: var(--n-ivory); }
.na-cur-dot.is-dark i { background: var(--n-ink); }
.na-cur.is-hide, .na-cur-dot.is-hide { opacity: 0 !important; }

/* ---------- transitions de page (navigateurs récents) ---------- */
@keyframes n-vt-out { to { opacity: 0; transform: scale(.985); } }
@keyframes n-vt-in { from { opacity: 0; } }
html.t-nuit::view-transition-old(root) { animation: n-vt-out .35s cubic-bezier(.7,0,.84,0) both; }
html.t-nuit::view-transition-new(root) { animation: n-vt-in .5s var(--n-ease) both; }
.reduce .n-grain, .reduce .n-cue i::after { animation: none; }

/* ---------- téléphones ---------- */
@media (max-width: 1100px) {
  .t-nuit .hd { background: transparent; }
  .t-nuit .hd.is-solid { background: rgba(10,10,11,.8); }
}
@media (max-width: 899px) {
  .n-h1 { font-size: clamp(42px, 12.4vw, 76px); font-stretch: 114%; }
  .n-h2 { font-size: clamp(36px, 10.6vw, 60px); font-stretch: 114%; }
  .n-hero { min-height: 92svh; }
  .n-hero--short { min-height: 72svh; }
  .n-hero--text { min-height: 0; padding-top: calc(var(--hd) + 56px); }
  .n-hero-in { padding: calc(var(--hd) + 24px) var(--gut) 40px; }
  .n-hero-foot .n-cue span { display: none; }
  .n-sec { padding: clamp(70px, 18vw, 100px) var(--gut); }
  .n-sec-h { grid-template-columns: 1fr; align-items: start; margin-bottom: 36px; }
  .n-cols { grid-template-columns: 1fr; }
  .n-rows > li { grid-template-columns: 44px minmax(0, 1fr); }
  .n-rows > li > p, .n-rows > li > div { grid-column: 2; }
  .n-strip-pin { min-height: 0; display: block; padding: 0; }
  .n-strip-rail { display: block; }
  .n-strip-head { width: auto; padding: 0 var(--gut) 30px; }
  .n-strip-track { gap: 12px; padding: 0 var(--gut) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); overscroll-behavior-x: contain; scrollbar-width: none; }
  .n-strip-track::-webkit-scrollbar { display: none; }
  .n-strip-track > * { width: 78vw; scroll-snap-align: start; }
  .n-strip-prog { display: none; }
  .t-nuit .fm-g { grid-template-columns: 1fr; }
  .n-btn { height: 54px; }
}
@media (hover: none) { .t-nuit .card-dots { display: none; } }

/* ---------- chiffres : Mona Sans dessine un zéro barré en chiffres tabulaires (effet « code ») → chiffres proportionnels partout ---------- */
:root.t-nuit body * { font-variant-numeric: proportional-nums; }
/* ---------- bandes sans script ou en mouvement réduit, sur ordinateur : défilement à la main ---------- */
@media (min-width: 900px) {
  .reduce .n-strip-pin, .no-js .n-strip-pin { min-height: 0; display: block; padding: 100px 0 70px; }
  .reduce .n-strip-rail, .no-js .n-strip-rail { display: block; }
  .reduce .n-strip-head, .no-js .n-strip-head { width: auto; padding: 0 var(--gut) 40px; }
  .reduce .n-strip-track, .no-js .n-strip-track { overflow-x: auto; padding: 0 var(--gut) 24px; scroll-snap-type: x mandatory; }
  .reduce .n-strip-track > *, .no-js .n-strip-track > * { scroll-snap-align: start; }
  .reduce .n-strip-prog, .no-js .n-strip-prog { display: none; }
}

/* ---------- en-tête au-dessus d'une section ivoire (carte des conseillers, Domini Kids…) ---------- */
.t-nuit .hd { transition: background .5s, border-color .5s, color .5s; }
.t-nuit .hd.hd-ivory:not(.mm-on) { --notch: #e7e0d3; background: rgba(244,239,230,.86); -webkit-backdrop-filter: saturate(1.2) blur(16px); backdrop-filter: saturate(1.2) blur(16px); border-bottom-color: rgba(22,19,15,.08); color: var(--n-ink); }
.t-nuit .hd.hd-ivory:not(.mm-on) .nt { color: var(--n-ink); }
.t-nuit .hd.hd-ivory:not(.mm-on) .nt:hover, .t-nuit .hd.hd-ivory:not(.mm-on) .nt[aria-current] { background: rgba(22,19,15,.07); color: var(--n-ink); }
.t-nuit .hd.hd-ivory:not(.mm-on) .hd-find { background: rgba(22,19,15,.05); color: var(--n-ink-2); box-shadow: inset 0 0 0 1px rgba(22,19,15,.12); }
.t-nuit .hd.hd-ivory:not(.mm-on) .hd-find kbd { background: rgba(22,19,15,.08); color: var(--n-ink-2); }
.t-nuit .hd.hd-ivory:not(.mm-on) .hd-i:hover, .t-nuit .hd.hd-ivory:not(.mm-on) .lang-b:hover { background: rgba(22,19,15,.07); }
.t-nuit .hd.hd-ivory:not(.mm-on) .hd-owner { background: var(--n-ink); color: var(--n-ivory); }
.t-nuit .hd.hd-ivory:not(.mm-on) .hd-sel b { background: var(--n-ink); color: var(--n-ivory); }
